hkdf

package
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResumptionBinderLabel         = "res binder"
	ClientHandshakeTrafficLabel   = "c hs traffic"
	ServerHandshakeTrafficLabel   = "s hs traffic"
	ClientApplicationTrafficLabel = "c ap traffic"
	ServerApplicationTrafficLabel = "s ap traffic"
	ExporterLabel                 = "exp master"
	ResumptionLabel               = "res master"
	TrafficUpdateLabel            = "traffic upd"
)
View Source
const (
	KeyLogLabelTLS12                   = "CLIENT_RANDOM"
	KeyLogLabelClientHandshake         = "CLIENT_HANDSHAKE_TRAFFIC_SECRET"
	KeyLogLabelServerHandshake         = "SERVER_HANDSHAKE_TRAFFIC_SECRET"
	KeyLogLabelClientTraffic           = "CLIENT_TRAFFIC_SECRET_0"
	KeyLogLabelServerTraffic           = "SERVER_TRAFFIC_SECRET_0"
	KeyLogLabelExporterSecret          = "EXPORTER_SECRET"
	KeyLogLabelClientEarlyTafficSecret = "CLIENT_EARLY_TRAFFIC_SECRET"
)
View Source
const (
	TlsAes128GcmSha256        uint16 = 0x1301
	TlsAes256GcmSha384        uint16 = 0x1302
	TlsChacha20Poly1305Sha256 uint16 = 0x1303
)

crypto/tls/cipher_suites.go line 678 TLS 1.3 cipher suites.

Variables

This section is empty.

Functions

func ExpandLabel

func ExpandLabel(secret []byte, label string, context []byte, length int, transcript crypto.Hash) []byte

ExpandLabel implements HKDF-Expand-Label from RFC 8446, Section 7.1.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL