1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00

Fix the IV length in the armv8 AES GCM code

Reviewed by:	cem, delphij
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36403
This commit is contained in:
Andrew Turner 2022-08-31 15:55:19 +01:00
parent 0e391a3197
commit 7c4cfece6b

View File

@ -73,12 +73,12 @@ void armv8_aes_encrypt_gcm(AES_key_t *, size_t,
struct crypto_buffer_cursor *, struct crypto_buffer_cursor *,
size_t, const uint8_t *,
uint8_t tag[static GMAC_DIGEST_LEN],
const uint8_t[static AES_BLOCK_LEN],
const uint8_t[static AES_GCM_IV_LEN],
const __uint128_val_t *);
int armv8_aes_decrypt_gcm(AES_key_t *, size_t,
struct crypto_buffer_cursor *, struct crypto_buffer_cursor *,
size_t, const uint8_t *, const uint8_t tag[static GMAC_DIGEST_LEN],
const uint8_t[static AES_BLOCK_LEN],
const uint8_t[static AES_GCM_IV_LEN],
const __uint128_val_t *);
void armv8_aes_encrypt_xts(AES_key_t *, const void *, size_t,