mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-01 13:13:28 +00:00
Fix MSVC portability
MSVC doesn't have _mm_storeu_si64. Fortunately it isn't really needed here. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
dafeee4814
commit
dde3c6532e
@ -306,7 +306,7 @@ static void aesni_set_rk_192(__m128i *state0, __m128i *state1, __m128i xword,
|
||||
* an array of 24-byte elements. Since 24 is not a multiple of 16,
|
||||
* rk is not necessarily aligned so just `*rk = *state0` doesn't work. */
|
||||
memcpy(rk, state0, 16);
|
||||
_mm_storeu_si64(rk + 16, *state1);
|
||||
memcpy(rk + 16, state1, 8);
|
||||
}
|
||||
|
||||
static void aesni_setkey_enc_192(unsigned char *rk,
|
||||
|
Loading…
x
Reference in New Issue
Block a user