Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - C index
The Linux kernel configuration item CONFIG_CRYPTO_AES_ARM_BS
has multiple definitions:
arch/arm/crypto/Kconfig
The configuration item CONFIG_CRYPTO_AES_ARM_BS:
CONFIG_KERNEL_MODE_NEON
aes-arm-bs
, aes-arm-bs
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)
Bit sliced AES gives around 45% speedup on Cortex-A15 for CTR mode and for XTS mode encryption, CBC and XTS mode decryption speedup is around 25%. (CBC encryption speed is not affected by this driver.)
The bit sliced AES code does not use lookup tables, so it is believed to be invulnerable to cache timing attacks. However, since the bit sliced AES code cannot process single blocks efficiently, in certain cases table-based code with some countermeasures against cache timing attacks will still be used as a fallback method; specifically CBC encryption (not CBC decryption), the encryption of XTS tweaks, XTS ciphertext stealing when the message isn't a multiple of 16 bytes, and CTR when invoked in a context in which NEON instructions are unusable.
arch/arm/crypto/Kconfig
The configuration item CONFIG_CRYPTO_AES_ARM_BS:
CONFIG_KERNEL_MODE_NEON
aes-arm-bs
, aes-arm-bs
Use a faster and more secure NEON based implementation of AES in CBC, CTR and XTS modes
Bit sliced AES gives around 45% speedup on Cortex-A15 for CTR mode and for XTS mode encryption, CBC and XTS mode decryption speedup is around 25%. (CBC encryption speed is not affected by this driver.) This implementation does not rely on any lookup tables so it is believed to be invulnerable to cache timing attacks.
crypto/Kconfig
The configuration item CONFIG_CRYPTO_AES_ARM_BS:
CONFIG_ARM && CONFIG_KERNEL_MODE_NEON
aes-arm-bs
, aes-arm-bs
Use a faster and more secure NEON based implementation of AES in CBC, CTR and XTS modes
Bit sliced AES gives around 45% speedup on Cortex-A15 for CTR mode and for XTS mode encryption, CBC and XTS mode decryption speedup is around 25%. (CBC encryption speed is not affected by this driver.) This implementation does not rely on any lookup tables so it is believed to be invulnerable to cache timing attacks.
Raw data from LKDDb:
lkddb module aes-arm-bs CONFIG_CRYPTO_AES_ARM_BS : arch/arm/crypto/Kconfig : "Ciphers: AES, modes: ECB/CBC/CTR/XTS (bit-sliced NEON)" # in 4.1–4.20, 5.0–5.19, 6.0–6.12, 6.13-rc+HEAD
lkddb module aes-arm-bs CONFIG_CRYPTO_AES_ARM_BS : crypto/Kconfig : "Bit sliced AES using NEON instructions" # in 3.13–3.19, 4.0
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - C index
Automatically generated (in year 2024). See also LKDDb sources on GitLab