diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-08-08 08:20:10 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-08-09 06:40:43 +0200 |
commit | 7ca7a96c9979195f906de03c826a2dba6bc18ec4 (patch) | |
tree | f31d4bbeb700068471a91695c5deabe259ba5b6b /crypto/Kconfig | |
parent | 80a36f60534d30b3252c3e613070ff1071e7f9a9 (diff) | |
download | barebox-7ca7a96c9979195f906de03c826a2dba6bc18ec4.tar.gz barebox-7ca7a96c9979195f906de03c826a2dba6bc18ec4.tar.xz |
crypto: restrict digest algos implemented in ARM assembly to 32-bit
These digest implementations are only built per arch/arm/Makefile when
!CONFIG_CPU_V8, so disallow selecting them when barebox is built
for 64-bit ARM.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220808062010.390394-3-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index a2e03ae109..f32accb3d0 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -71,7 +71,7 @@ config DIGEST_HMAC_GENERIC config DIGEST_SHA1_ARM tristate "SHA1 digest algorithm (ARM-asm)" - depends on ARM + depends on ARM && !CPU_V8 select HAVE_DIGEST_SHA1 help SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented @@ -79,7 +79,7 @@ config DIGEST_SHA1_ARM config DIGEST_SHA256_ARM tristate "SHA-224/256 digest algorithm (ARM-asm and NEON)" - depends on ARM + depends on ARM && !CPU_V8 select HAVE_DIGEST_SHA256 select HAVE_DIGEST_SHA224 help |