[][src]Module hpke::op_mode

Structs

PskBundle

Contains preshared key bytes and an identifier. This is intended to go inside an OpModeR or OpModeS struct.

Enums

OpModeR

The operation mode of the HPKE session (receiver's view). This is how the sender authenticates their identity to the receiver. This authentication information can include a preshared key, the identity key of the sender, both, or neither. Base is the only mode that does not provide any kind of sender identity authentication.

OpModeS

The operation mode of the HPKE session (sender's view). This is how the sender authenticates their identity to the receiver. This authentication information can include a preshared key, the identity key of the sender, both, or neither. Base is the only mode that does not provide any kind of sender identity authentication.