Block cipher family

MARS

IBM's 128-bit block AES finalist, with a variable-length key and the 1999 key-setup tweak

unverified 1 variant AES competition finalist (1998 submission, 1999 key-setup tweak)

Overview

MARS is a 128-bit block cipher designed at IBM and one of the five finalists in the AES competition. It accepts keys from 16 to 56 bytes. NextSSL carries the version that includes the 1999 key-setup tweak, as a Crypto++ implementation, marked unverified.

MARS was submitted to the AES competition by a team at IBM that included Don Coppersmith. It is a 128-bit block cipher with a key that can run from 16 to 56 bytes, and its design mixes keyed multiplication, data-dependent rotations and S-box lookups. It was one of the five AES finalists, with Rijndael selected as AES.

NextSSL carries the variant mars with the 1999 key-setup tweak, following a Crypto++ implementation. The tweak was introduced after the original submission, so the archive's version differs from the 1998 submission in its key schedule.

The unverified tier reflects the archive's review status rather than a finding of weakness. For new work, AES is the standard choice, and MARS is kept for research and comparison with the other finalists.

History

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

    AES selection process
  2. MARS published by IBM team including Don Coppersmith

  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. AES published as FIPS 197

    AES selection process

How it works

  1. The key is expanded into a schedule of 32-bit subkeys, including the tweak's changes to the key setup.
  2. Forward mixing, a keyed core and backward mixing process the 128-bit block over fixed rounds.
  3. Decryption runs the inverse operations in reverse order.

Security notes

Unverified in NextSSL. MARS was not selected for AES and has had reduced-round analysis in the literature, so use AES for new designs.

Typical uses

Comparing AES finalistsResearch into keyed-multiplication block cipher designCrypto++ compatibility testing

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
Mars
mars
unverified key 16–56 · block 16 MARS (IBM, AES finalist, with the 1999 key-setup tweak)… root

Frequently asked questions

What is MARS?

MARS is a 128-bit block cipher from IBM and an AES competition finalist. NextSSL carries the version with the 1999 key-setup tweak, marked unverified.

Is MARS secure and post-quantum?

It is not selected for AES and is unverified in NextSSL, so AES is the choice for new work. Grover's algorithm halves its effective key strength, so keys of 32 bytes or more are preferred.

What key and block sizes does MARS use?

Keys range from 16 to 56 bytes, and the block is 16 bytes.

Which MARS variants does NextSSL include?

NextSSL registers 1 MARS variant: mars.