mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 23:42:56 +00:00
[MBEDTLS] Update to version 2.7.10. CORE-15895
This commit is contained in:
parent
ba1fb9ace9
commit
ca86ee9c03
40 changed files with 383 additions and 79 deletions
9
dll/3rdparty/mbedtls/ecdsa.c
vendored
9
dll/3rdparty/mbedtls/ecdsa.c
vendored
|
@ -422,8 +422,13 @@ 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_group_load( &ctx->grp, gid ) ||
|
||||
mbedtls_ecp_gen_keypair( &ctx->grp, &ctx->d, &ctx->Q, f_rng, p_rng ) );
|
||||
int ret = 0;
|
||||
ret = mbedtls_ecp_group_load( &ctx->grp, gid );
|
||||
if( ret != 0 )
|
||||
return( ret );
|
||||
|
||||
return( mbedtls_ecp_gen_keypair( &ctx->grp, &ctx->d,
|
||||
&ctx->Q, f_rng, p_rng ) );
|
||||
}
|
||||
#endif /* MBEDTLS_ECDSA_GENKEY_ALT */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue