commit | 052a6c9cfe156bc5e7c9b770a8a96e0678d554b8 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Mon Jul 06 16:06:02 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Mon Jul 06 16:06:02 2015 +0200 |
tree | 0b2e0befcc2609b5735a4e0085ceb5e74823383b | |
parent | 16d412f4654d7eca75139c926c09ca66fe88a789 [diff] [blame] |
Add mbedtls_md_clone()
diff --git a/include/mbedtls/md_internal.h b/include/mbedtls/md_internal.h index fe0feb3..f2a0632 100644 --- a/include/mbedtls/md_internal.h +++ b/include/mbedtls/md_internal.h
@@ -77,6 +77,9 @@ /** Free the given context */ void (*ctx_free_func)( void *ctx ); + /** Clone state from a context */ + void (*clone_func)( void *dst, const void *src ); + /** Internal use only */ void (*process_func)( void *ctx, const unsigned char *input ); };