summaryrefslogtreecommitdiff
path: root/crypto/xxhash_generic.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-12-23 00:09:50 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-03 08:41:37 +1100
commit2de1867ad0d10df1d1c4e9b2d24322797e3c49cf (patch)
treed3207adaa41c999d04ed90963f7f912e9d897b3c /crypto/xxhash_generic.c
parent22b50be78f272572c25f21531a5c42cd4c23b86d (diff)
downloadlinux-crypto-2de1867ad0d10df1d1c4e9b2d24322797e3c49cf.tar.gz
linux-crypto-2de1867ad0d10df1d1c4e9b2d24322797e3c49cf.zip
crypto: blake2s - define shash_alg structs using macros
The shash_alg structs for the four variants of BLAKE2s are identical except for the algorithm name, driver name, and digest size. So, avoid code duplication by using a macro to define these structs. Acked-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/xxhash_generic.c')
0 files changed, 0 insertions, 0 deletions