Re: [PATCH 1/5] crypto: blake2b - rename constants for consistency with blake2s

David Sterba
2020-12-17T17:16:31Z

On Tue, Dec 15, 2020 at 03:47:04PM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
>
> Rename some BLAKE2b-related constants to be consistent with the names
> used in the BLAKE2s implementation (see include/crypto/blake2s.h):
>
> BLAKE2B_*_DIGEST_SIZE => BLAKE2B_*_HASH_SIZE
> BLAKE2B_BLOCKBYTES => BLAKE2B_BLOCK_SIZE
> BLAKE2B_KEYBYTES => BLAKE2B_KEY_SIZE
>
> Signed-off-by: Eric Biggers <ebiggers@google.com>

Reviewed-by: David Sterba <dsterba@suse.com>