Authenticated encryption

Comet128aesv1

Re-keyed counter-mode AEAD for AES, CHAM and SPECK; NIST LWC round 2

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 Comet128aesv1

Comet128aesv1 is an authenticated encryption (AEAD) scheme from the COMET family. 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

COMET (COunter Mode Encryption with authentication Tag) is a block-cipher mode that updates the key for each block, aiming for security beyond what the block size alone would allow. It was a second-round candidate in the NIST Lightweight Cryptography process.

The mode keeps a chained state and derives a fresh block-cipher key for each call by applying a simple permutation to the previous key-like value, which lets 64-bit block ciphers reach higher security than a fixed-key counter mode. Encryption and authentication run in a single pass.

COMET-128 instances use 128-bit block ciphers (AES-128 or CHAM-128/128), and COMET-64 instances use 64-bit blocks (CHAM-64/128 or SPECK-64/128). NextSSL includes COMET-128-CHAM, COMET-64-CHAM, COMET-64-SPECK and a version 1 COMET-128-AES build. The re-keying approach lets small ciphers such as CHAM and SPECK reach useful data limits.

History

2018–2025
  1. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  2. COMET published by Shay Gueron, Ashwin Jha, Mridul Nandi

  3. 56 round-1 candidates accepted; 32 advance to round 2 in August

    NIST Lightweight Cryptography project
  4. Ten finalists announced

    NIST Lightweight Cryptography project
  5. Ascon selected as the lightweight standard

    NIST Lightweight Cryptography project
  6. Ascon published in NIST SP 800-232

    NIST Lightweight Cryptography project

Security notes

Requires unique nonces. COMET-64 instances have 64-bit tags and tighter data limits. Security relies on the ideal-cipher model for the block cipher.

Typical uses

Lightweight devices with an AES, CHAM or SPECK coreResearch on re-keyed modes

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

Comet128aesv1 is an AEAD in the COMET family. COMET (COunter Mode Encryption with authentication Tag) is a block-cipher mode that updates the key for each block, aiming for security beyond what the block size alone would allow.

What are the Comet128aesv1 sizes?

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

Who designed Comet128aesv1 and when?

Comet128aesv1 belongs to the COMET family, first published in 2019 by Shay Gueron, Ashwin Jha, Mridul Nandi. Its origin: NIST LWC round 2.

Is Comet128aesv1 safe to use?

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