MCPcopy Index your code
hub / github.com/XTLS/Go / cipherSuiteByID

Function cipherSuiteByID

cipher_suites.go:619–626  ·  view source on GitHub ↗
(id uint16)

Source from the content-addressed store, hash-verified

617}
618
619func cipherSuiteByID(id uint16) *cipherSuite {
620 for _, cipherSuite := range cipherSuites {
621 if cipherSuite.id == id {
622 return cipherSuite
623 }
624 }
625 return nil
626}
627
628func mutualCipherSuiteTLS13(have []uint16, want uint16) *cipherSuiteTLS13 {
629 for _, id := range have {

Callers 3

selectCipherSuiteFunction · 0.85
aesgcmPreferredFunction · 0.85
mutualCipherSuiteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…