Kconfig

Accelerated Cryptographic Algorithms for CPU (x86)

CONFIG_CRYPTO_AES_NI_INTEL Ciphers: AES, modes: GCM (AES-NI/VAES)

  • Off
  • Module
  • Built in

AEAD cipher: AES with GCM

Architecture: x86_64 using:
- AES-NI (AES new instructions)
- VAES (Vector AES)

The module controlled by this option (aesni-intel.ko) no longer directly provides the accelerated ECB, CBC, CBC-CTS, CTR, XCTR, and XTS code. Those are now provided by CRYPTO_AES (aes.ko) when the corresponding mode option (CRYPTO_XTS, CRYPTO_CBC, etc.) is enabled.

To ensure dm-crypt continues to work in kconfigs with only this option set, this option selects CRYPTO_AES, CRYPTO_CBC, and CRYPTO_XTS.

CONFIG_CRYPTO_CAMELLIA_X86_64 Ciphers: Camellia with modes: ECB, CBC

  • Off
  • Module
  • Built in

Block cipher: Camellia cipher algorithms Length-preserving ciphers: Camellia with ECB and CBC modes

Architecture: x86_64

CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 Ciphers: Camellia with modes: ECB, CBC (AES-NI/AVX2)

  • Off
  • Module
  • Built in

Length-preserving ciphers: Camellia with ECB and CBC modes

Architecture: x86_64 using:
- AES-NI (AES New Instructions)
- AVX2 (Advanced Vector Extensions 2)

CONFIG_CRYPTO_CAST5_AVX_X86_64 Ciphers: CAST5 with modes: ECB, CBC (AVX)

  • Off
  • Module
  • Built in

Length-preserving ciphers: CAST5 (CAST-128) cipher algorithm (RFC2144) with ECB and CBC modes

Architecture: x86_64 using:
- AVX (Advanced Vector Extensions)

Processes 16 blocks in parallel.

CONFIG_CRYPTO_CAST6_AVX_X86_64 Ciphers: CAST6 with modes: ECB, CBC (AVX)

  • Off
  • Module
  • Built in

Length-preserving ciphers: CAST6 (CAST-256) cipher algorithm (RFC2612) with ECB and CBC modes

Architecture: x86_64 using:
- AVX (Advanced Vector Extensions)

Processes eight blocks in parallel.

CONFIG_CRYPTO_SERPENT_SSE2_X86_64 Ciphers: Serpent with modes: ECB, CBC (SSE2)

  • Off
  • Module
  • Built in

Length-preserving ciphers: Serpent cipher algorithm with ECB and CBC modes

Architecture: x86_64 using:
- SSE2 (Streaming SIMD Extensions 2)

Processes eight blocks in parallel.

CONFIG_CRYPTO_SERPENT_SSE2_586 Ciphers: Serpent with modes: ECB, CBC (32-bit with SSE2)

  • Off
  • Module
  • Built in
Unknown

Length-preserving ciphers: Serpent cipher algorithm with ECB and CBC modes

Architecture: x86 (32-bit) using:
- SSE2 (Streaming SIMD Extensions 2)

Processes four blocks in parallel.

CONFIG_CRYPTO_SERPENT_AVX_X86_64 Ciphers: Serpent with modes: ECB, CBC (AVX)

  • Off
  • Module
  • Built in

Length-preserving ciphers: Serpent cipher algorithm with ECB and CBC modes

Architecture: x86_64 using:
- AVX (Advanced Vector Extensions)

Processes eight blocks in parallel.

CONFIG_CRYPTO_SERPENT_AVX2_X86_64 Ciphers: Serpent with modes: ECB, CBC (AVX2)

  • Off
  • Module
  • Built in

Length-preserving ciphers: Serpent cipher algorithm with ECB and CBC modes

Architecture: x86_64 using:
- AVX2 (Advanced Vector Extensions 2)

Processes 16 blocks in parallel.

CONFIG_CRYPTO_SM4_AESNI_AVX_X86_64 Ciphers: SM4 with modes: ECB, CBC, CTR (AES-NI/AVX)

  • Off
  • Module
  • Built in

Length-preserving ciphers: SM4 cipher algorithms (OSCCA GB/T 32907-2016) with ECB, CBC, and CTR modes

Architecture: x86_64 using:
- AES-NI (AES New Instructions)
- AVX (Advanced Vector Extensions)

Through two affine transforms, we can use the AES S-Box to simulate the SM4 S-Box to achieve the effect of instruction acceleration.

If unsure, say N.

CONFIG_CRYPTO_SM4_AESNI_AVX2_X86_64 Ciphers: SM4 with modes: ECB, CBC, CTR (AES-NI/AVX2)

  • Off
  • Module
  • Built in

Length-preserving ciphers: SM4 cipher algorithms (OSCCA GB/T 32907-2016) with ECB, CBC, and CTR modes

Architecture: x86_64 using:
- AES-NI (AES New Instructions)
- AVX2 (Advanced Vector Extensions 2)

Through two affine transforms, we can use the AES S-Box to simulate the SM4 S-Box to achieve the effect of instruction acceleration.

If unsure, say N.

CONFIG_CRYPTO_TWOFISH_X86_64_3WAY Ciphers: Twofish with modes: ECB, CBC (3-way parallel)

  • Off
  • Module
  • Built in

Length-preserving cipher: Twofish cipher algorithm with ECB and CBC modes

Architecture: x86_64

Processes three blocks in parallel, better utilizing resources of out-of-order CPUs.

CONFIG_CRYPTO_TWOFISH_AVX_X86_64 Ciphers: Twofish with modes: ECB, CBC (AVX)

  • Off
  • Module
  • Built in

Length-preserving cipher: Twofish cipher algorithm with ECB and CBC modes

Architecture: x86_64 using:
- AVX (Advanced Vector Extensions)

Processes eight blocks in parallel.

CONFIG_CRYPTO_ARIA_AESNI_AVX_X86_64 Ciphers: ARIA with modes: ECB, CTR (AES-NI/AVX/GFNI)

  • Off
  • Module
  • Built in

Length-preserving cipher: ARIA cipher algorithms (RFC 5794) with ECB and CTR modes

Architecture: x86_64 using:
- AES-NI (AES New Instructions)
- AVX (Advanced Vector Extensions)
- GFNI (Galois Field New Instructions)

Processes 16 blocks in parallel.

CONFIG_CRYPTO_ARIA_AESNI_AVX2_X86_64 Ciphers: ARIA with modes: ECB, CTR (AES-NI/AVX2/GFNI)

  • Off
  • Module
  • Built in

Length-preserving cipher: ARIA cipher algorithms (RFC 5794) with ECB and CTR modes

Architecture: x86_64 using:
- AES-NI (AES New Instructions)
- AVX2 (Advanced Vector Extensions)
- GFNI (Galois Field New Instructions)

Processes 32 blocks in parallel.

CONFIG_CRYPTO_ARIA_GFNI_AVX512_X86_64 Ciphers: ARIA with modes: ECB, CTR (AVX512/GFNI)

  • Off
  • Module
  • Built in

Length-preserving cipher: ARIA cipher algorithms (RFC 5794) with ECB and CTR modes

Architecture: x86_64 using:
- AVX512 (Advanced Vector Extensions)
- GFNI (Galois Field New Instructions)

Processes 64 blocks in parallel.

CONFIG_CRYPTO_AEGIS128_AESNI_SSE2 AEAD ciphers: AEGIS-128 (AES-NI/SSE4.1)

  • Off
  • Module
  • Built in

AEGIS-128 AEAD algorithm

Architecture: x86_64 using:
- AES-NI (AES New Instructions)
- SSE4.1 (Streaming SIMD Extensions 4.1)
End of Accelerated Cryptographic Algorithms for CPU (x86)