Rename ecp_use_known_dp -> mbedtls_ecp_group_load()

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-11 18:46:47 +02:00
parent 56cc88a796
commit e3a062ba1f
14 changed files with 41 additions and 41 deletions

View file

@ -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 ) );
}