Authenticated encryption

Elephant-Jumbo

Encrypt-then-MAC with LFSR-masked permutations; NIST LWC finalist

research Root API only
Research tier.

Experimental or unclassified. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Elephant-Jumbo

Elephant-Jumbo is one of 6 Elephant variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 16-byte (128-bit) key, a 12-byte nonce and an 8-byte (64-bit) authentication tag. Its registry entry cites Elephant round-2 (v1) (NIST LWC), Jumbo = Elephant-176. NextSSL lists it in the research tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

Elephant is a nonce-based authenticated-encryption mode that turns a cryptographic permutation into a masked even-mansour style cipher and combines counter-mode encryption with a Wegman-Carter-like MAC. It was a finalist in the NIST Lightweight Cryptography process.

Each permutation call is masked with values produced by an LFSR applied to the key-derived state, which makes the mode parallelisable and lets it use relatively small, well-studied permutations. Three instances are defined: Dumbo uses Spongent-pi[160], Jumbo uses Spongent-pi[176], and Delirium uses Keccak-f[200].

NextSSL includes the round 2 (v1) instances under the elephant family (elephant-dumbo, elephant-jumbo and elephant-delirium) and the finalist version 2 builds elephant160, elephant176 and elephant200. Version 2, the finalist update, modified the MAC computation, and the designers state that it keeps authenticity under nonce misuse.

History

2018–2025
  1. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  2. Elephant published by Tim Beyne, Yu Long Chen, Christoph Dobraunig, Bart Mennink

  3. 56 round-1 candidates accepted; 32 advance to round 2 in August

    NIST Lightweight Cryptography project
  4. Ten finalists announced

    NIST Lightweight Cryptography project
  5. Ascon selected as the lightweight standard

    NIST Lightweight Cryptography project
  6. Ascon published in NIST SP 800-232

    NIST Lightweight Cryptography project

How it works

  1. Expand the key with the permutation to produce a masking state.
  2. Derive block masks by repeatedly applying an LFSR to the masking state.
  3. Encrypt in counter mode by XORing the plaintext with permutation outputs on masked nonce and counter inputs.
  4. Authenticate the nonce, associated data and ciphertext with a masked, parallel MAC and truncate the result to the tag.

Security notes

Confidentiality requires unique nonces. Dumbo and Jumbo use 64-bit tags, which limits forgery resistance per attempt. Prefer the v2 builds, which reflect the final specification.

Typical uses

Hardware with a small permutation coreParallel lightweight encryptionResearch comparing permutation-based modes

Sizes

FieldBytesMeaning
key16Secret key
nonce12Nonce / IV
tag8Authentication tag

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'research' is reachable from the root API only
key, nonce = root.random(16), root.random(12)
ct = root.call("aead_seal", "elephant-jumbo", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "elephant-jumbo", None, key, nonce, b"header", ct)[0]

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

Frequently asked questions

What is Elephant-Jumbo?

Elephant-Jumbo is an AEAD in the Elephant family. Elephant is a nonce-based authenticated-encryption mode that turns a cryptographic permutation into a masked even-mansour style cipher and combines counter-mode encryption with a Wegman-Carter-like MAC.

What are the Elephant-Jumbo sizes?

In NextSSL, Elephant-Jumbo uses: key 16 bytes, nonce 12 bytes, tag 8 bytes.

Who designed Elephant-Jumbo and when?

Elephant-Jumbo belongs to the Elephant family, first published in 2019 by Tim Beyne, Yu Long Chen, Christoph Dobraunig, Bart Mennink. Its origin: NIST LWC finalist.

Which standards define Elephant-Jumbo?

Elephant-Jumbo is referenced by Elephant round-2 (v1) (NIST LWC), Jumbo = Elephant-176.

Is Elephant-Jumbo safe to use?

Elephant-Jumbo is in the research tier. Experimental or unclassified. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).

What other Elephant variants are there?

NextSSL also registers elephant-delirium, elephant-dumbo, elephant160v1, elephant176v1, elephant200v1 in the Elephant family.