• 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_POLY_HASH_ARM64_CE
27	tristate "poly_hash (for HEH encryption mode) using ARMv8 Crypto Extensions"
28	depends on ARM64 && KERNEL_MODE_NEON
29	select CRYPTO_HASH
30
31config CRYPTO_AES_ARM64_CE
32	tristate "AES core cipher using ARMv8 Crypto Extensions"
33	depends on ARM64 && KERNEL_MODE_NEON
34	select CRYPTO_ALGAPI
35
36config CRYPTO_AES_ARM64_CE_CCM
37	tristate "AES in CCM mode using ARMv8 Crypto Extensions"
38	depends on ARM64 && KERNEL_MODE_NEON
39	select CRYPTO_ALGAPI
40	select CRYPTO_AES_ARM64_CE
41	select CRYPTO_AEAD
42
43config CRYPTO_AES_ARM64_CE_BLK
44	tristate "AES in ECB/CBC/CTR/XTS modes using ARMv8 Crypto Extensions"
45	depends on ARM64 && KERNEL_MODE_NEON
46	select CRYPTO_BLKCIPHER
47	select CRYPTO_AES_ARM64_CE
48	select CRYPTO_ABLK_HELPER
49
50config CRYPTO_AES_ARM64_NEON_BLK
51	tristate "AES in ECB/CBC/CTR/XTS modes using NEON instructions"
52	depends on ARM64 && KERNEL_MODE_NEON
53	select CRYPTO_BLKCIPHER
54	select CRYPTO_AES
55	select CRYPTO_ABLK_HELPER
56
57config CRYPTO_CRC32_ARM64
58	tristate "CRC32 and CRC32C using optional ARMv8 instructions"
59	depends on ARM64
60	select CRYPTO_HASH
61
62config CRYPTO_SPECK_NEON
63	tristate "NEON accelerated Speck cipher algorithms"
64	depends on KERNEL_MODE_NEON
65	select CRYPTO_BLKCIPHER
66	select CRYPTO_GF128MUL
67	select CRYPTO_SPECK
68endif
69