Authenticated encryption

Estatetweaes128v1

MAC-then-encrypt misuse-resistant AEAD on tweakable AES or GIFT; NIST LWC round 2

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 Estatetweaes128v1

Estatetweaes128v1 is an authenticated encryption (AEAD) scheme from the ESTATE family. It uses a 16-byte (128-bit) key, a 16-byte nonce and a 16-byte (128-bit) authentication tag. 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

ESTATE is a nonce-misuse-resistant authenticated cipher that combines a tweakable-block-cipher MAC with OFB-style encryption in a SIV-like structure. It was a second-round candidate in the NIST Lightweight Cryptography process.

The mode first computes a tag over the nonce, associated data and message with a CBC-MAC-like chain of tweakable block-cipher calls, then uses the tag as the IV for output-feedback encryption. Tweaks provide domain separation at little cost. Two primitives are specified: TweAES-128, AES-128 with a 4-bit tweak injected at fixed rounds, and TweGIFT-128, a tweakable variant of GIFT-128.

sESTATE is a lighter variant also defined in the submission. NextSSL includes ESTATE-TweGIFT under the estate family, the version 1 builds estatetweaes128 and estatetwegift128, and the version 1 sESTATE-TweAES-128. Both primitives were chosen so that small hardware can reuse an existing AES or GIFT core.

History

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

    NIST Lightweight Cryptography project
  2. ESTATE published

  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

Security notes

Nonce reuse leaks only message equality; authenticity is maintained. Encryption is two-pass and requires buffering the message.

Typical uses

Lightweight devices where nonce uniqueness cannot be guaranteedShort-message protocols

Sizes

FieldBytesMeaning
key16Secret key
nonce16Nonce / IV
tag16Authentication tag

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
key, nonce = root.random(16), root.random(16)
ct = root.call("aead_seal", "estatetweaes128v1", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "estatetweaes128v1", 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 Estatetweaes128v1?

Estatetweaes128v1 is an AEAD in the ESTATE family. ESTATE is a nonce-misuse-resistant authenticated cipher that combines a tweakable-block-cipher MAC with OFB-style encryption in a SIV-like structure.

What are the Estatetweaes128v1 sizes?

In NextSSL, Estatetweaes128v1 uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.

Who designed Estatetweaes128v1 and when?

Estatetweaes128v1 belongs to the ESTATE family, first published in 2019 by Avik Chakraborti, Nilanjan Datta, Ashwin Jha, Cuauhtemoc Mancillas-López, Mridul Nandi, Yu Sasaki. Its origin: NIST LWC round 2.

Is Estatetweaes128v1 safe to use?

Estatetweaes128v1 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).