aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-09-10 21:58:24 +0200
committerKim Alvefur <zash@zash.se>2020-09-10 21:58:24 +0200
commitf3d61e394501472062f359e02ce5d3bb10bc4bc8 (patch)
tree48fbb663f22408cb4d966e30e01b0ad3fedc42a2 /util
parent9f932f75595640510f3d36ab6bfe10e673235d9f (diff)
downloadprosody-f3d61e394501472062f359e02ce5d3bb10bc4bc8.tar.gz
prosody-f3d61e394501472062f359e02ce5d3bb10bc4bc8.zip
util.hashes: Bind BLAKE2 algoritms supported by OpenSSL
Diffstat (limited to 'util')
-rw-r--r--util/hmac.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/hmac.lua b/util/hmac.lua
index 994ea93b..ca030259 100644
--- a/util/hmac.lua
+++ b/util/hmac.lua
@@ -17,4 +17,6 @@ return {
sha256 = hashes.hmac_sha256,
sha384 = hashes.hmac_sha384,
sha512 = hashes.hmac_sha512,
+ blake2s256 = hashes.hmac_blake2s256,
+ blake2b512 = hashes.hmac_blake2b512,
};