MCPcopy Create free account
hub / github.com/XTLS/Go / mutualCipherSuiteTLS13

Function mutualCipherSuiteTLS13

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

Source from the content-addressed store, hash-verified

626}
627
628func mutualCipherSuiteTLS13(have []uint16, want uint16) *cipherSuiteTLS13 {
629 for _, id := range have {
630 if id == want {
631 return cipherSuiteTLS13ByID(id)
632 }
633 }
634 return nil
635}
636
637func cipherSuiteTLS13ByID(id uint16) *cipherSuiteTLS13 {
638 for _, cipherSuite := range cipherSuitesTLS13 {

Callers 2

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…