diff options
author | Eric Biggers <ebiggers@google.com> | 2020-12-23 09:09:50 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-02 22:41:37 +0100 |
commit | 0d396058f92ae7e5ac62839fed54bc2bba630ab5 (patch) | |
tree | 45f9b9ef3cc66f2202da2b7afdeed840fcf5b075 /lib/objagg.c | |
parent | hwrng: ingenic - Fix a resource leak in an error handling path (diff) | |
download | linux-0d396058f92ae7e5ac62839fed54bc2bba630ab5.tar.xz linux-0d396058f92ae7e5ac62839fed54bc2bba630ab5.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 'lib/objagg.c')
0 files changed, 0 insertions, 0 deletions