]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/fips/tls13: implement TLS 1.3 KDF
authorFilippo Valsorda <filippo@golang.org>
Sat, 9 Nov 2024 15:23:22 +0000 (16:23 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 19 Nov 2024 17:45:20 +0000 (17:45 +0000)
commit743746a3a52d3a0d958354348c3948eda6e2902e
tree7d6c06f6eab0f36d7550d8a34e02d72a1b9f20a8
parent5deea4c2425fd8aa6dee642c63a1bc43e090d04b
crypto/internal/fips/tls13: implement TLS 1.3 KDF

The new implementation encodes the key schedule into the type system,
which is actually nicer than what we had before.

For #69536

Change-Id: Iddab62c2aae40bc2425a155443576bb9b7aafe03
Reviewed-on: https://go-review.googlesource.com/c/go/+/626836
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Commit-Queue: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
src/crypto/internal/fips/cast_external_test.go
src/crypto/internal/fips/tls13/cast.go [new file with mode: 0644]
src/crypto/internal/fips/tls13/tls13.go [new file with mode: 0644]
src/crypto/tls/handshake_client.go
src/crypto/tls/handshake_client_tls13.go
src/crypto/tls/handshake_server_tls13.go
src/crypto/tls/key_schedule.go
src/crypto/tls/key_schedule_test.go
src/go/build/deps_test.go