Searched refs:sessionState (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/ssl/test/runner/ |
D | ticket.go | 21 type sessionState struct { struct 35 func (s *sessionState) marshal() []byte { argument 68 func (s *sessionState) unmarshal(data []byte) bool { argument 160 func (c *Conn) encryptTicket(state *sessionState) ([]byte, error) { argument 182 func (c *Conn) decryptTicket(encrypted []byte) (*sessionState, bool) { 206 state := new(sessionState)
|
D | handshake_server.go | 33 sessionState *sessionState member 483 sessionState, ok := c.decryptTicket(pskIdentity.ticket) 489 if sessionState.vers != c.vers { 492 if sessionState.ticketExpiration.Before(c.config.time()) { 495 sessionCipher := cipherSuiteFromID(sessionState.cipherSuite) 501 …clientTicketAge := time.Duration(uint32(pskIdentity.obfuscatedTicketAge-sessionState.ticketAgeAdd)… 507 hs.sessionState = sessionState 526 if hs.sessionState != nil && !config.Bugs.AcceptAnySession { 528 …if err := verifyPSKBinder(c.wireVersion, hs.clientHello, hs.sessionState, binderToVerify, []byte{}… 534 if hs.sessionState != nil { [all …]
|
D | common.go | 317 Get(sessionId string) (session *sessionState, ok bool) 320 Put(sessionId string, session *sessionState) argument 1971 func (c *lruServerSessionCache) Put(sessionId string, session *sessionState) { 1975 func (c *lruServerSessionCache) Get(sessionId string) (*sessionState, bool) { 1980 return cs.(*sessionState), true
|
D | conn.go | 1989 state := sessionState{
|