Kopis: A KEM for Obfuscation
Specifies Kopis, a Module-LWR KEM with bytestring-uniform public keys and ciphertexts, a Saber-like drop-in for ML-KEM aimed at PAKE and obfuscated key exchange.
Schemes: Kopis, ML-KEM, Saber, MLWR
Findings (quotes checked against the source text)
-
ML-KEM is a poor fit for obfuscated key exchange because its algebraic structure forces custom hash-to-vector, matrix expansion, and serialization procedures that do not yet exist in standardized constant-time form.
The algebraic structure of ML-KEM public keys and ciphertexts means that obfuscating these values requires custom procedures for hash-to-vector, matrix expansion, serialization/deserialization, and randomized ciphertext decompression.
-
Removing ML-KEM's algebraic structure so keys and ciphertexts look uniform as bytestrings removes the barriers to PAKE and OKEX instantiation.
We observe that the barriers to instantiating PAKE and OKEX disappear if some of the KEM's algebraic structure is removed, i.e., if ML-KEM is replaced with a KEM whose public keys and ciphertexts appear to be uniform as bytestrings.
-
Kopis is specified as a drop-in replacement for ML-KEM in size, speed, and security, and is nearly identical to the Saber NIST finalist, inheriting its cryptanalysis.
Kopis is intended to be a drop-in replacement for ML-KEM, in size, speed, and security. Kopis is nearly identical to Saber, a NIST PQC finalist, and thus inherits its years of cryptanalysis.
-
A formally verified Rust implementation with portable, AVX2, and NEON backends plus a non-formally-verified C Cortex-M4 implementation are provided.
We demonstrate that Kopis bears the security properties needed for use in various PAKE and OKEX schemes and provide a formally verified Rust implementation complete with portable, AVX2, and NEON backends, and a non-formally-verified C implementation for Cortex-M4.
-
Benchmarks reportedly show Kopis comparable to and often faster than the fastest known ML-KEM implementations.
We perform benchmarks and find that Kopis is comparable to and often outperforms the fastest known ML-KEM implementations.
For builders
If you need a KEM inside obfuscated or PAKE-style key exchange on a chain, consider a bytestring-uniform MLWR KEM like Kopis over ML-KEM, but it is not a signature scheme and does not address chain migration directly.
Limits
Abstract only; no concrete sizes or timings given, and the ML-KEM comparison and formal verification claims are unverified here. Targets obfuscated key exchange, not blockchain signatures.
Topics: kem implementation-sidechannel benchmarks hybrid-schemes