MCPcopy Create free account
hub / github.com/XTLS/REALITY / cipherSuiteTLS13

Struct cipherSuiteTLS13

cipher_suites.go:193–198  ·  view source on GitHub ↗

A cipherSuiteTLS13 defines only the pair of the AEAD algorithm and hash algorithm to be used with HKDF. See RFC 8446, Appendix B.4.

Source from the content-addressed store, hash-verified

191// A cipherSuiteTLS13 defines only the pair of the AEAD algorithm and hash
192// algorithm to be used with HKDF. See RFC 8446, Appendix B.4.
193type cipherSuiteTLS13 struct {
194 id uint16
195 keyLen int
196 aead func(key, fixedNonce []byte) aead
197 hash crypto.Hash
198}
199
200// cipherSuitesTLS13 should be an internal detail,
201// but widely used packages access it using linkname.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected