From 52325a998c17516e7e727c5495fb812e2a47595c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 7 Jan 2022 20:48:40 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libblake.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libblake.h b/libblake.h index 01dce32..9704d3a 100644 --- a/libblake.h +++ b/libblake.h @@ -74,11 +74,11 @@ struct libblake_blake2s_params { uint_least8_t key_len; /* in bytes, [0, 32] */ uint_least8_t fanout; /* normally 1 */ uint_least8_t depth; /* normally 1 */ - uint_least32_t leaf_len; - uint_least32_t node_offset; - uint_least16_t xof_len; - uint_least8_t node_depth; - uint_least8_t inner_len; + uint_least32_t leaf_len; /* normally 0 */ + uint_least32_t node_offset; /* normally 0 */ + uint_least16_t xof_len; /* normally 0 */ + uint_least8_t node_depth; /* normally 0 */ + uint_least8_t inner_len; /* normally 0 */ uint_least8_t salt[8]; uint_least8_t pepper[8]; }; @@ -88,11 +88,11 @@ struct libblake_blake2b_params { uint_least8_t key_len; /* in bytes, [0, 64] */ uint_least8_t fanout; /* normally 1 */ uint_least8_t depth; /* normally 1 */ - uint_least32_t leaf_len; - uint_least32_t node_offset; - uint_least32_t xof_len; - uint_least8_t node_depth; - uint_least8_t inner_len; + uint_least32_t leaf_len; /* normally 0 */ + uint_least32_t node_offset; /* normally 0 */ + uint_least32_t xof_len; /* normally 0 */ + uint_least8_t node_depth; /* normally 0 */ + uint_least8_t inner_len; /* normally 0 */ uint_least8_t salt[16]; uint_least8_t pepper[16]; }; -- cgit v1.2.3-70-g09d2