mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 18:48:32 +00:00
fix for issue 1101: missing rsa context initialization
added mbedtls_rsa_init in rsa_decrypt sample application
This commit is contained in:
parent
719aa8bb37
commit
f3870f72b6
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ int main( int argc, char *argv[] )
|
||||||
mbedtls_printf( "\n . Seeding the random number generator..." );
|
mbedtls_printf( "\n . Seeding the random number generator..." );
|
||||||
fflush( stdout );
|
fflush( stdout );
|
||||||
|
|
||||||
|
mbedtls_rsa_init( &rsa, MBEDTLS_RSA_PKCS_V15, 0 );
|
||||||
mbedtls_ctr_drbg_init( &ctr_drbg );
|
mbedtls_ctr_drbg_init( &ctr_drbg );
|
||||||
mbedtls_entropy_init( &entropy );
|
mbedtls_entropy_init( &entropy );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue