| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- # SPDX-License-Identifier: GPL-2.0
- menu "Accelerated Cryptographic Algorithms for CPU (arm64)"
- config CRYPTO_GHASH_ARM64_CE
- tristate "Hash functions: GHASH (ARMv8 Crypto Extensions)"
- depends on KERNEL_MODE_NEON
- select CRYPTO_HASH
- select CRYPTO_LIB_AES
- select CRYPTO_LIB_GF128MUL
- select CRYPTO_AEAD
- help
- GCM GHASH function (NIST SP800-38D)
- Architecture: arm64 using:
- - ARMv8 Crypto Extensions
- config CRYPTO_SM3_NEON
- tristate "Hash functions: SM3 (NEON)"
- depends on KERNEL_MODE_NEON
- select CRYPTO_HASH
- select CRYPTO_LIB_SM3
- help
- SM3 (ShangMi 3) secure hash function (OSCCA GM/T 0004-2012)
- Architecture: arm64 using:
- - NEON (Advanced SIMD) extensions
- config CRYPTO_SM3_ARM64_CE
- tristate "Hash functions: SM3 (ARMv8.2 Crypto Extensions)"
- depends on KERNEL_MODE_NEON
- select CRYPTO_HASH
- select CRYPTO_LIB_SM3
- help
- SM3 (ShangMi 3) secure hash function (OSCCA GM/T 0004-2012)
- Architecture: arm64 using:
- - ARMv8.2 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
- - NEON (Advanced SIMD) extensions
- config CRYPTO_SM4_ARM64_CE
- tristate "Ciphers: SM4 (ARMv8.2 Crypto Extensions)"
- depends on KERNEL_MODE_NEON
- select CRYPTO_ALGAPI
- select CRYPTO_SM4
- help
- Block ciphers: SM4 cipher algorithms (OSCCA GB/T 32907-2016)
- Architecture: arm64 using:
- - ARMv8.2 Crypto Extensions
- - NEON (Advanced SIMD) extensions
- config CRYPTO_SM4_ARM64_CE_BLK
- tristate "Ciphers: SM4, modes: ECB/CBC/CTR/XTS (ARMv8 Crypto Extensions)"
- depends on KERNEL_MODE_NEON
- select CRYPTO_SKCIPHER
- select CRYPTO_SM4
- help
- Length-preserving ciphers: SM4 cipher algorithms (OSCCA GB/T 32907-2016)
- 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
- - NEON (Advanced SIMD) extensions
- config CRYPTO_SM4_ARM64_NEON_BLK
- tristate "Ciphers: SM4, modes: ECB/CBC/CTR (NEON)"
- depends on KERNEL_MODE_NEON
- select CRYPTO_SKCIPHER
- select CRYPTO_SM4
- help
- Length-preserving ciphers: SM4 cipher algorithms (OSCCA GB/T 32907-2016)
- 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)
- Architecture: arm64 using:
- - NEON (Advanced SIMD) extensions
- config CRYPTO_AES_ARM64_CE_CCM
- tristate "AEAD cipher: AES in CCM mode (ARMv8 Crypto Extensions)"
- depends on KERNEL_MODE_NEON
- select CRYPTO_ALGAPI
- select CRYPTO_AES_ARM64_CE_BLK
- select CRYPTO_AEAD
- select CRYPTO_LIB_AES
- help
- AEAD cipher: AES cipher algorithms (FIPS-197) with
- CCM (Counter with Cipher Block Chaining-Message Authentication Code)
- authenticated encryption mode (NIST SP800-38C)
- Architecture: arm64 using:
- - ARMv8 Crypto Extensions
- - NEON (Advanced SIMD) extensions
- config CRYPTO_SM4_ARM64_CE_CCM
- tristate "AEAD cipher: SM4 in CCM mode (ARMv8 Crypto Extensions)"
- depends on KERNEL_MODE_NEON
- select CRYPTO_ALGAPI
- select CRYPTO_AEAD
- select CRYPTO_SM4
- select CRYPTO_SM4_ARM64_CE_BLK
- help
- AEAD cipher: SM4 cipher algorithms (OSCCA GB/T 32907-2016) with
- CCM (Counter with Cipher Block Chaining-Message Authentication Code)
- authenticated encryption mode (NIST SP800-38C)
- Architecture: arm64 using:
- - ARMv8 Crypto Extensions
- - NEON (Advanced SIMD) extensions
- config CRYPTO_SM4_ARM64_CE_GCM
- tristate "AEAD cipher: SM4 in GCM mode (ARMv8 Crypto Extensions)"
- depends on KERNEL_MODE_NEON
- select CRYPTO_ALGAPI
- select CRYPTO_AEAD
- select CRYPTO_SM4
- select CRYPTO_SM4_ARM64_CE_BLK
- help
- AEAD cipher: SM4 cipher algorithms (OSCCA GB/T 32907-2016) with
- GCM (Galois/Counter Mode) authenticated encryption mode (NIST SP800-38D)
- Architecture: arm64 using:
- - ARMv8 Crypto Extensions
- - PMULL (Polynomial Multiply Long) instructions
- - NEON (Advanced SIMD) extensions
- endmenu
|