package hpke
Import Path
crypto/internal/hpke (on go.dev)
Dependency Relation
imports 10 packages, and imported by one package
Package-Level Type Names (total 9, in which 5 are exported)
/* sort exporteds by: | */
context *context
context.aead cipher.AEAD
context.baseNonce []byte
context.exporterSecret []byte
context.key []byte
context.seqNum uint128
context.sharedSecret []byte
context.suiteID []byte
(*Receipient) Open(aad, ciphertext []byte) ([]byte, error)
( Receipient) incrementNonce()
( Receipient) nextNonce() []byte
func SetupReceipient(kemID, kdfID, aeadID uint16, priv *ecdh.PrivateKey, info, encPubEph []byte) (*Receipient, error)
func crypto/tls.decryptECHPayload(context *Receipient, hello, payload []byte) ([]byte, error)
context *context
context.aead cipher.AEAD
context.baseNonce []byte
context.exporterSecret []byte
context.key []byte
context.seqNum uint128
context.sharedSecret []byte
context.suiteID []byte
(*Sender) Seal(aad, plaintext []byte) ([]byte, error)
( Sender) incrementNonce()
( Sender) nextNonce() []byte
func SetupSender(kemID, kdfID, aeadID uint16, pub *ecdh.PublicKey, info []byte) ([]byte, *Sender, error)
Package-Level Constants (total 5, all are exported)