mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 04:25:10 -07:00
Explain why blake2b_param_set_digest_length() is not needed
This commit is contained in:
parent
abdc839367
commit
1550026a9a
@ -86,6 +86,8 @@ static inline int blake2b_increment_counter( blake2b_state *S, const uint64_t in
|
||||
|
||||
/* Parameter-related functions */
|
||||
#if 0
|
||||
/* Redundant: digest length is directly set in blake2b_init(), blake2b_init_salt_personal(),
|
||||
* blake2b_init_key() and blake2b_init_key_salt_personal() */
|
||||
static inline int blake2b_param_set_digest_length( blake2b_param *P, const uint8_t digest_length )
|
||||
{
|
||||
P->digest_length = digest_length;
|
||||
|
Loading…
Reference in New Issue
Block a user