Deploying Native-Rust KpqC: Pluggable Post-Quantum KEMs and Signatures across TLS, Space Links, and the OQS Ecosystem
Ports Korean KpqC PQ KEMs and signatures to memory-safe Rust, exposes them via rustls TLS 1.3, an OQS-compatible C ABI, and a satellite link model.
Schemes: NTRU+, SMAUG-T, HAETAE, AIMer, ML-KEM-768, SMAUG-TiMER, SMAUG-T1, KpqC, OQS
Findings (quotes checked against the source text)
-
Native-Rust KpqC KEMs and signatures run end-to-end under rustls TLS 1.3 and an OQS-shaped C ABI, covering all seven KEM parameter sets and four signatures.
All seven KpqC KEM parameter sets and four signatures (AIMer and HAETAE modes 2/3/5) are demonstrated across the three front-ends.
-
On a constrained LEO/GEO-style space link, compact SMAUG-T key exchanges are smaller and faster than ML-KEM-768.
On a constrained space link, the compact SMAUG-T key exchanges (SMAUG-TiMER 1280 B, SMAUG-T1 1344 B) are smaller and faster than ML-KEM-768 (2272 B).
-
A memory-optimized NTRU+ build reduces peak stack by up to 25% with essentially no handshake latency cost.
that cuts peak stack by up to 25% at no measurable time cost (≈ 0.99× handshake latency).
-
The work is an extension of an earlier C/OQS-OpenSSL KpqC TLS benchmark, adding a memory-safe Rust implementation and a memory-footprint axis.
This work extends our earlier C/OQS-OpenSSL TLS benchmark of KpqC (Sim et al.) with a memory-safe Rust implementation, an explicit memory-footprint axis, and deployment breadth beyond localhost/LAN.
Numbers (as extracted, not quote-checked)
- SMAUG-TiMER key exchange size: 1280 bytes
- SMAUG-T1 key exchange size: 1344 bytes
- ML-KEM-768 key exchange size: 2272 bytes
- NTRU+ peak stack reduction from memory-optimized build: up to 25%
- NTRU+ handshake latency ratio (memory-optimized vs baseline): ≈ 0.99×
For builders
Treat KpqC SMAUG-T as a compact KEM option for bandwidth-constrained links, and note that Rust ports of standardized C reference code can reduce memory-safety risk without a latency penalty.
Limits
Space-link results are from an analytical model with illustrative LEO/GEO profiles, not measured on real satellite hardware; KpqC schemes are Korean national standards with limited independent review.
Topics: kem sig-lattice sig-other implementation-sidechannel benchmarks standards-policy hybrid-schemes