- Added reset functionality for HMAC context. Speed-up for some use-cases.
diff --git a/include/polarssl/md2.h b/include/polarssl/md2.h
index 37eef0a..71040eb 100644
--- a/include/polarssl/md2.h
+++ b/include/polarssl/md2.h
@@ -113,6 +113,13 @@
void md2_hmac_finish( md2_context *ctx, unsigned char output[16] );
/**
+ * \brief MD2 HMAC context reset
+ *
+ * \param ctx HMAC context to be reset
+ */
+void md2_hmac_reset( md2_context *ctx );
+
+/**
* \brief Output = HMAC-MD2( hmac key, input buffer )
*
* \param key HMAC secret key