diff options
author | Paul Duncan <pabs@pablotron.org> | 2024-05-27 00:32:16 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2024-05-27 00:32:16 -0400 |
commit | 5be616cbcdb7859e071d4a8d671746d0c28509be (patch) | |
tree | e617784b38a455ae17961dc0ebc7efe298c26cd1 | |
parent | 7f0b8b3905abdf164b5f85477d20c5d45eccef00 (diff) | |
download | sha3-5be616cbcdb7859e071d4a8d671746d0c28509be.tar.bz2 sha3-5be616cbcdb7859e071d4a8d671746d0c28509be.zip |
sha3.c: permute_n_avx2(): remove K64
-rw-r--r-- | sha3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -565,7 +565,7 @@ static const __m256i LM0 = { ~0, 0, 0, 0 }, // only lane 0 #define AVX2_ROLI(v, n) (_mm256_slli_epi64((v), (n)) | _mm256_srli_epi64((v), (64-(n)))) // rotate left by vector -#define AVX2_ROLV(v, n) (_mm256_sllv_epi64((v), (n)) | _mm256_srlv_epi64((v), (K64-(n)))) +#define AVX2_ROLV(v, n) (_mm256_sllv_epi64((v), (n)) | _mm256_srlv_epi64((v), (64-(n)))) // theta permute IDs #define THETA_I0_LO 0x90 // 0, 0, 1, 2 -> 0b10010000 -> 0x90 |