utls/dicttls/kdf_identifiers.go
Gaukas Wang 9521fba944
new: vendor godicttls package (#265)
For better maintainability we decided to vendor this package instead of importing it.
2023-12-11 21:02:16 -07:00

19 lines
400 B
Go

package dicttls
// source: https://www.iana.org/assignments/tls-parameters/tls-kdf-ids.csv
// last updated: March 2023
const (
HKDF_SHA256 uint16 = 0x0001
HKDF_SHA384 uint16 = 0x0002
)
var DictKDFIdentifierValueIndexed = map[uint16]string{
0x0001: "HKDF_SHA256",
0x0002: "HKDF_SHA384",
}
var DictKDFIdentifierNameIndexed = map[string]uint16{
"HKDF_SHA256": 0x0001,
"HKDF_SHA384": 0x0002,
}