mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
Merge pull request #5016 from dgarske/async_fixes
Fixes for async in wolfCrypt test
This commit is contained in:
@@ -24955,7 +24955,7 @@ WOLFSSL_TEST_SUBROUTINE int ecc_test_buffers(void)
|
|||||||
x = sizeof(out);
|
x = sizeof(out);
|
||||||
do {
|
do {
|
||||||
#if defined(WOLFSSL_ASYNC_CRYPT)
|
#if defined(WOLFSSL_ASYNC_CRYPT)
|
||||||
ret = wc_AsyncWait(ret, cliKey.asyncDev, WC_ASYNC_FLAG_CALL_AGAIN);
|
ret = wc_AsyncWait(ret, &cliKey->asyncDev, WC_ASYNC_FLAG_CALL_AGAIN);
|
||||||
#endif
|
#endif
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
ret = wc_ecc_sign_hash(in, inLen, out, &x, &rng, cliKey);
|
ret = wc_ecc_sign_hash(in, inLen, out, &x, &rng, cliKey);
|
||||||
@@ -24968,7 +24968,7 @@ WOLFSSL_TEST_SUBROUTINE int ecc_test_buffers(void)
|
|||||||
|
|
||||||
do {
|
do {
|
||||||
#if defined(WOLFSSL_ASYNC_CRYPT)
|
#if defined(WOLFSSL_ASYNC_CRYPT)
|
||||||
ret = wc_AsyncWait(ret, cliKey.asyncDev, WC_ASYNC_FLAG_CALL_AGAIN);
|
ret = wc_AsyncWait(ret, &cliKey->asyncDev, WC_ASYNC_FLAG_CALL_AGAIN);
|
||||||
#endif
|
#endif
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
ret = wc_ecc_verify_hash(out, x, in, inLen, &verify,
|
ret = wc_ecc_verify_hash(out, x, in, inLen, &verify,
|
||||||
|
Reference in New Issue
Block a user