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 (total 9, in which 5 are exported)
/* sort exporteds by: | */
type AEADID uint16 (basic type)
type KDFID uint16 (basic type)
type KemID uint16 (basic type)
(*Receipient) Open(aad, ciphertext []byte) ([]byte, error) func SetupReceipient(kemID, kdfID, aeadID uint16, priv *ecdh.PrivateKey, info, encPubEph []byte) (*Receipient, error)
(*Sender) Seal(aad, plaintext []byte) ([]byte, error) func SetupSender(kemID, kdfID, aeadID uint16, pub *ecdh.PublicKey, info []byte) ([]byte, *Sender, error)
Package-Level Functions (total 7, in which 4 are exported)
func SetupReceipient(kemID, kdfID, aeadID uint16, priv *ecdh.PrivateKey, info, encPubEph []byte) (*Receipient, error)
func SetupSender(kemID, kdfID, aeadID uint16, pub *ecdh.PublicKey, info []byte) ([]byte, *Sender, error)
Package-Level Variables (total 5, in which 3 are exported)
var SupportedAEADs map[uint16]struct{keySize int; nonceSize int; aead func([]byte) (cipher.AEAD, error)}
var SupportedKEMs map[uint16]struct{curve ecdh.Curve; hash crypto.Hash; nSecret uint16}
Package-Level Constants (total 5, all are exported)