KEM · Code-based (binary Goppa codes)

Classic McEliece binary Goppa codes

Classic McEliece is the oldest post-quantum KEM design (1978). NIST did not select it in the fourth round (2025-03-11) because of its very large public keys, and ISO/IEC standardized it in June 2026. In August 2026 a quasipolynomial-time distinguisher for its underlying Goppa codes was published, followed by unreviewed key-recovery estimates below its claimed security levels. No attack is practical, but Germany's BSI, which had recommended it since 2020, now advises against using it in new developments.

Security standing

Under active cryptanalysis. A 2026 preprint distinguishes its public keys from random codes in quasipolynomial time, and unreviewed follow-up work claims key recovery below the claimed security levels. No attack is practical. New deployments are inadvisable pending review; existing deployments should confirm hybrid use and plan a replacement.

Assumptions

A failure of any one breaks the schemeComparison →
  • Syndrome decodingRecovering the message means decoding a random-looking binary linear code
  • Goppa indistinguishability
    Distinguisher found (2026)
    The public key (a scrambled binary Goppa code) must be indistinguishable from a random code. A 2026 distinguisher contradicts this
  • Random oracle modelKEM transform proven in the ROM/QROM

Parameter sets

Sizes in bytes
Parameter setCategoryPublic keySecret keyCiphertext
mceliece3488641261120649296
mceliece460896352416013608156
mceliece66881285104499213932208

NIST security categories: 1 ≈ AES-128, 2 ≈ SHA-256 collision, 3 ≈ AES-192, 5 ≈ AES-256.

Deployment

2 listedDeployments table →
  • Rosenpass (static keys) and Mullvad's mullvad-upgrade-tunnel for stock WireGuard clients
  • The Mullvad VPN apps replaced it with HQC in 2025 (desktop 2025.7, Android 2025.5, iOS 2025.6)
  • German and EU government contexts under BSI TR-02102-1

Audit scope

  • Constant-time Goppa decoding (Berlekamp-Massey) and the Benes network for secret permutation
  • Handling of the ~1 MB public key: memory safety, transport, caching
  • Key generation failure handling and rejection sampling

Full scope: post-quantum audit checklist.

Record

10 entriesIn the feed →
Show all 10 entries
  1. Implementation vulnerability·Demonstrated·Action: monitor

    First key-recovery power side-channel attack on Classic McEliece implementations