Authenticated encryption

Triadaev1

Trivium-inspired NLFSR authenticated cipher; NIST LWC round 1

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 Triadaev1

Triadaev1 is an authenticated encryption (AEAD) scheme from the TRIAD-AE family. It uses a 16-byte (128-bit) key, a 12-byte nonce and an 8-byte (64-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

TRIAD-AE is the authenticated-encryption member of the TRIAD submission to the first round of the NIST Lightweight Cryptography process. It builds on a Trivium-like nonlinear feedback shift-register structure.

TRIAD uses a 256-bit state split into three NLFSRs, in the spirit of Trivium, and derives both keystream and authentication from it. The NextSSL build uses a 128-bit key, 96-bit nonce and 64-bit tag.

TRIAD did not advance to the second round. TRIAD also defined a hash function, TRIAD-HASH, on the same state. The first round of the NIST process opened in 2019 with 56 candidates, and 32 were selected for the second round later that year.

History

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

    NIST Lightweight Cryptography project
  2. TRIAD-AE 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

Requires unique nonces. The 64-bit tag limits forgery resistance. It was not selected for the second round, and independent analysis is limited; treat it as research-only.

Typical uses

Hardware stream-cipher researchArchival reference

Sizes

FieldBytesMeaning
key16Secret key
nonce12Nonce / IV
tag8Authentication 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(12)
ct = root.call("aead_seal", "triadaev1", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "triadaev1", 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 Triadaev1?

Triadaev1 is an AEAD in the TRIAD-AE family. TRIAD-AE is the authenticated-encryption member of the TRIAD submission to the first round of the NIST Lightweight Cryptography process.

What are the Triadaev1 sizes?

In NextSSL, Triadaev1 uses: key 16 bytes, nonce 12 bytes, tag 8 bytes.

Who designed Triadaev1 and when?

Triadaev1 belongs to the TRIAD-AE family, first published in 2019. Its origin: NIST LWC round 1.

Is Triadaev1 safe to use?

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