mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Get rid of pk_wrap_rsa()
This commit is contained in:
@ -506,6 +506,17 @@ int rsa_rsassa_pss_verify( rsa_context *ctx,
|
||||
const unsigned char *hash,
|
||||
const unsigned char *sig );
|
||||
|
||||
/**
|
||||
* \brief Copy the components of an RSA context
|
||||
*
|
||||
* \param dst Destination context
|
||||
* \param src Source context
|
||||
*
|
||||
* \return O on success,
|
||||
* POLARSSL_ERR_MPI_MALLOC_FAILED on memory allocation failure
|
||||
*/
|
||||
int rsa_copy( rsa_context *dst, const rsa_context *src );
|
||||
|
||||
/**
|
||||
* \brief Free the components of an RSA key
|
||||
*
|
||||
|
Reference in New Issue
Block a user