Add md/shaXXX_clone() API

Will be used in the SSL/TLS modules
This commit is contained in:
Manuel Pégourié-Gonnard 2015-07-06 15:26:26 +02:00
parent b9d64e5bbe
commit 16d412f465
14 changed files with 105 additions and 0 deletions

View file

@ -66,6 +66,15 @@ void mbedtls_md4_init( mbedtls_md4_context *ctx );
*/
void mbedtls_md4_free( mbedtls_md4_context *ctx );
/**
* \brief Clone (the state of) an MD4 context
*
* \param dst The destination context
* \param src The context to be cloned
*/
void mbedtls_md4_clone( mbedtls_md4_context *dst,
const mbedtls_md4_context *src );
/**
* \brief MD4 context setup
*