]> Cypherpunks repositories - gostls13.git/commit
crypto/hkdf: init package
authorDaniel McCarney <daniel@binaryparadox.net>
Wed, 20 Nov 2024 21:11:06 +0000 (16:11 -0500)
committerGopher Robot <gobot@golang.org>
Thu, 21 Nov 2024 22:55:17 +0000 (22:55 +0000)
commitfab2b8b0fa569959243345dd4dcef651451d24fa
tree9d9678805c201f1ae0d6af8f33ad0d8cd3b123ad
parent97ae1817fb22913f0bbfa0be2b8181e806c26853
crypto/hkdf: init package

This commit imports the x/crypto/hkdf package as a public crypto package
based on the linked proposal. Since we've already implemented this
internal to the FIPS boundary (mod some small changes based on the
proposal discussion) this largely defers to that implementation.

Updates #61477

Change-Id: Ie3dcee75314dfbe22eec8b31c43c926fe80637bb
Reviewed-on: https://go-review.googlesource.com/c/go/+/630296
Reviewed-by: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
api/next/61477.txt [new file with mode: 0644]
doc/next/6-stdlib/3-hkdf.md [new file with mode: 0644]
doc/next/6-stdlib/99-minor/crypto/hkdf/61477.md [new file with mode: 0644]
src/crypto/hkdf/example_test.go [new file with mode: 0644]
src/crypto/hkdf/hkdf.go [new file with mode: 0644]
src/crypto/hkdf/hkdf_test.go [moved from src/crypto/internal/fips140test/hkdf_test.go with 86% similarity]
src/crypto/internal/fips140/hkdf/cast.go
src/crypto/internal/fips140/hkdf/hkdf.go
src/crypto/internal/fips140/tls13/tls13.go
src/crypto/internal/hpke/hpke.go
src/go/build/deps_test.go