• Home
  • Raw
  • Download

Lines Matching refs:cipherSuite

46 	cipherSuite          *cipherSuite  member
47 earlyCipherSuite *cipherSuite
240 func (hc *halfConn) useTrafficSecret(version uint16, suite *cipherSuite, secret []byte, side traffi…
756 func (c *Conn) useInTrafficSecret(version uint16, suite *cipherSuite, secret []byte) error {
769 func (c *Conn) useOutTrafficSecret(version uint16, suite *cipherSuite, secret []byte) {
1564 …ocessTLS13NewSessionTicket(newSessionTicket *newSessionTicketMsg, cipherSuite *cipherSuite) error {
1585 cipherSuite: cipherSuite.id,
1597 …session.masterSecret = deriveSessionPSK(cipherSuite, c.wireVersion, c.resumptionSecret, newSession…
1631 return c.processTLS13NewSessionTicket(newSessionTicket, c.cipherSuite)
1641 …if err := c.useInTrafficSecret(c.in.wireVersion, c.cipherSuite, updateTrafficSecret(c.cipherSuite.…
1675 …return c.useInTrafficSecret(c.in.wireVersion, c.cipherSuite, updateTrafficSecret(c.cipherSuite.has…
1843 state.CipherSuite = c.cipherSuite.id
1886 cipherSuite := c.cipherSuite
1887 if cipherSuite == nil {
1888 cipherSuite = c.earlyCipherSuite
1890 hash := cipherSuite.hash()
1895 derivedSecret := hkdfExpandLabel(cipherSuite.hash(), secret, label, exporterContext, hash.Size())
1896 …return hkdfExpandLabel(cipherSuite.hash(), derivedSecret, exporterKeyingLabel, contextHash.Sum(nil…
1924 prfForVersion(c.vers, c.cipherSuite)(result, c.exporterSecret, label, seed)
1946 if c.cipherSuite == nil && c.config.Bugs.NoRenegotiationInfoInInitial {
1949 if c.cipherSuite != nil && c.config.Bugs.NoRenegotiationInfoAfterInitial {
1991 cipherSuite: c.cipherSuite.id,
1992 masterSecret: deriveSessionPSK(c.cipherSuite, c.wireVersion, c.resumptionSecret, nonce),
2033 …c.useOutTrafficSecret(c.out.wireVersion, c.cipherSuite, updateTrafficSecret(c.cipherSuite.hash(), …