package hpke

Import Path
	crypto/internal/hpke (on go.dev)

Dependency Relation
	imports 10 packages, and imported by one package

Involved Source Files hpke.go
Package-Level Type Names (only one)
/* sort by: | */
(*Sender) Seal(aad, plaintext []byte) ([]byte, error) func SetupSender(kemID, kdfID, aeadID uint16, pub crypto.PublicKey, info []byte) ([]byte, *Sender, error)
Package-Level Functions (total 3)
func ParseHPKEPublicKey(kemID uint16, bytes []byte) (*ecdh.PublicKey, error)
func SetupSender(kemID, kdfID, aeadID uint16, pub crypto.PublicKey, info []byte) ([]byte, *Sender, error)
func SuiteID(kemID, kdfID, aeadID uint16) []byte
Package-Level Variables (total 3)
var SupportedAEADs map[uint16]struct{keySize int; nonceSize int; aead func([]byte) (cipher.AEAD, error)}
var SupportedKDFs map[uint16]func() *hkdfKDF
var SupportedKEMs map[uint16]struct{curve ecdh.Curve; hash crypto.Hash; nSecret uint16}