UPSTREAM: crypto: blake2s - implement generic shash driver

Wire up our newly added Blake2s implementation via the shash API.

Bug: 152722841
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: I115c2963e90a1a1d2734865d8a2c2e6df5008537
This commit is contained in:
Ard Biesheuvel 2019-11-08 13:22:30 +01:00 • committed by Alistair Delva
commit 22bff7a3f6
4 changed files with 195 additions and 0 deletions

View file

@ -74,6 +74,7 @@ obj-$(CONFIG_CRYPTO_STREEBOG) += streebog_generic.o
obj-$(CONFIG_CRYPTO_WP512) += wp512.o
CFLAGS_wp512.o := $(call cc-option,-fno-schedule-insns) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79149
obj-$(CONFIG_CRYPTO_TGR192) += tgr192.o
obj-$(CONFIG_CRYPTO_BLAKE2S) += blake2s_generic.o
obj-$(CONFIG_CRYPTO_GF128MUL) += gf128mul.o
obj-$(CONFIG_CRYPTO_ECB) += ecb.o
obj-$(CONFIG_CRYPTO_CBC) += cbc.o