Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AEAD ¶
type AEAD interface { Open(dst, src []byte, packetNumber protocol.PacketNumber, associatedData []byte) ([]byte, error) Seal(dst, src []byte, packetNumber protocol.PacketNumber, associatedData []byte) []byte Overhead() int }
An AEAD implements QUIC's authenticated encryption and associated data
func NewAEADAESGCM ¶
NewAEADAESGCM creates a AEAD using AES-GCM
func NewNullAEAD ¶
func NewNullAEAD(connectionID protocol.ConnectionID, pers protocol.Perspective) (AEAD, error)
NewNullAEAD creates a NullAEAD
Click to show internal directories.
Click to hide internal directories.