diff options
author | Alan T. DeKok <aland@freeradius.org> | 2024-06-11 14:15:45 -0400 |
---|---|---|
committer | Robert Gingras <rgingras@mieweb.com> | 2025-03-31 11:17:14 -0400 |
commit | 00f4bac96a2b2531907182da2ecb49f2d6c712f6 (patch) | |
tree | c32bf73a0ee939e387aefebba96ce16f87577eb7 /src/md5.h | |
parent | c14d4c2359b6c507467051a67935603038528889 (diff) | |
download | libpam-radius-auth-00f4bac96a2b2531907182da2ecb49f2d6c712f6.tar.gz libpam-radius-auth-00f4bac96a2b2531907182da2ecb49f2d6c712f6.zip |
add HMAC-MD5 implementation
Diffstat (limited to 'src/md5.h')
-rw-r--r-- | src/md5.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. */ |