Skip to content

Commit 28ab759

Browse files
authored
Merge pull request #59 from dgarske/ecc_nb_cleanup
Use the `wc_ecc_shared_secret_ex` version for async test
2 parents e625bca + 25c001e commit 28ab759

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/async.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static int wolfAsync_DoSw(WC_ASYNC_DEV* asyncDev)
126126
#ifdef HAVE_ECC_DHE
127127
case ASYNC_SW_ECC_SHARED_SEC:
128128
{
129-
ret = wc_ecc_shared_secret_gen(
129+
ret = wc_ecc_shared_secret_ex(
130130
(ecc_key*)sw->eccSharedSec.private_key,
131131
(ecc_point*)sw->eccSharedSec.public_point,
132132
sw->eccSharedSec.out,

0 commit comments

Comments
 (0)