MARS
IBM's 128-bit block AES finalist, with a variable-length key and the 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–2001NIST calls for a successor to DES
AES selection processMARS published by IBM team including Don Coppersmith
15 candidates accepted
AES selection processFive finalists: MARS, RC6, Rijndael, Serpent and Twofish
AES selection processRijndael selected
AES selection processAES published as FIPS 197
AES selection process
How it works
- The key is expanded into a schedule of 32-bit subkeys, including the tweak's changes to the key setup.
- Forward mixing, a keyed core and backward mixing process the 128-bit block over fixed rounds.
- 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
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| 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.
Families with similar names
Other block ciphers
All 84Related
The Advanced Encryption Standard: the world's default 128-bit block cipher
CAST-128 and CAST-256Carlisle Adams and Stafford Tavares's Feistel ciphers, once default in PGP
SerpentThe conservative AES finalist with 32 rounds of bit-sliced 4-bit S-boxes
SquareDaemen, Knudsen and Rijmen's 1997 128-bit substitution-permutation cipher, a precursor to Rijndael
TwofishSchneier and colleagues' AES finalist with key-dependent S-boxes