BroadNet
Protocols BroadNet answer

Tuak algorithm — the higher-strength Milenage alternative

Last reviewed 1 min readReviewed by BroadNet engineering
Quick answer

Tuak (sometimes written TUAK) is the 3GPP-specified second-generation authentication algorithm for mobile networks, designed as a future-proof alternative to Milenage. Where Milenage is built on AES-128, Tuak is built on the Keccak permutation (the same primitive behind SHA-3), allowing larger key sizes (up to 256 bits) and a different cryptographic family in case AES-based Milenage ever weakens. Tuak is functionally interchangeable with Milenage at the air-interface level — the network selects which to use.

Plain-language definitionVendor-neutralReviewed May 28, 2026
The long answer

Everything worth knowing, nothing that isn't.

§01

What it actually does

Same job as Milenage: take Ki/OPc and a network RAND, produce RES, CK, IK, AK. The internal construction is different — Tuak runs the Keccak-f[1600] permutation rather than AES rounds — but the input/output interface to the network is identical. An HSS can issue Tuak authentication vectors instead of Milenage vectors; a SIM/eUICC that supports Tuak handles the challenge transparently. Most modern eUICC OSes support both algorithms and pick based on the profile's configuration.

§02

Why it matters commercially

Tuak is the operator's hedge. If a cryptanalytic break against AES-128 ever emerged, every Milenage-based authentication would be at risk; Tuak provides a drop-in replacement with no air-interface changes. For high-security verticals — government, defense, banking-grade eSIM — Tuak with 256-bit keys is increasingly the default. For mainstream consumer eSIM, Milenage remains the operator preference. BroadNet's eSIM VSM platform supports both algorithms in profile personalisation; the choice is per-profile at the operator's discretion.

§03

Latency, scale, and compliance angle

Tuak performance on modern secure elements is comparable to Milenage (within 2x). HSS-side authentication-vector generation has similar throughput. 3GPP TS 35.231 defines the algorithm; ETSI maintains the test vectors. Tuak is fully GSMA-recognised; SAS-SM key-custody audit covers Tuak Ki/OPc with the same rigor as Milenage.

§04

Privacy and compliance considerations

Same key-protection model as Milenage — Ki/OPc never leaves the secure element or the HSS HSM. The advantage of Tuak over Milenage for compliance purposes is the larger key size (up to 256 bits vs 128), which gives a higher safety margin against future cryptanalytic advances. For deployments with multi-decade lifetime requirements (satellite IoT, industrial M2M with 15-year warranties), Tuak's headroom is a reasonable conservative choice.

BNWritten by the BroadNet engineering team·Operating carrier-grade messaging since 2003, headquartered in Dubai·Editorial standards
Build with this

Need help wiring this up?

The pages below are the products and integration guides that put this concept on the wire. If you'd rather walk through it live, our engineering team takes calls same-day during MENA working hours.

Talk to our engineering team
Feedback

Was this answer helpful?

Your vote helps us prioritise which answers to expand with examples, diagrams, and code snippets.

Was this answer helpful?
Thanks — noted. We'll keep this answer maintained.
Got it. Tell us what was missing — send a quick note.

How we write and review content

Still need help?

Talk to a real engineer about your build.

We reply within one business day, and production accounts get 24/7 support. Our solutions engineers ship code, not scripts.

$ curl -X POST https://api.broadnet.me/sms/sendSms
Response SLA
Test-access requestsReply within 1 business day
Production24 / 7 · < 15 min
Operator NOC24 / 7 · pager