forked from wolfSSL/wolfssl
Fix for AES GCM decrypt test with Async.
This commit is contained in:
@@ -7110,7 +7110,7 @@ int aesgcm_test(void)
|
|||||||
result = wc_AesGcmDecrypt(&dec, resultP, resultC, sizeof(c1),
|
result = wc_AesGcmDecrypt(&dec, resultP, resultC, sizeof(c1),
|
||||||
iv1, sizeof(iv1), resultT, sizeof(resultT), a, sizeof(a));
|
iv1, sizeof(iv1), resultT, sizeof(resultT), a, sizeof(a));
|
||||||
#if defined(WOLFSSL_ASYNC_CRYPT)
|
#if defined(WOLFSSL_ASYNC_CRYPT)
|
||||||
result = wc_AsyncWait(result, &enc.asyncDev, WC_ASYNC_FLAG_NONE);
|
result = wc_AsyncWait(result, &dec.asyncDev, WC_ASYNC_FLAG_NONE);
|
||||||
#endif
|
#endif
|
||||||
if (result != 0)
|
if (result != 0)
|
||||||
return -5705;
|
return -5705;
|
||||||
|
Reference in New Issue
Block a user