- Added reset functionality for HMAC context. Speed-up for some use-cases.
diff --git a/include/polarssl/md5.h b/include/polarssl/md5.h
index 2f62ed1..ac28a0b 100644
--- a/include/polarssl/md5.h
+++ b/include/polarssl/md5.h
@@ -114,6 +114,13 @@
void md5_hmac_finish( md5_context *ctx, unsigned char output[16] );
/**
+ * \brief MD5 HMAC context reset
+ *
+ * \param ctx HMAC context to be reset
+ */
+void md5_hmac_reset( md5_context *ctx );
+
+/**
* \brief Output = HMAC-MD5( hmac key, input buffer )
*
* \param key HMAC secret key