mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
Constify
This commit is contained in:
parent
b26758103e
commit
4cc7d9027c
@ -583,8 +583,8 @@ crypto_aead_aes256gcm_beforenm(crypto_aead_aes256gcm_state *ctx_, const unsigned
|
||||
{
|
||||
aes256gcm_state *ctx = (aes256gcm_state *) (void *) ctx_;
|
||||
unsigned char * H = ctx->H;
|
||||
__m128i * rkeys = ctx->rkeys;
|
||||
__m128i zero = _mm_setzero_si128();
|
||||
const __m128i * rkeys = ctx->rkeys;
|
||||
const __m128i zero = _mm_setzero_si128();
|
||||
|
||||
COMPILER_ASSERT((sizeof *ctx_) >= (sizeof *ctx));
|
||||
aesni_key256_expand(k, rkeys);
|
||||
|
Loading…
Reference in New Issue
Block a user