From 00f4bac96a2b2531907182da2ecb49f2d6c712f6 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Tue, 11 Jun 2024 14:15:45 -0400 Subject: add HMAC-MD5 implementation --- src/md5.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/md5.h') diff --git a/src/md5.h b/src/md5.h index ce0e350..90c571b 100644 --- a/src/md5.h +++ b/src/md5.h @@ -51,6 +51,9 @@ void MD5Update(struct MD5Context *, unsigned const char *, unsigned); void MD5Final(unsigned char digest[16], struct MD5Context *); void MD5Transform(uint32_t buf[4], uint32_t const in[16]); +void hmac_md5(uint8_t digest[16], uint8_t const *text, size_t text_len, + uint8_t const *key, size_t key_len); + /* * This is needed to make RSAREF happy on some MS-DOS compilers. */ -- cgit v1.2.3