From d737d34b436f673173695c4c772f0ddef9fe7837 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 1 Sep 2024 16:34:46 +0200 Subject: Add support for BLAKE2 (but not tree-hashing) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libhashsum_get_algorithm_from_string.3 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'libhashsum_get_algorithm_from_string.3') 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 -- cgit v1.2.3-70-g09d2