aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_get_algorithm_from_string.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-01 16:34:46 +0200
committerMattias Andrée <maandree@kth.se>2024-09-01 16:34:46 +0200
commitd737d34b436f673173695c4c772f0ddef9fe7837 (patch)
treef6bf400809124d411eaff38fe2c9d24842c8d23a /libhashsum_get_algorithm_from_string.3
parentm fix (diff)
downloadlibhashsum-d737d34b436f673173695c4c772f0ddef9fe7837.tar.gz
libhashsum-d737d34b436f673173695c4c772f0ddef9fe7837.tar.bz2
libhashsum-d737d34b436f673173695c4c772f0ddef9fe7837.tar.xz
Add support for BLAKE2 (but not tree-hashing)
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libhashsum_get_algorithm_from_string.318
1 files changed, 18 insertions, 0 deletions
diff --git a/libhashsum_get_algorithm_from_string.3 b/libhashsum_get_algorithm_from_string.3
index c039da6..b01d1c7 100644
--- a/libhashsum_get_algorithm_from_string.3
+++ b/libhashsum_get_algorithm_from_string.3
@@ -301,6 +301,23 @@ is
.RB \(dq BLAKE-512 \(dq
or
.RB \(dq B512 \(dq.
+.TP
+.B LIBHASHSUM_BLAKE2S
+BLAKE2s (BLAKE2)
+
+.I algorithm
+is
+.RB \(dq BLAKE2s \(dq
+or
+.RB \(dq B2s \(dq.
+.TP
+BLAKE2b (BLAKE2)
+
+.I algorithm
+is
+.RB \(dq BLAKE2b \(dq
+or
+.RB \(dq B2b \(dq.
.PP
The function is case-insensitive, and tolerates
skipping dashes
@@ -309,6 +326,7 @@ that are not immediately after a digit. Additionally,
it will ignore the substring
.RB \(dq sum \(dq
if it is added to the end of the function name.
+
.PP
The function
.I does not