mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-25 09:36:56 +00:00
Remove TinyCrypt PRNG configuration from ssl_cli.c
The TinyCrypt PRNG is configured in mbedtls_ssl_setup().
This commit is contained in:
parent
fdd294a79f
commit
1521ec501c
|
@ -3974,11 +3974,6 @@ sign:
|
||||||
rs_ctx = &ssl->handshake->ecrs_ctx.pk;
|
rs_ctx = &ssl->handshake->ecrs_ctx.pk;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_USE_TINYCRYPT)
|
|
||||||
if ( uECC_get_rng() == 0 )
|
|
||||||
uECC_set_rng(&mbetls_uecc_rng_wrapper);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if( ( ret = mbedtls_pk_sign_restartable( mbedtls_ssl_own_key( ssl ),
|
if( ( ret = mbedtls_pk_sign_restartable( mbedtls_ssl_own_key( ssl ),
|
||||||
md_alg, hash_start, hashlen,
|
md_alg, hash_start, hashlen,
|
||||||
ssl->out_msg + 6 + offset, &n,
|
ssl->out_msg + 6 + offset, &n,
|
||||||
|
|
Loading…
Reference in a new issue