• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2menuconfig ARM64_CRYPTO
3	bool "ARM64 Accelerated Cryptographic Algorithms"
4	depends on ARM64
5	help
6	  Say Y here to choose from a selection of cryptographic algorithms
7	  implemented using ARM64 specific CPU features or instructions.
8
9if ARM64_CRYPTO
10
11config CRYPTO_SHA1_ARM64_CE
12	tristate "SHA-1 digest algorithm (ARMv8 Crypto Extensions)"
13	depends on ARM64 && KERNEL_MODE_NEON
14	select CRYPTO_HASH
15
16config CRYPTO_SHA2_ARM64_CE
17	tristate "SHA-224/SHA-256 digest algorithm (ARMv8 Crypto Extensions)"
18	depends on ARM64 && KERNEL_MODE_NEON
19	select CRYPTO_HASH
20
21config CRYPTO_GHASH_ARM64_CE
22	tristate "GHASH (for GCM chaining mode) using ARMv8 Crypto Extensions"
23	depends on ARM64 && KERNEL_MODE_NEON
24	select CRYPTO_HASH
25
26config CRYPTO_AES_ARM64_CE
27	tristate "AES core cipher using ARMv8 Crypto Extensions"
28	depends on ARM64 && KERNEL_MODE_NEON
29	select CRYPTO_ALGAPI
30	select CRYPTO_AES
31
32config CRYPTO_AES_ARM64_CE_CCM
33	tristate "AES in CCM mode using ARMv8 Crypto Extensions"
34	depends on ARM64 && KERNEL_MODE_NEON
35	select CRYPTO_ALGAPI
36	select CRYPTO_AES
37	select CRYPTO_AEAD
38
39config CRYPTO_AES_ARM64_CE_BLK
40	tristate "AES in ECB/CBC/CTR/XTS modes using ARMv8 Crypto Extensions"
41	depends on ARM64 && KERNEL_MODE_NEON
42	select CRYPTO_BLKCIPHER
43	select CRYPTO_AES
44	select CRYPTO_ABLK_HELPER
45
46config CRYPTO_AES_ARM64_NEON_BLK
47	tristate "AES in ECB/CBC/CTR/XTS modes using NEON instructions"
48	depends on ARM64 && KERNEL_MODE_NEON
49	select CRYPTO_BLKCIPHER
50	select CRYPTO_AES
51	select CRYPTO_ABLK_HELPER
52
53endif
54