Chaskey
A lightweight ARX permutation-based MAC for 32-bit microcontrollers (ISO/IEC 29192-6)
Overview
Chaskey is a message authentication code designed in 2014 by Nicky Mouha and colleagues for 32-bit microcontrollers. It is built on a 128-bit ARX permutation in an Even–Mansour style construction and is standardised in ISO/IEC 29192-6.
Chaskey derives two subkeys from its 128-bit key by doubling in GF(2^128), as in CMAC. Message blocks of 128 bits are XORed into the state and the permutation is applied after each; the final block is XORed with one of the subkeys depending on padding, then the permutation is applied, and the key is XORed in at the end. The permutation uses four 32-bit words and SipHash-like rounds of additions, rotations and XORs.
The original Chaskey used 8 rounds. After cryptanalysis reduced its margin, the 12-round Chaskey-12 became the recommended version and is the one standardised; NextSSL carries Chaskey-12 from the reference C code. Its round function closely resembles SipHash's. Chaskey can be implemented in a few hundred bytes of code and runs fast on ARM Cortex-M processors, where AES-based MACs are much slower without hardware support.
History
2014–2014Chaskey published
Security notes
Chaskey-12 has no known practical attacks. Like other 128-bit Even–Mansour constructions it is limited by birthday-bound data complexity, so the designers recommend limiting the number of messages per key.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Chaskey chaskey |
standard | key 16 · tag 1–16 | Chaskey-12 (ISO/IEC 29192-6), reference C | safe |
Frequently asked questions
Which Chaskey variants does NextSSL include?
NextSSL registers 1 Chaskey variant: chaskey.
Families with similar names
Other message authentication codes
All 30Related
ARX permutation-based AEAD from the SPARKLE suite; NIST LWC finalist
SPARKLE (Esch)A NIST LWC finalist family whose Esch hash uses the ARX-based SPARKLE permutation
CMACThe block-cipher MAC standardised by NIST in SP 800-38B, usually instantiated with AES
SipHashA short-input keyed PRF designed to protect hash tables from flooding attacks