Comet64speckv1
Re-keyed counter-mode AEAD for AES, CHAM and SPECK; NIST LWC round 2
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 Comet64speckv1
Comet64speckv1 is one of 6 COMET variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 16-byte (128-bit) key, a 15-byte nonce and an 8-byte (64-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–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectCOMET published by Shay Gueron, Ashwin Jha, Mridul Nandi
56 round-1 candidates accepted; 32 advance to round 2 in August
NIST Lightweight Cryptography projectTen finalists announced
NIST Lightweight Cryptography projectAscon selected as the lightweight standard
NIST Lightweight Cryptography projectAscon 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
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| nonce | 15 | Nonce / IV |
| tag | 8 | 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(15)
ct = root.call("aead_seal", "comet64speckv1", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "comet64speckv1", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("comet64speckv1", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("comet64speckv1", 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, "comet64speckv1", &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.
Other COMET variants
5Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is Comet64speckv1?
Comet64speckv1 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 Comet64speckv1 sizes?
In NextSSL, Comet64speckv1 uses: key 16 bytes, nonce 15 bytes, tag 8 bytes.
Who designed Comet64speckv1 and when?
Comet64speckv1 belongs to the COMET family, first published in 2019 by Shay Gueron, Ashwin Jha, Mridul Nandi. Its origin: NIST LWC round 2.
Is Comet64speckv1 safe to use?
Comet64speckv1 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).
What other COMET variants are there?
NextSSL also registers comet-128-cham, comet-64-cham, comet-64-speck, comet128chamv1, comet64chamv1 in the COMET family.