arch/arm64/crypto/Kconfig

Source file repositories/reference/linux-study-clean/arch/arm64/crypto/Kconfig

File Facts

System
Linux kernel
Corpus path
arch/arm64/crypto/Kconfig
Extension
[no extension]
Size
5251 bytes
Lines
168
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: build/configuration rule
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0

menu "Accelerated Cryptographic Algorithms for CPU (arm64)"

config CRYPTO_GHASH_ARM64_CE
	tristate "AEAD cipher: AES in GCM mode (ARMv8 Crypto Extensions)"
	depends on KERNEL_MODE_NEON
	select CRYPTO_LIB_AES
	select CRYPTO_LIB_GF128MUL
	select CRYPTO_AEAD
	help
	  AEAD cipher: AES-GCM

	  Architecture: arm64 using:
	  - ARMv8 Crypto Extensions

config CRYPTO_AES_ARM64_CE_BLK
	tristate "Ciphers: AES, modes: ECB/CBC/CTR/XTS (ARMv8 Crypto Extensions)"
	depends on KERNEL_MODE_NEON
	select CRYPTO_SKCIPHER
	select CRYPTO_LIB_AES
	select CRYPTO_LIB_SHA256
	help
	  Length-preserving ciphers: AES cipher algorithms (FIPS-197)
	  with block cipher modes:
	  - ECB (Electronic Codebook) mode (NIST SP800-38A)
	  - CBC (Cipher Block Chaining) mode (NIST SP800-38A)
	  - CTR (Counter) mode (NIST SP800-38A)
	  - XTS (XOR Encrypt XOR with ciphertext stealing) mode (NIST SP800-38E
	    and IEEE 1619)

	  Architecture: arm64 using:
	  - ARMv8 Crypto Extensions

config CRYPTO_AES_ARM64_NEON_BLK
	tristate "Ciphers: AES, modes: ECB/CBC/CTR/XTS (NEON)"
	depends on KERNEL_MODE_NEON
	select CRYPTO_SKCIPHER
	select CRYPTO_LIB_AES
	select CRYPTO_LIB_SHA256
	help
	  Length-preserving ciphers: AES cipher algorithms (FIPS-197)
	  with block cipher modes:
	  - ECB (Electronic Codebook) mode (NIST SP800-38A)
	  - CBC (Cipher Block Chaining) mode (NIST SP800-38A)
	  - CTR (Counter) mode (NIST SP800-38A)
	  - XTS (XOR Encrypt XOR with ciphertext stealing) mode (NIST SP800-38E
	    and IEEE 1619)

	  Architecture: arm64 using:
	  - NEON (Advanced SIMD) extensions

config CRYPTO_AES_ARM64_BS
	tristate "Ciphers: AES, modes: ECB/CBC/CTR/XCTR/XTS modes (bit-sliced NEON)"
	depends on KERNEL_MODE_NEON
	select CRYPTO_SKCIPHER
	select CRYPTO_AES_ARM64_NEON_BLK
	select CRYPTO_LIB_AES
	help
	  Length-preserving ciphers: AES cipher algorithms (FIPS-197)
	  with block cipher modes:
	  - ECB (Electronic Codebook) mode (NIST SP800-38A)
	  - CBC (Cipher Block Chaining) mode (NIST SP800-38A)
	  - CTR (Counter) mode (NIST SP800-38A)
	  - XCTR mode for HCTR2
	  - XTS (XOR Encrypt XOR with ciphertext stealing) mode (NIST SP800-38E
	    and IEEE 1619)

	  Architecture: arm64 using:
	  - bit-sliced algorithm

Annotation

Implementation Notes