Authenticated encryption

Yaes

AES-based authenticated-encryption mode from CAESAR 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 Yaes

Yaes is an authenticated encryption (AEAD) scheme. 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

YAES is an AES-based authenticated-encryption mode submitted to the first round of CAESAR. NextSSL includes a generic build and the version 2 YAES-128 implementation.

YAES was designed to use AES-128 as its only primitive and to be efficient on platforms with AES instructions. The submission positioned it as a simple mode with a small amount of state beyond the AES computation itself.

It did not advance to round 2 of CAESAR, and independent analysis of it is limited. NextSSL keeps both builds as archival references. CAESAR, the Competition for Authenticated Encryption: Security, Applicability, and Robustness, received 57 first-round submissions in 2014 and announced its final portfolio in 2019.

History

2013–2019
  1. CAESAR competition for authenticated encryption announced

    CAESAR competition
  2. YAES published by Antoon Bosselaers, Frederik Vercauteren

  3. 57 first-round candidates published

    CAESAR competition
  4. Second round announced

    CAESAR competition
  5. Third round announced

    CAESAR competition
  6. Finalists announced

    CAESAR competition
  7. Final portfolio: Ascon, ACORN, AEGIS-128, Deoxys-II, COLM and OCB

    CAESAR competition

Security notes

Not vetted beyond the first round of CAESAR; treat it as research-only.

Typical uses

Archival referenceCryptanalysis case studies

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", "yaes", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "yaes", 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.

Similar names

Looking for something else?

Frequently asked questions

What is Yaes?

Yaes is an AEAD in the YAES family. YAES is an AES-based authenticated-encryption mode submitted to the first round of CAESAR.

What are the Yaes sizes?

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

Who designed Yaes and when?

Yaes belongs to the YAES family, first published in 2014 by Antoon Bosselaers, Frederik Vercauteren. Its origin: CAESAR competition.

Is Yaes safe to use?

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