MCPcopy
hub / github.com/XTLS/REALITY / mutualCipherSuiteTLS13

Function mutualCipherSuiteTLS13

cipher_suites.go:644–651  ·  view source on GitHub ↗
(have []uint16, want uint16)

Source from the content-addressed store, hash-verified

642}
643
644func mutualCipherSuiteTLS13(have []uint16, want uint16) *cipherSuiteTLS13 {
645 for _, id := range have {
646 if id == want {
647 return cipherSuiteTLS13ByID(id)
648 }
649 }
650 return nil
651}
652
653func cipherSuiteTLS13ByID(id uint16) *cipherSuiteTLS13 {
654 for _, cipherSuite := range cipherSuitesTLS13 {

Callers 3

loadSessionMethod · 0.85
checkServerHelloOrHRRMethod · 0.85
processClientHelloMethod · 0.85

Calls 1

cipherSuiteTLS13ByIDFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…