mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Fix for async wolfCrypt test with AES GCM.
This commit is contained in:
@ -7128,7 +7128,7 @@ int aesgcm_test(void)
|
|||||||
BENCH_AESGCM_LARGE, iv1, sizeof(iv1), resultT,
|
BENCH_AESGCM_LARGE, iv1, sizeof(iv1), resultT,
|
||||||
sizeof(resultT), a, sizeof(a));
|
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 -5708;
|
return -5708;
|
||||||
|
Reference in New Issue
Block a user