mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Add md/shaXXX_clone() API
Will be used in the SSL/TLS modules
This commit is contained in:
parent
b9d64e5bbe
commit
16d412f465
14 changed files with 105 additions and 0 deletions
|
|
@ -89,6 +89,12 @@ void mbedtls_md5_free( mbedtls_md5_context *ctx )
|
|||
mbedtls_zeroize( ctx, sizeof( mbedtls_md5_context ) );
|
||||
}
|
||||
|
||||
void mbedtls_md5_clone( mbedtls_md5_context *dst,
|
||||
const mbedtls_md5_context *src )
|
||||
{
|
||||
*dst = *src;
|
||||
}
|
||||
|
||||
/*
|
||||
* MD5 context setup
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue