Block ciphers

Serpent-192

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

standard Safe API

About Serpent-192

Serpent-192 is one of 3 Serpent variants in the NextSSL registry, a block cipher. It uses a 24-byte (192-bit) key and a 16-byte (128-bit) block. Its registry entry cites AES finalist (Serpent) and NESSIE. NextSSL lists it in the standard tier and exposes it through the safe API.

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

Sizes

FieldBytesMeaning
key24Secret key
block16Block

Use it

from nextssl_demo import NextSSL

ns = NextSSL()              # safe API: safe and standard tiers
block = ns.call("blockcipher_encrypt", "serpent-192", None, key, plaintext_block)[0]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Other Serpent variants

2

Similar names

Looking for something else?

Frequently asked questions

What is Serpent-192?

Serpent-192 is a block cipher in the Serpent family. Serpent is a 128-bit block cipher designed by Ross Anderson, Eli Biham and Lars Knudsen.

What are the Serpent-192 sizes?

In NextSSL, Serpent-192 uses: key 24 bytes, block 16 bytes.

Who designed Serpent-192 and when?

Serpent-192 belongs to the Serpent family, first published in 1998 by Ross Anderson, Eli Biham, Lars Knudsen. Its origin: AES finalist; NESSIE.

Which standards define Serpent-192?

Serpent-192 is referenced by AES finalist (Serpent), NESSIE.

Is Serpent-192 safe to use?

Serpent-192 is in the standard tier. Standardised and sound. Reachable from the safe API. It can be called from the safe API.

What other Serpent variants are there?

NextSSL also registers serpent-128, serpent-256 in the Serpent family.