mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Remove mbedtls_rsa_check_crt
This is no longer needed after the decision to not exhaustively validate private key material.
This commit is contained in:
@ -751,8 +751,7 @@ static int pk_parse_key_pkcs1_der( mbedtls_rsa_context *rsa,
|
||||
/* Check optional parameters */
|
||||
if( ( ret = mbedtls_asn1_get_mpi( &p, end, &DP ) ) != 0 ||
|
||||
( ret = mbedtls_asn1_get_mpi( &p, end, &DQ ) ) != 0 ||
|
||||
( ret = mbedtls_asn1_get_mpi( &p, end, &QP ) ) != 0 ||
|
||||
( ret = mbedtls_rsa_check_crt( rsa, &DP, &DQ, &QP ) ) != 0 )
|
||||
( ret = mbedtls_asn1_get_mpi( &p, end, &QP ) ) != 0 )
|
||||
goto cleanup;
|
||||
|
||||
if( p != end )
|
||||
|
Reference in New Issue
Block a user