Kasumi
The 3GPP block cipher behind A5/3, derived from MISTY1
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 Kasumi
Kasumi 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
KASUMI is a 64-bit block cipher with a 128-bit key used in 3G and GSM mobile networks for confidentiality and integrity, as the core of the A5/3, GEA3, UEA1 and UIA1 algorithms. It was derived from Mitsubishi's MISTY1 by 3GPP's algorithm design group.
KASUMI is an 8-round Feistel network. Its round function alternates an FL function of key-dependent ANDs, ORs and rotations with an FO function, which is itself a three-round Feistel structure of FI functions using 7-bit and 9-bit S-boxes. The key schedule was simplified relative to MISTY1 to reduce hardware cost.
NextSSL includes a KASUMI entry wired from source and not yet verified against 3GPP test data. Mobile operators have been moving from KASUMI-based A5/3 to SNOW 3G, AES and ZUC-based algorithms in newer networks, but KASUMI remains present in 3G and some GSM deployments. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.
History
1999–2010KASUMI specified by 3GPP for UMTS confidentiality and integrity
Related-key sandwich attack on full KASUMI published by Dunkelman, Keller and Shamir
Security notes
In 2010 Dunkelman, Keller and Shamir published a practical related-key 'sandwich' attack on KASUMI. It does not directly break A5/3 as deployed, where related keys are not available, but it shows KASUMI is weaker than MISTY1. Its 64-bit block also limits data per key.
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", "kasumi", None, key, plaintext_block)[0]
nextssl_root_blockcipher_encrypt("kasumi", 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, "kasumi", &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 Kasumi?
Kasumi is a block cipher in the KASUMI family. KASUMI is a 64-bit block cipher with a 128-bit key used in 3G and GSM mobile networks for confidentiality and integrity, as the core of the A5/3, GEA3, UEA1 and UIA1 algorithms.
What are the Kasumi sizes?
In NextSSL, Kasumi uses: key 16 bytes, block 8 bytes.
Who designed Kasumi and when?
Kasumi belongs to the KASUMI family, first published in 1999 by ETSI SAGE (derived from Mitsuru Matsui's MISTY1). Its origin: 3GPP (A5/3, UEA1, UIA1).
Is Kasumi safe to use?
Kasumi 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).