Authenticated encryption

Acorn

Bit-oriented LFSR stream cipher AEAD from the CAESAR lightweight portfolio

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 Acorn

Acorn is an authenticated encryption (AEAD) scheme. 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

ACORN is a lightweight authenticated cipher built from six concatenated linear feedback shift registers with a nonlinear feedback function. ACORN-128 was included in the CAESAR final portfolio for lightweight applications alongside Ascon.

The 293-bit state of ACORN is updated one bit at a time, which makes hardware implementations very small and allows parallel processing of up to 32 steps per clock. The key and IV are loaded over a long initialisation phase; associated data and plaintext bits are injected into the state as it is clocked, and the keystream bit is a nonlinear function of selected state bits.

Because authentication and encryption share a single state, ACORN behaves like a duplexed stream cipher. Its software performance is moderate, but its hardware footprint is among the smallest of the CAESAR finalists. NextSSL implements ACORN-128.

History

2013–2019
  1. CAESAR competition for authenticated encryption announced

    CAESAR competition
  2. ACORN published by Hongjun Wu

  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

Security notes

ACORN is not nonce-misuse resistant: repeating a nonce enables state recovery and forgery. Published analyses have found no practical attack on the full cipher with unique nonces, but its margin has been studied less than that of Ascon.

Typical uses

Low-area hardware such as RFID and smart cardsReference implementation for comparing lightweight AEAD designs

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

Similar names

Looking for something else?

Frequently asked questions

What is Acorn?

Acorn is an AEAD in the ACORN family. ACORN is a lightweight authenticated cipher built from six concatenated linear feedback shift registers with a nonlinear feedback function.

What are the Acorn sizes?

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

Who designed Acorn and when?

Acorn belongs to the ACORN family, first published in 2014 by Hongjun Wu. Its origin: CAESAR final portfolio (lightweight).

Is Acorn safe to use?

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