Skip to content

Commit

Permalink
Merge pull request #575 from howjmay/fix-crpyto-compilation
Browse files Browse the repository at this point in the history
fix: Fix compilation error with crypto enabled
  • Loading branch information
jserv committed Dec 28, 2022
2 parents 8e1cb46 + 5708fd0 commit 322dbc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sse2neon.h
Expand Up @@ -9889,15 +9889,15 @@ FORCE_INLINE __m128i _mm_aesenclast_si128(__m128i a, __m128i RoundKey)
FORCE_INLINE __m128i _mm_aesdeclast_si128(__m128i a, __m128i RoundKey)
{
return vreinterpretq_m128i_u8(
vaesdq_u8(vreinterpretq_u8_m128i(a), vdupq_n_u8(0)) ^
vreinterpretq_u8_m128i(RoundKey);
vaesdq_u8(vreinterpretq_u8_m128i(a), vdupq_n_u8(0)) ^
vreinterpretq_u8_m128i(RoundKey));
}

// Perform the InvMixColumns transformation on a and store the result in dst.
// https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_aesimc_si128
FORCE_INLINE __m128i _mm_aesimc_si128(__m128i a)
{
return vreinterpretq_m128i_u8(vaesimcq_u8(a));
return vreinterpretq_m128i_u8(vaesimcq_u8(vreinterpretq_u8_m128i(a)));
}

// Assist in expanding the AES cipher key by computing steps towards generating
Expand Down

0 comments on commit 322dbc3

Please sign in to comment.