This commit is contained in:
Jay D Dee
2023-10-06 22:18:09 -04:00
parent bc5a5c6df8
commit 31c4dedf59
144 changed files with 5931 additions and 3746 deletions

View File

@@ -13,6 +13,9 @@
* Institute of Applied Mathematics, Middle East Technical University, Turkey.
*
*/
//TODO NEON support, funky shuffles
#if defined(__AES__)
#include <memory.h>

View File

@@ -24,16 +24,16 @@
#include "compat/sha3_common.h"
#include <emmintrin.h>
#include "simd-utils.h"
typedef struct
{
__m128i state[4][4];
v128_t state[4][4];
BitSequence buffer[192];
__m128i k;
__m128i hashsize;
__m128i const1536;
v128_t k;
v128_t hashsize;
v128_t const1536;
unsigned int uRounds;
unsigned int uHashSize;