]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/hpke: add Recipient role
authorRoland Shoemaker <roland@golang.org>
Sun, 11 Aug 2024 01:19:09 +0000 (18:19 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 19 Nov 2024 16:48:05 +0000 (16:48 +0000)
commitafa98806389ed935264b67eb7e90507a334180f2
tree177202bacbe09e7bc769b116ebfa41c6e7227739
parentbc1da38c3d29b4950b302b36fd180bf86bdcb45c
crypto/internal/hpke: add Recipient role

Adds the Recipient role, alongside the existing Sender role. Also factor
out all of the shared underlying bits and pieces into a shared type that
is embedded in the Sender/Recipient roles.

Change-Id: I7640d8732aa0dd5cc9e38b8c26f0cfa7856170f6
Reviewed-on: https://go-review.googlesource.com/c/go/+/623575
Auto-Submit: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/crypto/internal/hpke/hpke.go
src/crypto/internal/hpke/hpke_test.go