1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 12:36:01 -07:00
This commit is contained in:
Frank Denis 2020-05-18 20:46:09 +02:00
parent b26758103e
commit 4cc7d9027c

View File

@ -583,8 +583,8 @@ crypto_aead_aes256gcm_beforenm(crypto_aead_aes256gcm_state *ctx_, const unsigned
{ {
aes256gcm_state *ctx = (aes256gcm_state *) (void *) ctx_; aes256gcm_state *ctx = (aes256gcm_state *) (void *) ctx_;
unsigned char * H = ctx->H; unsigned char * H = ctx->H;
__m128i * rkeys = ctx->rkeys; const __m128i * rkeys = ctx->rkeys;
__m128i zero = _mm_setzero_si128(); const __m128i zero = _mm_setzero_si128();
COMPILER_ASSERT((sizeof *ctx_) >= (sizeof *ctx)); COMPILER_ASSERT((sizeof *ctx_) >= (sizeof *ctx));
aesni_key256_expand(k, rkeys); aesni_key256_expand(k, rkeys);