forked from wolfSSL/wolfssl
Fixes for async in wolfCrypt test.
This commit is contained in:
@ -24916,7 +24916,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);
|
||||||
@ -24929,7 +24929,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