diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-08-05 03:53:43 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-09-08 15:06:07 -0400 |
commit | d97eeefa34f9f3b63181975623f862e65bd1ab68 (patch) | |
tree | 93cf367ba262a35552775a33f7f57df231315cfd /src/algo_hmac.h | |
parent | 347479573a4df3338ac7a221382ac77c7fca267e (diff) | |
download | lighttpd-git-d97eeefa34f9f3b63181975623f862e65bd1ab68.tar.gz |
[core] li_hmac_sha512()
Diffstat (limited to 'src/algo_hmac.h')
-rw-r--r-- | src/algo_hmac.h | 5 |
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 */ |