Home | History | Annotate | Download | only in runner

Lines Matching defs:Handshake

35 	// constant after handshake; protected by handshakeMutex
37 handshakeErr error // error resulting from handshake
55 // handshake. This is the "tls-unique" channel binding value.
58 // by the peer in the handshake, or zero if not applicable.
60 // curveID contains the curve that was used in the handshake, or zero if
86 hand bytes.Buffer // handshake record waiting to be read
89 // handshake data to be split into records at the end of the flight.
95 handMsg []byte // pending assembled handshake message
96 handMsgLen int // handshake message length, not including the header
97 pendingFragments [][]byte // pending outgoing handshake fragments.
761 return 0, nil, c.in.setErrorLocked(errors.New("tls: unsupported SSLv2 handshake received"))
800 return 0, nil, c.in.setErrorLocked(fmt.Errorf("tls: first record does not look like a TLS handshake"))
849 // handshake data if handshake not yet completed,
858 return c.in.setErrorLocked(errors.New("tls: handshake or ChangeCipherSpec requested after handshake complete"))
863 return c.in.setErrorLocked(errors.New("tls: application data record requested before handshake complete"))
939 // Allow handshake data while reading application data to
940 // trigger post-handshake messages.
1202 // readHandshake reads the next handshake message from
1209 // The warning alert may not interleave with a handshake message.
1273 // The handshake message unmarshallers
1320 // simulatePacketLoss simulates the loss of a handshake leg from the
1323 // handshake messages from the local end. This is used in cases where
1354 if err := c.Handshake(); err != nil {
1369 if err := c.Handshake(); err != nil {
1376 // Flush any pending handshake data. PackHelloRequestWithFinished may
1377 // have been set and the handshake not followed by Renegotiate.
1474 return errors.New("tls: unexpected post-handshake message")
1484 return c.Handshake()
1517 return c.Handshake()
1523 if err = c.Handshake(); err != nil {
1540 // We received handshake bytes, indicating a
1541 // post-handshake message.
1622 // Handshake runs the client or server handshake
1624 // Most uses of this package need not call Handshake
1626 func (c *Conn) Handshake() error {
1706 return errors.New("tls: handshake has not yet been performed")
1717 return nil, errors.New("tls: handshake has not yet been performed")
1743 // should be supported in the current handshake.
1759 return errors.New("tls: cannot send post-handshake NewSessionTicket")