Implementing RLWE-based Schemes Using an RSA Co-Processor
Repurposes RSA/ECC smart-card co-processors to run a Kyber768 (Module-LWE KEM) variant using Kronecker substitution, plus AES and SHA-256 co-processors.
Schemes: Kyber, Kyber768, Module-LWE, AES, SHA-256
Findings (quotes checked against the source text)
-
A Kyber variant can be run on a commercial smart card chip (SLE 78) by reusing its RSA/ECC big-integer co-processor for polynomial multiplication via Kronecker substitution.
We repurpose existing RSA/ECC co-processors for (ideal) lattice-based cryptography by exploiting the availability of fast long integer multiplication.
-
CCA-secure Kyber768 timings on the SLE 78 smart card chip with co-processor acceleration are reported for key generation, encapsulation, and decapsulation.
This allows us to execute CCA-secure Kyber768 key generation in 79.6 ms, encapsulation in 102.4 ms and decapsulation in 132.7 ms.
-
AES and SHA-256 co-processors are used to speed up the PRNG and hash functions in the Kyber variant.
Moreover, we speed-up symmetric operations in our Kyber variant using the AES co-processor to implement a PRNG and a SHA-256 co-processor to realise hash functions.
Numbers (as extracted, not quote-checked)
- Kyber768 key generation time on SLE 78: 79.6 ms
- Kyber768 encapsulation time on SLE 78: 102.4 ms
- Kyber768 decapsulation time on SLE 78: 132.7 ms
For builders
Constrained hardware (smart cards, HSMs) with RSA/ECC big-integer units can host Kyber KEM operations, so hardware-backed key handling for PQ wallets is plausible.
Limits
Abstract-only read; the full text was not reviewed. Results are for one smart card chip and a Kyber variant, not standard ML-KEM; no signatures or chain-level design are covered.
Topics: kem implementation-sidechannel benchmarks hash-functions