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:
Hanno Becker 2017-10-02 12:25:52 +01:00
parent 98838b04af
commit c6fc878eda
5 changed files with 1 additions and 111 deletions

View file

@ -130,14 +130,6 @@ int main( int argc, char *argv[] )
goto exit;
}
/* Although we're not using them, verify CRT parameters */
if( ( ret = mbedtls_rsa_check_crt( &rsa, &DP, &DQ, &QP ) ) != 0 )
{
mbedtls_printf( " failed\n ! mbedtls_rsa_check_crt returned %d\n\n",
ret );
goto exit;
}
/*
* Compute the SHA-256 hash of the input file,
* then calculate the RSA signature of the hash.