Rename ecp_use_known_dp -> mbedtls_ecp_group_load()
This commit is contained in:
parent
56cc88a796
commit
e3a062ba1f
14 changed files with 41 additions and 41 deletions
|
@ -409,7 +409,7 @@ cleanup:
|
|||
int mbedtls_ecdsa_genkey( mbedtls_ecdsa_context *ctx, mbedtls_ecp_group_id gid,
|
||||
int (*f_rng)(void *, unsigned char *, size_t), void *p_rng )
|
||||
{
|
||||
return( mbedtls_ecp_use_known_dp( &ctx->grp, gid ) ||
|
||||
return( mbedtls_ecp_group_load( &ctx->grp, gid ) ||
|
||||
mbedtls_ecp_gen_keypair( &ctx->grp, &ctx->d, &ctx->Q, f_rng, p_rng ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue