blob: 0c50859ee7b9b059e17cd18381cc29079dfecbaa [file] [log] [blame]
Ard Biesheuvel2c988332014-03-06 16:23:33 +08001
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
Ard Biesheuvel6ba6c742014-03-20 15:35:40 +010016config 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
Ard Biesheuvelfdd23892014-03-26 20:53:05 +010021
22config CRYPTO_GHASH_ARM64_CE
23 tristate "GHASH (for GCM chaining mode) using ARMv8 Crypto Extensions"
24 depends on ARM64 && KERNEL_MODE_NEON
25 select CRYPTO_HASH
26
Ard Biesheuvel2c988332014-03-06 16:23:33 +080027endif