1
0
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:
Manuel Pégourié-Gonnard
2013-08-14 13:39:57 +02:00
parent f8c948a674
commit 3053f5bcb4
5 changed files with 94 additions and 44 deletions

View File

@ -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
*