We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e625bca + 25c001e commit 28ab759Copy full SHA for 28ab759
1 file changed
wolfcrypt/src/async.c
@@ -126,7 +126,7 @@ static int wolfAsync_DoSw(WC_ASYNC_DEV* asyncDev)
126
#ifdef HAVE_ECC_DHE
127
case ASYNC_SW_ECC_SHARED_SEC:
128
{
129
- ret = wc_ecc_shared_secret_gen(
+ ret = wc_ecc_shared_secret_ex(
130
(ecc_key*)sw->eccSharedSec.private_key,
131
(ecc_point*)sw->eccSharedSec.public_point,
132
sw->eccSharedSec.out,
0 commit comments