Skip to content

Commit 0e2d938

Browse files
Merge pull request #64 from dgarske/zd15938_async_ecc
Use the blocking call from the async test
2 parents 91c672a + 0aa79b6 commit 0e2d938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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_ex(
129+
ret = wc_ecc_shared_secret_gen_sync(
130130
(ecc_key*)sw->eccSharedSec.private_key,
131131
(ecc_point*)sw->eccSharedSec.public_point,
132132
sw->eccSharedSec.out,

0 commit comments

Comments
 (0)