Aes128cpfbv1
An AES-based AEAD candidate with a 128-bit key and 96-bit nonce, carried for research
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 Aes128cpfbv1
Aes128cpfbv1 is an authenticated encryption (AEAD) scheme from the AES128-CPFB family. It uses a 16-byte (128-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
AES128-CPFB is an authenticated encryption scheme built on the AES block cipher, distributed in the SUPERCOP benchmark collection as a reference implementation. It takes a 16-byte key and a 12-byte nonce and returns a 16-byte tag. NextSSL carries it as an unverified candidate for comparison with other AES-based AEADs.
AES128-CPFB is one of the AES-based authenticated encryption designs in the SUPERCOP benchmarking toolkit. It is supplied as a reference implementation with the usual api.h and encrypt.c files, so it can be measured under the same crypto_aead calling convention as other candidates.
NextSSL archives one variant, aes128cpfbv1, with a 16-byte key, a 12-byte nonce and a 16-byte tag. The archive records no standard, no alias and no published security analysis for this construction. Its sibling AES256-CPFB keeps the same nonce and tag sizes and doubles the key length.
The entry exists for comparison and research. It is not a candidate for production use where AES-GCM or another standardised AEAD is available.
History
2013–2019CAESAR competition for authenticated encryption announced
CAESAR competitionAES128-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 16-byte key and a 12-byte nonce initialise the AES-based state used for the message.
- Associated data and plaintext are processed block by block, with feedback linking each step to the previous one.
- A 16-byte tag is produced, and decryption releases plaintext only after the tag verifies.
Security notes
Unverified: the archive records no standard and no public cryptanalysis for this exact construction. Use AES-GCM or another standardised AEAD for production work.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | 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(16), root.random(12)
ct = root.call("aead_seal", "aes128cpfbv1", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "aes128cpfbv1", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("aes128cpfbv1", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("aes128cpfbv1", 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, "aes128cpfbv1", &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 Aes128cpfbv1?
Aes128cpfbv1 is an AEAD in the AES128-CPFB family. AES128-CPFB is an authenticated encryption scheme built on the AES block cipher, distributed in the SUPERCOP benchmark collection as a reference implementation.
What are the Aes128cpfbv1 sizes?
In NextSSL, Aes128cpfbv1 uses: key 16 bytes, nonce 12 bytes, tag 16 bytes.
Who designed Aes128cpfbv1 and when?
Aes128cpfbv1 belongs to the AES128-CPFB family, first published in 2014 by Miguel Montes, Daniel Penazzi. Its origin: CAESAR competition, round 1.
Is Aes128cpfbv1 safe to use?
Aes128cpfbv1 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
AES256-CPFBThe 256-bit key member of the AES-based CPFB authenticated encryption family
AESThe Advanced Encryption Standard: the world's default 128-bit block cipher