Diff

util/hmac.lua @ 12563:d9a4e28689eb

util.hashes: Bind BLAKE2 algoritms supported by OpenSSL
author Kim Alvefur <zash@zash.se>
date Thu, 10 Sep 2020 21:58:24 +0200
parent 12561:adfb46a3e8a7
child 12975:d10957394a3c
line wrap: on
line diff
--- a/util/hmac.lua	Thu Sep 10 21:58:25 2020 +0200
+++ b/util/hmac.lua	Thu Sep 10 21:58:24 2020 +0200
@@ -17,4 +17,6 @@
 	sha256 = hashes.hmac_sha256,
 	sha384 = hashes.hmac_sha384,
 	sha512 = hashes.hmac_sha512,
+	blake2s256 = hashes.hmac_blake2s256,
+	blake2b512 = hashes.hmac_blake2b512,
 };