Authenticated encryption

Aes256cpfbv1

The 256-bit key member of the AES-based CPFB authenticated encryption family

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 Aes256cpfbv1

Aes256cpfbv1 is an authenticated encryption (AEAD) scheme from the AES256-CPFB family. It uses a 32-byte (256-bit) key, a 12-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

AES256-CPFB is the 256-bit key variant of the CPFB authenticated encryption design built on AES, distributed in the SUPERCOP benchmark collection. It takes a 32-byte key, a 12-byte nonce and returns a 16-byte tag. NextSSL carries it as an unverified candidate.

AES256-CPFB shares its construction with AES128-CPFB and differs mainly in key length. It is supplied as a SUPERCOP reference implementation, so it can be measured alongside other candidates under the same harness.

NextSSL archives one variant, aes256cpfbv1, with a 32-byte key, a 12-byte nonce and a 16-byte tag. The 12-byte nonce and 16-byte tag match the 128-bit sibling, so the two differ only in key length. The archive records no standard and no published security analysis for either variant.

Because the design is unverified in NextSSL, the entry is best read as a research artifact for comparing AES-based AEAD constructions.

History

2013–2019
  1. CAESAR competition for authenticated encryption announced

    CAESAR competition
  2. AES256-CPFB published by Miguel Montes, Daniel Penazzi

  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

How it works

  1. A 32-byte key and a 12-byte nonce initialise the AES-based state.
  2. Associated data and plaintext are processed in blocks, with each step updating the feedback state.
  3. A 16-byte tag is computed and verified before any decrypted output is returned.

Security notes

Unverified: no standard or public cryptanalysis is recorded for this construction. Prefer AES-256-GCM or another standardised AEAD for production.

Typical uses

Comparing 128-bit and 256-bit key variants of the same designResearch into feedback-based authenticated encryptionBenchmarking AES-256 based AEAD candidates

Sizes

FieldBytesMeaning
key32Secret key
nonce12Nonce / 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(32), root.random(12)
ct = root.call("aead_seal", "aes256cpfbv1", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "aes256cpfbv1", 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 Aes256cpfbv1?

Aes256cpfbv1 is an AEAD in the AES256-CPFB family. AES256-CPFB is the 256-bit key variant of the CPFB authenticated encryption design built on AES, distributed in the SUPERCOP benchmark collection.

What are the Aes256cpfbv1 sizes?

In NextSSL, Aes256cpfbv1 uses: key 32 bytes, nonce 12 bytes, tag 16 bytes.

Who designed Aes256cpfbv1 and when?

Aes256cpfbv1 belongs to the AES256-CPFB family, first published in 2014 by Miguel Montes, Daniel Penazzi. Its origin: CAESAR competition, round 1.

Is Aes256cpfbv1 safe to use?

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