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

Function cipherSuiteByID

cipher_suites.go:635–642  ·  view source on GitHub ↗
(id uint16)

Source from the content-addressed store, hash-verified

633}
634
635func cipherSuiteByID(id uint16) *cipherSuite {
636 for _, cipherSuite := range cipherSuites {
637 if cipherSuite.id == id {
638 return cipherSuite
639 }
640 }
641 return nil
642}
643
644func mutualCipherSuiteTLS13(have []uint16, want uint16) *cipherSuiteTLS13 {
645 for _, id := range have {

Callers 4

makeClientHelloMethod · 0.85
selectCipherSuiteFunction · 0.85
isAESGCMPreferredFunction · 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…