mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Add extra CRYPTO_ALIGN() required for Minix
This commit is contained in:
@@ -790,7 +790,7 @@ crypto_aead_aes256gcm_encrypt(unsigned char *c,
|
||||
const unsigned char *npub,
|
||||
const unsigned char *k)
|
||||
{
|
||||
crypto_aead_aes256gcm_state ctx;
|
||||
CRYPTO_ALIGN(16) crypto_aead_aes256gcm_state ctx;
|
||||
|
||||
crypto_aead_aes256gcm_beforenm(&ctx, k);
|
||||
|
||||
@@ -810,7 +810,7 @@ crypto_aead_aes256gcm_decrypt(unsigned char *m,
|
||||
const unsigned char *npub,
|
||||
const unsigned char *k)
|
||||
{
|
||||
crypto_aead_aes256gcm_state ctx;
|
||||
CRYPTO_ALIGN(16) crypto_aead_aes256gcm_state ctx;
|
||||
|
||||
crypto_aead_aes256gcm_beforenm(&ctx, k);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user