Authenticated encryption

Knot128v1-LWC1

Bitsliced PRESENT-like permutation family in a duplex mode; 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 Knot128v1-LWC1

Knot128v1-LWC1 is one of 6 KNOT variants in the NextSSL registry, 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

KNOT is a family of lightweight authenticated ciphers and hashes built on bitsliced substitution-permutation permutations of 256, 384 and 512 bits, used in a monkeyDuplex-style sponge. It was a second-round candidate in the NIST Lightweight Cryptography process.

The KNOT permutations use a 4-bit S-box applied in bitsliced fashion across columns and simple row rotations, inspired by PRESENT and RECTANGLE, with round constants from an LFSR. The design targets small hardware and efficient bitsliced software.

NextSSL includes KNOT-AEAD-128-256 (primary), KNOT-AEAD-128-384, KNOT-AEAD-192-384 and KNOT-AEAD-256-512; the numbers give key size and permutation width. The submission also defines KNOT-Hash on the same permutations. Second-round candidates were evaluated by NIST on security, hardware and software performance and side-channel properties; ten were chosen as finalists in 2021, and Ascon was selected in 2023.

History

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

    NIST Lightweight Cryptography project
  2. KNOT published by Wentao Zhang et al.

  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. No practical attack on the full design is known.

Typical uses

Lightweight hardware and bitsliced softwareResearch on PRESENT-like permutations

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

Knot128v1-LWC1 is an AEAD in the KNOT family. KNOT is a family of lightweight authenticated ciphers and hashes built on bitsliced substitution-permutation permutations of 256, 384 and 512 bits, used in a monkeyDuplex-style sponge.

What are the Knot128v1-LWC1 sizes?

In NextSSL, Knot128v1-LWC1 uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.

Who designed Knot128v1-LWC1 and when?

Knot128v1-LWC1 belongs to the KNOT family, first published in 2019 by Wentao Zhang et al.. Its origin: NIST LWC round 2.

Is Knot128v1-LWC1 safe to use?

Knot128v1-LWC1 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 KNOT variants are there?

NextSSL also registers knot-aead-128-256, knot-aead-128-384, knot-aead-192-384, knot-aead-256-512, knot128v1 in the KNOT family.