~/talk

Implementing Post Quantum algorithms in PKCS #11

Talkat DevConf.CZ 2025 · 2025-06-12..06-14· [cryptography, security]
links:none on file
slides:none on file

PKCS #11 3.2 adds explicit encapsulate/decapsulate and verify signature calls, mechanism IDs for MLKM, MLDDSA, SLDSA and XMSS, and a per-key parameter set plus optional CKA_SEED for seed-based private keys; MU (external prehash) is deferred to 3.3. Implementations use existing PQ libraries (LIOQS, Krux or vendor snapshots) rather than homegrown code because lattice algorithms have challenging side‑channel risks. NSS patches demonstrate how to map PKCS #11 parameters to underlying libs and how to support legacy vendor extensions via the vendor namespace.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28Postquantum algorithm challenges
  3. 3:34Key exchange transformations
  4. 6:00Signature challenges
  5. 7:04Implementation difficulties
  6. 9:54PKCS#11 vendor extensions
  7. 11:17PKCS#11 3.2 changes
  8. 13:23Key parameters and seed handling
  9. 16:02Signature mechanisms
  10. 18:34Verify signature in PKCS#11
  11. 21:47Encapsulate/decapsulate examples
  12. 25:22PKCS#11 3.2 status
  13. 26:46Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.