From 099f88e45bc1ebdb9fd1e6387dbdeb274dafadc9 Mon Sep 17 00:00:00 2001 From: David Garske Date: Fri, 16 Apr 2021 12:02:04 -0700 Subject: [PATCH] Revert the change to test.c. --- wolfcrypt/test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 7f315b10e..5be88a07a 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -9895,7 +9895,7 @@ WOLFSSL_TEST_SUBROUTINE int aesgcm_test(void) /* Variable plain text length test */ for (plen=1; plen<(int)sizeof(p); plen++) { /* AES-GCM encrypt and decrypt both use AES encrypt internally */ - result = wc_AesGcmEncrypt(enc, resultC, resultP, (word32)plen, iv1, + result = wc_AesGcmEncrypt(enc, resultC, p, (word32)plen, iv1, sizeof(iv1), resultT, sizeof(resultT), a, sizeof(a)); #if defined(WOLFSSL_ASYNC_CRYPT) result = wc_AsyncWait(result, &enc->asyncDev, WC_ASYNC_FLAG_NONE);