Block ciphers

Anubis

An involutional AES-like cipher by Barreto and Rijmen, submitted to NESSIE

unverified Root API only
Unverified tier.

Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Anubis

Anubis is a block cipher. It uses a 16–40-byte key and a 16-byte (128-bit) block. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

Anubis is a 128-bit block cipher designed by Paulo Barreto and Vincent Rijmen and submitted to the NESSIE project in 2000. It is closely related to AES but uses only involutional components, so encryption and decryption share the same structure.

Anubis follows the wide-trail strategy. Each round applies an involutional 8-bit S-box, a column transposition and an involutional MDS mixing matrix to a 4x4 byte state, followed by round-key addition. Keys from 128 to 320 bits in 32-bit steps are supported, with the number of rounds growing with key length. The S-box was revised once to allow cheaper hardware implementation.

NextSSL includes an Anubis entry wired from source, not yet verified against reference test vectors. Anubis shares design principles with Whirlpool and Khazad by the same authors. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation. It is mostly of historical interest.

History

2000–2003
  1. Anubis published by Paulo S. L. M. Barreto, Vincent Rijmen

  2. European NESSIE project opens its call for primitives

    NESSIE project
  3. NESSIE portfolio published

    NESSIE project

Security notes

No practical attacks on full Anubis are known, but it was not selected by NESSIE and has received far less analysis than AES. NextSSL's implementation is unverified.

Typical uses

Research on involutional SPN designHistorical comparison with AES

Sizes

FieldBytesMeaning
key16 – 40Secret key
block16Block

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
block = root.call("blockcipher_encrypt", "anubis", None, key, plaintext_block)[0]

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

Frequently asked questions

What is Anubis?

Anubis is a block cipher in the Anubis family. Anubis is a 128-bit block cipher designed by Paulo Barreto and Vincent Rijmen and submitted to the NESSIE project in 2000.

What are the Anubis sizes?

In NextSSL, Anubis uses: key 16 to 40 bytes, block 16 bytes.

Who designed Anubis and when?

Anubis belongs to the Anubis family, first published in 2000 by Paulo S. L. M. Barreto, Vincent Rijmen. Its origin: NESSIE submission.

Is Anubis safe to use?

Anubis is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).