go/src/crypto/tls/conn_test.go

func TestRoundUp(t *testing.T) {}

var padding255Bad

var padding255Good

var paddingTests

func TestRemovePadding(t *testing.T) {}

var certExampleCom

var certWildcardExampleCom

var certFooExampleCom

func TestCertificateSelection(t *testing.T) {}

// Run with multiple crypto configs to test the logic for computing TLS record overheads.
func runDynamicRecordSizingTest(t *testing.T, config *Config) {}

func TestDynamicRecordSizingWithStreamCipher(t *testing.T) {}

func TestDynamicRecordSizingWithCBC(t *testing.T) {}

func TestDynamicRecordSizingWithAEAD(t *testing.T) {}

func TestDynamicRecordSizingWithTLSv13(t *testing.T) {}

type hairpinConn

func (conn *hairpinConn) Close() error {}

func TestHairpinInClose(t *testing.T) {}

func TestRecordBadVersionTLS13(t *testing.T) {}