0, /* keycopy */
0, /* keyfinish */
ecdh_simple_compute_key,
+ ecdsa_simple_sign_setup,
+ ecdsa_simple_sign_sig,
+ ecdsa_simple_verify_sig,
0, /* field_inverse_mod_ord */
0, /* blind_coordinates */
0, /* ladder_pre */
BN_CTX *new_ctx = NULL;
if (ctx == NULL)
- new_ctx = BN_CTX_new();
+ ctx = new_ctx = BN_CTX_new();
#endif
if (ctx == NULL)
return 0;
#ifndef FIPS_MODE
if (ctx == NULL)
- new_ctx = BN_CTX_new();
+ ctx = new_ctx = BN_CTX_new();
#endif
if (ctx == NULL)
return 0;