forked from wolfSSL/wolfssl
Merge pull request #4782 from haydenroche5/aes_siv_gpp
Fix AES-SIV test with g++.
This commit is contained in:
@ -38869,16 +38869,16 @@ WOLFSSL_TEST_SUBROUTINE int time_test(void)
|
|||||||
#ifdef WOLFSSL_AES_SIV
|
#ifdef WOLFSSL_AES_SIV
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const byte key[32];
|
const byte key[33];
|
||||||
word32 keySz;
|
word32 keySz;
|
||||||
const byte nonce[48];
|
const byte nonce[49];
|
||||||
word32 nonceSz;
|
word32 nonceSz;
|
||||||
const byte assoc[80];
|
const byte assoc[81];
|
||||||
word32 assocSz;
|
word32 assocSz;
|
||||||
const byte plaintext[82];
|
const byte plaintext[83];
|
||||||
word32 plaintextSz;
|
word32 plaintextSz;
|
||||||
const byte siv[AES_BLOCK_SIZE];
|
const byte siv[AES_BLOCK_SIZE+1];
|
||||||
const byte ciphertext[82];
|
const byte ciphertext[83];
|
||||||
word32 ciphertextSz;
|
word32 ciphertextSz;
|
||||||
} AesSivTestVector;
|
} AesSivTestVector;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user