KEM API in NSS
Categories
(NSS :: Libraries, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: goutam.tamvada, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
It seems worthwhile to have a KEM API in NSS for two reasons:
-
The NIST Post-Quantum Cryptography Standardization project has stated it will soon announce its choice of KEMs for standardization [1]; at the same time, there is discussion in the TLS Working Group over how to deploy KEMs in TLS 1.3 for post-quantum confidentiality (see [2] for example).
-
The HPKE construction uses (authenticated) KEMs as a building block. See also [3].
One way to do so could be using vendor defined interfaces in PKCS#11. I'd be happy to work on this if there is interest.
[1] https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/fvnhyQ25jUg/m/Slr3bPrnBAAJ
[2] https://mailarchive.ietf.org/arch/msg/tls/9U8S7_CtCkceeuzmwOCTjMOrUf4
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=1631890#c2
Comment 1•2 years ago
|
||
The osasis PKCS #11 commitee is planning on including Post quantum algorithms and would be happy to accept proposals. A couple of weeks ago I pinged the committee about preferred solution would be to add new functions. Pre-pkcs11 3.0, adding new functions in PKCS#11 was prone to compatibility issues (stomping on vendor defined functions), so the prefered method of solving these issues is reappropriating existing functions (C_DeriveKey(), for instance, would get a lot of extra work). Given that new functions are less expensive, it makes sense to have new encapsulate/decapsulate functions which follow NIST's KEM apis.
I'd be happy to review any proposals, as well as submit them to the technical committee.
bob
Reporter | ||
Comment 2•2 years ago
|
||
Reporter | ||
Comment 3•2 years ago
|
||
Depends on D158024
Updated•2 years ago
|
Comment 4•2 years ago
|
||
The patch is moving away from what OASIS is proposing from a mechanism perspective.
Reporter | ||
Comment 5•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 6•1 year ago
|
||
Description
•