summaryrefslogtreecommitdiff
path: root/src/algo_hmac.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-08-05 03:53:43 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2021-09-08 15:06:07 -0400
commitd97eeefa34f9f3b63181975623f862e65bd1ab68 (patch)
tree93cf367ba262a35552775a33f7f57df231315cfd /src/algo_hmac.h
parent347479573a4df3338ac7a221382ac77c7fca267e (diff)
downloadlighttpd-git-d97eeefa34f9f3b63181975623f862e65bd1ab68.tar.gz
[core] li_hmac_sha512()
Diffstat (limited to 'src/algo_hmac.h')
-rw-r--r--src/algo_hmac.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/algo_hmac.h b/src/algo_hmac.h
index 35187538..ecc29d4e 100644
--- a/src/algo_hmac.h
+++ b/src/algo_hmac.h
@@ -22,5 +22,10 @@ li_hmac_sha256 (unsigned char digest[32], /* [SHA256_DIGEST_LENGTH] */
const void * const secret, const uint32_t slen,
const unsigned char * const msg, const uint32_t mlen);
+int
+li_hmac_sha512 (unsigned char digest[64], /* [SHA512_DIGEST_LENGTH] */
+ const void * const secret, const uint32_t slen,
+ const unsigned char * const msg, const uint32_t mlen);
+
#endif /* INCLUDED_ALGO_HMAC_H */