# SPDX-License-Identifier: GPL-2.0
menuconfig [31mCONFIG_ARM64_CRYPTO[0m
bool "ARM64 Accelerated Cryptographic Algorithms"
depends on [31mCONFIG_ARM64[0m
help
Say Y here to choose from a selection of cryptographic algorithms
implemented using [31mCONFIG_ARM64[0m specific CPU features or instructions.
if [31mCONFIG_ARM64_CRYPTO[0m
config [31mCONFIG_CRYPTO_SHA256_ARM64[0m
tristate "SHA-224/SHA-256 digest algorithm for arm64"
select [31mCONFIG_CRYPTO_HASH[0m
config [31mCONFIG_CRYPTO_SHA512_ARM64[0m
tristate "SHA-384/SHA-512 digest algorithm for arm64"
select [31mCONFIG_CRYPTO_HASH[0m
config [31mCONFIG_CRYPTO_SHA1_ARM64_CE[0m
tristate "SHA-1 digest algorithm (ARMv8 Crypto Extensions)"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_HASH[0m
select [31mCONFIG_CRYPTO_SHA1[0m
config [31mCONFIG_CRYPTO_SHA2_ARM64_CE[0m
tristate "SHA-224/SHA-256 digest algorithm (ARMv8 Crypto Extensions)"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_HASH[0m
select [31mCONFIG_CRYPTO_SHA256_ARM64[0m
config [31mCONFIG_CRYPTO_SHA512_ARM64_CE[0m
tristate "SHA-384/SHA-512 digest algorithm (ARMv8 Crypto Extensions)"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_HASH[0m
select [31mCONFIG_CRYPTO_SHA512_ARM64[0m
config [31mCONFIG_CRYPTO_SHA3_ARM64[0m
tristate "SHA3 digest algorithm (ARMv8.2 Crypto Extensions)"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_HASH[0m
select [31mCONFIG_CRYPTO_SHA3[0m
config [31mCONFIG_CRYPTO_SM3_ARM64_CE[0m
tristate "SM3 digest algorithm (ARMv8.2 Crypto Extensions)"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_HASH[0m
select [31mCONFIG_CRYPTO_SM3[0m
config [31mCONFIG_CRYPTO_SM4_ARM64_CE[0m
tristate "SM4 symmetric cipher (ARMv8.2 Crypto Extensions)"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_ALGAPI[0m
select [31mCONFIG_CRYPTO_SM4[0m
config [31mCONFIG_CRYPTO_GHASH_ARM64_CE[0m
tristate "GHASH/AES-GCM using ARMv8 Crypto Extensions"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_HASH[0m
select [31mCONFIG_CRYPTO_GF128MUL[0m
select [31mCONFIG_CRYPTO_LIB_AES[0m
config [31mCONFIG_CRYPTO_CRCT10DIF_ARM64_CE[0m
tristate "CRCT10DIF digest algorithm using PMULL instructions"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m && [31mCONFIG_CRC_T10DIF[0m
select [31mCONFIG_CRYPTO_HASH[0m
config [31mCONFIG_CRYPTO_AES_ARM64[0m
tristate "AES core cipher using scalar instructions"
select [31mCONFIG_CRYPTO_AES[0m
config [31mCONFIG_CRYPTO_AES_ARM64_CE[0m
tristate "AES core cipher using ARMv8 Crypto Extensions"
depends on [31mCONFIG_ARM64[0m && [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_ALGAPI[0m
select [31mCONFIG_CRYPTO_LIB_AES[0m
config [31mCONFIG_CRYPTO_AES_ARM64_CE_CCM[0m
tristate "AES in CCM mode using ARMv8 Crypto Extensions"
depends on [31mCONFIG_ARM64[0m && [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_ALGAPI[0m
select [31mCONFIG_CRYPTO_AES_ARM64_CE[0m
select [31mCONFIG_CRYPTO_AEAD[0m
select [31mCONFIG_CRYPTO_LIB_AES[0m
config [31mCONFIG_CRYPTO_AES_ARM64_CE_BLK[0m
tristate "AES in ECB/CBC/CTR/XTS modes using ARMv8 Crypto Extensions"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_BLKCIPHER[0m
select [31mCONFIG_CRYPTO_AES_ARM64_CE[0m
select [31mCONFIG_CRYPTO_AES_ARM64[0m
select [31mCONFIG_CRYPTO_SIMD[0m
config [31mCONFIG_CRYPTO_AES_ARM64_NEON_BLK[0m
tristate "AES in ECB/CBC/CTR/XTS modes using NEON instructions"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_BLKCIPHER[0m
select [31mCONFIG_CRYPTO_AES_ARM64[0m
select [31mCONFIG_CRYPTO_LIB_AES[0m
select [31mCONFIG_CRYPTO_SIMD[0m
config [31mCONFIG_CRYPTO_CHACHA20_NEON[0m
tristate "ChaCha20, XChaCha20, and XChaCha12 stream ciphers using NEON instructions"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_BLKCIPHER[0m
select [31mCONFIG_CRYPTO_CHACHA20[0m
config [31mCONFIG_CRYPTO_NHPOLY1305_NEON[0m
tristate "NHPoly1305 hash function using NEON instructions (for Adiantum)"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_NHPOLY1305[0m
config [31mCONFIG_CRYPTO_AES_ARM64_BS[0m
tristate "AES in ECB/CBC/CTR/XTS modes using bit-sliced NEON algorithm"
depends on [31mCONFIG_KERNEL_MODE_NEON[0m
select [31mCONFIG_CRYPTO_BLKCIPHER[0m
select [31mCONFIG_CRYPTO_AES_ARM64_NEON_BLK[0m
select [31mCONFIG_CRYPTO_AES_ARM64[0m
select [31mCONFIG_CRYPTO_LIB_AES[0m
select [31mCONFIG_CRYPTO_SIMD[0m
endif