Eric Biggers 198a19d7ee crypto: x86/blake2s - define shash_alg structs using macros
commit 1aa90f4cf034ed4f016a02330820ac0551a6c13c upstream.

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>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-30 09:33:25 +02:00
..
2021-11-26 10:39:19 +01:00
2022-01-27 10:54:06 +01:00
2022-05-09 09:05:06 +02:00
2021-11-26 10:39:12 +01:00
2022-04-08 14:40:44 +02:00