Make it explicit that aes256gcm_statebytes() returns a rounded value
No actual changes to the returned value
This commit is contained in:
parent
143e1c1a14
commit
8b4be96453
@ -838,7 +838,7 @@ crypto_aead_aes256gcm_abytes(void)
|
|||||||
size_t
|
size_t
|
||||||
crypto_aead_aes256gcm_statebytes(void)
|
crypto_aead_aes256gcm_statebytes(void)
|
||||||
{
|
{
|
||||||
return sizeof(crypto_aead_aes256gcm_state);
|
return (sizeof(crypto_aead_aes256gcm_state) + (size_t) 15U) & ~(size_t) 15U;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user