Home | History | Annotate | Download | only in runner

Lines Matching refs:Handshake

35 	// constant after handshake; protected by handshakeMutex
37 handshakeErr error // error resulting from handshake
57 // handshake. This is the "tls-unique" channel binding value.
60 // by the peer in the handshake, or zero if not applicable.
62 // curveID contains the curve that was used in the handshake, or zero if
95 hand bytes.Buffer // handshake record waiting to be read
98 // handshake data to be split into records at the end of the flight.
104 handMsg []byte // pending assembled handshake message
105 handMsgLen int // handshake message length, not including the header
106 pendingFragments [][]byte // pending outgoing handshake fragments.
744 return c.in.setErrorLocked(errors.New("tls: buffered handshake messages on cipher change"))
797 return 0, nil, c.in.setErrorLocked(errors.New("tls: unsupported SSLv2 handshake received"))
836 return 0, nil, c.in.setErrorLocked(fmt.Errorf("tls: first record does not look like a TLS handshake"))
933 // handshake data if handshake not yet completed,
942 return c.in.setErrorLocked(errors.New("tls: ChangeCipherSpec requested after handshake complete"))
1009 c.in.setErrorLocked(errors.New("tls: buffered handshake messages on cipher change"))
1025 // Allow handshake data while reading application data to
1026 // trigger post-handshake messages.
1302 // readHandshake reads the next handshake message from
1309 // The warning alert may not interleave with a handshake message.
1377 // The handshake message unmarshallers
1432 // simulatePacketLoss simulates the loss of a handshake leg from the
1435 // handshake messages from the local end. This is used in cases where
1466 if err := c.Handshake(); err != nil {
1481 if err := c.Handshake(); err != nil {
1588 return errors.New("tls: unexpected post-handshake message")
1598 return c.Handshake()
1621 return errors.New("tls: unexpected post-handshake message")
1659 return c.Handshake()
1665 if err = c.Handshake(); err != nil {
1682 // We received handshake bytes, indicating a
1683 // post-handshake message.
1764 // Handshake runs the client or server handshake
1766 // Most uses of this package need not call Handshake
1768 func (c *Conn) Handshake() error {
1851 return errors.New("tls: handshake has not yet been performed")
1876 return nil, errors.New("tls: handshake has not yet been performed")
1912 // should be supported in the current handshake.
1928 return errors.New("tls: cannot send post-handshake NewSessionTicket")