1# SPDX-License-Identifier: GPL-2.0-only
2
3config CRYPTO_BLAKE2S_ARM
4	bool "Hash functions: BLAKE2s"
5	select CRYPTO_ARCH_HAVE_LIB_BLAKE2S
6	help
7	  BLAKE2s cryptographic hash function (RFC 7693)
8
9	  Architecture: arm
10
11	  This is faster than the generic implementations of BLAKE2s and
12	  BLAKE2b, but slower than the NEON implementation of BLAKE2b.
13	  There is no NEON implementation of BLAKE2s, since NEON doesn't
14	  really help with it.
15
16config CRYPTO_CHACHA20_NEON
17	tristate
18	default CRYPTO_LIB_CHACHA
19	select CRYPTO_ARCH_HAVE_LIB_CHACHA
20
21config CRYPTO_POLY1305_ARM
22	tristate
23	default CRYPTO_LIB_POLY1305
24	select CRYPTO_ARCH_HAVE_LIB_POLY1305
25
26config CRYPTO_SHA256_ARM
27	tristate
28	depends on !CPU_V7M
29	default CRYPTO_LIB_SHA256
30	select CRYPTO_ARCH_HAVE_LIB_SHA256
31	select CRYPTO_ARCH_HAVE_LIB_SHA256_SIMD
32