Authenticated encryption

Iscream12v2

LS-design tweakable block ciphers in a TAE mode, aimed at side-channel protection

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 Iscream12v2

Iscream12v2 is an authenticated encryption (AEAD) scheme from the SCREAM and iSCREAM family. It uses a 16-byte (128-bit) key, an 11-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

SCREAM and iSCREAM are authenticated ciphers built on tweakable block ciphers from the LS-design family, intended to be cheap to mask against side-channel attacks. SCREAM reached the second round of CAESAR; iSCREAM, an involutive variant, did not.

LS-designs combine bitsliced S-boxes with table-based linear layers (L-boxes), making masked software implementations efficient. SCREAM uses the Scream tweakable block cipher in the TAE (Tweakable Authenticated Encryption) mode, an OCB-like nonce-based mode with one call per block.

iSCREAM uses an involutive cipher so that encryption and decryption share one implementation. Leander, Minaud and Rønjom showed invariant-subspace attacks against iSCREAM that lead to practical weak-key recoveries, and SCREAM was tweaked in later versions. NextSSL includes SCREAM builds (scream, scream12 and scream10 version 3, where the number indicates step count) and iSCREAM builds (iscream, iscream14 and iscream12 version 2).

History

2013–2019
  1. CAESAR competition for authenticated encryption announced

    CAESAR competition
  2. SCREAM and iSCREAM 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

Security notes

iSCREAM has known invariant-subspace weak-key attacks and should not be used. SCREAM requires unique nonces, as in OCB-like modes.

Typical uses

Research on side-channel-friendly cipher designTeaching material on invariant-subspace attacks

Sizes

FieldBytesMeaning
key16Secret key
nonce11Nonce / 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(11)
ct = root.call("aead_seal", "iscream12v2", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "iscream12v2", 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 Iscream12v2?

Iscream12v2 is an AEAD in the SCREAM and iSCREAM family. SCREAM and iSCREAM are authenticated ciphers built on tweakable block ciphers from the LS-design family, intended to be cheap to mask against side-channel attacks.

What are the Iscream12v2 sizes?

In NextSSL, Iscream12v2 uses: key 16 bytes, nonce 11 bytes, tag 16 bytes.

Who designed Iscream12v2 and when?

Iscream12v2 belongs to the SCREAM and iSCREAM family, first published in 2014 by Vincent Grosso, Gaëtan Leurent, François-Xavier Standaert, Kerem Varıcı, François Durvaux, Lubos Gaspar, Stéphanie Kerckhof. Its origin: CAESAR round 2 candidate (SCREAM).

Is Iscream12v2 safe to use?

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