Block cipher family

Serpent

The conservative AES finalist with 32 rounds of bit-sliced 4-bit S-boxes

standard 3 variants AES finalist; NESSIE

Overview

Serpent is a 128-bit block cipher designed by Ross Anderson, Eli Biham and Lars Knudsen. It finished second in the AES competition and is widely regarded as having the largest security margin of the finalists, at the cost of speed.

Serpent is a 32-round substitution–permutation network. Each round XORs a round key, applies one of eight 4-bit S-boxes 32 times in parallel, and then a linear transformation of shifts, rotations and XORs on the four 32-bit words. The S-boxes are designed to be computed in bit-sliced form with logical operations, which makes constant-time software implementation natural.

NextSSL includes Serpent with 128-, 192- and 256-bit keys. Serpent is offered in disk-encryption tools such as VeraCrypt and in the Linux kernel. Serpent's designers chose 32 rounds, roughly twice what they estimated was needed, to stay secure against future advances in cryptanalysis. That conservatism is the reason for its slower speed, and it is often cited when comparing it with the leaner Rijndael.

History

1997–2003
  1. NIST calls for a successor to DES

    AES selection process
  2. Serpent published by Ross Anderson, Eli Biham, Lars Knudsen

  3. 15 candidates accepted

    AES selection process
  4. Five finalists: MARS, RC6, Rijndael, Serpent and Twofish

    AES selection process
  5. Rijndael selected

    AES selection process
  6. European NESSIE project opens its call for primitives

    NESSIE project
  7. AES published as FIPS 197

    AES selection process
  8. NESSIE portfolio published

    NESSIE project

Security notes

No attack on more than about 12 of its 32 rounds is known, giving Serpent a very large margin. It is slower than AES, especially where AES hardware support exists.

Typical uses

Disk encryption where a conservative cipher is wantedCascades with AES or Twofish

Variants in NextSSL

3
AlgorithmTierSizes (bytes)StandardsAPI
Serpent-128
serpent-128
standard key 16 · block 16 AES finalist (Serpent), NESSIE safe
Serpent-192
serpent-192
standard key 24 · block 16 AES finalist (Serpent), NESSIE safe
Serpent-256
serpent-256
standard key 32 · block 16 AES finalist (Serpent), NESSIE safe

Frequently asked questions

Which Serpent variants does NextSSL include?

NextSSL registers 3 Serpent variants: serpent-128, serpent-192, serpent-256.