Aes256cpfbv1
The 256-bit key member of the AES-based CPFB authenticated encryption family
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–2019CAESAR competition for authenticated encryption announced
CAESAR competitionAES256-CPFB published by Miguel Montes, Daniel Penazzi
57 first-round candidates published
CAESAR competitionSecond round announced
CAESAR competitionThird round announced
CAESAR competitionFinalists announced
CAESAR competitionFinal portfolio: Ascon, ACORN, AEGIS-128, Deoxys-II, COLM and OCB
CAESAR competition
How it works
- A 32-byte key and a 12-byte nonce initialise the AES-based state.
- Associated data and plaintext are processed in blocks, with each step updating the feedback state.
- 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
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 32 | Secret key |
| nonce | 12 | Nonce / IV |
| tag | 16 | Authentication 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]
nextssl_root_aead_seal("aes256cpfbv1", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("aes256cpfbv1", NULL, key, nonce, aad, ct, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_aead_in(reg::all(), Policy::Any, "aes256cpfbv1", &Params::new())?;
let ct = alg.seal(&key, &nonce, b"header", b"secret")?;
let pt = alg.open(&key, &nonce, b"header", &ct)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Similar names
Looking for something else?More authenticated encryption
All 392Frequently 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).
Related families
CBC-MAC then counter-mode encryption with AES (NIST SP 800-38C, RFC 3610)
AES-EAXTwo-pass AEAD combining AES-CTR with OMAC (CMAC) authentication
AES-GCMCounter-mode AES with a GHASH polynomial MAC; the default AEAD of TLS and IPsec
AES128-CPFBAn AES-based AEAD candidate with a 128-bit key and 96-bit nonce, carried for research
AES-OTRInverse-free, parallel AES mode using a two-round Feistel per block pair