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:
parent
98838b04af
commit
c6fc878eda
5 changed files with 1 additions and 111 deletions
|
@ -417,29 +417,6 @@ int mbedtls_rsa_complete( mbedtls_rsa_context *ctx,
|
|||
int (*f_rng)(void *, unsigned char *, size_t),
|
||||
void *p_rng );
|
||||
|
||||
/**
|
||||
* \brief Check if CRT-parameters match core parameters
|
||||
*
|
||||
* \param ctx Complete RSA private key context
|
||||
* \param DP Private exponent modulo P-1, or NULL
|
||||
* \param DQ Private exponent modulo Q-1, or NULL
|
||||
* \param QP Modular inverse of Q modulo P, or NULL
|
||||
*
|
||||
* \return 0 if successful, testifying that the non-NULL optional
|
||||
* parameters provided are in accordance with the core
|
||||
* RSA parameters. Non-zero error code otherwise.
|
||||
*
|
||||
* \note This function performs in-place computations on the
|
||||
* parameters DP, DQ and QP. If modification cannot be
|
||||
* tolerated, you should make copies with mbedtls_mpi_copy
|
||||
* before calling this function.
|
||||
*
|
||||
*/
|
||||
int mbedtls_rsa_check_crt( const mbedtls_rsa_context *ctx,
|
||||
mbedtls_mpi *DP,
|
||||
mbedtls_mpi *DQ,
|
||||
mbedtls_mpi *QP );
|
||||
|
||||
/**
|
||||
* \brief Export core parameters of an RSA key
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue