Home
last modified time | relevance | path

Searched refs:sessionState (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/ssl/test/runner/
Dticket.go20 type sessionState struct { struct
29 func (s *sessionState) equal(i interface{}) bool { argument
30 s1, ok := i.(*sessionState)
56 func (s *sessionState) marshal() []byte { argument
102 func (s *sessionState) unmarshal(data []byte) bool { argument
172 func (c *Conn) encryptTicket(state *sessionState) ([]byte, error) { argument
194 func (c *Conn) decryptTicket(encrypted []byte) (*sessionState, bool) {
218 state := new(sessionState)
Dhandshake_server.go31 sessionState *sessionState member
401 if hs.sessionState, ok = c.decryptTicket(hs.clientHello.sessionTicket); !ok {
411 if hs.sessionState, ok = c.config.ServerSessionCache.Get(sessionId); !ok {
417 if !c.config.Bugs.AllowSessionVersionMismatch && c.vers != hs.sessionState.vers {
424 if id == hs.sessionState.cipherSuite {
434 …hs.suite = c.tryCipherSuite(hs.sessionState.cipherSuite, c.config.cipherSuites(), hs.sessionState.…
439 sessionHasClientCerts := len(hs.sessionState.certificates) != 0
470 if len(hs.sessionState.certificates) > 0 {
471 if _, err := hs.processCertsFromClient(hs.sessionState.certificates); err != nil {
476 hs.masterSecret = hs.sessionState.masterSecret
[all …]
Dcommon.go239 Get(sessionId string) (session *sessionState, ok bool)
242 Put(sessionId string, session *sessionState) argument
987 func (c *lruServerSessionCache) Put(sessionId string, session *sessionState) {
991 func (c *lruServerSessionCache) Get(sessionId string) (*sessionState, bool) {
996 return cs.(*sessionState), true