[][src]Module hpke::op_mode

Structs

PskBundle

Contains preshared key bytes and an identifier

Enums

OpModeR

The operation mode of the receiver's side of HPKE. This determines what information is folded into the encryption context derived in the setup_receiver functions. You can include a preshared key, the identity key of the sender, both, or neither.

OpModeS

The operation mode of the sender's side of HPKE. This determines what information is folded into the encryption context derived in the setup_sender functions. You can include a preshared key, the identity key of the sender, both, or neither.