package ciphersuite

Import Path
	github.com/pion/dtls/v2/pkg/crypto/ciphersuite (on go.dev)

Dependency Relation
	imports 13 packages, and imported by one package

Involved Source Files cbc.go ccm.go Package ciphersuite provides the crypto operations needed for a DTLS CipherSuite gcm.go
Package-Level Type Names (total 4)
/* sort by: | */
CBC Provides an API to Encrypt/Decrypt DTLS 1.2 Packets Decrypt decrypts a DTLS RecordLayer message Encrypt encrypt a DTLS RecordLayer message func NewCBC(localKey, localWriteIV, localMac, remoteKey, remoteWriteIV, remoteMac []byte, h prf.HashFunc) (*CBC, error)
CCM Provides an API to Encrypt/Decrypt DTLS 1.2 Packets Decrypt decrypts a DTLS RecordLayer message Encrypt encrypt a DTLS RecordLayer message func NewCCM(tagLen CCMTagLen, localKey, localWriteIV, remoteKey, remoteWriteIV []byte) (*CCM, error)
CCMTagLen is the length of Authentication Tag func NewCCM(tagLen CCMTagLen, localKey, localWriteIV, remoteKey, remoteWriteIV []byte) (*CCM, error) const CCMTagLength const CCMTagLength8
GCM Provides an API to Encrypt/Decrypt DTLS 1.2 Packets Decrypt decrypts a DTLS RecordLayer message Encrypt encrypt a DTLS RecordLayer message func NewGCM(localKey, localWriteIV, remoteKey, remoteWriteIV []byte) (*GCM, error)
Package-Level Functions (total 3)
NewCBC creates a DTLS CBC Cipher
NewCCM creates a DTLS GCM Cipher
NewGCM creates a DTLS GCM Cipher
Package-Level Constants (total 2)
CCM Enums
CCM Enums