Expose HKDF functions for QUIC
Categories
(NSS :: Libraries, enhancement)
Tracking
(Not tracked)
People
(Reporter: mt, Assigned: mt)
References
Details
Attachments
(2 files)
QUIC needs HKDF-Extract. It also needs to do DeriveSecret (not the more general form of HKDF-Expand-Label). Exposing functions that take a version and ciphersuite as input rather than CK_MECHANISM_TYPE and SSLHashType would be advisable.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
I forgot about packet number encryption. This will help with that.
I decided to replace DeriveSecret with this. No point in having that when you have this.
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
It turns out that leaf keys sometimes need to be exposed with different
mechanisms and sizes. The default function provides something good enough for
use with the AEAD functions that were exposed, but if you want to use the key
directly, that isn't enough. So here we are: new arguments for specifying the
mechanism and key size are needed.
Assignee | ||
Comment 5•6 years ago
|
||
Reopening. Should be able to re-close this very soon.
Assignee | ||
Comment 6•6 years ago
|
||
trunk: https://hg.mozilla.org/projects/nss/rev/03d7bcade60aa49fa7561215c83c176d0709b200
3.43 branch: https://hg.mozilla.org/projects/nss/rev/cf30a49bf53e6ae06a55c4ed63302c893c072b74
Description
•