aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src
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
commita7567a9055c959c89d00424cc9c14f64365a8a35 (patch)
tree771b0998e2527a33774057deb9edfee884a30bbb /teal-src
parentf3d61e394501472062f359e02ce5d3bb10bc4bc8 (diff)
downloadprosody-a7567a9055c959c89d00424cc9c14f64365a8a35.tar.gz
prosody-a7567a9055c959c89d00424cc9c14f64365a8a35.zip
util.hashes: Add SHA3 bindings
Diffstat (limited to 'teal-src')
-rw-r--r--teal-src/util/hashes.d.tl4
1 files changed, 4 insertions, 0 deletions
diff --git a/teal-src/util/hashes.d.tl b/teal-src/util/hashes.d.tl
index 6932ab72..5c249627 100644
--- a/teal-src/util/hashes.d.tl
+++ b/teal-src/util/hashes.d.tl
@@ -9,6 +9,8 @@ local record lib
sha384 : hash
sha512 : hash
md5 : hash
+ sha3_256 : hash
+ sha3_512 : hash
blake2s256 : hash
blake2b512 : hash
hmac_sha1 : hmac
@@ -17,6 +19,8 @@ local record lib
hmac_sha384 :hmac
hmac_sha512 : hmac
hmac_md5 : hmac
+ hmac_sha3_256 : hmac
+ hmac_sha3_512 : hmac
scram_Hi_sha1 : kdf
pbkdf2_hmac_sha1 : kdf
pbkdf2_hmac_sha256 : kdf