AEAD family

Pyjamask

Masking-friendly block ciphers in OCB mode; NIST LWC round 2

unverified 1 variant NIST LWC round 2

Overview

Pyjamask is a lightweight authenticated cipher that pairs masking-friendly block ciphers with OCB mode. It was a second-round candidate in the NIST Lightweight Cryptography process.

The Pyjamask-96 and Pyjamask-128 block ciphers minimise the number of nonlinear AND operations per round, since that count dominates the cost of higher-order masking against side-channel attacks. Linear layers use binary circulant matrices. The AEAD mode is OCB, giving a parallelisable single-pass scheme.

NextSSL includes Pyjamask-128-AEAD and Pyjamask-96-AEAD under the pyjamask family and as version 1 builds. Unmasked, Pyjamask is slower than ciphers optimised for raw speed; its advantage appears only when several masking shares are required.

History

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

    NIST Lightweight Cryptography project
  2. Pyjamask published

  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, as with OCB. The 96-bit instance has a lower birthday bound. Pyjamask's unmasked performance is low; its value lies in masked implementations.

Typical uses

Devices requiring higher-order maskingSide-channel research

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
Pyjamask96aeadv1
pyjamask96aeadv1
unverified key 16 · nonce 8 · tag 12 — root

Frequently asked questions

Which Pyjamask variants does NextSSL include?

NextSSL registers 1 Pyjamask variant: pyjamask96aeadv1.