From f7fcef5f32d8bff1fc1997551989ba549ead36a4 Mon Sep 17 00:00:00 2001 From: David Garske Date: Fri, 7 Aug 2020 16:47:08 -0700 Subject: [PATCH] Fix for build error / typo for ECC 256-bit non-blocking only. --- wolfcrypt/src/ecc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/ecc.c b/wolfcrypt/src/ecc.c index fec7903bf..81127a689 100644 --- a/wolfcrypt/src/ecc.c +++ b/wolfcrypt/src/ecc.c @@ -6043,7 +6043,7 @@ int wc_ecc_verify_hash_ex(mp_int *r, mp_int *s, const byte* hash, } #ifdef WC_ECC_NONBLOCK_ONLY do { /* perform blocking call to non-blocking function */ - err = sp_ecc_verify_256_nb(&nb_ctx->sp_ctx, hash, hashlen, + err = sp_ecc_verify_256_nb(&nb_ctx.sp_ctx, hash, hashlen, key->pubkey.x, key->pubkey.y, key->pubkey.z, r, s, res, key->heap); } while (err == FP_WOULDBLOCK);