diff options
author | Eric Biggers <ebiggers@google.com> | 2020-12-23 00:09:50 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-03 08:41:37 +1100 |
commit | 2de1867ad0d10df1d1c4e9b2d24322797e3c49cf (patch) | |
tree | d3207adaa41c999d04ed90963f7f912e9d897b3c /crypto/algif_skcipher.c | |
parent | 22b50be78f272572c25f21531a5c42cd4c23b86d (diff) | |
download | linux-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/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions