Pride
A 64-bit lightweight cipher optimised for 8-bit microcontrollers, published at CRYPTO 2014
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 Pride
Pride is a block cipher. It uses a 16-byte (128-bit) key and an 8-byte (64-bit) block. 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
PRIDE is a lightweight 64-bit block cipher with a 128-bit key, published in 2014 by Martin Albrecht and colleagues. Its linear layer was designed systematically for efficient software implementation on 8-bit processors.
PRIDE is a 20-round substitution–permutation network. It uses a bit-sliced 4-bit S-box and a linear layer built from matrices chosen through a search for the best trade-off between diffusion and instruction count on AVR microcontrollers. Half of the key is used for pre- and post-whitening, following the FX construction, and the other half drives the round keys.
NextSSL includes a PRIDE entry wired from source and not yet verified. PRIDE belongs to a family of lightweight ciphers from the early 2010s that optimised for specific platforms, alongside designs such as PRINCE, SIMON and SPECK. Its systematic linear-layer search was its main contribution to the field. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.
History
2014–2014PRIDE published
Security notes
Differential attacks on reduced-round PRIDE and related-key attacks have been published, and its FX-style structure limits security against attacks using many plaintexts. It is a research cipher.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| block | 8 | Block |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
block = root.call("blockcipher_encrypt", "pride", None, key, plaintext_block)[0]
nextssl_root_blockcipher_encrypt("pride", NULL, key, block, out); /* exactly one block */
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_blockcipher_in(reg::all(), Policy::Any, "pride", &Params::new())?;
let out = alg.encrypt_block(&key, &block)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Similar names
Looking for something else?More block ciphers
All 84Frequently asked questions
What is Pride?
Pride is a block cipher in the PRIDE family. PRIDE is a lightweight 64-bit block cipher with a 128-bit key, published in 2014 by Martin Albrecht and colleagues.
What are the Pride sizes?
In NextSSL, Pride uses: key 16 bytes, block 8 bytes.
Who designed Pride and when?
Pride belongs to the PRIDE family, first published in 2014 by Martin R. Albrecht, Benedikt Driessen, Elif Bilge Kavun, Gregor Leander, Christof Paar, Tolga Yalçın.
Is Pride safe to use?
Pride 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).