Add md/shaXXX_clone() API
Will be used in the SSL/TLS modules
diff --git a/include/mbedtls/md5.h b/include/mbedtls/md5.h
index 163780a..40273d4 100644
--- a/include/mbedtls/md5.h
+++ b/include/mbedtls/md5.h
@@ -67,6 +67,15 @@
void mbedtls_md5_free( mbedtls_md5_context *ctx );
/**
+ * \brief Clone (the state of) an MD5 context
+ *
+ * \param dst The destination context
+ * \param src The context to be cloned
+ */
+void mbedtls_md5_clone( mbedtls_md5_context *dst,
+ const mbedtls_md5_context *src );
+
+/**
* \brief MD5 context setup
*
* \param ctx context to be initialized