util.hashes: Expose sha224 and sha384 HMAC functions

For completeness and consistency with set of plain hash functions
This commit is contained in:
Kim Alvefur 2020-11-29 17:58:45 +01:00
parent 54f8ca81f4
commit ae14dc1220
3 changed files with 14 additions and 0 deletions

View file

@ -13,6 +13,8 @@ local hashes = require "util.hashes"
return {
md5 = hashes.hmac_md5,
sha1 = hashes.hmac_sha1,
sha224 = hashes.hmac_sha224,
sha256 = hashes.hmac_sha256,
sha384 = hashes.hmac_sha384,
sha512 = hashes.hmac_sha512,
};