Authenticated encryption

Aes128cpfbv1

An AES-based AEAD candidate with a 128-bit key and 96-bit nonce, carried for research

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 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–2019
  1. CAESAR competition for authenticated encryption announced

    CAESAR competition
  2. AES128-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 16-byte key and a 12-byte nonce initialise the AES-based state used for the message.
  2. Associated data and plaintext are processed block by block, with feedback linking each step to the previous one.
  3. 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

Benchmarking AES-based AEAD designs against each otherResearch into feedback-based authenticated encryption modesInteroperability tests with SUPERCOP style harnesses

Sizes

FieldBytesMeaning
key16Secret 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(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]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

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