Authenticated encryption

Led80n6silcv1

Compact CFB-based AEAD modes for small block ciphers; CAESAR round 3

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 Led80n6silcv1

Led80n6silcv1 is an authenticated encryption (AEAD) scheme from the CLOC and SILC family. It uses a 10-byte (80-bit) key, a 6-byte nonce and a 4-byte (32-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

CLOC (Compact Low-Overhead CFB) and SILC (SImple Lightweight CFB) are nonce-based authenticated-encryption modes that use only the forward direction of a block cipher and keep the state to roughly one block. Both reached the third round of CAESAR.

CLOC encrypts with a CFB-style chain and authenticates with a CBC-MAC-like pass over the associated data and ciphertext; tweak functions applied to the chaining value provide domain separation without extra block-cipher calls. SILC simplifies CLOC further for hardware by removing some of these tweak functions, reducing the circuit at a small cost in software efficiency.

The CAESAR submissions defined instances with AES-128 and with 64-bit block ciphers. The NextSSL identifiers encode the parameters: the cipher (AES-128, PRESENT-80, LED-80 or TWINE-80), the nonce length in bytes (n12, n8, n6) and, where present, the tag length (t8, t4). The generic cloc and silc entries are reference builds of the same modes.

Instances using 64-bit block ciphers have a correspondingly small birthday bound, so the amount of data per key must be kept low. The t-suffixed version 2 and 3 builds fix the tag length explicitly, while the version 1 builds use the default parameters of each instance.

History

2013–2019
  1. CAESAR competition for authenticated encryption announced

    CAESAR competition
  2. CLOC and SILC published

  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. Derive an initial value from the key, nonce and associated data using block-cipher calls.
  2. Encrypt plaintext in CFB fashion: each ciphertext block is the plaintext XOR the encryption of the previous chaining value.
  3. Authenticate the ciphertext in a CBC-MAC-like chain seeded from the nonce.
  4. Output the truncated final MAC state as the tag.

Security notes

Both modes require unique nonces and are serial in encryption. Instances on 64-bit block ciphers reach only birthday-bound security around 2^32 blocks, and short tags (t4, t8) allow online forgery with corresponding probability.

Typical uses

Hardware AEAD where only a block-cipher encryption core fitsConstrained devices already using PRESENT, LED or TWINEStudying CFB-based authenticated encryption

Sizes

FieldBytesMeaning
key10Secret key
nonce6Nonce / IV
tag4Authentication 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(10), root.random(6)
ct = root.call("aead_seal", "led80n6silcv1", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "led80n6silcv1", 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 Led80n6silcv1?

Led80n6silcv1 is an AEAD in the CLOC and SILC family. CLOC (Compact Low-Overhead CFB) and SILC (SImple Lightweight CFB) are nonce-based authenticated-encryption modes that use only the forward direction of a block cipher and keep the state to roughly one block.

What are the Led80n6silcv1 sizes?

In NextSSL, Led80n6silcv1 uses: key 10 bytes, nonce 6 bytes, tag 4 bytes.

Who designed Led80n6silcv1 and when?

Led80n6silcv1 belongs to the CLOC and SILC family, first published in 2014 by Tetsu Iwata, Kazuhiko Minematsu, Jian Guo, Sumio Morioka (CLOC); with Eita Kobayashi (SILC). Its origin: CAESAR round 3 candidates.

Is Led80n6silcv1 safe to use?

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