PQ chain wiki · Builder's guide · Hardware trend · About

confidence: medium

Key Encapsulation Mechanisms (KEMs)

What it is

A KEM (key encapsulation mechanism) lets two parties agree on a shared secret key. It works in three steps:

The secret then keys fast symmetric encryption.

KEMs replace Diffie-Hellman (DH) style key exchange in protocols like TLS, Signal and Noise eprint-2023-007. Shor's algorithm breaks the elliptic-curve and RSA exchanges in use today arxiv-1804.00200 arxiv-2204.02571 eprint-2025-112. Traffic stored now can be decrypted later ("harvest now, decrypt later") arxiv-2112.00399 arxiv-2204.02571.

A KEM does not sign anything. It protects confidentiality and key exchange. It does not authorize transactions eprint-2019-040 eprint-2018-230. For signatures, see sig-lattice, sig-hash-based, sig-stateful and sig-other. On a chain, KEMs matter for node transport, wallet key exchange, encrypted messaging and privacy layers. See threat-model and quantum-resource-estimates.

The main standard is ML-KEM (module-lattice KEM, FIPS 203), which comes from CRYSTALS-Kyber. It rests on Module-LWE, has three parameter sets, and always gives a 256-bit shared secret spec-fips-203-ml-kem. Kyber is a CCA-secure KEM with security targets above 128 bits post-quantum eprint-2017-634.

Most KEMs use the Fujisaki-Okamoto (FO) transform. FO turns a weakly secure public-key encryption scheme (PKE) into a KEM that resists chosen-ciphertext attacks. Decapsulation re-encrypts the message and checks the result eprint-2021-1288 eprint-2021-840. Much of the work below is about problems this step causes.

Acronyms used below:

Main families:

State of knowledge

Standards and policy

Deployment and migration evidence

Hybrids and combiners

A hybrid derives the key from a classical secret and a PQ secret together, so it holds if either part holds. See hybrid-schemes.

Security results:

Named designs:

Combiner mechanics:

Practice and cost:

Protocol uses

TLS and KEM-based authentication:

VPN and SSH:

Messaging:

AKE without signatures:

PAKE and NIKE:

Blockchain and privacy uses

Threshold, group and batched settings

Size, network and handshake cost

Signatures, not KEMs, drive most of the handshake cost:

Wire sizes:

Loss and link effects:

Whole-system overhead:

Software performance and energy

See benchmarks.

Hardware

Proofs and the FO transform

Foundations:

Constructions:

QROM tightness:

Gaps and fixes:

Changing or dropping re-encryption:

How much security protocols need:

Anonymity, robustness and binding

Decryption failures and key reuse

Failures:

Multi-target:

Key reuse:

Lattice cryptanalysis

See cryptanalysis.

Estimation methods:

Dual attacks:

Other attacks:

NTRU attacks:

Machine-learning attacks:

Broken lattice designs:

Side channels and faults

This is the largest body of KEM work. See implementation-sidechannel.

Message encoding, decoding and FO:

Arithmetic and NTT:

Masking and shuffling defeated:

Unmasked hardware and physical attacks:

Faults:

Randomness:

Code-based leaks:

Isogeny faults:

Defenses:

Testing and verification:

Backdoors and subversion

Code-based KEMs

Isogeny KEMs

Alternative and new lattice designs

Numbers worth knowing

Sizes

Item Value Source
ML-KEM ring degree / modulus / secret length 256 / 3329 / 256 bits spec-fips-203-ml-kem
ML-KEM parameter sets 3 spec-fips-203-ml-kem
US federal migration target 2035 spec-ir-8547-pqc-transition
ML-KEM-768 key / ciphertext / shared secret 1184 / 1088 / 32 bytes arxiv-2609.13781 arxiv-2609.27828
X25519MLKEM768 key / ciphertext 1216 / 1120 octets arxiv-2510.19982
Kyber512 public key / ciphertext 800 / 768 bytes arxiv-2503.12952 arxiv-2610.38632
ML-KEM-1024 public / secret key 1,568 / 3,168 bytes arxiv-2608.26777
ML-KEM-1024 key and ciphertext 1,568 bytes each arxiv-2611.21206
Sike-p503 public key / ciphertext 378 / 402 bytes arxiv-2001.03418
Frodo-640 ciphertext 9,720 bytes arxiv-2001.03418
Classic McEliece-348864 public key 261120 bytes arxiv-2204.02571
HQC-128 public key 2249 bytes arxiv-2204.02571
Envelope: ECIES P-256 / ML-KEM-512 / HQC-128 81 / 816 / 4481 bytes arxiv-2605.10175
CSIDH public key 64 bytes eprint-2018-383
NTTRU public key and ciphertext about 1.25 KB eprint-2019-040
Round5 IND-CCA bandwidth 2144 B eprint-2019-090
Asymmetric-MLWE KEM key / ciphertext, 128-bit 896 / 992 bytes eprint-2019-510
TiGER public key / ciphertext 928 / 1,152 bytes eprint-2022-1651
NEV key + ciphertext, level 1 / 5 615 / 1229 bytes eprint-2023-1298
LowMS public key / ciphertext 4.6 KB / 1.1 KB eprint-2022-1596
Improved RQC key + ciphertext 2.5 KB eprint-2023-1387
Expanded-Gabidulin public key, 256-bit 37005 bytes (Classic McEliece about 1044992) eprint-2021-906
M-SIDH public key, levels 1/3/5 4434 / 7037 / 9750 bytes eprint-2023-013
MIKE public key, level 1 80 B eprint-2026-2377
Swoosh NIKE public key about 220 KB eprint-2023-271
Module-NTRU ciphertext, level 1/3/5 614 / 921 / 1228 bytes eprint-2024-732
DAWN-α ciphertext, NIST-I / V 436 / 973 bytes eprint-2025-1520
Shadowfax ciphertext / public key 1728 / 2036 bytes eprint-2025-154
END ciphertext vs ML-KEM-512 384 vs 768 bytes eprint-2026-1715
NTC public key / ciphertext vs Kyber 1.08-1.16x / 2.0-2.1x eprint-2026-1642
Compressed IKEv2 KEM key / ciphertext 800 / 928 bytes eprint-2026-2201
SMAUG-TiMER / SMAUG-T1 / ML-KEM-768 exchange 1280 / 1344 / 2272 bytes eprint-2026-2342
HARE cut vs HQC, levels 1/3/5 15.4% / 14.8% / 15.3% eprint-2026-544
UHQC bandwidth / runtime gain 10-12% / 6-8% eprint-2026-461
Frost-128 size cut vs FrodoKEM-640 about 40% eprint-2026-2136
LAKE ciphertext cut vs Kyber 15-25% eprint-2025-2293
Tailored codes: ciphertext / key savings 4-8% / 8% eprint-2024-1243
Threshold KEM ciphertext, old vs new 540 KiB vs just under 30 KiB eprint-2026-021
Kyber mKEM ciphertext savings up to 79% eprint-2022-1046
mmCipher bandwidth cut, 1024 recipients 23-45x eprint-2025-1000
Kyber-512 online ZK proof 83.65 KB eprint-2024-1591

Handshakes and network

Item Value Source
Kyber vs DH, Db2 connect time 162.514 vs 163.552 ms arxiv-2110.08661
Hybrid X25519+ML-KEM-768 vs X25519 median 231 vs 43.5 µs arxiv-2605.17061
ML-KEM-768 + ML-DSA-65, Pi 4B 2.48 ms (classical 2.10 ms) arxiv-2609.27828
ML-KEM-768 handshake, RP2040 56.6 ms arxiv-2603.19340
Max added crypto time, PQLN 0.33 ms arxiv-2609.13781
Hybrid OWE frames, request / response 1419 / 1306 B (classical 223 / 206 B) arxiv-2611.21528
Full ML-KEM-768 operation 188 µs (P-256 ECDH about 100 µs per side) arxiv-2611.21528
Composite ike_sa_init, Curve25519+ML-KEM-768 1,434 B arxiv-2610.25799
TLS 1.3, SECP384r1+ML-KEM-1024 vs X25519 7,544 vs 4,345 B arxiv-2611.21206
Drop-in PQ CASE vs classical 22844 vs 1576 B arxiv-2610.13026
Hybrid email overhead per message constant 7,336 B arxiv-2611.39511
Frodo per-party time / message about 1.3 ms / under 12 KiB eprint-2016-659
Ring-LWE TLS vs ECDH about 8 KiB more, 21% lower throughput eprint-2014-599
KEMTLS server CPU saving almost 90% eprint-2020-534
DAKE communication cut, mutual / unilateral about 16% / 21% eprint-2025-1755
KpqC certificate size vs ECC 11.5-48x eprint-2025-1245
KpqC handshake latency, localhost / LAN over 750% / up to 35% eprint-2025-1245
TLS time-to-last-byte rise, high bandwidth below 5% eprint-2024-176

Compute and hardware

Item Value Source
Kyber-512 scan, 5000 announcements / Frodo640 87 ms / 6444 ms arxiv-2501.13733
Kyber-512 flash / RAM on nanosatellite 12,976 / 8,032 bytes arxiv-2206.00978
ML-KEM-512 vs X25519, ESP32 8.9x lower latency arxiv-2610.27766
ML-KEM full cycle vs RSA-2048 0.28 vs 2.87 ms eprint-2026-1467
Saber AVX2 keygen / encaps / decaps 101K / 125K / 129K cycles eprint-2018-230
NTTRU, Skylake about 6.4K / 6.1K / 7.9K cycles eprint-2019-040
Saber, Cortex-M4 1,147K / 1,444K / 1,543K cycles eprint-2018-682
Saber, ESP32 dual core 1176K / 1625K / 1514K cycles eprint-2019-1453
Kyber, RISC-V 399k / 448k / 479k cycles eprint-2024-1198
Kyber speedup on AVR 81% / 75% / 85% eprint-2025-563
Kyber768 on SLE 78 smart card 79.6 / 102.4 / 132.7 ms eprint-2018-425
FrodoKEM FPGA decapsulation 20.7 ms eprint-2018-686
FrodoKEM-640 on FPGA 0.93-1.02 ms eprint-2025-1312
FrodoKEM L1, server / phone about 0.97 / 4.98 ms eprint-2025-1861
FrodoKEM stack, Cortex-M4 8 kB (below 4 kB for 640) eprint-2023-158
SIDH, Cortex-M4 / MSP430 over 18 s / over 11 min eprint-2018-932
SIDHp503, Cortex-A72 about 45 ms eprint-2018-700
SIKE p434 encapsulation, Cortex-M4 326 million cycles, 1.94 s eprint-2019-535
SIKE round 2, Cortex-A53, level 1 84 ms eprint-2019-721
ROLLO-I-128 at 50 MHz 173.6 / 12 / 79.4 ms eprint-2019-787
Saber768 hardware 943 / 1156 / 408 cycles eprint-2020-1037
Saber ASIC 10 / 9.9 / 13 µs eprint-2022-530
LightSaber FPGA 29.6 / 40.4 / 58.3 µs eprint-2021-1461
Kyber coprocessor phases, 200 MHz 9, 12, 19 µs eprint-2021-563
BIKE FPGA 2.69 / 0.1 / 1.89 ms eprint-2020-897
HI-Kyber GPU key exchange 1,664 kops/s eprint-2023-1194
HIGH GPU speedups for HQC 20x / 32x / 39x eprint-2026-012
Lattice vs HQC hybrid, Cortex-M4 3.7-8.8 M vs 19.6-74.5 M cycles eprint-2026-1414
Threshold ML-KEM rounds, 512/768/1024 145 / 218 / 290 eprint-2026-2220
Libraries deploying HKDF (of 44) 91% eprint-2026-1754

Masking cost

Item Value Source
Kyber masking overhead 7%-78% eprint-2020-1038
Masked Saber vs NewHope 2.5x vs 5.7x eprint-2020-733
First-order masked decapsulation, Level III: Saber / Kyber 2.60x / 4.48x eprint-2021-479
Masked Kyber vs unprotected pqm4 3.5x eprint-2021-483
Masked Kyber768 decapsulation, Cortex-M4 2,978,441 cycles eprint-2022-058
Masked ML-KEM-768 decapsulation 109K cycles eprint-2026-312
Saber FPGA masking about 2.9x LUTs, 1.4x latency eprint-2021-1452
Masked Saber, orders 1/2/3 2.7x / 5x / 7.7x eprint-2022-389
Hardened McEliece area 4x to 7x eprint-2024-1828
Observations needed, randomized invalid coefficients more than 8x more eprint-2026-924

Attacks and security margins

Item Value Source
Kyber shortfall vs NIST, dual variant, 512/768/1024 3.5 / 11.9 / 12.3 bits eprint-2022-1750
Kyber CBD enumeration, eta=2 / 3 O(2^0.36N) / O(2^0.37N) eprint-2022-1337
Two-step vs one estimator 2.1 to 3.4 bits lower eprint-2024-067
ML-KEM loss from isometries about 1 bit eprint-2026-279
NTRU+ max loss 3 bits eprint-2026-2527
Low-memory ISD loss, McEliece / HQC / BIKE 11.09 / 12.64 / 12.19 bits eprint-2023-428
Classic McEliece 192/256 overestimate roughly 20 / 10 bits eprint-2021-1634
mceliece348864 Holdout estimate 2^126.77 bit operations eprint-2026-1786
McEliece-348864 below 2^128 with 9 known error locations eprint-2021-279
FrodoKEM-640 one-of-many 2^88 guesses vs 2^40 ciphertexts eprint-2022-1580
Salted FO multi-target recovery, 128-bit 62 bits eprint-2025-343
QC-MDPC DFR 10^-7 to 10^-10 eprint-2018-1207
Kyber cold boot at 1% flips, NTT vs coefficient form 2^43 vs 2^70 eprint-2018-672
Kyber key-mismatch queries per coefficient 2.7 (512), 2.4 (768, 1024) eprint-2019-1343
Kyber512 mismatch queries 865, down from 1312 eprint-2022-1064
Kyber mismatch with lattice reduction 78 queries eprint-2023-887
Mismatch query cut, 512/768/1024 14.6% / 7.5% / 7.5% eprint-2024-810
NewHope mismatch, new vs old under 3,200 vs over 26,000 eprint-2020-1389
Barrett attack, Kyber512/768 6 chosen ciphertexts eprint-2021-874
Kyber512 faulty decapsulations about 6,500 eprint-2021-064
FrodoKEM timing attack about 2^30 decapsulations eprint-2020-743
Masked Kyber768 key recovery 9 traces eprint-2022-859
Masked Kyber-768, average 12 traces eprint-2023-294
Masked Kyber, second-order 250 traces eprint-2024-066
Kyber-768 FPGA (Blink) 9600 traces eprint-2024-036
Masked and shuffled Saber 4,608 traces (prior 61,680) eprint-2022-1692
ML-KEM, Cortex-M4 / shuffled about 30 s at 100% / about 3 hours eprint-2024-2051
Shuffled Kyber success 97.98% eprint-2025-1956
Adams Bridge ML-KEM-1024 18 580 traces, 49.5 min eprint-2026-3027
Keccak loop-abort fault success 89.5% eprint-2024-1522
wolfSSL AVX2 bytes compared 1536 of 1568 eprint-2026-1682
Classic McEliece key, FPGA under 800 traces eprint-2022-514
HQC timing recovery about 866,000 queries eprint-2021-1485
HQC oracle queries, perfect oracle 2 (hqc-128), 4 (192, 256) eprint-2025-1608
HQC DPA traces, STM32F4 50 unprofiled, 20 profiled eprint-2025-1966
HQC fault queries, level 1 17392 eprint-2026-2492
HQC-1 zero secret words (32-bit) 88.7% eprint-2026-1491
SIKEp434 break about ten minutes, one core eprint-2022-975
Rowhammer on FrodoKEM 200,000 core-hours eprint-2022-952

Open questions / disagreements

Lattice security

Proofs

Implementation

Hybrids

Networks

Other families

Threat timing and evidence quality

What it means for our chain

Scope

Default choices

Transport

Network budget

On-chain data and privacy

Implementation and audit

Devices and custody

Related pages: threat-model, standards-policy, hybrid-schemes, implementation-sidechannel, benchmarks, cryptanalysis, zk-proofs, survey.