Skip to content

Implement crypto/hkdf with the OpenSSL/CNG backends #1414

@qmuntal

Description

@qmuntal

Some internal customers want to use HKDF in compliance with the Microsoft crypto policy. This means using OpenSSL/CNG under the hood.

Go 1.24 will most likely move golang.org/x/crypto/hkdf into the standard library package crypto/hkdf (see the proposal). We should patch it so it uses OpenSSL/CNG under the hood.

Note that both backends already support HKDF, as we were using it on other parts of the standard library. There is some work to do to better support some small changes in the crypto/hkdf API.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions