Lines Matching full:marshal
187 if _, err := c.writeRecord(recordTypeHandshake, hs.hello.marshal()); err != nil {
225 hs.finishedHash.Write(hs.hello.marshal())
226 hs.finishedHash.Write(hs.serverHello.marshal())
310 hs.finishedHash.Write(certMsg.marshal())
393 hs.finishedHash.Write(cs.marshal())
409 hs.finishedHash.Write(skx.marshal())
427 hs.finishedHash.Write(certReq.marshal())
445 hs.finishedHash.Write(shd.marshal())
453 hs.finishedHash.Write(certMsg.marshal())
454 if _, err := c.writeRecord(recordTypeHandshake, certMsg.marshal()); err != nil {
465 hs.finishedHash.Write(ckx.marshal())
466 if _, err := c.writeRecord(recordTypeHandshake, ckx.marshal()); err != nil {
512 hs.finishedHash.Write(certVerify.marshal())
513 if _, err := c.writeRecord(recordTypeHandshake, certVerify.marshal()); err != nil {
655 hs.finishedHash.Write(serverFinished.marshal())
675 hs.finishedHash.Write(sessionTicketMsg.marshal())
702 hs.finishedHash.Write(nextProto.marshal())
703 if _, err := c.writeRecord(recordTypeHandshake, nextProto.marshal()); err != nil {
710 hs.finishedHash.Write(finished.marshal())
711 if _, err := c.writeRecord(recordTypeHandshake, finished.marshal()); err != nil {