Closed Bug 1529813 Opened 5 years ago Closed 5 years ago

Expose HKDF functions for QUIC

Categories

(NSS :: Libraries, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

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.

See Also: → 1528175
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.43

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.

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.

Reopening. Should be able to re-close this very soon.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: