From c2495e4b000d12ffd8b0a8dd7d8bd27a7c70269a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sof=C3=ADa=20Celi?= Date: Tue, 30 Mar 2021 22:29:57 +0100 Subject: [PATCH] cryto/tls: Implement kemtls with mutual auth #66 --- src/crypto/kem/kem.go | 207 ++++++ src/crypto/kem/kem_test.go | 58 ++ src/crypto/tls/auth.go | 70 +- src/crypto/tls/auth_test.go | 2 +- src/crypto/tls/common.go | 46 +- src/crypto/tls/common_string.go | 9 +- src/crypto/tls/delegated_credentials.go | 20 +- src/crypto/tls/delegated_credentials_test.go | 186 +++++- src/crypto/tls/handshake_client.go | 57 +- src/crypto/tls/handshake_client_kemtls.go | 293 +++++++++ src/crypto/tls/handshake_client_tls13.go | 242 ++++--- src/crypto/tls/handshake_server.go | 3 +- src/crypto/tls/handshake_server_kemtls.go | 283 ++++++++ src/crypto/tls/handshake_server_tls13.go | 148 +++-- src/crypto/tls/key_agreement.go | 4 +- src/crypto/tls/key_schedule.go | 26 +- .../Client-TLSv10-ClientCert-ECDSA-ECDSA | 129 ++-- .../Client-TLSv10-ClientCert-ECDSA-RSA | 121 ++-- .../Client-TLSv10-ClientCert-RSA-ECDSA | 127 ++-- .../testdata/Client-TLSv10-ClientCert-RSA-RSA | 121 ++-- .../testdata/Client-TLSv10-ECDHE-ECDSA-AES | 105 +-- .../tls/testdata/Client-TLSv10-ECDHE-RSA-AES | 103 +-- .../Client-TLSv10-ExportKeyingMaterial | 103 +-- src/crypto/tls/testdata/Client-TLSv10-RSA-RC4 | 71 +- .../testdata/Client-TLSv11-ECDHE-ECDSA-AES | 105 +-- .../tls/testdata/Client-TLSv11-ECDHE-RSA-AES | 103 +-- src/crypto/tls/testdata/Client-TLSv11-RSA-RC4 | 71 +- .../testdata/Client-TLSv12-AES128-GCM-SHA256 | 75 ++- .../tls/testdata/Client-TLSv12-AES128-SHA256 | 89 ++- .../testdata/Client-TLSv12-AES256-GCM-SHA384 | 75 ++- src/crypto/tls/testdata/Client-TLSv12-ALPN | 95 +-- .../Client-TLSv12-ClientCert-ECDSA-ECDSA | 135 ++-- .../Client-TLSv12-ClientCert-ECDSA-RSA | 119 ++-- .../testdata/Client-TLSv12-ClientCert-Ed25519 | 103 +-- ...nt-TLSv12-ClientCert-RSA-AES256-GCM-SHA384 | 115 ++-- .../Client-TLSv12-ClientCert-RSA-ECDSA | 123 ++-- .../testdata/Client-TLSv12-ClientCert-RSA-RSA | 115 ++-- .../Client-TLSv12-ClientCert-RSA-RSAPKCS1v15 | 115 ++-- .../Client-TLSv12-ClientCert-RSA-RSAPSS | 115 ++-- .../testdata/Client-TLSv12-ECDHE-ECDSA-AES | 107 +-- .../Client-TLSv12-ECDHE-ECDSA-AES-GCM | 99 +-- .../Client-TLSv12-ECDHE-ECDSA-AES128-SHA256 | 115 ++-- ...lient-TLSv12-ECDHE-ECDSA-AES256-GCM-SHA384 | 101 +-- ...lient-TLSv12-ECDHE-ECDSA-CHACHA20-POLY1305 | 95 +-- .../tls/testdata/Client-TLSv12-ECDHE-RSA-AES | 103 +-- .../Client-TLSv12-ECDHE-RSA-AES128-SHA256 | 111 ++-- .../Client-TLSv12-ECDHE-RSA-CHACHA20-POLY1305 | 93 ++- src/crypto/tls/testdata/Client-TLSv12-Ed25519 | 85 ++- .../Client-TLSv12-ExportKeyingMaterial | 93 ++- src/crypto/tls/testdata/Client-TLSv12-RSA-RC4 | 71 +- .../testdata/Client-TLSv12-RenegotiateOnce | 410 ++++++------ .../testdata/Client-TLSv12-RenegotiateTwice | 621 ++++++++++-------- .../Client-TLSv12-RenegotiateTwiceRejected | 416 ++++++------ .../Client-TLSv12-RenegotiationRejected | 99 +-- src/crypto/tls/testdata/Client-TLSv12-SCT | 93 ++- .../tls/testdata/Client-TLSv13-AES128-SHA256 | 179 ++--- .../tls/testdata/Client-TLSv13-AES256-SHA384 | 183 +++--- src/crypto/tls/testdata/Client-TLSv13-ALPN | 183 +++--- .../testdata/Client-TLSv13-CHACHA20-SHA256 | 179 ++--- .../Client-TLSv13-ClientCert-ECDSA-RSA | 277 ++++---- .../testdata/Client-TLSv13-ClientCert-Ed25519 | 243 +++---- .../Client-TLSv13-ClientCert-RSA-ECDSA | 267 ++++---- .../Client-TLSv13-ClientCert-RSA-RSAPSS | 285 ++++---- src/crypto/tls/testdata/Client-TLSv13-ECDSA | 171 ++--- src/crypto/tls/testdata/Client-TLSv13-Ed25519 | 135 ++-- .../Client-TLSv13-ExportKeyingMaterial | 179 ++--- .../tls/testdata/Client-TLSv13-KeyUpdate | 195 +++--- src/crypto/tls/tls_test.go | 40 ++ src/crypto/x509/x509.go | 16 + src/go/build/deps_test.go | 1 + 70 files changed, 5902 insertions(+), 3430 deletions(-) create mode 100644 src/crypto/kem/kem.go create mode 100644 src/crypto/kem/kem_test.go create mode 100644 src/crypto/tls/handshake_client_kemtls.go create mode 100644 src/crypto/tls/handshake_server_kemtls.go diff --git a/src/crypto/kem/kem.go b/src/crypto/kem/kem.go new file mode 100644 index 00000000000..50631e385e8 --- /dev/null +++ b/src/crypto/kem/kem.go @@ -0,0 +1,207 @@ +package kem + +import ( + "circl/dh/sidh" + "circl/kem/schemes" + "encoding/binary" + "errors" + "fmt" + "io" + + "golang.org/x/crypto/curve25519" +) + +// ID identifies each flavor of KEM. +type ID uint16 + +const ( + // KEM25519 is X25519 as a KEM. Not quantum-safe. + KEM25519 ID = 0x01fb + // Kyber512 is a post-quantum KEM based on MLWE + Kyber512 ID = 0x01fc + // SIKEp434 is a post-quantum KEM + SIKEp434 ID = 0x01fd + + // minimum + minKEM = KEM25519 + // maximum + maxKEM = SIKEp434 +) + +// PrivateKey is a private key. +type PrivateKey struct { + KEMId ID + PrivateKey []byte +} + +// PublicKey is a public key. +type PublicKey struct { + KEMId ID + PublicKey []byte +} + +// MarshalBinary returns the byte representation of a public key. +func (pubKey *PublicKey) MarshalBinary() ([]byte, error) { + buf := make([]byte, 2+len(pubKey.PublicKey)) + binary.LittleEndian.PutUint16(buf, uint16(pubKey.KEMId)) + copy(buf[2:], pubKey.PublicKey) + return buf, nil +} + +// UnmarshalBinary produces a PublicKey from a byte array. +func (pubKey *PublicKey) UnmarshalBinary(data []byte) error { + id := ID(binary.LittleEndian.Uint16(data[:2])) + if id < minKEM || id > maxKEM { + return errors.New("Invalid KEM type") + } + + pubKey.KEMId = id + pubKey.PublicKey = data[2:] + return nil +} + +// GenerateKey generates a keypair for a given KEM. +// It returns a public and private key. +func GenerateKey(rand io.Reader, kemID ID) (*PublicKey, *PrivateKey, error) { + switch kemID { + case Kyber512: + scheme := schemes.ByName("Kyber512") + seed := make([]byte, scheme.SeedSize()) + if _, err := io.ReadFull(rand, seed); err != nil { + return nil, nil, err + } + publicKey, privateKey := scheme.DeriveKeyPair(seed) + pk, _ := publicKey.MarshalBinary() + sk, _ := privateKey.MarshalBinary() + + return &PublicKey{KEMId: kemID, PublicKey: pk}, &PrivateKey{KEMId: kemID, PrivateKey: sk}, nil + case KEM25519: + privateKey := make([]byte, curve25519.ScalarSize) + if _, err := io.ReadFull(rand, privateKey); err != nil { + return nil, nil, err + } + publicKey, err := curve25519.X25519(privateKey, curve25519.Basepoint) + if err != nil { + return nil, nil, err + } + return &PublicKey{KEMId: kemID, PublicKey: publicKey}, &PrivateKey{KEMId: kemID, PrivateKey: privateKey}, nil + case SIKEp434: + privateKey := sidh.NewPrivateKey(sidh.Fp434, sidh.KeyVariantSike) + publicKey := sidh.NewPublicKey(sidh.Fp434, sidh.KeyVariantSike) + if err := privateKey.Generate(rand); err != nil { + return nil, nil, err + } + privateKey.GeneratePublicKey(publicKey) + + pubBytes := make([]byte, publicKey.Size()) + privBytes := make([]byte, privateKey.Size()) + publicKey.Export(pubBytes) + privateKey.Export(privBytes) + return &PublicKey{KEMId: kemID, PublicKey: pubBytes}, &PrivateKey{KEMId: kemID, PrivateKey: privBytes}, nil + default: + return nil, nil, fmt.Errorf("crypto/kem: internal error: unsupported KEM %d", kemID) + } + +} + +// Encapsulate returns a shared secret and a ciphertext. +func Encapsulate(rand io.Reader, pk *PublicKey) ([]byte, []byte, error) { + switch pk.KEMId { + case Kyber512: + scheme := schemes.ByName("Kyber512") + pub, err := scheme.UnmarshalBinaryPublicKey(pk.PublicKey) + if err != nil { + return nil, nil, err + } + + seed := make([]byte, scheme.EncapsulationSeedSize()) + if _, err := io.ReadFull(rand, seed); err != nil { + return nil, nil, err + } + + ct, ss, err := scheme.EncapsulateDeterministically(pub, seed) + if err != nil { + return nil, nil, err + } + + return ss, ct, nil + case KEM25519: + privateKey := make([]byte, curve25519.ScalarSize) + if _, err := io.ReadFull(rand, privateKey); err != nil { + return nil, nil, err + } + ciphertext, err := curve25519.X25519(privateKey, curve25519.Basepoint) + if err != nil { + return nil, nil, err + } + sharedSecret, err := curve25519.X25519(privateKey, pk.PublicKey) + if err != nil { + return nil, nil, err + } + return sharedSecret, ciphertext, nil + case SIKEp434: + kem := sidh.NewSike434(rand) + sikepk := sidh.NewPublicKey(sidh.Fp434, sidh.KeyVariantSike) + err := sikepk.Import(pk.PublicKey) + if err != nil { + return nil, nil, err + } + + ct := make([]byte, kem.CiphertextSize()) + ss := make([]byte, kem.SharedSecretSize()) + err = kem.Encapsulate(ct, ss, sikepk) + if err != nil { + return nil, nil, err + } + + return ss, ct, nil + default: + return nil, nil, errors.New("crypto/kem: internal error: unsupported KEM in Encapsulate") + } +} + +// Decapsulate generates the shared secret. +func Decapsulate(privateKey *PrivateKey, ciphertext []byte) ([]byte, error) { + switch privateKey.KEMId { + case Kyber512: + scheme := schemes.ByName("Kyber512") + sk, err := scheme.UnmarshalBinaryPrivateKey(privateKey.PrivateKey) + if err != nil { + return nil, err + } + if len(ciphertext) != scheme.CiphertextSize() { + return nil, fmt.Errorf("crypto/kem: ciphertext is of len %d, expected %d", len(ciphertext), scheme.CiphertextSize()) + } + ss, err := scheme.Decapsulate(sk, ciphertext) + if err != nil { + return nil, err + } + + return ss, nil + case KEM25519: + sharedSecret, err := curve25519.X25519(privateKey.PrivateKey, ciphertext) + if err != nil { + return nil, err + } + return sharedSecret, nil + case SIKEp434: + kem := sidh.NewSike434(nil) + sikesk := sidh.NewPrivateKey(sidh.Fp434, sidh.KeyVariantSike) + err := sikesk.Import(privateKey.PrivateKey) + if err != nil { + return nil, err + } + + sikepk := sidh.NewPublicKey(sidh.Fp434, sidh.KeyVariantSike) + sikesk.GeneratePublicKey(sikepk) + ss := make([]byte, kem.SharedSecretSize()) + err = kem.Decapsulate(ss, sikesk, sikepk, ciphertext) + if err != nil { + return nil, err + } + + return ss, nil + default: + return nil, errors.New("crypto/kem: internal error: unsupported KEM in Decapsulate") + } +} diff --git a/src/crypto/kem/kem_test.go b/src/crypto/kem/kem_test.go new file mode 100644 index 00000000000..1a2979c038b --- /dev/null +++ b/src/crypto/kem/kem_test.go @@ -0,0 +1,58 @@ +package kem + +import ( + "bytes" + "crypto/rand" + "testing" +) + +func TestKemAPI(t *testing.T) { + tests := []struct { + name string + kemID ID + }{ + {"Kem25519", KEM25519}, + {"SIKEp434", SIKEp434}, + {"Kyber512", Kyber512}, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + publicKey, privateKey, err := GenerateKey(rand.Reader, tt.kemID) + if err != nil { + t.Fatal(err) + } + ss, ct, err := Encapsulate(rand.Reader, publicKey) + if err != nil { + t.Fatal(err) + } + + ss2, err := Decapsulate(privateKey, ct) + if err != nil { + t.Fatal(err) + } + if !bytes.Equal(ss, ss2) { + t.Fatal("Decapsulated differing shared secret") + } + + data, _ := publicKey.MarshalBinary() + pk2 := new(PublicKey) + err = pk2.UnmarshalBinary(data) + if err != nil { + t.Fatal("error unmarshaling") + } + if pk2.KEMId != publicKey.KEMId { + t.Fatal("Difference in Id") + } + if !bytes.Equal(publicKey.PublicKey, publicKey.PublicKey) { + t.Fatal("Difference in data for public keys") + } + }) + } + + // check if nonexisting kem fails + invalidKemID := ID(0) + if _, _, err := GenerateKey(rand.Reader, invalidKemID); err == nil { + t.Fatal("This KEM should've been invalid and failed") + } + +} diff --git a/src/crypto/tls/auth.go b/src/crypto/tls/auth.go index 51113d88969..f6b5247c68d 100644 --- a/src/crypto/tls/auth.go +++ b/src/crypto/tls/auth.go @@ -13,6 +13,7 @@ import ( "crypto/ecdsa" "crypto/ed25519" "crypto/elliptic" + "crypto/kem" "crypto/rsa" "errors" "fmt" @@ -118,6 +119,8 @@ func typeAndHashFromSignatureScheme(signatureAlgorithm SignatureScheme) (sigType sigType = signatureECDSA case Ed25519: sigType = signatureEd25519 + case KEMTLSWithSIKEp434, KEMTLSWithKyber512: + sigType = authKEMTLS default: scheme := circlPki.SchemeByTLSID(uint(signatureAlgorithm)) if scheme == nil { @@ -140,6 +143,8 @@ func typeAndHashFromSignatureScheme(signatureAlgorithm SignatureScheme) (sigType hash = crypto.SHA512 case Ed25519: hash = directSigning + case KEMTLSWithSIKEp434, KEMTLSWithKyber512: + hash = directSigning default: scheme := circlPki.SchemeByTLSID(uint(signatureAlgorithm)) if scheme == nil { @@ -267,39 +272,50 @@ func signatureSchemesForCertificate(version uint16, cert *Certificate) []Signatu // This function must be kept in sync with supportedSignatureAlgorithmsDC. func signatureSchemeForDelegatedCredential(version uint16, dc *DelegatedCredential) []SignatureScheme { pub := dc.cred.publicKey - var sigAlgs []SignatureScheme - switch pub.(type) { - case *ecdsa.PublicKey: - pk, ok := pub.(*ecdsa.PublicKey) - if !ok { + + kemPub, ok := pub.(*kem.PublicKey) + if ok { + if kemPub.KEMId == kem.SIKEp434 { + sigAlgs = []SignatureScheme{KEMTLSWithSIKEp434} + } else if kemPub.KEMId == kem.Kyber512 { + sigAlgs = []SignatureScheme{KEMTLSWithKyber512} + } else { return nil } - switch pk.Curve { - case elliptic.P256(): - sigAlgs = []SignatureScheme{ECDSAWithP256AndSHA256} - case elliptic.P384(): - sigAlgs = []SignatureScheme{ECDSAWithP384AndSHA384} - case elliptic.P521(): - sigAlgs = []SignatureScheme{ECDSAWithP521AndSHA512} + } else { + switch pub.(type) { + case *ecdsa.PublicKey: + pk, ok := pub.(*ecdsa.PublicKey) + if !ok { + return nil + } + switch pk.Curve { + case elliptic.P256(): + sigAlgs = []SignatureScheme{ECDSAWithP256AndSHA256} + case elliptic.P384(): + sigAlgs = []SignatureScheme{ECDSAWithP384AndSHA384} + case elliptic.P521(): + sigAlgs = []SignatureScheme{ECDSAWithP521AndSHA512} + default: + return nil + } + case ed25519.PublicKey: + sigAlgs = []SignatureScheme{Ed25519} + case circlSign.PublicKey: + pk, ok := pub.(circlSign.PublicKey) + if !ok { + return nil + } + scheme := pk.Scheme() + tlsScheme, ok := scheme.(circlPki.TLSScheme) + if !ok { + return nil + } + sigAlgs = []SignatureScheme{SignatureScheme(tlsScheme.TLSIdentifier())} default: return nil } - case ed25519.PublicKey: - sigAlgs = []SignatureScheme{Ed25519} - case circlSign.PublicKey: - pk, ok := pub.(circlSign.PublicKey) - if !ok { - return nil - } - scheme := pk.Scheme() - tlsScheme, ok := scheme.(circlPki.TLSScheme) - if !ok { - return nil - } - sigAlgs = []SignatureScheme{SignatureScheme(tlsScheme.TLSIdentifier())} - default: - return nil } return sigAlgs diff --git a/src/crypto/tls/auth_test.go b/src/crypto/tls/auth_test.go index 0caba3c5749..c885f91e331 100644 --- a/src/crypto/tls/auth_test.go +++ b/src/crypto/tls/auth_test.go @@ -163,7 +163,7 @@ func TestSupportedSignatureAlgorithms(t *testing.T) { if sigType == 0 { t.Errorf("%v: missing signature type", sigAlg) } - if hash == 0 && sigAlg != Ed25519 && circlPki.SchemeByTLSID(uint(sigAlg)) == nil { + if hash == 0 && (sigAlg != Ed25519 && sigType != authKEMTLS) && circlPki.SchemeByTLSID(uint(sigAlg)) == nil { t.Errorf("%v: missing hash", sigAlg) } } diff --git a/src/crypto/tls/common.go b/src/crypto/tls/common.go index 7165e0423a1..12b69597b41 100644 --- a/src/crypto/tls/common.go +++ b/src/crypto/tls/common.go @@ -11,6 +11,7 @@ import ( "crypto/ecdsa" "crypto/ed25519" "crypto/elliptic" + "crypto/kem" "crypto/rand" "crypto/rsa" "crypto/sha512" @@ -125,8 +126,18 @@ const ( CurveP384 CurveID = 24 CurveP521 CurveID = 25 X25519 CurveID = 29 + SIKEp434 CurveID = CurveID(kem.SIKEp434) + Kyber512 CurveID = CurveID(kem.Kyber512) ) +func (curve CurveID) isKEM() bool { + switch curve { + case SIKEp434, Kyber512: + return true + } + return false +} + // TLS 1.3 Key Share. See RFC 8446, Section 4.2.8. type keyShare struct { group CurveID @@ -171,6 +182,7 @@ const ( signatureECDSA signatureEd25519 signatureEdDilithium3 + authKEMTLS ) // directSigning is a standard Hash value that signals that no pre-hashing @@ -205,6 +217,8 @@ var supportedSignatureAlgorithmsDC = []SignatureScheme{ Ed25519, ECDSAWithP384AndSHA384, ECDSAWithP521AndSHA512, + KEMTLSWithSIKEp434, + KEMTLSWithKyber512, } // helloRetryRequestRandom is set as the Random value of a ServerHello @@ -375,6 +389,10 @@ const ( // during the handshake, but does not require that the client send any // certificates. RequestClientCert + // RequestClientKEMCert indicates that a client certificate with a KEM + // public key should be requested during the handshake, but does not + // require that the client send any certificates. + RequestClientKEMCert // RequireAnyClientCert indicates that a client certificate should be requested // during the handshake, and that at least one certificate is required to be // sent by the client, but that certificate is not required to be valid. @@ -466,8 +484,21 @@ const ( // Legacy signature and hash algorithms for TLS 1.2. PKCS1WithSHA1 SignatureScheme = 0x0201 ECDSAWithSHA1 SignatureScheme = 0x0203 + + // KEMTLS algorithms for the Post-Quantum experiment. NOTE: Do not use outside the experiment. + KEMTLSWithSIKEp434 SignatureScheme = 0xfe00 + KEMTLSWithKyber512 SignatureScheme = 0xfe01 ) +func (scheme SignatureScheme) isKEMTLS() bool { + switch scheme { + case KEMTLSWithSIKEp434, KEMTLSWithKyber512: + return true + default: + return false + } +} + // ClientHelloInfo contains information from a ClientHello message in order to // guide application logic in the GetCertificate and GetConfigForClient callbacks. type ClientHelloInfo struct { @@ -1134,7 +1165,8 @@ func supportedVersionsFromMax(maxVersion uint16) []uint16 { return versions } -var defaultCurvePreferences = []CurveID{X25519, CurveP256, CurveP384, CurveP521} +// TODO: ideally, we don't need to add them here +var defaultCurvePreferences = []CurveID{SIKEp434, Kyber512, X25519, CurveP256, CurveP384, CurveP521} func (c *Config) curvePreferences() []CurveID { if c == nil || len(c.CurvePreferences) == 0 { @@ -1433,11 +1465,13 @@ func (c *Config) BuildNameToCertificate() { } const ( - keyLogLabelTLS12 = "CLIENT_RANDOM" - keyLogLabelClientHandshake = "CLIENT_HANDSHAKE_TRAFFIC_SECRET" - keyLogLabelServerHandshake = "SERVER_HANDSHAKE_TRAFFIC_SECRET" - keyLogLabelClientTraffic = "CLIENT_TRAFFIC_SECRET_0" - keyLogLabelServerTraffic = "SERVER_TRAFFIC_SECRET_0" + keyLogLabelTLS12 = "CLIENT_RANDOM" + keyLogLabelClientHandshake = "CLIENT_HANDSHAKE_TRAFFIC_SECRET" + keyLogLabelServerHandshake = "SERVER_HANDSHAKE_TRAFFIC_SECRET" + keyLogLabelClientAuthenticatedHandshake = "CLIENT_AUTHENTICATED_HANDSHAKE_TRAFFIC_SECRET" + keyLogLabelServerAuthenticatedHandshake = "SERVER_AUTHENTICATED_HANDSHAKE_TRAFFIC_SECRET" + keyLogLabelClientTraffic = "CLIENT_TRAFFIC_SECRET_0" + keyLogLabelServerTraffic = "SERVER_TRAFFIC_SECRET_0" ) func (c *Config) writeKeyLog(label string, clientRandom, secret []byte) error { diff --git a/src/crypto/tls/common_string.go b/src/crypto/tls/common_string.go index 238108811f2..04b2e890b5d 100644 --- a/src/crypto/tls/common_string.go +++ b/src/crypto/tls/common_string.go @@ -99,12 +99,13 @@ func _() { var x [1]struct{} _ = x[NoClientCert-0] _ = x[RequestClientCert-1] - _ = x[RequireAnyClientCert-2] - _ = x[VerifyClientCertIfGiven-3] - _ = x[RequireAndVerifyClientCert-4] + _ = x[RequestClientKEMCert-2] + _ = x[RequireAnyClientCert-3] + _ = x[VerifyClientCertIfGiven-4] + _ = x[RequireAndVerifyClientCert-5] } -const _ClientAuthType_name = "NoClientCertRequestClientCertRequireAnyClientCertVerifyClientCertIfGivenRequireAndVerifyClientCert" +const _ClientAuthType_name = "NoClientCertRequestClientCertRequestClientKEMRequireAnyClientCertVerifyClientCertIfGivenRequireAndVerifyClientCert" var _ClientAuthType_index = [...]uint8{0, 12, 29, 49, 72, 98} diff --git a/src/crypto/tls/delegated_credentials.go b/src/crypto/tls/delegated_credentials.go index 1fae172d2eb..3cb2fddea18 100644 --- a/src/crypto/tls/delegated_credentials.go +++ b/src/crypto/tls/delegated_credentials.go @@ -20,6 +20,7 @@ import ( "crypto/ecdsa" "crypto/ed25519" "crypto/elliptic" + "crypto/kem" "crypto/rand" "crypto/x509" "encoding/binary" @@ -126,7 +127,8 @@ func (cred *credential) marshalPublicKeyInfo() ([]byte, error) { case ECDSAWithP256AndSHA256, ECDSAWithP384AndSHA384, ECDSAWithP521AndSHA512, - Ed25519: + Ed25519, + KEMTLSWithSIKEp434, KEMTLSWithKyber512: rawPub, err := x509.MarshalPKIXPublicKey(cred.publicKey) if err != nil { return nil, err @@ -364,6 +366,16 @@ func NewDelegatedCredential(cert *Certificate, pubAlgo SignatureScheme, validTim if err != nil { return nil, nil, err } + case KEMTLSWithSIKEp434: + pubK, privK, err = kem.GenerateKey(rand.Reader, kem.SIKEp434) + if err != nil { + return nil, nil, err + } + case KEMTLSWithKyber512: + pubK, privK, err = kem.GenerateKey(rand.Reader, kem.Kyber512) + if err != nil { + return nil, nil, err + } default: return nil, nil, fmt.Errorf("tls: unsupported algorithm for Delegated Credential: %T", pubAlgo) } @@ -417,8 +429,10 @@ func (dc *DelegatedCredential) Validate(cert *x509.Certificate, isClient bool, n return false } - if dc.cred.expCertVerfAlgo != certVerifyMsg.signatureAlgorithm { - return false + if certVerifyMsg != nil { // could be nil in the kemtls case + if dc.cred.expCertVerfAlgo != certVerifyMsg.signatureAlgorithm { + return false + } } if !isValidForDelegation(cert) { diff --git a/src/crypto/tls/delegated_credentials_test.go b/src/crypto/tls/delegated_credentials_test.go index 3e898562122..c3602d1588f 100644 --- a/src/crypto/tls/delegated_credentials_test.go +++ b/src/crypto/tls/delegated_credentials_test.go @@ -133,9 +133,12 @@ var ( dcTestConfig *Config dcTestCerts map[string]*Certificate serverDC []DelegatedCredentialPair + serverKEMDC []DelegatedCredentialPair clientDC []DelegatedCredentialPair + clientKEMDC []DelegatedCredentialPair dcNow time.Time dcTestDCSignatureScheme = []SignatureScheme{ECDSAWithP256AndSHA256, Ed25519, ECDSAWithP384AndSHA384, ECDSAWithP521AndSHA512} + dcTestDCKEMScheme = []SignatureScheme{KEMTLSWithSIKEp434, KEMTLSWithKyber512} ) func init() { @@ -249,6 +252,20 @@ func initDCTest() { } clientDC = append(clientDC, DelegatedCredentialPair{dc, priv}) } + + for i := 0; i < len(dcTestDCKEMScheme); i++ { + dc, priv, err := NewDelegatedCredential(dcCertP256, dcTestDCKEMScheme[i], dcNow.Sub(dcCertP256.Leaf.NotBefore)+dcMaxTTL, false) + if err != nil { + panic(err) + } + serverKEMDC = append(serverKEMDC, DelegatedCredentialPair{dc, priv}) + + dc, priv, err = NewDelegatedCredential(dcCertP256, dcTestDCKEMScheme[i], dcNow.Sub(dcCertP256.Leaf.NotBefore)+dcMaxTTL, true) + if err != nil { + panic(err) + } + clientKEMDC = append(clientKEMDC, DelegatedCredentialPair{dc, priv}) + } } func publicKeysEqual(publicKey, publicKey2 crypto.PublicKey, algo SignatureScheme) error { @@ -439,7 +456,6 @@ var dcClientTests = []struct { {true, VersionTLS12, VersionTLS13, true, false, "client using TLS 1.2. No DC is supported in that version."}, {true, VersionTLS13, VersionTLS12, true, false, "server using TLS 1.2. No DC is supported in that version."}, {true, VersionTLS11, VersionTLS13, true, false, "client using TLS 1.1. No DC is supported in that version."}, - {true, VersionTLS13, VersionTLS10, false, false, "server using TLS 1.0. No DC is supported in that version."}, } // dcCount defines the delegated credential to be used as returned by the @@ -560,8 +576,8 @@ func TestDCHandshakeServerAuth(t *testing.T) { for i, test := range dcServerTests { clientConfig.SupportDelegatedCredential = test.clientDCSupport - initDCTest() for dcCount = 0; dcCount < len(dcTestDCSignatureScheme); dcCount++ { + initDCTest() serverConfig.GetCertificate = testServerGetCertificate clientConfig.MaxVersion = test.clientMaxVers serverConfig.MaxVersion = test.serverMaxVers @@ -595,8 +611,8 @@ func TestDCHandshakeClientAuth(t *testing.T) { for j, test := range dcClientTests { serverConfig.SupportDelegatedCredential = test.serverDCSupport - initDCTest() for dcCount = 0; dcCount < len(dcTestDCSignatureScheme); dcCount++ { + initDCTest() serverConfig.MaxVersion = test.serverMaxVers clientConfig.MaxVersion = test.clientMaxVers @@ -644,3 +660,167 @@ func TestDCHandshakeClientAndServerAuth(t *testing.T) { t.Errorf("test server and client auth does not succeed") } } + +var dcKEMServerTests = []struct { + clientDCSupport bool + clientMaxVers uint16 + serverMaxVers uint16 + expectSuccess bool + expectDC bool + name string +}{ + {true, VersionTLS13, VersionTLS13, true, true, "tls13: DC client support"}, +} + +var dcKEMClientTests = []struct { + serverDCSupport bool + clientMaxVers uint16 + serverMaxVers uint16 + expectSuccess bool + expectDC bool + name string +}{ + {true, VersionTLS13, VersionTLS13, true, true, "tls13: DC server support"}, +} + +// Checks that the client suppports a version >= 1.3 and accepts Delegated +// Credentials with KEMs. If so, it returns the delegation certificate; otherwise it +// returns a non-delegated certificate. +func testServerGetKEMCertificate(ch *ClientHelloInfo) (*Certificate, error) { + versOk := false + for _, vers := range ch.SupportedVersions { + versOk = versOk || (vers >= uint16(VersionTLS13)) + } + + if versOk && ch.SupportsDelegatedCredential { + serverCert := dcTestCerts["dcP256"] + serverCert.DelegatedCredentials = serverKEMDC[dcCount:] + return serverCert, nil + } + return dcTestCerts["no dc"], nil + +} + +// Checks that the client suppports a version >= 1.3 and accepts Delegated +// Credentials with KEMs. If so, it returns the delegation certificate; otherwise it +// returns a non-Delegated certificate. +func testClientGetKEMCertificate(cr *CertificateRequestInfo) (*Certificate, error) { + versOk := false + if cr.Version == VersionTLS13 { + versOk = true + } + + if versOk && cr.SupportsDelegatedCredential { + clientCert := dcTestCerts["dcP256"] + clientCert.DelegatedCredentials = clientKEMDC[dcCount:] + return clientCert, nil + } + return dcTestCerts["no dc"], nil + +} + +// Test the server authentication with the Delegated Credential extension using +// KEMs. +func TestDCKEMHandshakeServerAuth(t *testing.T) { + serverMsg := "hello, client" + clientMsg := "hello, server" + + clientConfig := dcTestConfig.Clone() + serverConfig := dcTestConfig.Clone() + clientConfig.CurvePreferences = []CurveID{SIKEp434, Kyber512} + serverConfig.CurvePreferences = []CurveID{SIKEp434, Kyber512} + clientConfig.InsecureSkipVerify = true + + for i, test := range dcKEMServerTests { + clientConfig.SupportDelegatedCredential = test.clientDCSupport + + for dcCount = 0; dcCount < len(dcTestDCKEMScheme); dcCount++ { + initDCTest() + serverConfig.GetCertificate = testServerGetKEMCertificate + clientConfig.MaxVersion = test.clientMaxVers + serverConfig.MaxVersion = test.serverMaxVers + + usedDC, err := testConnWithDC(t, clientMsg, serverMsg, clientConfig, serverConfig, "client") + + if err != nil && test.expectSuccess { + t.Errorf("test #%d (%s) with kem #%d fails: %s", i, test.name, dcCount, err.Error()) + } else if err == nil && !test.expectSuccess { + t.Errorf("test #%d (%s) with kem #%d succeeds; expected failure", i, test.name, dcCount) + } + + if usedDC != test.expectDC { + t.Errorf("test #%d (%s) with kem #%d usedDC = %v; expected %v", i, test.name, dcCount, usedDC, test.expectDC) + } + } + } +} + +// Test the client authentication with the Delegated Credential extension with +// KEMs. +func TestDCKEMHandshakeClientAuth(t *testing.T) { + clientMsg := "hello, server" + serverMsg := "hello, client" + + serverConfig := dcTestConfig.Clone() + serverConfig.ClientAuth = RequestClientKEMCert + serverConfig.GetCertificate = testServerGetKEMCertificate + clientConfig := dcTestConfig.Clone() + clientConfig.GetClientCertificate = testClientGetKEMCertificate + clientConfig.SupportDelegatedCredential = true // to force the sending of a KEM + clientConfig.CurvePreferences = []CurveID{SIKEp434, Kyber512} + serverConfig.CurvePreferences = []CurveID{SIKEp434, Kyber512} + + for j, test := range dcKEMClientTests { + serverConfig.SupportDelegatedCredential = test.serverDCSupport + + for dcCount = 0; dcCount < len(dcTestDCKEMScheme); dcCount++ { + initDCTest() + serverConfig.MaxVersion = test.serverMaxVers + clientConfig.MaxVersion = test.clientMaxVers + + usedDC, err := testConnWithDC(t, clientMsg, serverMsg, clientConfig, serverConfig, "server") + + if err != nil && test.expectSuccess { + t.Errorf("test #%d (%s) with kem algorithm #%d fails: %s", j, test.name, dcCount, err.Error()) + } else if err == nil && !test.expectSuccess { + t.Errorf("test #%d (%s) with kem algorithm #%d succeeds; expected failure", j, test.name, dcCount) + } + + if usedDC != test.expectDC { + t.Errorf("test #%d (%s) with kem algorithm #%d usedDC = %v; expected %v", j, test.name, dcCount, usedDC, test.expectDC) + } + } + } +} + +// Test server and client authentication with the Delegated Credential extension. +func TestDCKEMHandshakeClientAndServerAuth(t *testing.T) { + clientMsg := "hello, server" + serverMsg := "hello, client" + + serverConfig := dcTestConfig.Clone() + serverConfig.ClientAuth = RequestClientKEMCert + serverConfig.GetCertificate = testServerGetKEMCertificate + clientConfig := dcTestConfig.Clone() + clientConfig.GetClientCertificate = testClientGetKEMCertificate + clientConfig.CurvePreferences = []CurveID{Kyber512} + serverConfig.CurvePreferences = []CurveID{Kyber512} + + serverConfig.SupportDelegatedCredential = true + clientConfig.SupportDelegatedCredential = true + + serverConfig.MaxVersion = VersionTLS13 + clientConfig.MaxVersion = VersionTLS13 + + initDCTest() + + usedDC, err := testConnWithDC(t, clientMsg, serverMsg, clientConfig, serverConfig, "both") + + if err != nil { + t.Errorf("test server and client auth with kems fails: %s", err.Error()) + } + + if usedDC != true { + t.Errorf("test server and client auth with kems does not succeed") + } +} diff --git a/src/crypto/tls/handshake_client.go b/src/crypto/tls/handshake_client.go index 74d6b056fb4..ec9cae0e37e 100644 --- a/src/crypto/tls/handshake_client.go +++ b/src/crypto/tls/handshake_client.go @@ -9,6 +9,7 @@ import ( "crypto" "crypto/ecdsa" "crypto/ed25519" + "crypto/kem" "crypto/rsa" "crypto/subtle" "crypto/x509" @@ -34,7 +35,10 @@ type clientHandshakeState struct { session *ClientSessionState } -func (c *Conn) makeClientHello(minVersion uint16) (*clientHelloMsg, ecdheParameters, error) { +// defines the private part to the handshake keyshares +type clientKeySharePrivate interface{} + +func (c *Conn) makeClientHello(minVersion uint16) (*clientHelloMsg, []clientKeySharePrivate, error) { config := c.config if len(config.ServerName) == 0 && !config.InsecureSkipVerify { return nil, nil, errors.New("tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config") @@ -119,23 +123,50 @@ func (c *Conn) makeClientHello(minVersion uint16) (*clientHelloMsg, ecdheParamet } var params ecdheParameters + var haveECDHE, haveKEM bool + var keyShares []keyShare + var keySharePrivates []clientKeySharePrivate + if hello.supportedVersions[0] == VersionTLS13 { hello.cipherSuites = append(hello.cipherSuites, defaultCipherSuitesTLS13()...) - curveID := config.curvePreferences()[0] - if _, ok := curveForCurveID(curveID); curveID != X25519 && !ok { - return nil, nil, errors.New("tls: CurvePreferences includes unsupported curve") - } - params, err = generateECDHEParameters(config.rand(), curveID) - if err != nil { - return nil, nil, err + // loop over supported curves until there isa KEM and an ECDHE curve + for _, curveID := range config.curvePreferences() { + if _, ok := curveForCurveID(curveID); curveID != X25519 && !curveID.isKEM() && !ok { + return nil, nil, errors.New("tls: CurvePreferences includes unsupported curve") + } + + if !curveID.isKEM() && !haveECDHE { + params, err = generateECDHEParameters(config.rand(), curveID) + if err != nil { + return nil, nil, err + } + + keyShares = append(keyShares, keyShare{group: curveID, data: params.PublicKey()}) + keySharePrivates = append(keySharePrivates, params) + haveECDHE = true + } else if curveID.isKEM() && !haveKEM { + kemID := kem.ID(curveID) + pk, sk, err := kem.GenerateKey(config.rand(), kemID) + if err != nil { + return nil, nil, err + } + + keyShares = append(keyShares, keyShare{group: curveID, data: pk.PublicKey}) + keySharePrivates = append(keySharePrivates, sk) + haveKEM = true + } + + if haveECDHE && haveKEM { + break + } } - hello.keyShares = []keyShare{{group: curveID, data: params.PublicKey()}} + hello.keyShares = keyShares hello.delegatedCredentialSupported = config.SupportDelegatedCredential hello.supportedSignatureAlgorithmsDC = supportedSignatureAlgorithmsDC } - return hello, params, nil + return hello, keySharePrivates, nil } func (c *Conn) clientHandshake() (err error) { @@ -157,7 +188,7 @@ func (c *Conn) clientHandshake() (err error) { minVersion = VersionTLS13 } - helloBase, ecdheParams, err := c.makeClientHello(minVersion) + helloBase, keysharePrivates, err := c.makeClientHello(minVersion) if err != nil { return err } @@ -227,7 +258,7 @@ func (c *Conn) clientHandshake() (err error) { hello: hello, helloInner: helloInner, helloBase: helloBase, - ecdheParams: ecdheParams, + keyShare: keysharePrivates, session: session, earlySecret: earlySecret, binderKey: binderKey, @@ -885,7 +916,7 @@ func (c *Conn) verifyServerCertificate(certificates [][]byte) error { } switch certs[0].PublicKey.(type) { - case *rsa.PublicKey, *ecdsa.PublicKey, ed25519.PublicKey, circlSign.PublicKey: + case *rsa.PublicKey, *ecdsa.PublicKey, ed25519.PublicKey, circlSign.PublicKey, *kem.PublicKey: break default: c.sendAlert(alertUnsupportedCertificate) diff --git a/src/crypto/tls/handshake_client_kemtls.go b/src/crypto/tls/handshake_client_kemtls.go new file mode 100644 index 00000000000..e79886ee988 --- /dev/null +++ b/src/crypto/tls/handshake_client_kemtls.go @@ -0,0 +1,293 @@ +// Copyright 2020 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package tls + +import ( + "crypto/hmac" + "crypto/kem" + "errors" + "sync/atomic" +) + +func (hs *clientHandshakeStateTLS13) handshakeKEMTLS() error { + c := hs.c + + if err := hs.sendClientKEMCiphertext(); err != nil { + return err + } + + // Send the KEM client certificate if asked for + if err := hs.sendKEMClientCertificate(); err != nil { + return err + } + + if _, err := c.flush(); err != nil { + return err + } + + if err := hs.readServerKEMCiphertext(); err != nil { + return err + } + + if err := hs.sendKEMTLSClientFinished(); err != nil { + return err + } + + if _, err := c.flush(); err != nil { + return err + } + + if err := hs.processKEMTLSServerFinished(); err != nil { + return err + } + + atomic.StoreUint32(&c.handshakeStatus, 1) + + return nil +} + +func (hs *clientHandshakeStateTLS13) sendClientKEMCiphertext() error { + c := hs.c + var pk *kem.PublicKey + var ok bool + + if c.verifiedDC != nil && c.verifiedDC.cred.expCertVerfAlgo.isKEMTLS() { + pk, ok = c.verifiedDC.cred.publicKey.(*kem.PublicKey) + if !ok { + c.sendAlert(alertInternalError) + return errors.New("tls: invalid key") + } + } else { + pk, ok = c.peerCertificates[0].PublicKey.(*kem.PublicKey) + if !ok { + c.sendAlert(alertInternalError) + return errors.New("tls: invalid key") + } + } + + ss, ct, err := kem.Encapsulate(hs.c.config.Rand, pk) + if err != nil { + return err + } + + msg := clientKeyExchangeMsg{ + ciphertext: ct, + } + + _, err = c.writeRecord(recordTypeHandshake, msg.marshal()) + if err != nil { + return err + } + + _, err = hs.transcript.Write(msg.marshal()) + if err != nil { + return err + } + + // AHS <- HKDF.Extract(dHS, ss_s) + ahs := hs.suite.extract(ss, hs.suite.deriveSecret(hs.handshakeSecret, "derived", nil)) + + // CAHTS <- HKDF.Expand(AHS, "c ahs traffic", CH..CKC) + clientSecret := hs.suite.deriveSecret(ahs, + clientAuthenticatedHandshakeTrafficLabel, hs.transcript) + c.out.setTrafficSecret(hs.suite, clientSecret) + // SAHTS <- HKDF.Expand(AHS, "s ahs traffic", CH..CKC) + serverSecret := hs.suite.deriveSecret(ahs, + serverAuthenticatedHandshakeTrafficLabel, hs.transcript) + c.in.setTrafficSecret(hs.suite, serverSecret) + + // dAHS <- HKDF.Expand(AHS, "derived", nil) + hs.handshakeSecret = hs.suite.deriveSecret(ahs, "derived", nil) + + err = c.config.writeKeyLog(keyLogLabelClientAuthenticatedHandshake, hs.hello.random, clientSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + + err = c.config.writeKeyLog(keyLogLabelServerAuthenticatedHandshake, hs.hello.random, serverSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + + return nil +} + +func (hs *clientHandshakeStateTLS13) sendKEMClientCertificate() error { + c := hs.c + + if hs.certReq == nil { + return nil + } + + cri := certificateRequestInfo(hs.certReq, c.vers) + + cert, err := c.getClientCertificate(cri) + if err != nil { + return err + } + + if hs.certReq.supportDelegatedCredential && len(hs.certReq.supportedSignatureAlgorithmsDC) > 0 { + var dcPair *DelegatedCredentialPair + if delegatedCredentialPair, err := getClientDelegatedCredential(cri, cert); err == nil { + if delegatedCredentialPair.DC != nil && delegatedCredentialPair.PrivateKey != nil { + var err error + // Even if the Delegated Credential has already been marshalled, be sure it is the correct one. + if delegatedCredentialPair.DC.raw, err = delegatedCredentialPair.DC.marshal(); err == nil { + dcPair = delegatedCredentialPair + cert.DelegatedCredential = dcPair.DC.raw + cert.PrivateKey = dcPair.PrivateKey + } + } + } + } + + _, ok := cert.PrivateKey.(*kem.PrivateKey) + if !ok { + // it has to be a KEM key + c.sendAlert(alertInternalError) + return nil + } + + certMsg := new(certificateMsgTLS13) + + certMsg.certificate = *cert + hs.cert = cert + certMsg.scts = hs.certReq.scts && len(cert.SignedCertificateTimestamps) > 0 + certMsg.ocspStapling = hs.certReq.ocspStapling && len(cert.OCSPStaple) > 0 + certMsg.delegatedCredential = hs.certReq.supportDelegatedCredential && len(cert.DelegatedCredential) > 0 + + hs.transcript.Write(certMsg.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, certMsg.marshal()); err != nil { + return err + } + + hs.handshakeTimings.WriteCertificate = hs.handshakeTimings.elapsedTime() + + // If we sent an empty certificate message, skip the CertificateVerify. + if len(cert.Certificate) == 0 { + return nil + } + + return nil +} + +func (hs *clientHandshakeStateTLS13) readServerKEMCiphertext() error { + c := hs.c + + if hs.certReq == nil { + return nil + } + + sk, ok := hs.cert.PrivateKey.(*kem.PrivateKey) + if !ok { + c.sendAlert(alertInternalError) + return errors.New("crypto/tls: private key unexpectedly wrong type") + } + + msg, err := c.readHandshake() + if err != nil { + return err + } + + kexMsg, ok := msg.(*serverKeyExchangeMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(kexMsg, msg) + } + hs.transcript.Write(kexMsg.marshal()) + + ss, err := kem.Decapsulate(sk, kexMsg.key) + if err != nil { + return err + } + + // compute MS + // MS <- HKDF.Extract(dAHS, ssC) + hs.masterSecret = hs.suite.extract(ss, hs.handshakeSecret) + hs.isClientAuthKEMTLS = true + + return nil +} + +func (hs *clientHandshakeStateTLS13) sendKEMTLSClientFinished() error { + c := hs.c + + if !hs.isClientAuthKEMTLS { + hs.masterSecret = hs.suite.extract(nil, hs.handshakeSecret) + } + // fk_c <- HKDF.Expand(MS, "c finished", nil) + // CF <- HMAC(fk_c, CH..CKC) + finished := &finishedMsg{ + verifyData: hs.suite.finishedHashKEMTLS(hs.masterSecret, "c", hs.transcript), + } + + if _, err := hs.transcript.Write(finished.marshal()); err != nil { + return err + } + if _, err := c.writeRecord(recordTypeHandshake, finished.marshal()); err != nil { + return err + } + + // CATS <- HKDF.Expand(MS, "c ap traffic", CH..CF) + hs.trafficSecret = hs.suite.deriveSecret(hs.masterSecret, + clientApplicationTrafficLabel, hs.transcript) + + c.out.setTrafficSecret(hs.suite, hs.trafficSecret) + + err := c.config.writeKeyLog(keyLogLabelClientTraffic, hs.hello.random, hs.trafficSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + + return nil +} + +func (hs *clientHandshakeStateTLS13) processKEMTLSServerFinished() error { + c := hs.c + msg, err := c.readHandshake() + if err != nil { + return err + } + + finished, ok := msg.(*finishedMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(finished, msg) + } + + // HMAC(fk_s , CH..CF) + expectedMAC := hs.suite.finishedHashKEMTLS(hs.masterSecret, "s", hs.transcript) + if !hmac.Equal(expectedMAC, finished.verifyData) { + c.sendAlert(alertDecryptError) + return errors.New("tls: invalid server finished hash") + } + + if _, err := hs.transcript.Write(finished.marshal()); err != nil { + return err + } + + // SATS <- HKDF.Expand(MS, "s ap traffic", CH..SF) + serverSecret := hs.suite.deriveSecret(hs.masterSecret, + serverApplicationTrafficLabel, hs.transcript) + c.in.setTrafficSecret(hs.suite, serverSecret) + + err = c.config.writeKeyLog(keyLogLabelServerTraffic, hs.hello.random, serverSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + + if !c.config.SessionTicketsDisabled && c.config.ClientSessionCache != nil { + c.resumptionSecret = hs.suite.deriveSecret(hs.masterSecret, + resumptionLabel, hs.transcript) + } + + c.ekm = hs.suite.exportKeyingMaterial(hs.masterSecret, hs.transcript) + + return nil +} diff --git a/src/crypto/tls/handshake_client_tls13.go b/src/crypto/tls/handshake_client_tls13.go index 123990a304f..41e1ad6401a 100644 --- a/src/crypto/tls/handshake_client_tls13.go +++ b/src/crypto/tls/handshake_client_tls13.go @@ -8,7 +8,9 @@ import ( "bytes" "crypto" "crypto/hmac" + "crypto/kem" "crypto/rsa" + "crypto/x509" "errors" "fmt" "hash" @@ -22,20 +24,24 @@ type clientHandshakeStateTLS13 struct { hello *clientHelloMsg helloInner *clientHelloMsg helloBase *clientHelloMsg - ecdheParams ecdheParameters + keyShare []clientKeySharePrivate session *ClientSessionState earlySecret []byte binderKey []byte - certReq *certificateRequestMsgTLS13 - usingPSK bool - sentDummyCCS bool - suite *cipherSuiteTLS13 - transcript hash.Hash - transcriptInner hash.Hash - masterSecret []byte - trafficSecret []byte // client_application_traffic_secret_0 + certReq *certificateRequestMsgTLS13 + usingPSK bool + sentDummyCCS bool + isKEMTLS bool + isClientAuthKEMTLS bool + suite *cipherSuiteTLS13 + transcript hash.Hash + transcriptInner hash.Hash + handshakeSecret []byte + masterSecret []byte + trafficSecret []byte // client_application_traffic_secret_0 + cert *Certificate // only for KEMTLS handshakeTimings CFEventTLS13ClientHandshakeTimingInfo } @@ -92,7 +98,7 @@ func (hs *clientHandshakeStateTLS13) handshake() error { } // Consistency check on the presence of a keyShare and its parameters. - if hs.ecdheParams == nil || len(hs.hello.keyShares) != 1 { + if hs.keyShare == nil || len(hs.hello.keyShares) != len(hs.keyShare) { return c.sendAlert(alertInternalError) } @@ -136,6 +142,9 @@ func (hs *clientHandshakeStateTLS13) handshake() error { if err := hs.readServerCertificate(); err != nil { return err } + if hs.isKEMTLS { + return hs.handshakeKEMTLS() + } if err := hs.readServerFinished(); err != nil { return err } @@ -280,21 +289,43 @@ func (hs *clientHandshakeStateTLS13) processHelloRetryRequest() error { c.sendAlert(alertIllegalParameter) return errors.New("tls: server selected unsupported group") } - if hs.ecdheParams.CurveID() == curveID { - c.sendAlert(alertIllegalParameter) - return errors.New("tls: server sent an unnecessary HelloRetryRequest key_share") - } - if _, ok := curveForCurveID(curveID); curveID != X25519 && !ok { - c.sendAlert(alertInternalError) - return errors.New("tls: CurvePreferences includes unsupported curve") + + for _, keyShare := range hs.keyShare { + if ecdheParams, ok := keyShare.(ecdheParameters); ok { + if ecdheParams.CurveID() == curveID { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server sent an unnecessary HelloRetryRequest key_share") + } + } else if kemShare, ok := keyShare.(*kem.PrivateKey); ok { + if CurveID(kemShare.KEMId) == curveID { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: server sent an unnecessary HelloRetryRequest key_share") + } + } } - params, err := generateECDHEParameters(c.config.rand(), curveID) - if err != nil { - c.sendAlert(alertInternalError) - return err + + if curveID.isKEM() { + kemID := kem.ID(curveID) + pk, sk, err := kem.GenerateKey(c.config.rand(), kemID) + if err != nil { + c.sendAlert(alertInternalError) + return errors.New("tls: CurvePreferences includes unsupported curve") + } + hs.keyShare = []clientKeySharePrivate{sk} + hs.helloBase.keyShares = []keyShare{{group: CurveID(pk.KEMId), data: pk.PublicKey}} + } else { + if _, ok := curveForCurveID(curveID); curveID != X25519 && !ok { + c.sendAlert(alertInternalError) + return errors.New("tls: CurvePreferences includes unsupported curve") + } + params, err := generateECDHEParameters(c.config.rand(), curveID) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + hs.keyShare = []clientKeySharePrivate{params} + hs.helloBase.keyShares = []keyShare{{group: curveID, data: params.PublicKey()}} } - hs.ecdheParams = params - hs.helloBase.keyShares = []keyShare{{group: curveID, data: params.PublicKey()}} } hs.helloBase.raw = nil @@ -395,7 +426,23 @@ func (hs *clientHandshakeStateTLS13) processServerHello() error { c.sendAlert(alertIllegalParameter) return errors.New("tls: server did not send a key share") } - if hs.serverHello.serverShare.group != hs.ecdheParams.CurveID() { + + var found bool + for _, keyShare := range hs.keyShare { + if ecdheParams, ok := keyShare.(ecdheParameters); ok { + if hs.serverHello.serverShare.group == ecdheParams.CurveID() { + found = true + } + } else { + kemShare := keyShare.(*kem.PrivateKey) + if CurveID(kemShare.KEMId) == hs.serverHello.serverShare.group { + found = true + } + } + } + + if !found { + c.sendAlert(alertIllegalParameter) return errors.New("tls: server selected unsupported group") } @@ -433,17 +480,25 @@ func (hs *clientHandshakeStateTLS13) processServerHello() error { func (hs *clientHandshakeStateTLS13) establishHandshakeKeys() error { c := hs.c - sharedKey := hs.ecdheParams.SharedKey(hs.serverHello.serverShare.data) - if sharedKey == nil { - c.sendAlert(alertIllegalParameter) - return errors.New("tls: invalid server key share") + var sharedKey []byte + for _, keyShare := range hs.keyShare { + if params, ok := keyShare.(ecdheParameters); ok && params.CurveID() == hs.serverHello.serverShare.group { + sharedKey = params.SharedKey(hs.serverHello.serverShare.data) + } else if kemPrivate, ok := keyShare.(*kem.PrivateKey); ok && kemPrivate.KEMId == kem.ID(hs.serverHello.serverShare.group) { + var err error + sharedKey, err = kem.Decapsulate(kemPrivate, hs.serverHello.serverShare.data) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + } } earlySecret := hs.earlySecret if !hs.usingPSK { earlySecret = hs.suite.extract(nil, nil) } - handshakeSecret := hs.suite.extract(sharedKey, + hs.handshakeSecret = hs.suite.extract(sharedKey, hs.suite.deriveSecret(earlySecret, "derived", nil)) // If ECH was offered, then determine if it was accepted. @@ -459,7 +514,7 @@ func (hs *clientHandshakeStateTLS13) establishHandshakeKeys() error { return errors.New("tls: internal error: failed to encode ServerHelloConf") } confTranscript.Write(serverHelloConf) - conf := hs.suite.deriveSecret(handshakeSecret, + conf := hs.suite.deriveSecret(hs.handshakeSecret, echAcceptConfirmationLabel, confTranscript) if bytes.Equal(hs.serverHello.random[24:], conf[:8]) { c.ech.accepted = true @@ -477,10 +532,10 @@ func (hs *clientHandshakeStateTLS13) establishHandshakeKeys() error { // to resolve ALPN here as well. c.serverName = hs.hello.serverName - clientSecret := hs.suite.deriveSecret(handshakeSecret, + clientSecret := hs.suite.deriveSecret(hs.handshakeSecret, clientHandshakeTrafficLabel, hs.transcript) c.out.setTrafficSecret(hs.suite, clientSecret) - serverSecret := hs.suite.deriveSecret(handshakeSecret, + serverSecret := hs.suite.deriveSecret(hs.handshakeSecret, serverHandshakeTrafficLabel, hs.transcript) c.in.setTrafficSecret(hs.suite, serverSecret) @@ -495,9 +550,6 @@ func (hs *clientHandshakeStateTLS13) establishHandshakeKeys() error { return err } - hs.masterSecret = hs.suite.extract(nil, - hs.suite.deriveSecret(handshakeSecret, "derived", nil)) - return nil } @@ -544,6 +596,29 @@ func (hs *clientHandshakeStateTLS13) readServerParameters() error { return nil } +// TODO: maybe change +func isKEMTLSUsed(peerCertificate *x509.Certificate, cert Certificate) bool { + if cert.DelegatedCredential != nil { + dCred, err := unmarshalDelegatedCredential(cert.DelegatedCredential) + if err != nil { + return false + } + + if dCred.cred.expCertVerfAlgo.isKEMTLS() { + return true + } + } + + kemPriv, ok := peerCertificate.PublicKey.(*kem.PublicKey) + if ok { + if kemPriv.KEMId == kem.SIKEp434 || kemPriv.KEMId == kem.Kyber512 { + return true + } + } + + return false +} + func (hs *clientHandshakeStateTLS13) readServerCertificate() error { c := hs.c @@ -599,52 +674,61 @@ func (hs *clientHandshakeStateTLS13) readServerCertificate() error { return err } - msg, err = c.readHandshake() - if err != nil { - return err - } + if isKEMTLSUsed(c.peerCertificates[0], certMsg.certificate) { + if certMsg.delegatedCredential { + if err := hs.processDelegatedCredentialFromServer(certMsg.certificate.DelegatedCredential, nil); err != nil { + return err + } + } + hs.isKEMTLS = true + } else { + msg, err = c.readHandshake() + if err != nil { + return err + } - certVerify, ok := msg.(*certificateVerifyMsg) - if !ok { - c.sendAlert(alertUnexpectedMessage) - return unexpectedMessageError(certVerify, msg) - } + certVerify, ok := msg.(*certificateVerifyMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(certVerify, msg) + } - // See RFC 8446, Section 4.4.3. - if !isSupportedSignatureAlgorithm(certVerify.signatureAlgorithm, supportedSignatureAlgorithms) { - c.sendAlert(alertIllegalParameter) - return errors.New("tls: certificate used with invalid signature algorithm") - } + // See RFC 8446, Section 4.4.3. + if !isSupportedSignatureAlgorithm(certVerify.signatureAlgorithm, supportedSignatureAlgorithms) { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: certificate used with invalid signature algorithm") + } - sigType, sigHash, err := typeAndHashFromSignatureScheme(certVerify.signatureAlgorithm) - if err != nil { - return c.sendAlert(alertInternalError) - } - if sigType == signaturePKCS1v15 || sigHash == crypto.SHA1 { - c.sendAlert(alertIllegalParameter) - return errors.New("tls: certificate used with invalid signature algorithm") - } - if certMsg.delegatedCredential { - if err := hs.processDelegatedCredentialFromServer(certMsg.certificate.DelegatedCredential, certVerify); err != nil { - return err // alert sent + sigType, sigHash, err := typeAndHashFromSignatureScheme(certVerify.signatureAlgorithm) + if err != nil { + return c.sendAlert(alertInternalError) + } + if sigType == signaturePKCS1v15 || sigHash == crypto.SHA1 { + c.sendAlert(alertIllegalParameter) + return errors.New("tls: certificate used with invalid signature algorithm") + } + if certMsg.delegatedCredential { + if err := hs.processDelegatedCredentialFromServer(certMsg.certificate.DelegatedCredential, certVerify); err != nil { + return err // alert sent + } } - } - pk := c.peerCertificates[0].PublicKey - if c.verifiedDC != nil { - pk = c.verifiedDC.cred.publicKey - } + pk := c.peerCertificates[0].PublicKey + if c.verifiedDC != nil { + pk = c.verifiedDC.cred.publicKey + } - signed := signedMessage(sigHash, serverSignatureContext, hs.transcript) - if err := verifyHandshakeSignature(sigType, pk, - sigHash, signed, certVerify.signature); err != nil { - c.sendAlert(alertDecryptError) - return errors.New("tls: invalid signature by the server certificate: " + err.Error()) - } + signed := signedMessage(sigHash, serverSignatureContext, hs.transcript) + if err := verifyHandshakeSignature(sigType, pk, + sigHash, signed, certVerify.signature); err != nil { + c.sendAlert(alertDecryptError) + return errors.New("tls: invalid signature by the server certificate: " + err.Error()) + } - hs.transcript.Write(certVerify.marshal()) + hs.transcript.Write(certVerify.marshal()) - hs.handshakeTimings.ReadCertificateVerify = hs.handshakeTimings.elapsedTime() + hs.handshakeTimings.ReadCertificateVerify = hs.handshakeTimings.elapsedTime() + } return nil } @@ -652,6 +736,10 @@ func (hs *clientHandshakeStateTLS13) readServerCertificate() error { func (hs *clientHandshakeStateTLS13) readServerFinished() error { c := hs.c + if hs.isKEMTLS == true { + return nil + } + msg, err := c.readHandshake() if err != nil { return err @@ -675,6 +763,8 @@ func (hs *clientHandshakeStateTLS13) readServerFinished() error { // Derive secrets that take context through the server Finished. + hs.masterSecret = hs.suite.extract(nil, + hs.suite.deriveSecret(hs.handshakeSecret, "derived", nil)) hs.trafficSecret = hs.suite.deriveSecret(hs.masterSecret, clientApplicationTrafficLabel, hs.transcript) serverSecret := hs.suite.deriveSecret(hs.masterSecret, @@ -742,7 +832,7 @@ func getClientDelegatedCredential(cri *CertificateRequestInfo, cert *Certificate func (hs *clientHandshakeStateTLS13) sendClientCertificate() error { c := hs.c - if hs.certReq == nil { + if hs.certReq == nil || hs.isKEMTLS == true { return nil } @@ -843,6 +933,10 @@ func (hs *clientHandshakeStateTLS13) sendClientCertificate() error { func (hs *clientHandshakeStateTLS13) sendClientFinished() error { c := hs.c + if hs.isKEMTLS == true { + return nil + } + finished := &finishedMsg{ verifyData: hs.suite.finishedHash(c.out.trafficSecret, hs.transcript), } diff --git a/src/crypto/tls/handshake_server.go b/src/crypto/tls/handshake_server.go index 14c5ded23c4..5e7e90384cb 100644 --- a/src/crypto/tls/handshake_server.go +++ b/src/crypto/tls/handshake_server.go @@ -10,6 +10,7 @@ import ( "crypto" "crypto/ecdsa" "crypto/ed25519" + "crypto/kem" "crypto/rsa" "crypto/subtle" "crypto/x509" @@ -823,7 +824,7 @@ func (c *Conn) processCertsFromClient(certificate Certificate) error { if len(certs) > 0 { switch certs[0].PublicKey.(type) { - case *ecdsa.PublicKey, *rsa.PublicKey, ed25519.PublicKey, circlSign.PublicKey: + case *ecdsa.PublicKey, *rsa.PublicKey, ed25519.PublicKey, circlSign.PublicKey, *kem.PublicKey: default: c.sendAlert(alertUnsupportedCertificate) return fmt.Errorf("tls: client certificate contains an unsupported public key of type %T", certs[0].PublicKey) diff --git a/src/crypto/tls/handshake_server_kemtls.go b/src/crypto/tls/handshake_server_kemtls.go new file mode 100644 index 00000000000..69fb1369127 --- /dev/null +++ b/src/crypto/tls/handshake_server_kemtls.go @@ -0,0 +1,283 @@ +package tls + +import ( + "crypto/hmac" + "crypto/kem" + "errors" + "sync/atomic" +) + +func (hs *serverHandshakeStateTLS13) handshakeKEMTLS() error { + c := hs.c + + if err := hs.readClientKEMCiphertext(); err != nil { + return err + } + if err := hs.readClientKEMCertificate(); err != nil { + return err + } + if err := hs.sendServerKEMCiphertext(); err != nil { + return err + } + if _, err := c.flush(); err != nil { + return err + } + if err := hs.readKEMTLSClientFinished(); err != nil { + return err + } + + if err := hs.writeKEMTLSServerFinished(); err != nil { + return err + } + if _, err := c.flush(); err != nil { + return err + } + + atomic.StoreUint32(&c.handshakeStatus, 1) + + return nil +} + +func (hs *serverHandshakeStateTLS13) readClientKEMCiphertext() error { + c := hs.c + + sk, ok := hs.cert.PrivateKey.(*kem.PrivateKey) + if !ok { + c.sendAlert(alertInternalError) + return errors.New("crypto/tls: private key unexpectedly of wrong type") + } + + msg, err := c.readHandshake() + if err != nil { + return err + } + + kexMsg, ok := msg.(*clientKeyExchangeMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(kexMsg, msg) + } + + hs.transcript.Write(kexMsg.marshal()) + + ss, err := kem.Decapsulate(sk, kexMsg.ciphertext) + if err != nil { + return err + } + + // derive AHS + // AHS <- HKDF.Extract(dHS, ss_s) + ahs := hs.suite.extract(ss, hs.suite.deriveSecret(hs.handshakeSecret, "derived", nil)) + // CAHTS <- HKDF.Expand(AHS, "c ahs traffic", CH..CKC) + clientSecret := hs.suite.deriveSecret(ahs, + clientAuthenticatedHandshakeTrafficLabel, hs.transcript) + c.in.setTrafficSecret(hs.suite, clientSecret) + // SAHTS <- HKDF.Expand(AHS, "s ahs traffic", CH..CKC) + serverSecret := hs.suite.deriveSecret(ahs, + serverAuthenticatedHandshakeTrafficLabel, hs.transcript) + c.out.setTrafficSecret(hs.suite, serverSecret) + + // dAHS <- HKDF.Expand(AHS, "derived", nil) + hs.handshakeSecret = hs.suite.deriveSecret(ahs, "derived", nil) + + return nil +} + +func (hs *serverHandshakeStateTLS13) requestClientKEMCert() bool { + return hs.c.config.ClientAuth >= RequestClientKEMCert && !hs.usingPSK +} + +func (hs *serverHandshakeStateTLS13) readClientKEMCertificate() error { + c := hs.c + + if !hs.requestClientKEMCert() { + // Make sure the connection is still being verified whether or not + // the server requested a client certificate. + if c.config.VerifyConnection != nil { + if err := c.config.VerifyConnection(c.connectionStateLocked()); err != nil { + c.sendAlert(alertBadCertificate) + return err + } + } + return nil + } + + // If we requested a client kem certificate, then the client must send a + // kem certificate message. + msg, err := c.readHandshake() + if err != nil { + return err + } + + certMsg, ok := msg.(*certificateMsgTLS13) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(certMsg, msg) + } + hs.transcript.Write(certMsg.marshal()) + + if err := c.processCertsFromClient(certMsg.certificate); err != nil { + return err + } + + if c.config.VerifyConnection != nil { + if err := c.config.VerifyConnection(c.connectionStateLocked()); err != nil { + c.sendAlert(alertBadCertificate) + return err + } + } + + hs.handshakeTimings.ReadCertificate = hs.handshakeTimings.elapsedTime() + + if len(certMsg.certificate.Certificate) != 0 { + if certMsg.delegatedCredential { + if err := hs.processDelegatedCredentialFromClient(certMsg.certificate.DelegatedCredential, nil); err != nil { + return err + } + } + + pk := c.peerCertificates[0].PublicKey + if c.verifiedDC != nil { + pk = c.verifiedDC.cred.publicKey + } + + _, ok = pk.(*kem.PublicKey) + if !ok { + // it has to be a KEM key + c.sendAlert(alertInternalError) + return nil + } + } + + return nil +} + +func (hs *serverHandshakeStateTLS13) sendServerKEMCiphertext() error { + c := hs.c + + if !hs.requestClientKEMCert() { + return nil + } + + var pk *kem.PublicKey + var ok bool + + if c.verifiedDC != nil && c.verifiedDC.cred.expCertVerfAlgo.isKEMTLS() { + pk, ok = c.verifiedDC.cred.publicKey.(*kem.PublicKey) + if !ok { + c.sendAlert(alertInternalError) + return errors.New("tls: invalid key") + } + } else { + pk, ok = c.peerCertificates[0].PublicKey.(*kem.PublicKey) + if !ok { + c.sendAlert(alertInternalError) + return errors.New("tls: invalid key") + } + } + + ss, ct, err := kem.Encapsulate(hs.c.config.Rand, pk) + if err != nil { + return err + } + + msg := serverKeyExchangeMsg{ + raw: nil, + key: ct, + } + + _, err = c.writeRecord(recordTypeHandshake, msg.marshal()) + if err != nil { + return err + } + _, err = hs.transcript.Write(msg.marshal()) + if err != nil { + return err + } + + // MS <- HKDF.Extract(dAHS, ssC) + hs.masterSecret = hs.suite.extract(ss, hs.handshakeSecret) + hs.isClientAuthKEMTLS = true + + return nil +} + +func (hs *serverHandshakeStateTLS13) readKEMTLSClientFinished() error { + c := hs.c + + msg, err := c.readHandshake() + if err != nil { + return err + } + + finished, ok := msg.(*finishedMsg) + if !ok { + c.sendAlert(alertUnexpectedMessage) + return unexpectedMessageError(finished, msg) + } + + if !hs.isClientAuthKEMTLS { + // compute MS + // MS <- HKDF.Extract(dAHS, 0) + hs.masterSecret = hs.suite.extract(nil, hs.handshakeSecret) + } + + // fk_s <- HKDF.Expand(MS, "s finished", nil) + expectedMAC := hs.suite.finishedHashKEMTLS(hs.masterSecret, "c", hs.transcript) + if !hmac.Equal(expectedMAC, finished.verifyData) { + c.sendAlert(alertDecryptError) + return errors.New("tls: invalid server finished hash") + } + + if _, err := hs.transcript.Write(finished.marshal()); err != nil { + return err + } + + // CATS <- HKDF.Expand(MS, "c ap traffic", CH..CF) + clientSecret := hs.suite.deriveSecret(hs.masterSecret, clientApplicationTrafficLabel, hs.transcript) + c.in.setTrafficSecret(hs.suite, clientSecret) + + err = c.config.writeKeyLog(keyLogLabelClientTraffic, hs.hello.random, clientSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + + return nil +} + +func (hs *serverHandshakeStateTLS13) writeKEMTLSServerFinished() error { + c := hs.c + + finished := &finishedMsg{ + verifyData: hs.suite.finishedHashKEMTLS(hs.masterSecret, "s", hs.transcript), + } + + if _, err := hs.transcript.Write(finished.marshal()); err != nil { + return err + } + if _, err := c.writeRecord(recordTypeHandshake, finished.marshal()); err != nil { + return err + } + + // TS <- HKDF.Expand(MS, "s ap traffic", CH..SF) + hs.trafficSecret = hs.suite.deriveSecret(hs.masterSecret, + serverApplicationTrafficLabel, hs.transcript) + + c.out.setTrafficSecret(hs.suite, hs.trafficSecret) + + err := c.config.writeKeyLog(keyLogLabelServerTraffic, hs.hello.random, hs.trafficSecret) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + + if !c.config.SessionTicketsDisabled && c.config.ClientSessionCache != nil { + c.resumptionSecret = hs.suite.deriveSecret(hs.masterSecret, + resumptionLabel, hs.transcript) + } + + c.ekm = hs.suite.exportKeyingMaterial(hs.masterSecret, hs.transcript) + + return nil +} diff --git a/src/crypto/tls/handshake_server_tls13.go b/src/crypto/tls/handshake_server_tls13.go index 34d928ffbfc..3823fae90be 100644 --- a/src/crypto/tls/handshake_server_tls13.go +++ b/src/crypto/tls/handshake_server_tls13.go @@ -8,6 +8,7 @@ import ( "bytes" "crypto" "crypto/hmac" + "crypto/kem" "crypto/rsa" "errors" "fmt" @@ -23,22 +24,24 @@ import ( const maxClientPSKIdentities = 5 type serverHandshakeStateTLS13 struct { - c *Conn - clientHello *clientHelloMsg - hello *serverHelloMsg - sentDummyCCS bool - usingPSK bool - suite *cipherSuiteTLS13 - cert *Certificate - sigAlg SignatureScheme - earlySecret []byte - sharedKey []byte - handshakeSecret []byte - masterSecret []byte - trafficSecret []byte // client_application_traffic_secret_0 - transcript hash.Hash - clientFinished []byte - certReq *certificateRequestMsgTLS13 + c *Conn + clientHello *clientHelloMsg + hello *serverHelloMsg + sentDummyCCS bool + usingPSK bool + isKEMTLS bool + isClientAuthKEMTLS bool + suite *cipherSuiteTLS13 + cert *Certificate + sigAlg SignatureScheme + earlySecret []byte + sharedKey []byte + handshakeSecret []byte + masterSecret []byte + trafficSecret []byte // client_application_traffic_secret_0 + transcript hash.Hash + clientFinished []byte + certReq *certificateRequestMsgTLS13 handshakeTimings CFEventTLS13ServerHandshakeTimingInfo } @@ -102,6 +105,14 @@ func (hs *serverHandshakeStateTLS13) handshake() error { if err := hs.sendServerCertificate(); err != nil { return err } + if hs.isKEMTLS { + // send application data for KEMTLS + if _, err := c.flush(); err != nil { + return err + } + + return hs.handshakeKEMTLS() + } if err := hs.sendServerFinished(); err != nil { return err } @@ -297,17 +308,28 @@ GroupSelection: clientKeyShare = &hs.clientHello.keyShares[0] } - if _, ok := curveForCurveID(selectedGroup); selectedGroup != X25519 && !ok { - c.sendAlert(alertInternalError) - return errors.New("tls: CurvePreferences includes unsupported curve") - } - params, err := generateECDHEParameters(c.config.rand(), selectedGroup) - if err != nil { - c.sendAlert(alertInternalError) - return err + if selectedGroup.isKEM() { + sharedKey, ciphertext, err := kem.Encapsulate(c.config.rand(), &kem.PublicKey{KEMId: kem.ID(selectedGroup), PublicKey: clientKeyShare.data}) + if err != nil { + c.sendAlert(alertInternalError) + return errors.New("tls: CurvePreferences includes unsupported curve") + } + hs.hello.serverShare = keyShare{group: selectedGroup, data: ciphertext} + hs.sharedKey = sharedKey + } else { + if _, ok := curveForCurveID(selectedGroup); selectedGroup != X25519 && !ok { + c.sendAlert(alertInternalError) + return errors.New("tls: CurvePreferences includes unsupported curve") + } + params, err := generateECDHEParameters(c.config.rand(), selectedGroup) + if err != nil { + c.sendAlert(alertInternalError) + return err + } + hs.hello.serverShare = keyShare{group: selectedGroup, data: params.PublicKey()} + hs.sharedKey = params.SharedKey(clientKeyShare.data) } - hs.hello.serverShare = keyShare{group: selectedGroup, data: params.PublicKey()} - hs.sharedKey = params.SharedKey(clientKeyShare.data) + if hs.sharedKey == nil { c.sendAlert(alertIllegalParameter) return errors.New("tls: invalid client key share") @@ -533,6 +555,8 @@ func (hs *serverHandshakeStateTLS13) pickCertificate() error { hs.cert.PrivateKey = delegatedCredentialPair.PrivateKey hs.cert.DelegatedCredential = delegatedCredentialPair.DC.raw + hs.isKEMTLS = delegatedCredentialPair.DC.cred.expCertVerfAlgo.isKEMTLS() + } } return nil @@ -771,7 +795,7 @@ func (hs *serverHandshakeStateTLS13) sendServerCertificate() error { return nil } - if hs.requestClientCert() { + if hs.requestClientCert() || hs.requestClientKEMCert() { // Request a client certificate certReq := new(certificateRequestMsgTLS13) certReq.ocspStapling = true @@ -804,39 +828,41 @@ func (hs *serverHandshakeStateTLS13) sendServerCertificate() error { hs.handshakeTimings.WriteCertificate = hs.handshakeTimings.elapsedTime() - certVerifyMsg := new(certificateVerifyMsg) - certVerifyMsg.hasSignatureAlgorithm = true - certVerifyMsg.signatureAlgorithm = hs.sigAlg + if !hs.isKEMTLS { + certVerifyMsg := new(certificateVerifyMsg) + certVerifyMsg.hasSignatureAlgorithm = true + certVerifyMsg.signatureAlgorithm = hs.sigAlg - sigType, sigHash, err := typeAndHashFromSignatureScheme(certVerifyMsg.signatureAlgorithm) - if err != nil { - return c.sendAlert(alertInternalError) - } + sigType, sigHash, err := typeAndHashFromSignatureScheme(certVerifyMsg.signatureAlgorithm) + if err != nil { + return c.sendAlert(alertInternalError) + } - signed := signedMessage(sigHash, serverSignatureContext, hs.transcript) - signOpts := crypto.SignerOpts(sigHash) - if sigType == signatureRSAPSS { - signOpts = &rsa.PSSOptions{SaltLength: rsa.PSSSaltLengthEqualsHash, Hash: sigHash} - } - sig, err := hs.cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts) - if err != nil { - public := hs.cert.PrivateKey.(crypto.Signer).Public() - if rsaKey, ok := public.(*rsa.PublicKey); ok && sigType == signatureRSAPSS && - rsaKey.N.BitLen()/8 < sigHash.Size()*2+2 { // key too small for RSA-PSS - c.sendAlert(alertHandshakeFailure) - } else { - c.sendAlert(alertInternalError) + signed := signedMessage(sigHash, serverSignatureContext, hs.transcript) + signOpts := crypto.SignerOpts(sigHash) + if sigType == signatureRSAPSS { + signOpts = &rsa.PSSOptions{SaltLength: rsa.PSSSaltLengthEqualsHash, Hash: sigHash} } - return errors.New("tls: failed to sign handshake: " + err.Error()) - } - certVerifyMsg.signature = sig + sig, err := hs.cert.PrivateKey.(crypto.Signer).Sign(c.config.rand(), signed, signOpts) + if err != nil { + public := hs.cert.PrivateKey.(crypto.Signer).Public() + if rsaKey, ok := public.(*rsa.PublicKey); ok && sigType == signatureRSAPSS && + rsaKey.N.BitLen()/8 < sigHash.Size()*2+2 { // key too small for RSA-PSS + c.sendAlert(alertHandshakeFailure) + } else { + c.sendAlert(alertInternalError) + } + return errors.New("tls: failed to sign handshake: " + err.Error()) + } + certVerifyMsg.signature = sig - hs.transcript.Write(certVerifyMsg.marshal()) - if _, err := c.writeRecord(recordTypeHandshake, certVerifyMsg.marshal()); err != nil { - return err - } + hs.transcript.Write(certVerifyMsg.marshal()) + if _, err := c.writeRecord(recordTypeHandshake, certVerifyMsg.marshal()); err != nil { + return err + } - hs.handshakeTimings.WriteCertificateVerify = hs.handshakeTimings.elapsedTime() + hs.handshakeTimings.WriteCertificateVerify = hs.handshakeTimings.elapsedTime() + } return nil } @@ -844,6 +870,10 @@ func (hs *serverHandshakeStateTLS13) sendServerCertificate() error { func (hs *serverHandshakeStateTLS13) sendServerFinished() error { c := hs.c + if hs.isKEMTLS == true { + return nil + } + finished := &finishedMsg{ verifyData: hs.suite.finishedHash(c.out.trafficSecret, hs.transcript), } @@ -954,6 +984,10 @@ func (hs *serverHandshakeStateTLS13) sendSessionTickets() error { func (hs *serverHandshakeStateTLS13) readClientCertificate() error { c := hs.c + if hs.isKEMTLS == true { + return nil + } + if !hs.requestClientCert() { // Make sure the connection is still being verified whether or not // the server requested a client certificate. @@ -1054,6 +1088,10 @@ func (hs *serverHandshakeStateTLS13) readClientCertificate() error { func (hs *serverHandshakeStateTLS13) readClientFinished() error { c := hs.c + if hs.isKEMTLS == true { + return nil + } + msg, err := c.readHandshake() if err != nil { return err diff --git a/src/crypto/tls/key_agreement.go b/src/crypto/tls/key_agreement.go index 1542eec14ea..66760d096f1 100644 --- a/src/crypto/tls/key_agreement.go +++ b/src/crypto/tls/key_agreement.go @@ -145,7 +145,7 @@ type ecdheKeyAgreement struct { func (ka *ecdheKeyAgreement) generateServerKeyExchange(config *Config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) { var curveID CurveID for _, c := range clientHello.supportedCurves { - if config.supportsCurve(c) { + if config.supportsCurve(c) && !c.isKEM() { curveID = c break } @@ -154,7 +154,7 @@ func (ka *ecdheKeyAgreement) generateServerKeyExchange(config *Config, cert *Cer if curveID == 0 { return nil, errors.New("tls: no supported elliptic curves offered") } - if _, ok := curveForCurveID(curveID); curveID != X25519 && !ok { + if _, ok := curveForCurveID(curveID); curveID != X25519 && !curveID.isKEM() && !ok { return nil, errors.New("tls: CurvePreferences includes unsupported curve") } diff --git a/src/crypto/tls/key_schedule.go b/src/crypto/tls/key_schedule.go index 314016979af..4817d96b162 100644 --- a/src/crypto/tls/key_schedule.go +++ b/src/crypto/tls/key_schedule.go @@ -21,14 +21,16 @@ import ( // schedule. See RFC 8446, Section 7. const ( - resumptionBinderLabel = "res binder" - clientHandshakeTrafficLabel = "c hs traffic" - serverHandshakeTrafficLabel = "s hs traffic" - clientApplicationTrafficLabel = "c ap traffic" - serverApplicationTrafficLabel = "s ap traffic" - exporterLabel = "exp master" - resumptionLabel = "res master" - trafficUpdateLabel = "traffic upd" + resumptionBinderLabel = "res binder" + clientHandshakeTrafficLabel = "c hs traffic" + serverHandshakeTrafficLabel = "s hs traffic" + clientApplicationTrafficLabel = "c ap traffic" + serverApplicationTrafficLabel = "s ap traffic" + clientAuthenticatedHandshakeTrafficLabel = "c ahs traffic" + serverAuthenticatedHandshakeTrafficLabel = "s ahs traffic" + exporterLabel = "exp master" + resumptionLabel = "res master" + trafficUpdateLabel = "traffic upd" ) // expandLabel implements HKDF-Expand-Label from RFC 8446, Section 7.1. @@ -89,6 +91,14 @@ func (c *cipherSuiteTLS13) finishedHash(baseKey []byte, transcript hash.Hash) [] return verifyData.Sum(nil) } +// finishedHashKEMTLS is the KEMTLS finished hash, depending on the peer role. +func (c *cipherSuiteTLS13) finishedHashKEMTLS(baseKey []byte, role string, transcript hash.Hash) []byte { + finishedKey := c.expandLabel(baseKey, role+" finished", nil, c.hash.Size()) + verifyData := hmac.New(c.hash.New, finishedKey) + verifyData.Write(transcript.Sum(nil)) + return verifyData.Sum(nil) +} + // exportKeyingMaterial implements RFC5705 exporters for TLS 1.3 according to // RFC 8446, Section 7.5. func (c *cipherSuiteTLS13) exportKeyingMaterial(masterSecret []byte, transcript hash.Hash) func(string, []byte, int) ([]byte, error) { diff --git a/src/crypto/tls/testdata/Client-TLSv10-ClientCert-ECDSA-ECDSA b/src/crypto/tls/testdata/Client-TLSv10-ClientCert-ECDSA-ECDSA index 6fda129627a..883427bc1e4 100644 --- a/src/crypto/tls/testdata/Client-TLSv10-ClientCert-ECDSA-ECDSA +++ b/src/crypto/tls/testdata/Client-TLSv10-ClientCert-ECDSA-ECDSA @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 09 68 1e 95 bd |....Y...U...h...| -00000010 f3 a3 32 97 d0 26 e7 c7 a5 5c b2 31 6c e2 07 41 |..2..&...\.1l..A| -00000020 95 59 75 18 52 a8 7d 77 5a 1e be 20 35 f2 d1 f7 |.Yu.R.}wZ.. 5...| -00000030 cf 70 2a 47 5a 5c bb 36 51 4c 5e f4 82 f4 db 12 |.p*GZ\.6QL^.....| -00000040 85 7f d6 14 64 f2 e0 68 cd d0 60 1a c0 09 00 00 |....d..h..`.....| +00000000 16 03 01 00 59 02 00 00 55 03 01 b7 bb 8a 94 38 |....Y...U......8| +00000010 3b c4 e9 dc 4d 0a c9 4e cb 32 c7 4e 3d 07 f3 3e |;...M..N.2.N=..>| +00000020 92 e5 2f 65 35 8a db 7b 7c 2c 75 20 36 36 58 88 |../e5..{|,u 66X.| +00000030 b9 77 23 75 fe 91 1f 72 e3 02 e1 a0 f0 f0 9a 20 |.w#u...r....... | +00000040 50 b6 e1 25 4b 6e c5 ae a5 c9 b8 71 c0 09 00 00 |P..%Kn.....q....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 01 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| 00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| @@ -56,20 +77,20 @@ 00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| 00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| 00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| -00000270 2a 16 03 01 00 b5 0c 00 00 b1 03 00 1d 20 36 53 |*............ 6S| -00000280 94 7c 57 6e f5 8d b7 95 4a 33 d3 6b aa 6e 29 68 |.|Wn....J3.k.n)h| -00000290 d4 5f e7 14 74 54 e7 03 7f fa 08 4d 7c 5f 00 8b |._..tT.....M|_..| -000002a0 30 81 88 02 42 01 d6 dd 50 59 30 e7 07 5a 06 a5 |0...B...PY0..Z..| -000002b0 01 36 99 be 5b f5 d2 8c de 25 3c 54 bd a7 af 73 |.6..[....%^...P.Z ......| +00000300 20 3d a7 36 fb ec fe fa 93 d2 14 67 60 50 b1 4b | =.6.......g`P.K| +00000310 52 44 88 34 f4 9d f7 9d 27 04 f2 97 52 93 79 ff |RD.4....'...R.y.| +00000320 43 c1 89 18 c4 15 c1 98 be b4 16 03 01 00 0a 0d |C...............| +00000330 00 00 06 03 01 02 40 00 00 16 03 01 00 04 0e 00 |......@.........| +00000340 00 00 |..| >>> Flow 3 (client to server) 00000000 16 03 01 02 0a 0b 00 02 06 00 02 03 00 02 00 30 |...............0| 00000010 82 01 fc 30 82 01 5e 02 09 00 9a 30 84 6c 26 35 |...0..^....0.l&5| @@ -106,30 +127,30 @@ 00000200 e4 fa cc b1 8a ce e2 23 a0 87 f0 e1 67 51 eb 16 |.......#....gQ..| 00000210 03 01 00 25 10 00 00 21 20 2f e5 7d a3 47 cd 62 |...%...! /.}.G.b| 00000220 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 cf |C.(.._.).0......| -00000230 c2 ed 90 99 5f 58 cb 3b 74 16 03 01 00 91 0f 00 |...._X.;t.......| -00000240 00 8d 00 8b 30 81 88 02 42 01 c0 2e 6f 21 78 02 |....0...B...o!x.| -00000250 18 c8 8a f8 58 ae 7e 72 de 74 e3 f1 8e b5 36 a1 |....X.~r.t....6.| -00000260 db f7 f0 e5 a7 ea c7 6d 13 0a 5d c4 c8 7d db 16 |.......m..]..}..| -00000270 9c bd b3 b5 41 5a f6 34 48 89 25 2b 37 55 df c0 |....AZ.4H.%+7U..| -00000280 c2 e3 a5 aa 39 37 1e 61 72 50 70 02 42 01 dd b7 |....97.arPp.B...| -00000290 b7 43 7b 22 0e 99 49 1b 7f 55 ae a2 a6 58 3e 2a |.C{"..I..U...X>*| -000002a0 33 42 ab 2e d9 f5 b9 88 6f cb 3b 0e 3b fd 75 7c |3B......o.;.;.u|| -000002b0 f9 2c 07 a8 3f 59 75 bf ef 57 78 df ed f1 00 8e |.,..?Yu..Wx.....| -000002c0 73 17 36 74 3b f3 3e ec 65 85 92 04 ad 94 81 14 |s.6t;.>.e.......| -000002d0 03 01 00 01 01 16 03 01 00 30 cd a0 a7 81 81 69 |.........0.....i| -000002e0 bc 98 74 e0 ae 41 0f e4 5c 4d a1 ac 19 a3 e1 29 |..t..A..\M.....)| -000002f0 f7 51 fc 18 60 4a a2 c6 3c c6 fb 7e 5b d8 d1 b2 |.Q..`J..<..~[...| -00000300 07 0d 97 ee ea 33 91 dc 16 17 |.....3....| +00000230 c2 ed 90 99 5f 58 cb 3b 74 16 03 01 00 8f 0f 00 |...._X.;t.......| +00000240 00 8b 00 89 30 81 86 02 41 52 3b 68 9b b3 23 fc |....0...AR;h..#.| +00000250 45 ab 8b a5 fb a2 dd d7 90 83 11 48 3a 57 ff 03 |E..........H:W..| +00000260 1c 7f df de e5 08 86 96 e4 6d 63 31 df e4 9c 59 |.........mc1...Y| +00000270 8b 0a 1b 44 bb 41 aa 56 b7 e7 09 05 8f 49 77 b1 |...D.A.V.....Iw.| +00000280 2f dd 97 01 b8 75 cd 10 82 ca 02 41 53 cd 7f ab |/....u.....AS...| +00000290 85 8d 83 2a 5c bd ea e9 30 19 36 f4 bf ef 9b 75 |...*\...0.6....u| +000002a0 d1 81 83 fa 08 30 1f b0 b6 79 80 d3 37 96 d4 1a |.....0...y..7...| +000002b0 9f 14 0d 35 4b a2 54 63 e6 c2 3f c9 e2 48 3d 3b |...5K.Tc..?..H=;| +000002c0 0c b7 d7 77 23 40 a5 79 b4 d6 10 8d 5e 14 03 01 |...w#@.y....^...| +000002d0 00 01 01 16 03 01 00 30 4e 1f 07 d0 8c 73 45 7b |.......0N....sE{| +000002e0 81 3d ce 4d 6d 5b 9a 28 b9 cc 5b b0 68 5d 65 d5 |.=.Mm[.(..[.h]e.| +000002f0 ca 50 d1 5c 17 30 9f 2e dc 03 ee 7d d6 75 32 b6 |.P.\.0.....}.u2.| +00000300 67 f5 2d ae 53 65 68 ac |g.-.Seh.| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 fc 7c 3c 17 d7 |..........0.|<..| -00000010 14 e7 7a 17 7e 0d 44 62 d6 14 2f ad 2f ec f6 25 |..z.~.Db.././..%| -00000020 92 91 55 61 fb 0b 14 08 1b ef 66 28 5a ff 3b 0a |..Ua......f(Z.;.| -00000030 62 ad 55 2a 97 0b 77 22 5c d7 4c |b.U*..w"\.L| +00000000 14 03 01 00 01 01 16 03 01 00 30 da 78 b6 7f 7f |..........0.x...| +00000010 92 2a e2 23 5f df 75 c5 e8 f8 5f d3 ba 67 0a 74 |.*.#_.u..._..g.t| +00000020 52 1a 76 3d 04 d4 ae 62 60 8f ce 40 cb d1 92 b7 |R.v=...b`..@....| +00000030 41 46 7f 8a de 7c 58 c3 38 73 89 |AF...|X.8s.| >>> Flow 5 (client to server) -00000000 17 03 01 00 20 5b ab 40 97 f3 72 64 d6 35 b7 8a |.... [.@..rd.5..| -00000010 1f 57 59 a5 01 85 df 88 43 57 9d 5b c4 f7 7a ca |.WY.....CW.[..z.| -00000020 8a 6f ec 63 f5 17 03 01 00 20 57 51 f0 2c ab 51 |.o.c..... WQ.,.Q| -00000030 8b 9d 23 01 2a dc 01 bf 9b 60 56 28 5d 19 f4 43 |..#.*....`V(]..C| -00000040 c6 ea 64 8c bc 77 ea 3b 69 6c 15 03 01 00 20 78 |..d..w.;il.... x| -00000050 ff 88 e1 69 ba 7a fb 6c 2b d9 f8 2f 56 04 95 db |...i.z.l+../V...| -00000060 be aa d5 b1 73 ce 54 42 35 88 a6 25 e8 65 5e |....s.TB5..%.e^| +00000000 17 03 01 00 20 59 5d 32 48 ac 21 e6 fa cd de a6 |.... Y]2H.!.....| +00000010 85 7b 08 23 f0 a3 57 11 a5 a0 22 3f 9c 67 f7 72 |.{.#..W..."?.g.r| +00000020 ef ae 9b cb a4 17 03 01 00 20 e9 8c ee 50 e9 f7 |......... ...P..| +00000030 7e f7 43 93 76 a8 63 72 a7 62 b0 2a 95 3a 8c b3 |~.C.v.cr.b.*.:..| +00000040 ee 90 8a 25 e3 01 ae c9 a8 39 15 03 01 00 20 e4 |...%.....9.... .| +00000050 d4 67 20 86 56 54 1c 9c 4b 7b 36 f0 37 f0 cb 82 |.g .VT..K{6.7...| +00000060 bd 83 85 05 e2 fe 91 7f aa 83 6a 0c b3 ec 38 |..........j...8| diff --git a/src/crypto/tls/testdata/Client-TLSv10-ClientCert-ECDSA-RSA b/src/crypto/tls/testdata/Client-TLSv10-ClientCert-ECDSA-RSA index 6252581ba70..15b51dc8eb5 100644 --- a/src/crypto/tls/testdata/Client-TLSv10-ClientCert-ECDSA-RSA +++ b/src/crypto/tls/testdata/Client-TLSv10-ClientCert-ECDSA-RSA @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 da e9 91 aa ce |....Y...U.......| -00000010 2e 2d 8a 34 b8 dc dd c1 f1 8c ab c8 96 c2 ed 18 |.-.4............| -00000020 70 44 cc b0 77 09 0a 3e 9f 9d f5 20 d5 2b 3a b3 |pD..w..>... .+:.| -00000030 55 0b 0b 99 82 c5 eb 12 69 d1 b0 ae 27 9c b5 44 |U.......i...'..D| -00000040 e3 2f 38 0e c9 5d e6 f0 05 85 90 1b c0 13 00 00 |./8..]..........| +00000000 16 03 01 00 59 02 00 00 55 03 01 1f c8 0c c7 65 |....Y...U......e| +00000010 ad c6 31 5b 71 f2 2f 5b ff aa 17 71 5c 67 9d c6 |..1[q./[...q\g..| +00000020 45 45 06 92 c4 0e 83 59 a6 ec b0 20 74 01 9a 85 |EE.....Y... t...| +00000030 80 6d 20 52 32 63 2c c8 c6 ec e7 c9 2a 65 88 9b |.m R2c,.....*e..| +00000040 f4 36 23 7e 6a e9 ac 65 88 7c ee 95 c0 13 00 00 |.6#~j..e.|......| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 01 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,17 +82,17 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 01 00 |.=.`.\!.;.......| -000002c0 aa 0c 00 00 a6 03 00 1d 20 73 39 86 bc 76 a2 9b |........ s9..v..| -000002d0 0e 11 01 c8 76 f3 45 26 56 de 94 a5 e3 f3 26 e7 |....v.E&V.....&.| -000002e0 4e 6f 23 09 3e 72 e0 9e 72 00 80 c7 41 1e a5 74 |No#.>r..r...A..t| -000002f0 ea 83 fc 9f ea ba cd f7 5d 77 b5 39 f8 69 9a 10 |........]w.9.i..| -00000300 f8 9b 7e e6 ee ee da 28 b0 f2 93 9f 9f 2b 6f e4 |..~....(.....+o.| -00000310 48 bf 6e 8b db e8 98 45 e8 8f 4a d7 a6 61 44 24 |H.n....E..J..aD$| -00000320 f2 f0 16 81 0e 7f 75 1c 65 7a a4 ae 39 b3 0f e9 |......u.ez..9...| -00000330 d0 1a 53 3c 6e 28 c5 c8 b5 89 f5 e4 f1 e7 50 50 |..S>> Flow 3 (client to server) @@ -111,29 +132,29 @@ 00000210 03 01 00 25 10 00 00 21 20 2f e5 7d a3 47 cd 62 |...%...! /.}.G.b| 00000220 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 cf |C.(.._.).0......| 00000230 c2 ed 90 99 5f 58 cb 3b 74 16 03 01 00 91 0f 00 |...._X.;t.......| -00000240 00 8d 00 8b 30 81 88 02 42 01 92 c7 12 f7 3e 6b |....0...B.....>k| -00000250 24 ac 5a 37 1d 15 3b 04 ea 70 ed b2 55 99 81 af |$.Z7..;..p..U...| -00000260 e7 10 74 26 b0 ea 87 58 69 5d ec 59 42 34 7b ff |..t&...Xi].YB4{.| -00000270 ae f4 8d 1d 80 8d f6 93 1e 19 00 bf 96 5c 39 6e |.............\9n| -00000280 24 9e a6 ae b2 6c 64 a3 9e 97 76 02 42 01 be a5 |$....ld...v.B...| -00000290 09 9c 62 45 b9 7d ec 2e 5b 50 4e 9a 3e 3c 12 86 |..bE.}..[PN.><..| -000002a0 d6 86 0c 47 30 c9 ec 83 4b e2 ca 93 37 07 a6 01 |...G0...K...7...| -000002b0 b9 1e 10 e2 b3 c2 fe 48 84 51 17 5a 1a c6 56 bf |.......H.Q.Z..V.| -000002c0 b3 44 d2 e2 4a a6 4f c1 f6 01 cb 62 4b 2b bb 14 |.D..J.O....bK+..| -000002d0 03 01 00 01 01 16 03 01 00 30 49 72 e3 d7 21 44 |.........0Ir..!D| -000002e0 fa 0e 11 82 29 bc da bc a3 4a e0 79 10 53 d4 b6 |....)....J.y.S..| -000002f0 ad 3a 3f 57 1a c0 d6 4b 85 a5 f8 f5 41 70 0a b6 |.:?W...K....Ap..| -00000300 6d dd b8 64 42 c1 44 fa 0f 59 |m..dB.D..Y| +00000240 00 8d 00 8b 30 81 88 02 42 01 71 b0 b5 3d 10 64 |....0...B.q..=.d| +00000250 10 d5 15 79 ca 5a 5c f4 02 aa 5b 4b af 17 d6 4b |...y.Z\...[K...K| +00000260 81 61 60 d3 b3 4b 21 a5 0e e1 dd a5 9d b9 65 f0 |.a`..K!.......e.| +00000270 41 d6 b7 45 4f be c5 93 8c 3f f8 93 d7 c2 a0 df |A..EO....?......| +00000280 fe 01 d4 02 f9 09 6f 6c 3a 6f dd 02 42 01 e4 60 |......ol:o..B..`| +00000290 3b 09 84 98 e3 d5 63 02 4f e5 f5 5a 96 c6 87 fd |;.....c.O..Z....| +000002a0 ac e7 a6 93 a1 30 7e 08 46 ed 8e f5 f1 bf ae e9 |.....0~.F.......| +000002b0 e4 65 e2 cb 67 e9 c0 f6 92 4e c3 69 86 07 e9 33 |.e..g....N.i...3| +000002c0 8a 6f 9a 3e 59 c8 38 1b a0 ea 2e e6 63 e7 9d 14 |.o.>Y.8.....c...| +000002d0 03 01 00 01 01 16 03 01 00 30 9d 47 f2 0f 49 6d |.........0.G..Im| +000002e0 45 8f 3f de 5e 10 88 03 02 cf 97 97 a7 52 48 43 |E.?.^........RHC| +000002f0 bd d5 ad 92 d8 e1 87 ae c7 8c ed 72 26 86 c4 8d |...........r&...| +00000300 25 1f 12 80 68 80 b8 79 09 b2 |%...h..y..| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 36 c4 ff 5e 8b |..........06..^.| -00000010 a6 04 e9 aa 20 44 b0 7e 47 df be 6a 0e 60 d5 df |.... D.~G..j.`..| -00000020 8a f1 d0 30 64 a1 eb c3 07 e2 04 af 22 ec 42 3f |...0d.......".B?| -00000030 7c f9 04 72 95 c0 b2 98 9d 87 96 ||..r.......| +00000000 14 03 01 00 01 01 16 03 01 00 30 90 40 19 6f 98 |..........0.@.o.| +00000010 8b 02 af 1c 4f 90 87 cf 31 8e 4e 38 44 1c e1 f3 |....O...1.N8D...| +00000020 77 02 47 10 b5 11 60 4b ba dd 3d fb d9 80 ea c6 |w.G...`K..=.....| +00000030 80 d6 01 63 c3 c7 15 90 6b 75 aa |...c....ku.| >>> Flow 5 (client to server) -00000000 17 03 01 00 20 2f 66 94 95 20 75 6f c8 ae bf 94 |.... /f.. uo....| -00000010 2c e2 d3 a9 fb 7c 06 4e a4 da 6a 7a 59 2f 58 4d |,....|.N..jzY/XM| -00000020 de 17 a7 12 05 17 03 01 00 20 31 12 23 d0 12 59 |......... 1.#..Y| -00000030 24 a5 a1 3d 1c a0 de 76 26 c6 68 52 2f 9c 49 4c |$..=...v&.hR/.IL| -00000040 48 c2 f6 ba d1 ec 8c 51 67 53 15 03 01 00 20 b5 |H......QgS.... .| -00000050 e1 c3 c7 67 54 13 95 b9 60 cd 88 2f 59 6b 5f c9 |...gT...`../Yk_.| -00000060 dc c6 78 57 ca 4c 27 35 dc 2d 08 3c 6d 46 6c |..xW.L'5.-.>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 15 a0 45 2f a8 |....Y...U....E/.| -00000010 e7 84 cc df 25 84 ad e6 dd 07 0d d3 b7 c8 8c 32 |....%..........2| -00000020 35 7e c1 c5 06 7d 22 01 d9 21 1e 20 b6 6d 34 23 |5~...}"..!. .m4#| -00000030 d7 c6 a5 6e 7c 81 fa 46 ec bb ba c5 d9 5b 84 82 |...n|..F.....[..| -00000040 85 2e 56 04 32 46 ce e2 0b c8 7d 82 c0 09 00 00 |..V.2F....}.....| +00000000 16 03 01 00 59 02 00 00 55 03 01 a8 fe 7c b7 53 |....Y...U....|.S| +00000010 c6 41 75 c5 1f 39 b9 c5 68 6d 94 38 fb 03 db 30 |.Au..9..hm.8...0| +00000020 18 c5 5b 8d 32 42 85 4f 34 ba 2a 20 3c 50 b0 2b |..[.2B.O4.* .c| -000002b0 80 82 05 10 a2 be 4a ec ce ed b4 7d f2 17 cd 7d |......J....}...}| -000002c0 38 ef f8 90 d5 ee 89 8c 01 77 53 76 c8 cd 1d 51 |8........wSv...Q| -000002d0 ba 6c 85 fc 5e 88 51 b9 71 0b 05 ea d9 17 e4 b2 |.l..^.Q.q.......| -000002e0 7e ed 74 21 5c 36 2f 02 42 01 fb 77 8a 2a c7 0d |~.t!\6/.B..w.*..| -000002f0 0c 96 d6 05 be 4d 4f 0e 3c 18 02 e9 40 da 42 44 |.....MO.<...@.BD| -00000300 e1 24 15 00 26 1e 1e 3c b0 d3 1f 92 12 e0 b2 65 |.$..&..<.......e| -00000310 ae 86 e4 a1 ed 19 fd 03 8e 1a b9 65 96 51 3c 0d |...........e.Q<.| -00000320 69 45 5a cb ba e3 5d 1c 0e 19 55 16 03 01 00 0a |iEZ...]...U.....| -00000330 0d 00 00 06 03 01 02 40 00 00 16 03 01 00 04 0e |.......@........| -00000340 00 00 00 |...| +00000270 2a 16 03 01 00 b4 0c 00 00 b0 03 00 1d 20 64 1d |*............ d.| +00000280 cd b2 43 0f ef 20 a8 d7 71 7e 2f d7 31 10 fd d8 |..C.. ..q~/.1...| +00000290 4f a7 9d 0c 8e 50 08 40 ab 8d e7 7c 08 61 00 8a |O....P.@...|.a..| +000002a0 30 81 87 02 42 01 62 b7 cb 61 ba 1b a4 35 c5 dc |0...B.b..a...5..| +000002b0 6c 85 d9 b2 e8 b0 e1 9e 19 02 58 3a 21 85 9c 74 |l.........X:!..t| +000002c0 ad a4 83 46 f2 fb e8 4a a1 21 06 13 6f 5a 29 55 |...F...J.!..oZ)U| +000002d0 e9 91 da 9a fa 25 1f 53 0c fc 08 13 87 0a 68 43 |.....%.S......hC| +000002e0 4e e1 8f 32 f1 e4 a4 02 41 34 e9 3f 56 9d eb 77 |N..2....A4.?V..w| +000002f0 94 61 be 5d 80 d7 b6 b5 ee 7a 20 ad 18 27 87 39 |.a.].....z ..'.9| +00000300 2d 5e e5 4a f3 bc f2 92 84 c2 c3 ab 35 b9 fd 3a |-^.J........5..:| +00000310 12 b2 1b 0b 54 c3 cd 74 b8 4c aa 6f 0f e6 70 12 |....T..t.L.o..p.| +00000320 9d 88 2a 63 08 67 d4 51 d4 17 16 03 01 00 0a 0d |..*c.g.Q........| +00000330 00 00 06 03 01 02 40 00 00 16 03 01 00 04 0e 00 |......@.........| +00000340 00 00 |..| >>> Flow 3 (client to server) 00000000 16 03 01 01 fd 0b 00 01 f9 00 01 f6 00 01 f3 30 |...............0| 00000010 82 01 ef 30 82 01 58 a0 03 02 01 02 02 10 5c 19 |...0..X.......\.| @@ -106,29 +127,29 @@ 00000200 e5 35 16 03 01 00 25 10 00 00 21 20 2f e5 7d a3 |.5....%...! /.}.| 00000210 47 cd 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 |G.bC.(.._.).0...| 00000220 af c4 cf c2 ed 90 99 5f 58 cb 3b 74 16 03 01 00 |......._X.;t....| -00000230 86 0f 00 00 82 00 80 4a a9 44 5d 44 d0 6e 93 4e |.......J.D]D.n.N| -00000240 36 46 b2 d1 0d e9 8e 13 3c f3 13 97 54 48 b8 a2 |6F......<...TH..| -00000250 4a 4b 6b 29 24 17 3d 00 a7 27 f7 0a a2 d3 2e 5d |JKk)$.=..'.....]| -00000260 77 43 f6 b9 6c 6c 95 3d 57 f7 9a 08 04 37 76 ba |wC..ll.=W....7v.| -00000270 49 76 b9 49 0c bb 79 14 79 e3 ff 73 ae d1 b8 70 |Iv.I..y.y..s...p| -00000280 ec 98 a6 0a d6 24 01 e8 f7 ed 51 10 c5 67 09 b9 |.....$....Q..g..| -00000290 5d 51 c5 fd 6f 32 d0 ff 26 38 5d 62 59 92 46 4e |]Q..o2..&8]bY.FN| -000002a0 c5 9e f3 37 86 90 03 9d d4 dc fe 9e e8 84 af 7a |...7...........z| -000002b0 14 a2 69 ff 99 5f a7 14 03 01 00 01 01 16 03 01 |..i.._..........| -000002c0 00 30 29 a5 1e e9 58 1b 8d 0d cd 2c 8f d4 82 b1 |.0)...X....,....| -000002d0 7c 50 f9 f3 84 5c 1a 28 b3 b9 83 5e 76 b9 4c b2 ||P...\.(...^v.L.| -000002e0 57 dd 85 ca 4e cb 00 84 29 31 ee 5a aa 6b 81 1e |W...N...)1.Z.k..| -000002f0 76 ac |v.| +00000230 86 0f 00 00 82 00 80 06 d3 c9 15 93 b1 a6 e2 b9 |................| +00000240 a1 a5 7a c1 2b 9d 06 d2 e3 ef 01 df 90 45 e9 5f |..z.+........E._| +00000250 75 0d a7 c9 4a c3 5d bf 25 43 05 22 18 e0 db e4 |u...J.].%C."....| +00000260 60 93 91 a0 95 8b 00 32 05 d7 20 09 23 c0 45 89 |`......2.. .#.E.| +00000270 03 78 33 bf 4b dd eb 98 a1 9a 0e f2 4a 7f 63 d5 |.x3.K.......J.c.| +00000280 17 d3 8d 04 0d bb e6 24 5e 17 2c 92 43 00 97 cb |.......$^.,.C...| +00000290 3a cf e2 8e d6 9a ec 66 d2 7c fa ae ea 0e 9a 3e |:......f.|.....>| +000002a0 60 83 81 e0 22 17 cd 18 8c 22 81 e1 d3 80 30 16 |`..."...."....0.| +000002b0 b8 98 2a f7 80 c2 bc 14 03 01 00 01 01 16 03 01 |..*.............| +000002c0 00 30 b1 e0 74 2a 3d 04 6a 97 62 c0 19 f0 5f 66 |.0..t*=.j.b..._f| +000002d0 9f 05 ba 67 7e fb 9f 2b 95 fa ab 8d 3a b2 ea 70 |...g~..+....:..p| +000002e0 79 e1 7b 3b 4b c5 55 fa f3 94 88 e6 92 5d 3c 3f |y.{;K.U......]>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 77 1f 9a 38 6c |..........0w..8l| -00000010 73 af 46 87 88 41 02 d4 c6 ef 87 9c d7 c9 b5 20 |s.F..A......... | -00000020 ed 2a 73 4c 52 07 85 3f 7a ef bc 26 f4 f2 e5 7b |.*sLR..?z..&...{| -00000030 ed f1 79 d4 78 74 18 fd 57 0c 1d |..y.xt..W..| +00000000 14 03 01 00 01 01 16 03 01 00 30 07 fe 83 92 05 |..........0.....| +00000010 0d 60 97 b7 1a 83 e5 11 70 d5 f0 48 09 ce 11 4c |.`......p..H...L| +00000020 b5 ea 4c 33 3e 8e 7c fe 55 38 c9 70 9e 9f 3f 57 |..L3>.|.U8.p..?W| +00000030 38 0d 84 28 65 8f 4b dd 8e 35 b3 |8..(e.K..5.| >>> Flow 5 (client to server) -00000000 17 03 01 00 20 46 89 a0 2c dd 3b 22 21 c9 2d 7e |.... F..,.;"!.-~| -00000010 93 6f 20 f3 b1 95 b5 38 da 47 11 d0 22 6f 82 05 |.o ....8.G.."o..| -00000020 7e 58 5a ae f8 17 03 01 00 20 4a e1 5c cf 8f a6 |~XZ...... J.\...| -00000030 48 b2 8c 3e 59 a6 68 ff cb 29 33 d4 ef 57 ec 9a |H..>Y.h..)3..W..| -00000040 1b a1 e8 f3 31 58 61 12 0d da 15 03 01 00 20 16 |....1Xa....... .| -00000050 b0 ec 00 0f 5b b4 18 79 c8 aa 4b b2 34 ba c4 2f |....[..y..K.4../| -00000060 c2 fc 75 42 16 4a ff cd 74 97 32 4e c7 ed 35 |..uB.J..t.2N..5| +00000000 17 03 01 00 20 1c d8 79 93 1c a4 c6 62 e0 c3 91 |.... ..y....b...| +00000010 34 cd 67 28 a9 a5 92 c5 44 83 a6 9b 16 5f b0 14 |4.g(....D...._..| +00000020 c2 24 0a e0 f6 17 03 01 00 20 2f 9d 12 30 cd 10 |.$....... /..0..| +00000030 9f 2b bb fe d2 8d 38 1a e4 f7 4d 19 63 79 61 0c |.+....8...M.cya.| +00000040 57 46 90 83 8d 4e 10 42 1a 75 15 03 01 00 20 a1 |WF...N.B.u.... .| +00000050 d2 31 6e 1d dc bb c1 90 d1 87 29 62 ae 0a 6e 3a |.1n.......)b..n:| +00000060 7d 87 f6 66 52 f4 75 14 89 6b fa 85 56 58 16 |}..fR.u..k..VX.| diff --git a/src/crypto/tls/testdata/Client-TLSv10-ClientCert-RSA-RSA b/src/crypto/tls/testdata/Client-TLSv10-ClientCert-RSA-RSA index c7115447585..ac4781a029b 100644 --- a/src/crypto/tls/testdata/Client-TLSv10-ClientCert-RSA-RSA +++ b/src/crypto/tls/testdata/Client-TLSv10-ClientCert-RSA-RSA @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 af d6 05 1e 5e |....Y...U......^| -00000010 31 0a 4c ad 86 26 39 5c 5d d5 95 75 84 0c d7 70 |1.L..&9\]..u...p| -00000020 fa 49 43 4f 1b 11 f2 a4 55 0d e5 20 6a 22 3f 16 |.ICO....U.. j"?.| -00000030 2c c7 00 e6 2a bf da a8 08 73 86 92 2c 08 3f 79 |,...*....s..,.?y| -00000040 87 45 36 88 f7 30 ce 05 44 86 5c c8 c0 13 00 00 |.E6..0..D.\.....| +00000000 16 03 01 00 59 02 00 00 55 03 01 af a5 f2 d7 10 |....Y...U.......| +00000010 4b 6e 3c 46 50 16 d9 ff 5d a1 86 92 bb db 30 2d |Kn....| +00000040 56 40 c7 7c 68 46 5d 85 fb de 9f 45 c0 13 00 00 |V@.|hF]....E....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 01 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,17 +82,17 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 01 00 |.=.`.\!.;.......| -000002c0 aa 0c 00 00 a6 03 00 1d 20 64 a7 79 1a 31 90 6f |........ d.y.1.o| -000002d0 7e b6 1c cd c1 9d f8 eb e9 cc 55 0b f6 28 6b ae |~.........U..(k.| -000002e0 40 f3 67 07 a9 a2 c8 d5 17 00 80 13 33 33 84 ef |@.g.........33..| -000002f0 cf 29 4e 43 b1 62 4b 7b 4b dc 6c 94 97 5b ec de |.)NC.bK{K.l..[..| -00000300 fb f3 3c e3 18 08 ea 84 59 4f d2 a8 ae 91 30 e5 |..<.....YO....0.| -00000310 44 f2 0b 3f e9 be 06 44 c3 35 a1 53 b1 74 78 90 |D..?...D.5.S.tx.| -00000320 38 cb 25 69 ee 01 b8 0b ca e9 91 1b b9 0b 0d 8a |8.%i............| -00000330 2d f5 0d 89 21 c3 b8 93 ed ad 46 98 ed 20 15 c0 |-...!.....F.. ..| -00000340 85 4a 95 11 d5 a6 74 db 43 5e 2a d4 e1 8b 92 58 |.J....t.C^*....X| -00000350 ee 74 a2 f5 3e fd b5 1f 97 85 2d 0e 03 6e b8 51 |.t..>.....-..n.Q| -00000360 85 4c 2b 34 41 c3 bf 00 cd 93 65 16 03 01 00 0a |.L+4A.....e.....| +000002c0 aa 0c 00 00 a6 03 00 1d 20 2d 6a d5 c3 26 0f 97 |........ -j..&..| +000002d0 d0 fa a5 d0 28 af 47 b3 ff bf ed 61 de 27 c8 5b |....(.G....a.'.[| +000002e0 99 a4 51 84 25 f8 3c a2 6e 00 80 2c 89 fd 0e 7c |..Q.%.<.n..,...|| +000002f0 3b de 72 af 4f 38 fa be ee d0 66 cf 19 b6 19 bd |;.r.O8....f.....| +00000300 fe c2 99 33 97 6b 25 db b5 74 f5 b8 49 6e 99 5b |...3.k%..t..In.[| +00000310 c8 39 82 b3 8d a5 f8 4f d2 a1 81 55 f2 38 91 5a |.9.....O...U.8.Z| +00000320 c2 02 96 fc b0 9e 48 6f 6b 6c 68 87 de b1 eb 81 |......Hoklh.....| +00000330 da c4 e2 ef 72 aa fb 9b 70 d9 04 0a 7f c4 97 c0 |....r...p.......| +00000340 de b8 37 84 8c 73 14 c5 51 46 c1 74 3c b5 06 ae |..7..s..QF.t<...| +00000350 9d 6e 7d df a2 43 00 0c 0b f5 20 4f bb d8 8e ac |.n}..C.... O....| +00000360 cf 43 7e 17 db 6e 47 8d 6b 02 ed 16 03 01 00 0a |.C~..nG.k.......| 00000370 0d 00 00 06 03 01 02 40 00 00 16 03 01 00 04 0e |.......@........| 00000380 00 00 00 |...| >>> Flow 3 (client to server) @@ -110,29 +131,29 @@ 00000200 e5 35 16 03 01 00 25 10 00 00 21 20 2f e5 7d a3 |.5....%...! /.}.| 00000210 47 cd 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 |G.bC.(.._.).0...| 00000220 af c4 cf c2 ed 90 99 5f 58 cb 3b 74 16 03 01 00 |......._X.;t....| -00000230 86 0f 00 00 82 00 80 12 c7 92 8f 69 07 7d c2 22 |...........i.}."| -00000240 d2 8a ac ce 70 97 c3 48 ff d8 88 7f cc 4d 7b c0 |....p..H.....M{.| -00000250 62 a5 64 40 b9 7f 44 2d 6e cf 57 98 7f b6 9d 08 |b.d@..D-n.W.....| -00000260 5d 8e 5d d2 75 0b e7 64 1f 85 6b c4 62 6d 28 0f |].].u..d..k.bm(.| -00000270 8a d2 62 06 70 8b 38 ca da d1 5c 65 14 57 6f 48 |..b.p.8...\e.WoH| -00000280 7d f8 52 82 b5 14 20 5c 19 ea 73 bf fe 53 ae 0e |}.R... \..s..S..| -00000290 6a 61 99 68 5e fc 12 5c f4 c8 11 f1 6a ae 92 af |ja.h^..\....j...| -000002a0 0f d6 83 0f 95 fc ac 14 59 71 50 31 0e 5d 3a ae |........YqP1.]:.| -000002b0 1f 9b 87 d8 1c 8b 8d 14 03 01 00 01 01 16 03 01 |................| -000002c0 00 30 99 0f 9b 2e 4c 86 78 eb 20 66 6d 76 05 90 |.0....L.x. fmv..| -000002d0 11 19 ce fb d2 67 fa 60 f9 4f f5 9b 64 32 24 76 |.....g.`.O..d2$v| -000002e0 e0 52 a5 57 44 63 4b 2d 2c af e7 27 c4 14 01 d0 |.R.WDcK-,..'....| -000002f0 08 57 |.W| +00000230 86 0f 00 00 82 00 80 72 10 80 9b 02 77 e6 5a bc |.......r....w.Z.| +00000240 84 a8 b9 76 e4 73 1f de ba e4 47 7e 5b 61 a0 94 |...v.s....G~[a..| +00000250 5e 8e ea 9c c8 91 8c e6 3c d2 1c 4b 61 e0 4f 1d |^.......<..Ka.O.| +00000260 66 05 6a ed 7a a7 a7 a1 3e 5e 07 51 a0 88 9b 60 |f.j.z...>^.Q...`| +00000270 1f ed a7 cc 54 4b 93 15 41 92 20 45 b5 a7 06 85 |....TK..A. E....| +00000280 07 e9 62 92 30 0d 87 a7 ec 3a 30 d7 4e 7d 2b 98 |..b.0....:0.N}+.| +00000290 88 d7 2a b1 a5 73 4d de 08 2d 23 bb 7c 83 63 a6 |..*..sM..-#.|.c.| +000002a0 aa 2a 89 cb 18 cb ae 68 db 10 bb 8f 62 9e 37 ee |.*.....h....b.7.| +000002b0 0e 02 08 af 27 7f 25 14 03 01 00 01 01 16 03 01 |....'.%.........| +000002c0 00 30 b7 d3 88 68 34 02 e2 dc ba 75 67 54 b8 49 |.0...h4....ugT.I| +000002d0 21 da 47 40 a9 87 3e 4b 65 db 9a 14 e1 55 0f df |!.G@..>Ke....U..| +000002e0 85 68 20 db c7 b6 d5 4e a6 fe 76 db 20 ad 8f af |.h ....N..v. ...| +000002f0 44 dd |D.| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 2e 29 8f 2a 9f |..........0.).*.| -00000010 80 bb 29 25 28 5c dd 32 81 e7 e9 f8 82 45 3b eb |..)%(\.2.....E;.| -00000020 8c 8e 0c e3 54 f5 e9 23 9e be 6b 5b 92 23 a6 fd |....T..#..k[.#..| -00000030 eb 38 b0 55 a2 dd 2f a7 99 70 fe |.8.U../..p.| +00000000 14 03 01 00 01 01 16 03 01 00 30 f9 30 80 45 14 |..........0.0.E.| +00000010 dc 02 91 5f da fa 6e 10 0b 3e a1 61 e2 bf e8 73 |..._..n..>.a...s| +00000020 3f 44 99 09 07 e8 b1 3b c5 38 9b 27 48 68 cb 5c |?D.....;.8.'Hh.\| +00000030 dd 30 83 b6 c8 75 51 6f 1b 4c 45 |.0...uQo.LE| >>> Flow 5 (client to server) -00000000 17 03 01 00 20 c2 6b e9 5d ff f8 82 9f e4 10 f2 |.... .k.].......| -00000010 61 ee 4a f7 23 b1 d5 52 bc 26 e3 a8 02 57 e5 c1 |a.J.#..R.&...W..| -00000020 63 4b 04 97 0f 17 03 01 00 20 71 45 35 fe 46 d2 |cK....... qE5.F.| -00000030 42 5b a6 ca ab ad f6 08 b7 3c 34 49 5f 3c 0a 43 |B[.......<4I_<.C| -00000040 ad 9b 9a c1 1e fd 3f 5d da cb 15 03 01 00 20 65 |......?]...... e| -00000050 a7 09 04 4d 5c fd 1c ef 2b 28 47 51 2f 45 f3 2b |...M\...+(GQ/E.+| -00000060 fc 13 80 27 5c 6f 08 e9 38 23 e5 c7 ae 12 f1 |...'\o..8#.....| +00000000 17 03 01 00 20 d7 a4 c4 09 42 29 78 f1 fc c7 ed |.... ....B)x....| +00000010 7a 19 34 15 cb 92 cf 6b 4e 92 a8 02 d1 74 0e d7 |z.4....kN....t..| +00000020 12 b7 72 ec 8f 17 03 01 00 20 29 43 ec f6 ec 04 |..r...... )C....| +00000030 50 00 01 c4 42 57 f4 d8 4b 46 f6 be 5e dc 01 10 |P...BW..KF..^...| +00000040 e0 2e a7 54 31 b2 34 e3 01 b0 15 03 01 00 20 db |...T1.4....... .| +00000050 0c 5c b5 77 c1 03 d9 c3 fb e5 af 63 22 ba 26 af |.\.w.......c".&.| +00000060 f5 54 9c ec 6c e1 be d3 64 7e c7 fd c4 d2 cf |.T..l...d~.....| diff --git a/src/crypto/tls/testdata/Client-TLSv10-ECDHE-ECDSA-AES b/src/crypto/tls/testdata/Client-TLSv10-ECDHE-ECDSA-AES index c1a1e3b653c..d34a381c6d3 100644 --- a/src/crypto/tls/testdata/Client-TLSv10-ECDHE-ECDSA-AES +++ b/src/crypto/tls/testdata/Client-TLSv10-ECDHE-ECDSA-AES @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 34 12 45 b7 2b |....Y...U..4.E.+| -00000010 db 55 7e 15 0b 74 63 6f a9 83 b3 0b 14 39 2c 2a |.U~..tco.....9,*| -00000020 4b d0 fb 19 39 da 52 96 11 45 d1 20 98 c4 5b 66 |K...9.R..E. ..[f| -00000030 23 a7 7e d6 8d 01 94 76 06 07 3e 83 a6 c8 cf 0f |#.~....v..>.....| -00000040 53 ac 1d 28 f7 b3 ad 8c 16 f4 e1 b4 c0 09 00 00 |S..(............| +00000000 16 03 01 00 59 02 00 00 55 03 01 fd e9 b9 07 80 |....Y...U.......| +00000010 c6 02 06 92 da c1 a2 1b e8 2e 8a f0 c1 bc 31 19 |..............1.| +00000020 21 8f 92 99 ee 23 1f 0b 67 6e 04 20 d3 0c f3 b9 |!....#..gn. ....| +00000030 e3 93 f9 80 e6 92 00 04 dc 94 76 df d7 d2 3e d1 |..........v...>.| +00000040 15 24 ba ae 38 c5 28 b9 44 5c 7d 90 c0 09 00 00 |.$..8.(.D\}.....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 01 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| 00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| @@ -56,37 +77,37 @@ 00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| 00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| 00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| -00000270 2a 16 03 01 00 b5 0c 00 00 b1 03 00 1d 20 24 a7 |*............ $.| -00000280 0e d2 64 8e 7e a9 0f 9d d6 7a 02 18 b9 36 4d 78 |..d.~....z...6Mx| -00000290 24 e0 8d 6a 54 41 fe 70 eb d0 a6 02 44 58 00 8b |$..jTA.p....DX..| -000002a0 30 81 88 02 42 01 21 2a c5 54 c6 c7 6a e1 b4 3d |0...B.!*.T..j..=| -000002b0 0c 65 dc 17 b8 22 87 df d2 d8 3d 31 02 64 b2 09 |.e..."....=1.d..| -000002c0 bb 39 38 5a 88 0b 8d 04 49 1f b4 21 ea 9e a5 c2 |.98Z....I..!....| -000002d0 79 44 7c 12 6c 37 9c 3b 47 2f d9 43 0b 95 e2 26 |yD|.l7.;G/.C...&| -000002e0 10 4e 3e 84 5f d9 0f 02 42 01 16 3f ff a0 82 b5 |.N>._...B..?....| -000002f0 2d 51 e6 f3 e9 8a c1 96 47 d7 a8 f0 d8 97 f4 1c |-Q......G.......| -00000300 77 60 eb 75 cc f5 4a 2d ac a4 ad 45 56 f3 90 8d |w`.u..J-...EV...| -00000310 20 86 39 47 7b 46 35 13 f4 88 81 94 8c 25 73 6f | .9G{F5......%so| -00000320 fa ee 26 82 8b 5a d1 39 02 f7 65 16 03 01 00 04 |..&..Z.9..e.....| +00000270 2a 16 03 01 00 b5 0c 00 00 b1 03 00 1d 20 c5 4d |*............ .M| +00000280 3f 73 f2 2e 88 04 f8 d5 12 51 45 c2 b7 8b 8d 47 |?s.......QE....G| +00000290 9e e0 bc 27 69 53 18 b0 15 dc 55 ff f5 40 00 8b |...'iS....U..@..| +000002a0 30 81 88 02 42 01 c6 f8 64 81 90 b8 f5 0d 25 cc |0...B...d.....%.| +000002b0 c7 64 ee 9c f3 44 f4 6a 64 53 e1 ef 50 7f 87 f5 |.d...D.jdS..P...| +000002c0 74 4c 71 0c 0c 42 43 e0 36 57 06 a7 b8 52 85 c6 |tLq..BC.6W...R..| +000002d0 73 77 ad 05 70 e7 9b 2a ac 64 83 a2 f0 1c 63 23 |sw..p..*.d....c#| +000002e0 35 45 ed 60 87 5f 95 02 42 00 c0 ee f3 1c a4 dc |5E.`._..B.......| +000002f0 b2 4a 47 43 47 6a 93 df e8 28 0b 53 ac f7 00 ec |.JGCGj...(.S....| +00000300 c0 c4 18 9a 67 a7 4f 6d 28 81 64 6a 18 1b ca 64 |....g.Om(.dj...d| +00000310 4d eb ea 9a fb c1 fd df 55 90 44 8b 31 24 fd 92 |M.......U.D.1$..| +00000320 43 5b 79 0a a9 12 c5 64 a4 57 8d 16 03 01 00 04 |C[y....d.W......| 00000330 0e 00 00 00 |....| >>> Flow 3 (client to server) 00000000 16 03 01 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 01 00 01 01 |....._X.;t......| -00000030 16 03 01 00 30 04 8a 62 3c aa 95 29 54 97 8f 09 |....0..b<..)T...| -00000040 ce c4 e8 88 51 ca 29 48 5a fb c7 51 0c 2e 99 34 |....Q.)HZ..Q...4| -00000050 ac 3a 2e bb 46 39 d5 81 d3 32 6c ab 1c 2d 2b bd |.:..F9...2l..-+.| -00000060 9c 2e 66 c9 bb |..f..| +00000030 16 03 01 00 30 2d 47 95 9c b6 9c 3e f3 38 5c f8 |....0-G....>.8\.| +00000040 11 e2 6e 2e 0b f7 b2 e3 3f 90 5b 1b 60 35 81 2c |..n.....?.[.`5.,| +00000050 9a 03 dd dd d8 db 1f 1e be e1 f8 17 62 94 be 7f |............b...| +00000060 5a 6c b8 3b e3 |Zl.;.| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 ca 62 0c 6c c6 |..........0.b.l.| -00000010 72 2b 39 66 fb 20 39 c9 a8 9f dd 87 62 68 83 ce |r+9f. 9.....bh..| -00000020 72 18 2e c8 3a 3b fa 15 6d 60 72 ec 6f 62 75 29 |r...:;..m`r.obu)| -00000030 22 b7 b7 c7 17 80 02 3b d2 b1 d4 |"......;...| +00000000 14 03 01 00 01 01 16 03 01 00 30 7f c5 c3 54 a6 |..........0...T.| +00000010 80 0a fa 15 a7 30 fd 1a 92 c6 39 cd 3f 3c 0b 34 |.....0....9.?<.4| +00000020 d0 8e 47 20 2a 68 09 fe d1 70 7e b2 39 9d 15 fa |..G *h...p~.9...| +00000030 9b 3d 71 93 1f f3 ff 91 58 7d dc |.=q.....X}.| >>> Flow 5 (client to server) -00000000 17 03 01 00 20 23 5a bc 6e 6d c3 43 a5 ef 99 b3 |.... #Z.nm.C....| -00000010 95 ad 6a 8f 4a a1 00 82 62 c1 1e 4d c1 87 c9 fa |..j.J...b..M....| -00000020 dd 78 01 2d 25 17 03 01 00 20 fc cf 97 cd c1 7c |.x.-%.... .....|| -00000030 74 b5 98 4f ea 24 04 65 f9 8a 3b b5 d4 0f 13 de |t..O.$.e..;.....| -00000040 65 a6 21 ec 01 17 12 5a f6 3d 15 03 01 00 20 29 |e.!....Z.=.... )| -00000050 09 f5 d6 91 ea 58 1d c9 c6 95 93 f5 a6 4c 6d a3 |.....X.......Lm.| -00000060 81 06 a6 e8 47 86 4d ea a8 ed 3f 1a b1 22 63 |....G.M...?.."c| +00000000 17 03 01 00 20 f7 02 78 11 25 04 fe 17 ea f3 c4 |.... ..x.%......| +00000010 23 fb 08 32 f8 c7 72 6c 08 10 83 07 02 23 86 1d |#..2..rl.....#..| +00000020 5c 99 cc 8c 81 17 03 01 00 20 4c 80 47 cc ba ce |\........ L.G...| +00000030 ba f2 dc a0 c1 c6 38 f7 c0 26 39 ca 1c f0 03 73 |......8..&9....s| +00000040 7a 72 15 62 88 2a d1 1d f5 a0 15 03 01 00 20 f6 |zr.b.*........ .| +00000050 71 95 6b a4 f8 56 0d 65 b6 ef 63 16 75 fe d4 a3 |q.k..V.e..c.u...| +00000060 29 01 33 7f b9 79 b5 ff 44 80 51 6f 93 df 19 |).3..y..D.Qo...| diff --git a/src/crypto/tls/testdata/Client-TLSv10-ECDHE-RSA-AES b/src/crypto/tls/testdata/Client-TLSv10-ECDHE-RSA-AES index ba05fdda05e..b940467bc37 100644 --- a/src/crypto/tls/testdata/Client-TLSv10-ECDHE-RSA-AES +++ b/src/crypto/tls/testdata/Client-TLSv10-ECDHE-RSA-AES @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 fa 78 e5 13 cb |....Y...U...x...| -00000010 c8 b6 86 3f 61 10 6c 35 10 ef 83 87 15 b6 bb 30 |...?a.l5.......0| -00000020 c0 2c d1 eb e1 f5 36 01 e0 3d 05 20 bd 6c 5b fb |.,....6..=. .l[.| -00000030 ca e3 d6 71 d6 8d 2c 0e 33 e6 1c 21 0b f1 5d 04 |...q..,.3..!..].| -00000040 e7 87 a0 e5 93 b3 3b b9 94 9f 6e 4b c0 13 00 00 |......;...nK....| +00000000 16 03 01 00 59 02 00 00 55 03 01 59 96 23 68 9e |....Y...U..Y.#h.| +00000010 5b 0e 69 21 72 b3 81 aa 80 d1 48 9a f8 88 f1 c0 |[.i!r.....H.....| +00000020 da ec ba dc 0d 25 a1 3d 8a 67 93 20 3e 00 5d 71 |.....%.=.g. >.]q| +00000030 52 c4 77 18 65 ba bb 15 67 46 f5 2d 28 99 0a 7f |R.w.e...gF.-(...| +00000040 15 2e f6 ee 89 59 cc c8 7e 78 e6 29 c0 13 00 00 |.....Y..~x.)....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 01 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,36 +82,36 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 01 00 |.=.`.\!.;.......| -000002c0 aa 0c 00 00 a6 03 00 1d 20 90 f3 14 1b df 53 e9 |........ .....S.| -000002d0 7d 09 ec 86 25 ec 97 fd 23 b2 48 ab dd ac 75 c1 |}...%...#.H...u.| -000002e0 ea 58 2c a2 8f 0e 1b a1 18 00 80 06 a9 f1 a5 ff |.X,.............| -000002f0 18 cf 3b d8 15 e8 12 08 c7 52 9c a3 fe 0d 5d d7 |..;......R....].| -00000300 45 50 56 5e 00 62 27 8d dc c5 cc 73 13 6d eb 33 |EPV^.b'....s.m.3| -00000310 b4 d1 d4 7e 8e 33 de 81 cc 6a 4c 8a 8d a3 d6 1b |...~.3...jL.....| -00000320 49 c2 17 a7 aa f3 98 0b 9b 03 cb 73 40 83 83 b7 |I..........s@...| -00000330 44 a7 72 60 04 0e b0 29 c7 96 f2 f5 94 c4 be bb |D.r`...)........| -00000340 4c 72 88 fe ee 3d 6c bb 86 1f 5a 01 1d e4 e6 66 |Lr...=l...Z....f| -00000350 69 73 6a 9e 8c 21 25 58 79 14 41 9d 1e 19 38 e0 |isj..!%Xy.A...8.| -00000360 bd d0 eb 80 56 b3 fb 17 9c c9 69 16 03 01 00 04 |....V.....i.....| +000002c0 aa 0c 00 00 a6 03 00 1d 20 c3 fe 90 da a7 50 29 |........ .....P)| +000002d0 05 21 8b 57 04 d8 b4 be 5b 1c 64 d5 0a dc e0 4b |.!.W....[.d....K| +000002e0 94 c8 0b 6d 00 08 a5 11 4d 00 80 5e 2c 58 1e 0f |...m....M..^,X..| +000002f0 f8 a7 64 dd 70 3a d8 3f 75 9f 81 50 ca f3 29 2a |..d.p:.?u..P..)*| +00000300 f1 68 e9 b4 4b ce 64 05 57 07 76 68 8a f6 3c a2 |.h..K.d.W.vh..<.| +00000310 5d 55 f7 2d 57 d4 ff 2f 77 91 61 8a 46 03 b7 f5 |]U.-W../w.a.F...| +00000320 c3 f0 56 f8 29 88 27 da 2e f8 2c 5a d3 79 a0 7a |..V.).'...,Z.y.z| +00000330 b4 8a 89 fd 90 a8 32 2e 52 ca c7 20 c9 06 60 69 |......2.R.. ..`i| +00000340 80 9e b1 86 a7 e0 91 c1 aa a6 b9 8a 9c cc 04 35 |...............5| +00000350 62 0c 3b a6 4f 3e 0e db 5b 56 67 16 ac 83 e2 13 |b.;.O>..[Vg.....| +00000360 71 39 43 67 0c 3b bf d3 40 ea 4a 16 03 01 00 04 |q9Cg.;..@.J.....| 00000370 0e 00 00 00 |....| >>> Flow 3 (client to server) 00000000 16 03 01 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 01 00 01 01 |....._X.;t......| -00000030 16 03 01 00 30 d4 bf ac 02 80 da 37 55 c1 22 fe |....0......7U.".| -00000040 70 0e 53 5f 6f b2 03 c4 e6 01 2e 2c 9b 88 5e 2d |p.S_o......,..^-| -00000050 cc 84 76 71 73 7c db c5 84 89 c9 11 86 f7 2c 78 |..vqs|........,x| -00000060 01 a7 fe fe a2 |.....| +00000030 16 03 01 00 30 77 f7 85 04 1f 15 df 10 59 35 fc |....0w.......Y5.| +00000040 98 df 1b 6f df 52 38 39 e8 40 64 ea 42 f1 44 4d |...o.R89.@d.B.DM| +00000050 f2 3e 41 48 ce fe fe 59 11 80 bb dc 73 d0 f3 d5 |.>AH...Y....s...| +00000060 8e a2 d5 ef a5 |.....| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 a2 e0 c3 c9 27 |..........0....'| -00000010 ef ab 25 f2 24 3f 61 53 9d 98 a7 03 60 f6 22 6b |..%.$?aS....`."k| -00000020 70 60 37 14 fb e3 50 5e 11 89 f5 7f 00 15 e7 7b |p`7...P^.......{| -00000030 e4 32 77 f8 b4 d7 cf 10 da 1a 70 |.2w.......p| +00000000 14 03 01 00 01 01 16 03 01 00 30 fa 26 00 5d b3 |..........0.&.].| +00000010 db 77 41 1b 2c eb 6e 5c 36 69 1e 7c 8e b1 15 8f |.wA.,.n\6i.|....| +00000020 2e 79 04 13 f6 24 4a 61 2e 9d b5 ba b8 14 59 a8 |.y...$Ja......Y.| +00000030 1b a0 8c 4c 1f fc 97 95 d2 07 50 |...L......P| >>> Flow 5 (client to server) -00000000 17 03 01 00 20 71 84 8e 9c fb 31 e5 5b 1b 1d 03 |.... q....1.[...| -00000010 28 80 87 22 2f 8b f5 6c a9 ff dc a3 b3 36 a8 c5 |(.."/..l.....6..| -00000020 1f 87 db 0a d7 17 03 01 00 20 b8 6f f9 a5 2c b4 |......... .o..,.| -00000030 f7 4a cb 76 9d ac 81 ec 15 71 6e ba 5f 34 f8 0a |.J.v.....qn._4..| -00000040 96 91 87 de 7c dd 7f ac 36 32 15 03 01 00 20 a7 |....|...62.... .| -00000050 83 fb 2b 44 13 3d a2 70 93 7a 05 8f d3 eb 4a 61 |..+D.=.p.z....Ja| -00000060 81 fc a1 14 3e e4 ce 30 79 21 35 3c 3e d0 fe |....>..0y!5<>..| +00000000 17 03 01 00 20 a9 e2 98 7a dc 7f ee 9b 7a 6b 5c |.... ...z....zk\| +00000010 d4 6b 58 c9 9d f7 63 7c 66 8a e3 f3 e4 81 df ad |.kX...c|f.......| +00000020 a6 3c 31 b2 97 17 03 01 00 20 70 a1 36 d5 41 23 |.<1...... p.6.A#| +00000030 3c cd 65 11 00 43 4c 74 a6 82 23 f2 c3 46 b5 10 |<.e..CLt..#..F..| +00000040 8b e5 71 d5 d4 b5 33 25 10 1b 15 03 01 00 20 7e |..q...3%...... ~| +00000050 25 80 98 b6 58 94 bb 2b 85 74 0d f0 94 d6 e7 2b |%...X..+.t.....+| +00000060 66 d2 7a 85 32 0f e7 1d 95 37 02 b2 ba 07 6b |f.z.2....7....k| diff --git a/src/crypto/tls/testdata/Client-TLSv10-ExportKeyingMaterial b/src/crypto/tls/testdata/Client-TLSv10-ExportKeyingMaterial index 348cf2c2e3a..193a22531f2 100644 --- a/src/crypto/tls/testdata/Client-TLSv10-ExportKeyingMaterial +++ b/src/crypto/tls/testdata/Client-TLSv10-ExportKeyingMaterial @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 f9 65 11 d7 b4 |....Y...U...e...| -00000010 75 e6 e3 c2 dc c8 25 74 0d 96 c6 e1 2f 23 a6 8a |u.....%t..../#..| -00000020 85 27 bc aa 7d 9d 3c ce 72 ce 31 20 08 13 74 85 |.'..}.<.r.1 ..t.| -00000030 4f ed 53 bb 13 b1 16 3d c1 4f 1d 8f 0f b6 79 54 |O.S....=.O....yT| -00000040 13 53 66 55 37 b5 bc 81 56 c2 83 06 c0 13 00 00 |.SfU7...V.......| +00000000 16 03 01 00 59 02 00 00 55 03 01 3f 10 66 ad b2 |....Y...U..?.f..| +00000010 ba 2c 36 39 06 cf c1 6e ad 3b f9 31 4a 7a 9c b3 |.,69...n.;.1Jz..| +00000020 e8 f5 38 24 d3 79 9e 06 3b 57 c6 20 c5 1c c9 ce |..8$.y..;W. ....| +00000030 09 ad d3 6c 51 86 59 81 47 23 c2 04 8f 21 dd dc |...lQ.Y.G#...!..| +00000040 d1 6b 22 61 fa 03 e9 17 e8 a5 d4 25 c0 13 00 00 |.k"a.......%....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 01 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,36 +82,36 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 01 00 |.=.`.\!.;.......| -000002c0 aa 0c 00 00 a6 03 00 1d 20 78 d1 bc b1 42 00 f2 |........ x...B..| -000002d0 53 60 aa 3c 95 bd 52 1f e1 ab 2e 5d f9 79 39 94 |S`.<..R....].y9.| -000002e0 9f 3d 66 27 ec 56 a1 bb 6a 00 80 34 54 75 55 62 |.=f'.V..j..4TuUb| -000002f0 0e 4f 8c a3 11 1a 1e 4c da e5 36 44 b7 9f d0 0e |.O.....L..6D....| -00000300 b6 31 8f ab 51 8f 2b 70 ee 6e 70 73 e3 54 23 f4 |.1..Q.+p.nps.T#.| -00000310 d1 f6 fa c0 52 62 69 98 7c 26 6c b8 98 46 d2 15 |....Rbi.|&l..F..| -00000320 aa a5 e2 6b d6 a2 0a 34 09 73 c1 68 76 06 a5 24 |...k...4.s.hv..$| -00000330 14 2a dd 9b ed 1b 66 aa 14 e0 06 fc 68 82 32 13 |.*....f.....h.2.| -00000340 93 fd a5 6f 2b 2d d9 b0 2a 71 50 d7 00 a4 68 58 |...o+-..*qP...hX| -00000350 f0 e2 c7 a1 88 74 b2 2e 75 6b 65 5f 28 75 55 26 |.....t..uke_(uU&| -00000360 a8 53 05 70 ce fd c1 61 b2 19 41 16 03 01 00 04 |.S.p...a..A.....| +000002c0 aa 0c 00 00 a6 03 00 1d 20 30 0d 0c 01 6a a2 38 |........ 0...j.8| +000002d0 00 80 6d e9 12 02 4e 3e e2 38 b4 66 00 ae 59 0d |..m...N>.8.f..Y.| +000002e0 0d 74 51 4f 84 9a 15 b9 35 00 80 d9 ec 94 35 c4 |.tQO....5.....5.| +000002f0 7f 20 d5 e7 47 bd 32 5d 4d 87 e9 d1 d3 7a 1f d9 |. ..G.2]M....z..| +00000300 b0 3f e0 8d 72 65 11 32 c1 31 92 13 84 03 14 44 |.?..re.2.1.....D| +00000310 84 1c a8 ab 20 59 b9 ed f1 87 1c d3 28 8b bf 57 |.... Y......(..W| +00000320 4c 85 e8 c0 98 96 dd f1 71 ba fe 9c a4 84 be dd |L.......q.......| +00000330 e8 77 b4 d7 8d d5 12 09 cc cb 98 a3 e1 49 3f 2a |.w...........I?*| +00000340 c1 24 83 60 1f c3 d0 f8 ae 15 29 3f 56 c9 3d 12 |.$.`......)?V.=.| +00000350 d6 f3 db ad 37 95 00 1f 78 1b 15 db 3c 95 96 2d |....7...x...<..-| +00000360 be c3 e0 55 e5 79 7e a0 7c 10 a2 16 03 01 00 04 |...U.y~.|.......| 00000370 0e 00 00 00 |....| >>> Flow 3 (client to server) 00000000 16 03 01 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 01 00 01 01 |....._X.;t......| -00000030 16 03 01 00 30 8d 37 ef 55 a8 6d cc a5 1f fa 5e |....0.7.U.m....^| -00000040 f1 03 eb 86 0b bb e8 39 87 21 3a ae 9a 4c fb 85 |.......9.!:..L..| -00000050 38 92 bf 20 32 b0 c6 2f 2c 9e 02 b6 5f 13 fe a1 |8.. 2../,..._...| -00000060 0d 72 a1 30 1b |.r.0.| +00000030 16 03 01 00 30 a0 1a cd dc 89 28 c8 2b 8b ad 89 |....0.....(.+...| +00000040 30 ff ab 4a 0c 9d a4 06 5f 5f fb 5a 0f 22 5b 1f |0..J....__.Z."[.| +00000050 b8 12 a6 72 4d 6c f9 88 58 d8 1f 19 54 2b b4 dd |...rMl..X...T+..| +00000060 f9 b2 ca 01 20 |.... | >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 34 0c 1d 0f 40 |..........04...@| -00000010 8c 53 fc 82 65 b5 84 23 69 53 89 47 72 f1 53 f7 |.S..e..#iS.Gr.S.| -00000020 1d 3d 03 51 95 c2 05 1b 7b c9 3d b1 84 18 35 be |.=.Q....{.=...5.| -00000030 36 f2 8c c7 20 9b c1 15 66 42 89 |6... ...fB.| +00000000 14 03 01 00 01 01 16 03 01 00 30 50 5e 11 ed 46 |..........0P^..F| +00000010 af 0b 18 4d 2e 3f c9 77 ba 6e e8 e7 14 c6 d0 85 |...M.?.w.n......| +00000020 cc 6d 4f f2 d5 ad 3d f4 e2 23 88 25 6a 19 87 a7 |.mO...=..#.%j...| +00000030 5a 04 a5 ac d4 bc 85 58 3a d6 1e |Z......X:..| >>> Flow 5 (client to server) -00000000 17 03 01 00 20 27 c9 15 eb c9 56 4e 79 6c 5c cb |.... '....VNyl\.| -00000010 5e 0f 3d 73 91 59 d9 e2 f9 a1 eb cb d4 1a cd 3b |^.=s.Y.........;| -00000020 b0 d6 8b a5 0f 17 03 01 00 20 bc eb dd 61 28 16 |......... ...a(.| -00000030 ce ee ab fb 70 b6 3e c8 fa 2d 32 df 08 1d 74 6c |....p.>..-2...tl| -00000040 20 49 f3 9b ea 23 4e 01 72 e8 15 03 01 00 20 57 | I...#N.r..... W| -00000050 e8 09 b8 f0 8c 5b a4 fd 78 b8 29 3c 37 2b eb 74 |.....[..x.)<7+.t| -00000060 72 34 2a db e1 a2 5d 88 9b a6 64 a1 ce 2f 0e |r4*...]...d../.| +00000000 17 03 01 00 20 9b 93 b5 95 50 b4 fa b4 dc 6d 4b |.... ....P....mK| +00000010 35 87 46 1c 23 c5 52 1c a1 6c b4 ef 4f fb 5a 9e |5.F.#.R..l..O.Z.| +00000020 0f e4 f7 27 6c 17 03 01 00 20 e5 f1 96 bc bc 95 |...'l.... ......| +00000030 63 16 31 bc 8d 93 1f b9 3f 46 60 02 a4 7a b8 27 |c.1.....?F`..z.'| +00000040 86 06 1a 7c 87 78 80 16 17 62 15 03 01 00 20 4e |...|.x...b.... N| +00000050 f4 e3 6c 16 aa 27 59 1c b6 a8 36 72 66 7a 3c 3e |..l..'Y...6rfz<>| +00000060 6c 76 66 44 0f ed 88 c2 35 55 0f 43 aa ad ab |lvfD....5U.C...| diff --git a/src/crypto/tls/testdata/Client-TLSv10-RSA-RC4 b/src/crypto/tls/testdata/Client-TLSv10-RSA-RC4 index d9e8839e329..d59567bb4d1 100644 --- a/src/crypto/tls/testdata/Client-TLSv10-RSA-RC4 +++ b/src/crypto/tls/testdata/Client-TLSv10-RSA-RC4 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 01 00 51 02 00 00 4d 03 01 c7 db 4d e0 3f |....Q...M....M.?| -00000010 87 21 40 28 05 eb fb 1c 4c c4 95 5f 2b b2 b0 e2 |.!@(....L.._+...| -00000020 9b 7e 02 1b b6 a7 96 a3 56 9a 4e 20 38 78 3d 01 |.~......V.N 8x=.| -00000030 59 26 86 4a 3f f4 fb 6c db c1 82 b8 f3 23 2c 54 |Y&.J?..l.....#,T| -00000040 01 22 10 0c c9 4b e3 3d b9 f5 16 1f 00 05 00 00 |."...K.=........| +00000000 16 03 01 00 51 02 00 00 4d 03 01 22 35 f0 bf b9 |....Q...M.."5...| +00000010 78 b9 c6 26 9d 67 33 d9 6c 03 8f 7b 6a 2e 8f 56 |x..&.g3.l..{j..V| +00000020 82 b2 c8 09 97 72 20 d9 54 03 5d 20 6c 37 e8 2a |.....r .T.] l7.*| +00000030 25 c4 8c 21 ea 87 fc c7 b1 9f 41 2f 4e 44 b7 88 |%..!......A/ND..| +00000040 9b d2 54 64 a5 a7 c1 f0 39 d0 10 29 00 05 00 00 |..Td....9..)....| 00000050 05 ff 01 00 01 00 16 03 01 02 59 0b 00 02 55 00 |..........Y...U.| 00000060 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| 00000070 01 02 02 09 00 e8 f0 9d 3f e2 5b ea a6 30 0d 06 |........?.[..0..| @@ -71,15 +92,15 @@ 00000060 c5 70 0f 08 83 48 e9 48 ef 6e 50 8b 05 7e e5 84 |.p...H.H.nP..~..| 00000070 25 fa 55 c7 ae 31 02 27 00 ef 3f 98 86 20 12 89 |%.U..1.'..?.. ..| 00000080 91 59 28 b4 f7 d7 af d2 69 61 35 14 03 01 00 01 |.Y(.....ia5.....| -00000090 01 16 03 01 00 24 db 4e 84 c3 30 79 f9 75 d3 23 |.....$.N..0y.u.#| -000000a0 da e6 8f fd 97 81 8f e7 ce 45 0d 28 5c fc 7f 4f |.........E.(\..O| -000000b0 cb 83 cc 75 8c b1 a8 c9 1c e6 |...u......| +00000090 01 16 03 01 00 24 a2 58 5d 3a 0f a4 80 9e 38 1b |.....$.X]:....8.| +000000a0 48 ce 48 e0 23 7c 3b 5f 2f 9b 56 f7 40 47 fe 18 |H.H.#|;_/.V.@G..| +000000b0 64 44 32 97 4d e5 f5 b6 13 26 |dD2.M....&| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 24 10 ea 40 62 a2 |..........$..@b.| -00000010 a7 64 15 15 9d fa 90 a4 f7 0b 57 9c 9f d4 1c 02 |.d........W.....| -00000020 5b 2a e1 d6 ab 1f e0 5c 01 10 2a 36 a3 97 cd |[*.....\..*6...| +00000000 14 03 01 00 01 01 16 03 01 00 24 9c a6 7b 5e 4a |..........$..{^J| +00000010 e4 b8 d6 50 98 58 5f 20 ca 16 09 fb af d8 75 4c |...P.X_ ......uL| +00000020 b9 1a c7 15 76 46 1e 7d 66 b7 e3 69 95 db fc |....vF.}f..i...| >>> Flow 5 (client to server) -00000000 17 03 01 00 1a fc 69 06 aa 26 2c 9f 72 b6 34 85 |......i..&,.r.4.| -00000010 62 d5 b6 32 66 54 6b 4c 63 4a 92 a8 e4 23 8e 15 |b..2fTkLcJ...#..| -00000020 03 01 00 16 b7 a0 df a9 ba 1a 86 23 9a b9 62 20 |...........#..b | -00000030 99 b5 76 f4 bd e0 13 6a f8 5a |..v....j.Z| +00000000 17 03 01 00 1a b8 0a 8d f1 31 95 82 30 b5 06 09 |.........1..0...| +00000010 e1 9d 43 0a c1 87 01 e7 62 97 51 85 c5 13 f4 15 |..C.....b.Q.....| +00000020 03 01 00 16 9a bc 5e 07 1d df d0 d2 38 c8 56 c7 |......^.....8.V.| +00000030 c7 ac bf 37 cb 0f 83 86 78 d4 |...7....x.| diff --git a/src/crypto/tls/testdata/Client-TLSv11-ECDHE-ECDSA-AES b/src/crypto/tls/testdata/Client-TLSv11-ECDHE-ECDSA-AES index 9fcb56f13a4..21a059c2f4d 100644 --- a/src/crypto/tls/testdata/Client-TLSv11-ECDHE-ECDSA-AES +++ b/src/crypto/tls/testdata/Client-TLSv11-ECDHE-ECDSA-AES @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 02 00 59 02 00 00 55 03 02 2b 84 a6 4d 35 |....Y...U..+..M5| -00000010 e4 3e b9 59 6e c8 d6 de 15 38 52 fc 42 2b f6 a5 |.>.Yn....8R.B+..| -00000020 d5 8e 2f 55 20 fe ad 9f 76 ab 9d 20 d0 71 29 60 |../U ...v.. .q)`| -00000030 92 cc a7 75 65 82 07 4e 2b 8e ae 90 4f dd a1 73 |...ue..N+...O..s| -00000040 d6 e1 8b 52 08 8f 19 c8 45 4d 4e 63 c0 09 00 00 |...R....EMNc....| +00000000 16 03 02 00 59 02 00 00 55 03 02 3c 8f bd 50 75 |....Y...U..<..Pu| +00000010 cd c4 18 6e 36 8c ac 46 6a b9 e1 a4 b6 de 8a ec |...n6..Fj.......| +00000020 29 2d e1 7a db b1 05 9e d9 a9 2e 20 07 4f ea e9 |)-.z....... .O..| +00000030 6f d0 04 68 bc 72 24 9e 52 37 97 c9 ce 18 eb 67 |o..h.r$.R7.....g| +00000040 fc 6c 66 81 a4 ca 75 ad 69 30 8d 35 c0 09 00 00 |.lf...u.i0.5....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 02 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| 00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| @@ -56,39 +77,39 @@ 00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| 00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| 00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| -00000270 2a 16 03 02 00 b5 0c 00 00 b1 03 00 1d 20 8d 15 |*............ ..| -00000280 f7 10 24 67 b2 c7 9e 4f c3 b4 5f 56 5b e6 36 27 |..$g...O.._V[.6'| -00000290 72 12 eb cc 69 ae e5 8f 50 50 fc b2 64 58 00 8b |r...i...PP..dX..| -000002a0 30 81 88 02 42 00 92 11 84 0d fd f1 9a e2 91 98 |0...B...........| -000002b0 01 e7 de 8e 76 47 88 12 a1 97 fa 42 9d 71 c9 92 |....vG.....B.q..| -000002c0 56 9d 3a 0e 19 bf 52 a0 f1 bf 81 81 3c 35 74 f2 |V.:...R.....<5t.| -000002d0 29 4a 23 5b d8 a4 82 f1 fc 82 3d d6 3f ed 84 e7 |)J#[......=.?...| -000002e0 09 2f db 76 30 8b eb 02 42 01 1e 67 23 2e f9 89 |./.v0...B..g#...| -000002f0 43 37 df 64 97 ca a2 12 3b 7a 44 89 0e 8d 85 c7 |C7.d....;zD.....| -00000300 e2 4a 60 5d c0 6c 65 1e 1f 2e 23 52 58 e8 8d a4 |.J`].le...#RX...| -00000310 d0 4b 8c ba 65 85 54 4a f2 5b 6b b6 8c 97 27 61 |.K..e.TJ.[k...'a| -00000320 71 31 a2 2c fc 86 ea be 14 3d 64 16 03 02 00 04 |q1.,.....=d.....| +00000270 2a 16 03 02 00 b5 0c 00 00 b1 03 00 1d 20 ed 6d |*............ .m| +00000280 2f 03 ec 2b c5 f3 e7 f3 54 63 2c bd ff 6e 2d ca |/..+....Tc,..n-.| +00000290 8e b2 02 ec 2c f6 48 b6 bf 88 8c 1a 86 6f 00 8b |....,.H......o..| +000002a0 30 81 88 02 42 01 0b fa 04 bf cf 23 c8 89 08 6e |0...B......#...n| +000002b0 26 d9 60 7b 61 8b 9c 2e 17 c7 8a 1a ea bf 9c cb |&.`{a...........| +000002c0 7e 57 b3 6f 49 44 4d 28 2e 24 85 26 7f 64 a9 6b |~W.oIDM(.$.&.d.k| +000002d0 4b b2 db 50 0d cd 32 7e 34 32 10 ce 5f e6 ad 4c |K..P..2~42.._..L| +000002e0 91 90 2a 81 01 89 a8 02 42 00 ed b8 79 67 24 9c |..*.....B...yg$.| +000002f0 fa 6b 9f 8b 97 10 80 59 44 12 a0 3d 21 ba 50 ee |.k.....YD..=!.P.| +00000300 6c 8b 97 ca 37 66 c1 bf a7 60 87 55 c7 23 d6 4c |l...7f...`.U.#.L| +00000310 04 e0 28 5b 8b b1 5d ed 89 bc 1f db e3 d8 8a 53 |..([..]........S| +00000320 e0 35 f9 4c 5b 3c 38 1f 12 5f cb 16 03 02 00 04 |.5.L[<8.._......| 00000330 0e 00 00 00 |....| >>> Flow 3 (client to server) 00000000 16 03 02 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 02 00 01 01 |....._X.;t......| 00000030 16 03 02 00 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000040 00 00 00 00 00 cc dd 94 0a 16 66 6d 9d 3f 07 c9 |..........fm.?..| -00000050 5f 80 5d 86 1d 56 34 d2 00 fc 01 f9 0c 08 b9 a2 |_.]..V4.........| -00000060 13 e9 43 4d 05 d3 c3 76 fb c8 8a 3e 53 12 fd c0 |..CM...v...>S...| -00000070 f5 b0 b5 b7 0b |.....| +00000040 00 00 00 00 00 f0 e4 03 c7 51 a8 d0 e8 6a f9 b2 |.........Q...j..| +00000050 41 dd e2 3f ec 08 29 4b 86 fe 83 d3 93 1a b4 c5 |A..?..)K........| +00000060 86 3f be 9c 1f f4 c1 77 bb 12 23 73 87 37 9f 58 |.?.....w..#s.7.X| +00000070 e6 74 db 19 b4 |.t...| >>> Flow 4 (server to client) -00000000 14 03 02 00 01 01 16 03 02 00 40 63 eb cd f7 a9 |..........@c....| -00000010 b1 4b e5 73 1c 8e 61 a8 55 9e 0f 32 3a 61 bb bd |.K.s..a.U..2:a..| -00000020 44 c5 0d e5 55 12 ba 3d ce 89 71 bf 23 5a fa e1 |D...U..=..q.#Z..| -00000030 9b 13 a6 54 9d 01 89 36 d9 e5 c9 bc 5b e7 10 85 |...T...6....[...| -00000040 c0 9d 3d 2e 89 39 ae 6b 95 98 ce |..=..9.k...| +00000000 14 03 02 00 01 01 16 03 02 00 40 e8 83 6c c1 7f |..........@..l..| +00000010 a2 c9 16 3b d9 50 5d 07 ec 2a a0 a0 bd b6 29 b1 |...;.P]..*....).| +00000020 16 f1 f1 68 e8 bc 09 9e 56 f3 22 dd e4 95 36 2e |...h....V."...6.| +00000030 b4 b1 04 48 9a 71 e0 61 80 ea 41 6b d4 f0 5f 9d |...H.q.a..Ak.._.| +00000040 fa 62 03 51 7c 79 71 9c 6b 35 18 |.b.Q|yq.k5.| >>> Flow 5 (client to server) 00000000 17 03 02 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........| -00000010 00 00 00 00 00 22 20 b4 87 ad e0 68 8d 3f 0c d0 |....." ....h.?..| -00000020 0d 9d be 63 96 6c d4 e5 cf aa 3e a5 b6 c9 77 1f |...c.l....>...w.| -00000030 53 3d aa c2 fb 15 03 02 00 30 00 00 00 00 00 00 |S=.......0......| -00000040 00 00 00 00 00 00 00 00 00 00 e2 c3 a3 56 53 9a |.............VS.| -00000050 45 db b5 6c 12 f5 a1 4e ed ab 30 f4 6b e5 2f 6a |E..l...N..0.k./j| -00000060 12 7d ed 27 41 e6 fc 77 0f bb |.}.'A..w..| +00000010 00 00 00 00 00 81 51 34 85 ae 91 fa 8d c7 ed c5 |......Q4........| +00000020 e6 68 fe b3 52 79 10 48 46 9d cb 48 49 e4 b3 a2 |.h..Ry.HF..HI...| +00000030 a3 ce af 3f 9f 15 03 02 00 30 00 00 00 00 00 00 |...?.....0......| +00000040 00 00 00 00 00 00 00 00 00 00 5b 61 94 45 14 1c |..........[a.E..| +00000050 3e 75 fb 75 ec 63 c2 ac 11 2b 76 c3 2d 61 6f f3 |>u.u.c...+v.-ao.| +00000060 5b 90 d7 62 d9 36 f6 55 0a a6 |[..b.6.U..| diff --git a/src/crypto/tls/testdata/Client-TLSv11-ECDHE-RSA-AES b/src/crypto/tls/testdata/Client-TLSv11-ECDHE-RSA-AES index c16cd25ef62..4735c3d0d3c 100644 --- a/src/crypto/tls/testdata/Client-TLSv11-ECDHE-RSA-AES +++ b/src/crypto/tls/testdata/Client-TLSv11-ECDHE-RSA-AES @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 02 00 59 02 00 00 55 03 02 e2 43 08 62 d6 |....Y...U...C.b.| -00000010 8e 6c 71 d4 03 56 cd 59 3f 23 10 b0 dc 09 57 63 |.lq..V.Y?#....Wc| -00000020 27 a3 39 ea 6b ff 4d 49 8d dd 50 20 e1 ed 1c 97 |'.9.k.MI..P ....| -00000030 1b b2 c2 01 6e 99 8a dd 61 93 9a 73 a8 46 a9 29 |....n...a..s.F.)| -00000040 ad 65 26 da 60 3f ed 6c 72 bd 2c c7 c0 13 00 00 |.e&.`?.lr.,.....| +00000000 16 03 02 00 59 02 00 00 55 03 02 8d 5f 6f a7 e2 |....Y...U..._o..| +00000010 a6 f4 5c b0 c7 74 fd d5 39 b3 32 09 82 30 7e 6c |..\..t..9.2..0~l| +00000020 af 60 d1 c3 fc 93 7e ca 4e df 5b 20 6c fd bd cc |.`....~.N.[ l...| +00000030 28 03 40 13 35 1d 77 3f 1c d6 e8 8b 4e e5 65 27 |(.@.5.w?....N.e'| +00000040 d6 03 4a d9 bf 0b c0 a6 3f 87 63 ea c0 13 00 00 |..J.....?.c.....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 02 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,38 +82,38 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 02 00 |.=.`.\!.;.......| -000002c0 aa 0c 00 00 a6 03 00 1d 20 9a a4 b0 ac 5e 27 a9 |........ ....^'.| -000002d0 84 2e 66 9c 52 25 7d 21 6d 30 0a 24 7e 19 c7 6b |..f.R%}!m0.$~..k| -000002e0 c8 d9 ba b1 61 21 d0 7d 51 00 80 c5 6b b8 5c 58 |....a!.}Q...k.\X| -000002f0 41 f4 7c fd bf 28 6d 8c cc 68 c4 6c dd b5 fc 27 |A.|..(m..h.l...'| -00000300 2e 60 98 4c 43 fc d6 69 60 5f 19 f1 05 f9 1b be |.`.LC..i`_......| -00000310 48 a6 28 19 d6 7e 05 f8 90 51 b6 1b 0f 81 b4 e9 |H.(..~...Q......| -00000320 ef 2c 61 3f 44 fa ac fd 47 18 c3 b6 66 d9 10 e2 |.,a?D...G...f...| -00000330 2b 75 fc 12 34 ad fc 15 e1 e8 a9 2b c3 e9 fb ab |+u..4......+....| -00000340 52 29 15 14 0f c5 d0 00 4d 41 11 01 36 30 92 f9 |R)......MA..60..| -00000350 26 72 17 f4 da 90 f4 c7 5f 16 44 58 2b bf b5 fa |&r......_.DX+...| -00000360 54 29 c3 88 dd 66 5a 2a ed 71 b1 16 03 02 00 04 |T)...fZ*.q......| +000002c0 aa 0c 00 00 a6 03 00 1d 20 62 2d 12 fe 39 e9 03 |........ b-..9..| +000002d0 5a 98 db ec b2 dd 64 fa 80 4a 06 85 70 9e 47 12 |Z.....d..J..p.G.| +000002e0 97 39 af 8d 68 6d 2d 04 45 00 80 c9 86 1a 3d e3 |.9..hm-.E.....=.| +000002f0 99 35 de 79 07 54 d4 79 dc 71 df 1b bd b0 e4 7e |.5.y.T.y.q.....~| +00000300 4f f6 05 ca d0 59 f4 17 7f b3 19 e3 4f 87 89 7f |O....Y......O...| +00000310 0e 7a f6 d7 6a 6d 65 aa 5e f8 e9 bc e4 fa e4 70 |.z..jme.^......p| +00000320 ac 3c 57 fd 80 a6 f3 ed 87 b5 4e ff d6 9f 54 7f |.>> Flow 3 (client to server) 00000000 16 03 02 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 02 00 01 01 |....._X.;t......| 00000030 16 03 02 00 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000040 00 00 00 00 00 c8 e1 15 6a e9 67 43 24 88 f5 08 |........j.gC$...| -00000050 b7 fc 35 69 06 5a 44 25 75 7b eb 8a f5 fb f2 de |..5i.ZD%u{......| -00000060 63 36 14 a8 46 83 eb aa f6 e1 a5 a8 b4 1c ac 2e |c6..F...........| -00000070 ce 5c 3c 54 b1 |.\>> Flow 4 (server to client) -00000000 14 03 02 00 01 01 16 03 02 00 40 ef f7 d8 df 4f |..........@....O| -00000010 f2 37 ed 65 b7 dc 06 a6 f5 5e 83 fb 8a 06 9b f1 |.7.e.....^......| -00000020 20 b0 32 fa e3 6e 9b 34 2b d1 76 72 5b 91 50 f2 | .2..n.4+.vr[.P.| -00000030 7b 9f 20 fe 03 71 4e 7f c4 2c 7b ce 50 17 0e 93 |{. ..qN..,{.P...| -00000040 72 21 2e f0 ac ae 94 21 01 73 0a |r!.....!.s.| +00000000 14 03 02 00 01 01 16 03 02 00 40 aa a0 15 9f 62 |..........@....b| +00000010 59 89 c4 de 32 f5 9c 47 09 bb 83 bc 46 d8 bb db |Y...2..G....F...| +00000020 38 e5 2d 41 b2 7c 88 c0 12 55 79 fb 35 a4 4a 31 |8.-A.|...Uy.5.J1| +00000030 8c 42 05 98 fa ab 32 9a d1 14 d2 90 ed f8 54 c2 |.B....2.......T.| +00000040 74 b2 24 96 a4 7f 27 42 84 1a ef |t.$...'B...| >>> Flow 5 (client to server) 00000000 17 03 02 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........| -00000010 00 00 00 00 00 a6 05 8e 2e 56 e4 17 57 a8 ab 8b |.........V..W...| -00000020 28 c2 8b e4 45 fd f7 7a be d3 70 9c 35 b1 fa 7b |(...E..z..p.5..{| -00000030 2e 6c 22 ea 17 15 03 02 00 30 00 00 00 00 00 00 |.l"......0......| -00000040 00 00 00 00 00 00 00 00 00 00 ea f3 63 f7 78 0f |............c.x.| -00000050 7b 6a 2e 6f 2c 3e 9a 9b a2 54 a8 85 27 f8 40 25 |{j.o,>...T..'.@%| -00000060 30 8d df 10 ac 0c d3 78 7f 71 |0......x.q| +00000010 00 00 00 00 00 6a ed 6f b6 52 74 b2 ba ef 0e 21 |.....j.o.Rt....!| +00000020 cf 3f 02 e9 8f 72 19 db 15 34 98 03 a3 97 69 e3 |.?...r...4....i.| +00000030 3c 62 09 06 74 15 03 02 00 30 00 00 00 00 00 00 |....9Z..0.\| +00000060 16 b4 7d 08 fd 3f 2f 14 81 c4 |..}..?/...| diff --git a/src/crypto/tls/testdata/Client-TLSv11-RSA-RC4 b/src/crypto/tls/testdata/Client-TLSv11-RSA-RC4 index f1e5a3b69d8..8099c453e35 100644 --- a/src/crypto/tls/testdata/Client-TLSv11-RSA-RC4 +++ b/src/crypto/tls/testdata/Client-TLSv11-RSA-RC4 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 02 00 51 02 00 00 4d 03 02 77 85 c6 83 39 |....Q...M..w...9| -00000010 1a 92 80 58 e6 3f 2e 3d a7 5e a6 aa 7f 71 dc 4a |...X.?.=.^...q.J| -00000020 d4 41 9c 3b 4e 3a 24 e7 d1 d6 2e 20 f3 b4 20 82 |.A.;N:$.... .. .| -00000030 70 01 46 66 39 76 a0 fa dc 75 5d 1c 9c a9 21 df |p.Ff9v...u]...!.| -00000040 39 fe 5f 66 ad 3e e4 45 6c 61 9d ec 00 05 00 00 |9._f.>.Ela......| +00000000 16 03 02 00 51 02 00 00 4d 03 02 81 1d 4c b1 76 |....Q...M....L.v| +00000010 79 6a 52 96 a0 fa 0d f0 67 9c b0 1a 56 f5 9d 57 |yjR.....g...V..W| +00000020 67 24 ae 77 aa 52 85 bc 8d 2f 25 20 fb 94 32 14 |g$.w.R.../% ..2.| +00000030 b6 22 4c ed 1a 97 05 63 b9 1b cd 19 a4 71 65 97 |."L....c.....qe.| +00000040 07 3b b0 59 4f 59 15 fe a4 2a da 5a 00 05 00 00 |.;.YOY...*.Z....| 00000050 05 ff 01 00 01 00 16 03 02 02 59 0b 00 02 55 00 |..........Y...U.| 00000060 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| 00000070 01 02 02 09 00 e8 f0 9d 3f e2 5b ea a6 30 0d 06 |........?.[..0..| @@ -71,15 +92,15 @@ 00000060 c5 70 0f 08 83 48 e9 48 ef 6e 50 8b 05 7e e5 84 |.p...H.H.nP..~..| 00000070 25 fa 55 c7 ae 31 02 27 00 ef 3f 98 86 20 12 89 |%.U..1.'..?.. ..| 00000080 91 59 28 b4 f7 d7 af d2 69 61 35 14 03 02 00 01 |.Y(.....ia5.....| -00000090 01 16 03 02 00 24 53 6c 81 c5 58 15 92 1d c2 43 |.....$Sl..X....C| -000000a0 64 5a cc 47 00 c3 ac 93 e0 ce b0 12 ad c0 46 2b |dZ.G..........F+| -000000b0 d5 98 0a 62 83 b4 d5 47 7f f2 |...b...G..| +00000090 01 16 03 02 00 24 78 40 40 1d fc 2c bb dd e8 e2 |.....$x@@..,....| +000000a0 74 92 90 cb 16 03 d9 47 7f 1d bd 10 f2 f1 af fe |t......G........| +000000b0 b5 7b 95 91 d1 6b 7d f3 bc 1f |.{...k}...| >>> Flow 4 (server to client) -00000000 14 03 02 00 01 01 16 03 02 00 24 45 82 0c 11 3e |..........$E...>| -00000010 79 39 fe 21 25 d7 13 72 c0 d2 93 3e 91 d3 14 f7 |y9.!%..r...>....| -00000020 24 ce 3c 36 a3 cf 2f 5e 39 7c 8d ea 31 a8 0c |$.<6../^9|..1..| +00000000 14 03 02 00 01 01 16 03 02 00 24 67 5a ce 83 1a |..........$gZ...| +00000010 55 18 d8 bd 26 b5 1c d8 de b3 85 5c 19 7b 77 93 |U...&......\.{w.| +00000020 d0 85 c3 ec 01 9d 16 a3 1c 9f 37 7b 82 a7 a3 |..........7{...| >>> Flow 5 (client to server) -00000000 17 03 02 00 1a 7a 45 07 af 78 ed 83 ed 4c 18 f2 |.....zE..x...L..| -00000010 ed d1 61 43 50 95 43 50 5f b1 a5 f3 61 4f 29 15 |..aCP.CP_...aO).| -00000020 03 02 00 16 c3 86 84 11 18 ab 6e 78 f8 cc 85 e1 |..........nx....| -00000030 12 98 ae 76 87 5a cf 57 0b 22 |...v.Z.W."| +00000000 17 03 02 00 1a e6 68 09 e2 e1 0a 4f 9a 9c 6d 7c |......h....O..m|| +00000010 d6 9f 91 ba 91 e0 6f 1e 1a db 2c b8 9f ea d9 15 |......o...,.....| +00000020 03 02 00 16 06 d5 50 11 86 7f 8d d9 74 de 9f a3 |......P.....t...| +00000030 58 c3 c6 27 24 17 8a 3f 64 3b |X..'$..?d;| diff --git a/src/crypto/tls/testdata/Client-TLSv12-AES128-GCM-SHA256 b/src/crypto/tls/testdata/Client-TLSv12-AES128-GCM-SHA256 index 4897c7768b4..e7ae17e5c51 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-AES128-GCM-SHA256 +++ b/src/crypto/tls/testdata/Client-TLSv12-AES128-GCM-SHA256 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 51 02 00 00 4d 03 03 e7 80 a2 cb d5 |....Q...M.......| -00000010 49 88 5b 23 53 c7 ec 4a 53 55 5c 99 2b 34 7c 46 |I.[#S..JSU\.+4|F| -00000020 58 fa 12 e1 e6 eb 25 b4 d6 36 14 20 7e 20 cc 81 |X.....%..6. ~ ..| -00000030 2d 5d bd 2f 55 85 0e 90 68 db 4f f5 50 ed 5a ed |-]./U...h.O.P.Z.| -00000040 c1 1d 08 0c 3e ec 08 29 ab 05 93 84 00 9c 00 00 |....>..)........| +00000000 16 03 03 00 51 02 00 00 4d 03 03 1f 05 37 f7 73 |....Q...M....7.s| +00000010 f9 ef 3b 05 d1 f6 a7 de 93 43 2b dd cc 81 dc 82 |..;......C+.....| +00000020 95 d0 ad 4e 2b af 09 80 ed b3 a7 20 92 45 50 fa |...N+...... .EP.| +00000030 a7 8f 67 c1 7b 3a c7 5f db bc df 63 53 61 f0 42 |..g.{:._...cSa.B| +00000040 87 56 f5 08 7e e2 2f 43 93 28 bf c4 00 9c 00 00 |.V..~./C.(......| 00000050 05 ff 01 00 01 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000060 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| 00000070 01 02 02 09 00 e8 f0 9d 3f e2 5b ea a6 30 0d 06 |........?.[..0..| @@ -71,17 +92,17 @@ 00000060 c5 70 0f 08 83 48 e9 48 ef 6e 50 8b 05 7e e5 84 |.p...H.H.nP..~..| 00000070 25 fa 55 c7 ae 31 02 27 00 ef 3f 98 86 20 12 89 |%.U..1.'..?.. ..| 00000080 91 59 28 b4 f7 d7 af d2 69 61 35 14 03 03 00 01 |.Y(.....ia5.....| -00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 29 1c |.....(........).| -000000a0 41 c5 df 82 14 4e 9b 66 2f 56 35 5b ae b5 4d 09 |A....N.f/V5[..M.| -000000b0 5e df 1e cb 2a 9b 7c ac c7 25 50 ff 50 61 |^...*.|..%P.Pa| +00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 9a 45 |.....(.........E| +000000a0 bd 03 89 c5 8a 68 02 9c f7 98 b5 31 0b 1b c4 e9 |.....h.....1....| +000000b0 8f 15 df c9 ac 01 d6 d3 8b 57 53 34 7d 2b |.........WS4}+| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 55 9a 0c 6f c0 |..........(U..o.| -00000010 64 da c8 37 d8 ec d5 b8 57 1d 50 9f 9c a6 9b cf |d..7....W.P.....| -00000020 b9 a5 9a 1b 90 25 71 20 54 56 a4 23 09 fa 0d 08 |.....%q TV.#....| -00000030 57 23 e8 |W#.| +00000000 14 03 03 00 01 01 16 03 03 00 28 b9 91 ab dd a3 |..........(.....| +00000010 6b b2 93 52 6b 2c 84 97 05 c9 c0 da d1 8b 5d 20 |k..Rk,........] | +00000020 a3 4a 94 aa 54 fd 02 86 82 f7 33 16 1e 68 ea 86 |.J..T.....3..h..| +00000030 a9 ff 73 |..s| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 67 1b cc |.............g..| -00000010 67 44 5b 4d d8 38 3c 69 6e 40 24 4f be 8e 33 ec |gD[M.8>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 51 02 00 00 4d 03 03 99 96 8e de bf |....Q...M.......| -00000010 cc 68 e0 34 27 7c 65 b2 a2 07 34 27 8d c9 17 60 |.h.4'|e...4'...`| -00000020 4c fa 56 16 4f fe df 8f a6 74 5a 20 00 61 d8 42 |L.V.O....tZ .a.B| -00000030 4f cd 56 cb cb d4 22 cb ac 45 55 6a e2 f4 25 c6 |O.V..."..EUj..%.| -00000040 5e 6d ee e7 9f eb 19 8f 79 da 8f d7 00 3c 00 00 |^m......y....<..| +00000000 16 03 03 00 51 02 00 00 4d 03 03 1f 9a e0 2d c2 |....Q...M.....-.| +00000010 74 cf 7d 9a 15 7a 07 25 4b 21 e0 21 e3 a0 1f b1 |t.}..z.%K!.!....| +00000020 8e 13 ae e9 2b 8c 0d b0 11 01 8a 20 05 9b b3 45 |....+...... ...E| +00000030 af 01 db fa c3 e1 a5 28 ea ff 04 84 1c f2 f8 c6 |.......(........| +00000040 09 46 90 08 87 69 46 07 2b 39 1d 12 00 3c 00 00 |.F...iF.+9...<..| 00000050 05 ff 01 00 01 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000060 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| 00000070 01 02 02 09 00 e8 f0 9d 3f e2 5b ea a6 30 0d 06 |........?.[..0..| @@ -72,25 +93,25 @@ 00000070 25 fa 55 c7 ae 31 02 27 00 ef 3f 98 86 20 12 89 |%.U..1.'..?.. ..| 00000080 91 59 28 b4 f7 d7 af d2 69 61 35 14 03 03 00 01 |.Y(.....ia5.....| 00000090 01 16 03 03 00 50 00 00 00 00 00 00 00 00 00 00 |.....P..........| -000000a0 00 00 00 00 00 00 5e 43 0c 90 fe b7 a7 d6 eb de |......^C........| -000000b0 61 b4 eb 6e d9 fb 1c 5b 54 5b ae 10 5b de 27 02 |a..n...[T[..[.'.| -000000c0 2a 57 ee 1a 5e fb cc bb ad da ac 92 f1 0a 57 73 |*W..^.........Ws| -000000d0 dc 29 5f 16 e6 c4 cb f0 31 c5 20 d0 c0 28 19 32 |.)_.....1. ..(.2| -000000e0 5b e2 ac 64 2d eb |[..d-.| +000000a0 00 00 00 00 00 00 75 0f 7b a0 2d df da 22 ec 8c |......u.{.-.."..| +000000b0 c4 98 c6 d8 40 a4 03 54 c8 25 76 39 87 e1 79 82 |....@..T.%v9..y.| +000000c0 b2 e0 cb 3b f9 98 fc b5 b9 6e 76 56 e8 d4 31 c9 |...;.....nvV..1.| +000000d0 26 84 9c e3 1b 74 48 a1 59 1d 41 b4 94 b8 4d c3 |&....tH.Y.A...M.| +000000e0 45 2f 02 cf 21 45 |E/..!E| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 50 30 ff 30 c1 6d |..........P0.0.m| -00000010 8b 8b 73 31 d6 33 8c ce 18 a3 41 38 a0 2c ce f6 |..s1.3....A8.,..| -00000020 1d 53 52 66 33 59 6c c4 de 61 45 60 60 50 ff c8 |.SRf3Yl..aE``P..| -00000030 ad 26 92 d9 89 7a 12 f0 82 61 df c6 a8 cc ca a6 |.&...z...a......| -00000040 52 52 9f 24 b0 cb 1e 79 d0 12 e1 61 18 0c c8 bc |RR.$...y...a....| -00000050 f0 f1 54 86 c5 2a 8d 9c cb 8f fc |..T..*.....| +00000000 14 03 03 00 01 01 16 03 03 00 50 0f c0 78 a5 01 |..........P..x..| +00000010 c6 4e f6 6a 9f 59 1c da 1e 4a 05 f6 19 14 c2 64 |.N.j.Y...J.....d| +00000020 39 01 5c 10 aa 9c 65 5c 58 b8 92 b5 e8 5a 34 9d |9.\...e\X....Z4.| +00000030 89 b6 14 07 67 bd 18 d0 c0 92 dd 55 95 d3 80 32 |....g......U...2| +00000040 49 12 18 84 94 8a cd ac 07 b1 dc 36 f3 87 46 12 |I..........6..F.| +00000050 6c 2a 8a 38 0c 70 74 c4 05 3e 44 |l*.8.pt..>D| >>> Flow 5 (client to server) 00000000 17 03 03 00 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000010 00 00 00 00 00 72 cc 50 8b 2f 17 86 fe 91 2e c5 |.....r.P./......| -00000020 18 5d f3 51 ea 4f 77 19 5b 11 3e 9a b6 3e 2c 6e |.].Q.Ow.[.>..>,n| -00000030 0b 67 6d 39 a4 31 0f 7c a5 de 3e bb 7d b7 29 88 |.gm9.1.|..>.}.).| -00000040 d2 9a 12 27 9e 15 03 03 00 40 00 00 00 00 00 00 |...'.....@......| -00000050 00 00 00 00 00 00 00 00 00 00 f6 44 f8 eb cf e0 |...........D....| -00000060 dd 07 ab aa 90 72 11 cb e6 3c d5 29 f6 4d 45 72 |.....r...<.).MEr| -00000070 e7 db a9 52 1b f2 ff fb 60 91 23 cc a5 1a 00 4f |...R....`.#....O| -00000080 57 3a a0 da e4 ee 3d 80 32 70 |W:....=.2p| +00000010 00 00 00 00 00 18 0d d4 52 b2 92 8b 26 8d 50 ed |........R...&.P.| +00000020 0f 32 da 80 0d 53 36 ee 0f 68 da 37 68 fe 07 96 |.2...S6..h.7h...| +00000030 10 2d ca 82 f3 13 33 56 73 b3 e9 d9 e5 ef ea 28 |.-....3Vs......(| +00000040 73 08 78 2e e2 15 03 03 00 40 00 00 00 00 00 00 |s.x......@......| +00000050 00 00 00 00 00 00 00 00 00 00 83 c6 28 1f ca b2 |............(...| +00000060 ee 5e 4c fc ea a4 12 b8 df 1a 2d c3 54 f3 37 6d |.^L.......-.T.7m| +00000070 04 a7 6c d8 d0 a7 2a 87 10 1c f8 78 da 17 1d c0 |..l...*....x....| +00000080 42 f0 1c d2 94 5a 76 91 b7 f6 |B....Zv...| diff --git a/src/crypto/tls/testdata/Client-TLSv12-AES256-GCM-SHA384 b/src/crypto/tls/testdata/Client-TLSv12-AES256-GCM-SHA384 index 55620c5666b..6a2c54fe048 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-AES256-GCM-SHA384 +++ b/src/crypto/tls/testdata/Client-TLSv12-AES256-GCM-SHA384 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 51 02 00 00 4d 03 03 5c f4 45 2c cf |....Q...M..\.E,.| -00000010 06 c6 8e 9a 9c 69 e8 fd 33 fc e2 99 90 20 e0 70 |.....i..3.... .p| -00000020 ae 02 b5 8c df 14 a0 1e a9 96 55 20 be 34 76 5a |..........U .4vZ| -00000030 44 28 af 28 58 df 22 97 a2 5a ad d8 08 32 a0 ad |D(.(X."..Z...2..| -00000040 a1 32 68 9f c7 8a fa e6 84 e0 1c bc 00 9d 00 00 |.2h.............| +00000000 16 03 03 00 51 02 00 00 4d 03 03 94 a5 59 ba 48 |....Q...M....Y.H| +00000010 65 2d 12 d9 a6 04 a2 72 e7 bf d7 57 42 0d 57 78 |e-.....r...WB.Wx| +00000020 4c a2 4b bf e2 d0 6b d1 f6 f6 4d 20 b9 02 65 84 |L.K...k...M ..e.| +00000030 47 d0 c3 60 30 33 a0 fc 31 c5 b7 9a 90 cd 0b 25 |G..`03..1......%| +00000040 b9 f7 86 a6 82 7f ca ef c3 e5 73 92 00 9d 00 00 |..........s.....| 00000050 05 ff 01 00 01 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000060 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| 00000070 01 02 02 09 00 e8 f0 9d 3f e2 5b ea a6 30 0d 06 |........?.[..0..| @@ -71,17 +92,17 @@ 00000060 c5 70 0f 08 83 48 e9 48 ef 6e 50 8b 05 7e e5 84 |.p...H.H.nP..~..| 00000070 25 fa 55 c7 ae 31 02 27 00 ef 3f 98 86 20 12 89 |%.U..1.'..?.. ..| 00000080 91 59 28 b4 f7 d7 af d2 69 61 35 14 03 03 00 01 |.Y(.....ia5.....| -00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 21 98 |.....(........!.| -000000a0 7e 90 9a 58 ef 28 21 eb 08 a3 29 b3 77 06 3e 90 |~..X.(!...).w.>.| -000000b0 c1 d2 02 32 91 93 b1 8f 65 5f 66 0d 74 16 |...2....e_f.t.| +00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 d9 34 |.....(.........4| +000000a0 cb 55 0e b2 7c bf d7 bc 93 80 22 d4 92 25 1c a2 |.U..|....."..%..| +000000b0 fd 36 f5 b8 2f 46 03 77 e7 9b d6 12 15 f5 |.6../F.w......| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 a7 20 23 2c 7c |..........(. #,|| -00000010 6e a6 da c6 ec 91 f7 b4 1b 22 00 bf 07 53 1d d0 |n........"...S..| -00000020 e0 c5 af 4b 12 e3 7a 61 19 be 6c f0 be 9c 06 d4 |...K..za..l.....| -00000030 3e 09 e6 |>..| +00000000 14 03 03 00 01 01 16 03 03 00 28 5c 9b 27 48 71 |..........(\.'Hq| +00000010 55 c0 15 09 9b fe 91 75 e8 5f 30 95 31 8f 4e bd |U......u._0.1.N.| +00000020 cf 4c fc 54 fb f8 0c 69 0a 80 00 ab 30 ba 77 4e |.L.T...i....0.wN| +00000030 fd 30 29 |.0)| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 02 bd 49 |...............I| -00000010 04 49 94 df e6 c0 6f 67 3c 94 82 85 d2 d6 0d 75 |.I....og<......u| -00000020 66 b6 c6 15 03 03 00 1a 00 00 00 00 00 00 00 02 |f...............| -00000030 42 9d 45 29 22 17 9d c4 53 23 37 cf 38 53 84 d0 |B.E)"...S#7.8S..| -00000040 a9 5d |.]| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 dd 51 ff |..............Q.| +00000010 c8 ad c9 61 80 4f 2e d6 f9 49 ec 18 ba b2 23 2d |...a.O...I....#-| +00000020 44 0b b8 15 03 03 00 1a 00 00 00 00 00 00 00 02 |D...............| +00000030 ab 49 ac 75 37 b5 74 ba 6f d4 0f 4f 26 6e 2d 0c |.I.u7.t.o..O&n-.| +00000040 ee a9 |..| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ALPN b/src/crypto/tls/testdata/Client-TLSv12-ALPN index 341c4889947..8505a288d7d 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ALPN +++ b/src/crypto/tls/testdata/Client-TLSv12-ALPN @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 01 10 01 00 01 0c 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 62 01 00 02 5e 03 03 00 00 00 00 00 |....b...^.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,22 +7,43 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 91 00 05 00 05 01 00 00 00 00 00 0a 00 |................| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 10 00 10 00 0e 06 70 72 6f |a............pro| -000000d0 74 6f 32 06 70 72 6f 74 6f 31 00 12 00 00 00 2b |to2.proto1.....+| -000000e0 00 09 08 03 04 03 03 03 02 03 01 00 33 00 26 00 |............3.&.| -000000f0 24 00 1d 00 20 2f e5 7d a3 47 cd 62 43 15 28 da |$... /.}.G.bC.(.| -00000100 ac 5f bb 29 07 30 ff f6 84 af c4 cf c2 ed 90 99 |._.).0..........| -00000110 5f 58 cb 3b 74 |_X.;t| +00000080 01 00 01 e3 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 10 00 10 00 0e |....a...........| +000000d0 06 70 72 6f 74 6f 32 06 70 72 6f 74 6f 31 00 12 |.proto2.proto1..| +000000e0 00 00 00 2b 00 09 08 03 04 03 03 03 02 03 01 00 |...+............| +000000f0 33 01 74 01 72 01 fd 01 4a 13 9b 9f d0 43 df e9 |3.t.r...J....C..| +00000100 45 3c 33 0b 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 |E<3...{..B......| +00000110 b4 ca a6 73 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 |...s...0.s;0...U| +00000120 0a ea 96 8f 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 |.....".n.rd..Y..| +00000130 99 19 38 88 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc |..8..K.@.Op.....| +00000140 92 fa 60 69 cb ec ee b1 5a eb ed 58 1d 93 a0 06 |..`i....Z..X....| +00000150 33 b5 f5 79 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 |3..yq....>.)K.\.| +00000160 ea 22 14 d1 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac |.".....P_~.a....| +00000170 d0 90 4f 84 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 |..O.......*.#..d| +00000180 f0 78 52 c4 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 |.xR.....r...Tw.x| +00000190 99 0a 53 43 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea |..SC..........N.| +000001a0 da f0 79 67 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 |..yg.P.2#o.....T| +000001b0 06 54 c7 d7 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 |.T..u...o..g..+&| +000001c0 e5 13 a5 88 00 88 ae f6 d2 78 3d 76 68 e4 34 3c |.........x=vh.4<| +000001d0 73 35 b7 1e 01 87 ca 4f c8 83 80 ac b9 96 26 c7 |s5.....O......&.| +000001e0 34 dd 42 11 2b 7b de a8 da 51 dc 31 88 cf 26 83 |4.B.+{...Q.1..&.| +000001f0 4e 58 62 ab 60 60 fd 98 e7 45 ea 39 7f ee 24 7e |NXb.``...E.9..$~| +00000200 e0 36 ae a0 83 88 de 88 3b 99 72 00 fb ab 44 c4 |.6......;.r...D.| +00000210 f2 7e 1b d4 4e ed 98 b4 c9 5d 75 dd e9 c9 bb 7f |.~..N....]u.....| +00000220 28 00 ae d7 83 60 b2 c9 67 5f 4b c4 27 98 9b 35 |(....`..g_K.'..5| +00000230 82 16 55 a3 0f b9 eb ba 1f 07 02 cf 1f 8c dd 8e |..U.............| +00000240 ae 35 01 00 1d 00 20 2f e5 7d a3 47 cd 62 43 15 |.5.... /.}.G.bC.| +00000250 28 da ac 5f bb 29 07 30 ff f6 84 af c4 cf c2 ed |(.._.).0........| +00000260 90 99 5f 58 cb 3b 74 |.._X.;t| >>> Flow 2 (server to client) -00000000 16 03 03 00 66 02 00 00 62 03 03 d6 0d 8b 2c c0 |....f...b.....,.| -00000010 44 ef c9 61 89 4e d5 f0 ab 20 e2 da 10 55 49 c9 |D..a.N... ...UI.| -00000020 5d 84 17 95 05 48 68 bf b5 fa df 20 20 da f7 7c |]....Hh.... ..|| -00000030 26 5e 93 a1 c1 94 d0 23 08 58 3a 6a 5c 1d db c1 |&^.....#.X:j\...| -00000040 26 10 ec 62 34 ae 41 b1 b8 35 be 82 cc a8 00 00 |&..b4.A..5......| +00000000 16 03 03 00 66 02 00 00 62 03 03 03 66 0a e9 f3 |....f...b...f...| +00000010 07 dd 05 13 36 aa d5 a1 e5 7d 84 f2 43 7d 74 79 |....6....}..C}ty| +00000020 62 fb 70 a0 cf 4c 5b 1b b3 07 c4 20 0c 2a c4 7d |b.p..L[.... .*.}| +00000030 1c 1e 60 52 ec 27 6c 13 ab da 6f 1f fc 86 78 ab |..`R.'l...o...x.| +00000040 c8 43 5b e0 fb 27 cb 1d 37 14 fb 2a cc a8 00 00 |.C[..'..7..*....| 00000050 1a ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 10 |................| 00000060 00 09 00 07 06 70 72 6f 74 6f 31 16 03 03 02 59 |.....proto1....Y| 00000070 0b 00 02 55 00 02 52 00 02 4f 30 82 02 4b 30 82 |...U..R..O0..K0.| @@ -63,31 +84,31 @@ 000002a0 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d ae db 46 |.....@.a.Lr+...F| 000002b0 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db fe 3d 13 |..M...>...B...=.| 000002c0 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 ac 0c 00 |`.\!.;..........| -000002d0 00 a8 03 00 1d 20 47 e2 87 15 b7 72 e1 10 57 ad |..... G....r..W.| -000002e0 d1 ba 72 9a 09 30 18 75 c4 68 c7 cc 6f 3e d0 3c |..r..0.u.h..o>.<| -000002f0 22 ec fc 35 5a 0f 08 04 00 80 94 45 0b 63 8e b9 |"..5Z......E.c..| -00000300 87 ac 67 8d e9 ed fb 74 0c 04 24 28 d2 36 78 85 |..g....t..$(.6x.| -00000310 fc 8a c6 33 4a 70 fa 04 aa 66 71 10 ab ae aa ad |...3Jp...fq.....| -00000320 dc e8 2a 9e 8f fc 09 4d 79 0b 84 d7 5d 1c 9e dc |..*....My...]...| -00000330 9c e6 dc ad 8b b2 68 5b f8 01 fb 28 33 65 94 19 |......h[...(3e..| -00000340 18 d1 24 2f 32 dc 7c c6 a1 ac 4f 51 5a cb cf 0e |..$/2.|...OQZ...| -00000350 a1 80 3d 16 2a f9 2c de 1f 6c 51 d3 83 d5 ff 70 |..=.*.,..lQ....p| -00000360 24 6d 67 79 76 3c bb c3 76 8b 57 bb c7 a7 4b db |$mgyv<..v.W...K.| -00000370 07 da 4c 32 20 15 c8 33 73 bb 16 03 03 00 04 0e |..L2 ..3s.......| +000002d0 00 a8 03 00 1d 20 eb 65 a0 1a ba c6 3e dc f7 64 |..... .e....>..d| +000002e0 50 26 9d 93 f6 ba 77 c8 a0 f2 81 d2 b4 47 4d 04 |P&....w......GM.| +000002f0 be 4d 39 14 9f 33 08 04 00 80 70 1e 45 ed 6b 87 |.M9..3....p.E.k.| +00000300 81 6d 05 a2 a9 20 41 9a 99 f4 4f e4 0a 61 09 c6 |.m... A...O..a..| +00000310 4c 1f 30 45 ad 89 d1 db 92 99 48 6a 01 29 c9 31 |L.0E......Hj.).1| +00000320 f4 9c 4e d5 34 f1 a9 13 9b 3f 03 02 7f c1 5e a1 |..N.4....?....^.| +00000330 0f 34 c5 6b 36 67 85 8a 5c 30 6e 72 b6 2f e7 4e |.4.k6g..\0nr./.N| +00000340 16 a1 2e 0b ae 1a 72 82 11 93 0c 5e e5 b6 ae 3b |......r....^...;| +00000350 1d fa 33 88 e3 da c6 66 8c fa a0 c1 80 f4 85 fe |..3....f........| +00000360 37 53 18 4c bd 26 cc db 38 b7 6f bd 06 55 39 08 |7S.L.&..8.o..U9.| +00000370 9e 05 d0 dc c7 6b 66 b4 f3 23 16 03 03 00 04 0e |.....kf..#......| 00000380 00 00 00 |...| >>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| -00000030 16 03 03 00 20 69 ef fc 38 05 07 0b aa bd ea 80 |.... i..8.......| -00000040 d7 81 ca 76 a5 da 96 74 83 ce 15 74 81 74 6e c9 |...v...t...t.tn.| -00000050 38 52 a6 af ea |8R...| +00000030 16 03 03 00 20 ed 83 3f 57 84 26 1a 16 bf e6 70 |.... ..?W.&....p| +00000040 b8 a9 1e e6 c7 a9 34 02 81 4a 16 46 12 0d 5d a8 |......4..J.F..].| +00000050 33 e0 81 7e c2 |3..~.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 fe 27 ef e1 5e |.......... .'..^| -00000010 06 5b a1 a1 a0 ce 35 0f a9 7c 8c 77 07 6c 92 83 |.[....5..|.w.l..| -00000020 0b 17 fb 6e 16 0f 21 19 3f e3 15 |...n..!.?..| +00000000 14 03 03 00 01 01 16 03 03 00 20 f0 8e 8c f2 c4 |.......... .....| +00000010 f7 ff 24 58 9c 70 83 16 65 47 ca 58 65 51 73 80 |..$X.p..eG.XeQs.| +00000020 64 66 d5 60 d1 55 9c e1 8e f1 c4 |df.`.U.....| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 60 22 c0 7b f0 25 a5 6b 75 bd d2 |.....`".{.%.ku..| -00000010 ab c6 08 70 cb 74 5a 98 c8 24 23 15 03 03 00 12 |...p.tZ..$#.....| -00000020 7f 6b d1 ec a5 6f 4b dd 0b 0c 5b 85 a7 98 26 94 |.k...oK...[...&.| -00000030 ad 9e |..| +00000000 17 03 03 00 16 98 2b 0d 78 91 26 18 6b f4 e2 ff |......+.x.&.k...| +00000010 e0 c4 c0 9b 60 c2 be 18 8b 0f d1 15 03 03 00 12 |....`...........| +00000020 ec b5 d3 58 74 cc 79 19 2c fc a8 f4 9f b2 4f e5 |...Xt.y.,.....O.| +00000030 92 15 |..| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ClientCert-ECDSA-ECDSA b/src/crypto/tls/testdata/Client-TLSv12-ClientCert-ECDSA-ECDSA index 292eb9e2b55..2801d507328 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ClientCert-ECDSA-ECDSA +++ b/src/crypto/tls/testdata/Client-TLSv12-ClientCert-ECDSA-ECDSA @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 af d9 14 ad af |....Y...U.......| -00000010 63 f5 ff 2b 1c e7 3e 32 47 38 32 32 79 9e 09 41 |c..+..>2G822y..A| -00000020 70 9b 20 ae 80 a7 be 0f a9 b2 25 20 ed 26 d3 9d |p. .......% .&..| -00000030 c7 a9 21 6c 67 69 f4 cb 1d 06 4f 84 d2 be 48 11 |..!lgi....O...H.| -00000040 bf 6a 64 84 63 ec c4 29 ff f6 aa 87 c0 09 00 00 |.jd.c..)........| +00000000 16 03 03 00 59 02 00 00 55 03 03 0f 26 77 da e2 |....Y...U...&w..| +00000010 15 0a 0a 71 99 ae 38 19 73 e1 be ee 25 f0 d5 a6 |...q..8.s...%...| +00000020 f8 44 09 f8 52 fb 9e 6f 3a 5c 99 20 d6 8b 4e e7 |.D..R..o:\. ..N.| +00000030 1b 7e ad 03 e3 33 71 44 de ea 2a 86 36 b9 78 cf |.~...3qD..*.6.x.| +00000040 af b0 8b 56 3e dd 40 fb 37 0f 57 d1 c0 09 00 00 |...V>.@.7.W.....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| 00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| @@ -56,23 +77,23 @@ 00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| 00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| 00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| -00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 dd f3 |*............ ..| -00000280 7a f5 36 e0 f5 61 f4 3a 0a f9 cf 47 6f 10 34 93 |z.6..a.:...Go.4.| -00000290 5b 74 e1 e5 66 bf 77 53 85 e0 c7 25 dc 0b 04 03 |[t..f.wS...%....| -000002a0 00 8b 30 81 88 02 42 01 fa 37 7d ac 5b d6 9a a8 |..0...B..7}.[...| -000002b0 78 fb 0d 44 04 04 63 4b 33 48 c7 d8 cd 39 76 a3 |x..D..cK3H...9v.| -000002c0 1f dd 98 c0 80 74 27 ef da 66 b4 71 6b b0 43 13 |.....t'..f.qk.C.| -000002d0 10 ac 03 a4 db 84 2a 75 bb 30 3a 45 7c 61 a6 e9 |......*u.0:E|a..| -000002e0 ed 10 9e ec 69 2e 51 54 d3 02 42 01 b3 93 f7 13 |....i.QT..B.....| -000002f0 69 c7 3f 80 76 13 8d 00 a8 7a 1b ea aa 43 f5 00 |i.?.v....z...C..| -00000300 5d 4a 4b 66 f5 cf ac f3 f0 b8 6c f5 73 52 aa 5a |]JKf......l.sR.Z| -00000310 e6 f6 f2 7d 7a 8b 9a ae 80 68 e5 50 da 4b b4 7a |...}z....h.P.K.z| -00000320 d5 18 72 b2 a5 3e 10 ae 9a 91 02 35 99 16 03 03 |..r..>.....5....| -00000330 00 3a 0d 00 00 36 03 01 02 40 00 2e 04 03 05 03 |.:...6...@......| -00000340 06 03 08 07 08 08 08 09 08 0a 08 0b 08 04 08 05 |................| -00000350 08 06 04 01 05 01 06 01 03 03 02 03 03 01 02 01 |................| -00000360 03 02 02 02 04 02 05 02 06 02 00 00 16 03 03 00 |................| -00000370 04 0e 00 00 00 |.....| +00000270 2a 16 03 03 00 b5 0c 00 00 b1 03 00 1d 20 69 6f |*............ io| +00000280 b4 02 ed a2 55 4c 8d 15 28 db 82 85 69 06 28 98 |....UL..(...i.(.| +00000290 49 b1 48 14 93 af 08 22 43 74 07 c3 4f 58 04 03 |I.H...."Ct..OX..| +000002a0 00 89 30 81 86 02 41 28 fa b0 b2 a3 48 04 bf 43 |..0...A(....H..C| +000002b0 0a 9c dc ca c5 f1 bf f6 76 4e bc 83 af 63 ed a4 |........vN...c..| +000002c0 c3 11 1e 2c cc ad 9c 56 7f bb e7 9f c9 97 f5 5d |...,...V.......]| +000002d0 c4 22 e4 f9 97 18 5c c8 c4 e6 95 c5 b7 23 43 c7 |."....\......#C.| +000002e0 b3 31 b3 88 31 ee a7 c8 02 41 66 f7 8e c8 de 20 |.1..1....Af.... | +000002f0 cc a4 c3 55 08 6b 3d a6 61 c1 86 3d b5 fd 52 c3 |...U.k=.a..=..R.| +00000300 34 4e 9b d2 b6 62 13 26 f0 42 0b eb 5f 8e f6 a3 |4N...b.&.B.._...| +00000310 84 e9 a5 41 30 7b bc 0c b7 eb 0f 14 55 aa 4f 71 |...A0{......U.Oq| +00000320 7d 82 b3 66 06 1b 02 8c 29 3f 0d 16 03 03 00 3a |}..f....)?.....:| +00000330 0d 00 00 36 03 01 02 40 00 2e 04 03 05 03 06 03 |...6...@........| +00000340 08 07 08 08 08 09 08 0a 08 0b 08 04 08 05 08 06 |................| +00000350 04 01 05 01 06 01 03 03 02 03 03 01 02 01 03 02 |................| +00000360 02 02 04 02 05 02 06 02 00 00 16 03 03 00 04 0e |................| +00000370 00 00 00 |...| >>> Flow 3 (client to server) 00000000 16 03 03 02 0a 0b 00 02 06 00 02 03 00 02 00 30 |...............0| 00000010 82 01 fc 30 82 01 5e 02 09 00 9a 30 84 6c 26 35 |...0..^....0.l&5| @@ -110,31 +131,31 @@ 00000210 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd 62 |...%...! /.}.G.b| 00000220 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 cf |C.(.._.).0......| 00000230 c2 ed 90 99 5f 58 cb 3b 74 16 03 03 00 93 0f 00 |...._X.;t.......| -00000240 00 8f 04 03 00 8b 30 81 88 02 42 01 b0 cb 3f e8 |......0...B...?.| -00000250 be 39 63 bc 61 d8 0b f5 80 dd e9 c9 12 5d 4f ed |.9c.a........]O.| -00000260 a6 b2 e1 3e 61 64 73 45 30 91 9e 1b 02 8e 76 25 |...>adsE0.....v%| -00000270 e6 a8 7b 44 ea 20 f1 5c 23 b7 d5 f2 ff 2a 99 3a |..{D. .\#....*.:| -00000280 4b ae 20 28 1c 4a d2 31 85 2f ee 54 12 02 42 00 |K. (.J.1./.T..B.| -00000290 a2 00 21 61 1c 84 7a 52 91 8c ab 08 24 69 f7 2a |..!a..zR....$i.*| -000002a0 68 aa 5e d6 5e 59 54 04 ee 18 09 9b 7d ee a4 c8 |h.^.^YT.....}...| -000002b0 4f af 21 b3 c5 74 04 c1 02 46 b1 04 6b 73 68 5e |O.!..t...F..ksh^| -000002c0 1a 11 dd b2 35 70 de 9c 02 0a 81 aa aa e8 8f b9 |....5p..........| -000002d0 2b 14 03 03 00 01 01 16 03 03 00 40 00 00 00 00 |+..........@....| -000002e0 00 00 00 00 00 00 00 00 00 00 00 00 e7 e1 71 39 |..............q9| -000002f0 0b 11 39 dd c1 85 4c a5 35 df c7 6b 2e 35 c3 0a |..9...L.5..k.5..| -00000300 6f 97 83 35 ed db 70 25 50 a0 19 9f 89 9c 7a e9 |o..5..p%P.....z.| -00000310 57 7b d9 03 fa 8b de d0 32 57 ac 50 |W{......2W.P| +00000240 00 8f 04 03 00 8b 30 81 88 02 42 01 67 6e e8 df |......0...B.gn..| +00000250 66 07 47 d3 69 f5 19 67 27 b8 2f b4 30 42 51 f7 |f.G.i..g'./.0BQ.| +00000260 9e b5 63 62 cc 50 bb 73 ff dd 50 ec bb 51 25 7a |..cb.P.s..P..Q%z| +00000270 3f 40 3a 60 9b 4e 40 75 35 80 48 f1 9a d9 5a 5d |?@:`.N@u5.H...Z]| +00000280 01 51 d6 ff d7 43 0d 98 7e b9 fc 37 19 02 42 01 |.Q...C..~..7..B.| +00000290 66 92 54 dd d5 21 59 cd 58 19 41 e8 07 98 eb 84 |f.T..!Y.X.A.....| +000002a0 77 76 7e 21 ac 6d 94 a7 b3 4c e6 0b 90 27 40 73 |wv~!.m...L...'@s| +000002b0 8e f8 3b 85 81 d9 69 9b a3 f4 15 68 92 4a 38 08 |..;...i....h.J8.| +000002c0 80 69 85 0c eb af 70 5d 4c 0f 8e a8 d6 40 0c db |.i....p]L....@..| +000002d0 61 14 03 03 00 01 01 16 03 03 00 40 00 00 00 00 |a..........@....| +000002e0 00 00 00 00 00 00 00 00 00 00 00 00 80 a1 2f 48 |............../H| +000002f0 ec d0 5c 70 64 23 ae a7 6c 8b a4 80 2a 45 f6 f9 |..\pd#..l...*E..| +00000300 b4 9a d8 89 d8 25 60 9a 25 03 e9 c4 15 70 c9 13 |.....%`.%....p..| +00000310 78 47 4d 44 9d de da 95 75 b5 91 75 |xGMD....u..u| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 40 2a 96 4c 57 e3 |..........@*.LW.| -00000010 98 e2 dd c6 e8 3d 67 b7 1f 2d e5 23 e4 f9 35 b9 |.....=g..-.#..5.| -00000020 bd 13 b3 6b 12 bb 2b 9b 39 00 54 da dc c0 71 2b |...k..+.9.T...q+| -00000030 fb 25 af a4 6e 14 f2 57 0a 64 cb 21 bf 2c 59 1e |.%..n..W.d.!.,Y.| -00000040 28 80 5f 0a 3f 29 a7 bc 66 40 33 |(._.?)..f@3| +00000000 14 03 03 00 01 01 16 03 03 00 40 31 2e 42 aa 44 |..........@1.B.D| +00000010 48 ba 48 47 79 e2 b2 a6 38 66 26 f0 e8 17 74 6d |H.HGy...8f&...tm| +00000020 32 12 eb 49 3e c3 2d b2 88 b5 94 07 b4 41 d6 42 |2..I>.-......A.B| +00000030 26 47 54 0f a5 4d 3b 5d 1f 6f 7e 9f a4 ae 25 69 |>..M;].o~...%i| +00000040 c3 b3 76 d1 ca f5 77 2f 1e 4a 77 |..v...w/.Jw| >>> Flow 5 (client to server) 00000000 17 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........| -00000010 00 00 00 00 00 95 82 5d 8a 05 ff 43 5d 68 df 23 |.......]...C]h.#| -00000020 3a 38 ff 9f c4 6c 96 47 29 2c 73 6c 89 0c f5 d7 |:8...l.G),sl....| -00000030 41 7d 60 b4 bd 15 03 03 00 30 00 00 00 00 00 00 |A}`......0......| -00000040 00 00 00 00 00 00 00 00 00 00 ea b8 9d 6f 0a 0c |.............o..| -00000050 05 c4 aa fc 60 c6 f0 36 a3 3b 38 4b 63 f1 4d 97 |....`..6.;8Kc.M.| -00000060 c2 3c a2 d7 a8 05 26 1a b0 e9 |.<....&...| +00000010 00 00 00 00 00 67 08 00 ce 6f 7c 61 fc 72 41 8c |.....g...o|a.rA.| +00000020 d1 e4 8f b6 ba 4c df 1b 88 f4 fc 26 44 ef 85 c3 |.....L.....&D...| +00000030 c3 e6 50 9b b3 15 03 03 00 30 00 00 00 00 00 00 |..P......0......| +00000040 00 00 00 00 00 00 00 00 00 00 39 3e fa dd 55 20 |..........9>..U | +00000050 c4 4f 16 0a 6e 9f f4 43 4e 2b 13 06 42 e0 1b c3 |.O..n..CN+..B...| +00000060 55 97 95 25 18 d3 21 6f 37 9c |U..%..!o7.| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ClientCert-ECDSA-RSA b/src/crypto/tls/testdata/Client-TLSv12-ClientCert-ECDSA-RSA index 226885e5b18..858eaf6ae0d 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ClientCert-ECDSA-RSA +++ b/src/crypto/tls/testdata/Client-TLSv12-ClientCert-ECDSA-RSA @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 05 d3 f7 24 78 |....Y...U.....$x| -00000010 ce ed 42 3c cb 8f 73 73 9b 09 8e d2 8f 37 67 47 |..B<..ss.....7gG| -00000020 53 5a ff a7 1f 43 64 26 fb 3e 85 20 b0 a1 21 57 |SZ...Cd&.>. ..!W| -00000030 b4 a8 55 5c 34 bc 34 92 89 21 0f 69 ca 8e f9 ba |..U\4.4..!.i....| -00000040 f0 bf ef bd 81 7b 66 bc a2 44 b6 f1 c0 2f 00 00 |.....{f..D.../..| +00000000 16 03 03 00 59 02 00 00 55 03 03 06 c2 2b 84 30 |....Y...U....+.0| +00000010 4c c4 a9 90 95 fc b5 57 9a f8 b5 89 56 e8 6c d8 |L......W....V.l.| +00000020 0f 97 22 b5 17 e6 13 cb 08 d1 47 20 7e 8a 9e 71 |..".......G ~..q| +00000030 87 50 52 f2 cf 2c d2 b5 74 09 3d 75 d5 ac 97 dd |.PR..,..t.=u....| +00000040 8a 72 35 50 2a 3a ae 0a 0a bc 01 30 c0 2f 00 00 |.r5P*:.....0./..| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,17 +82,17 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 87 51 fa 0b c6 fc 66 |........ .Q....f| -000002d0 c0 5f 7f fe e8 07 5f d4 17 80 b7 05 f8 26 45 11 |._...._......&E.| -000002e0 bc e8 f3 55 4c 53 f4 fc 19 08 04 00 80 24 54 31 |...ULS.......$T1| -000002f0 6e 40 ad 92 48 2b 76 7d 2c 4f b0 e8 d6 56 5d e2 |n@..H+v},O...V].| -00000300 48 00 09 34 ee 13 dd 5c 22 19 19 a1 d8 bb a6 aa |H..4...\".......| -00000310 25 5e a4 e5 96 5f 1c d7 67 cd 48 01 f0 19 96 e0 |%^..._..g.H.....| -00000320 c0 0f fd e8 3f 33 5b 92 60 cd a6 c3 da 55 73 f3 |....?3[.`....Us.| -00000330 1e ba bc aa 45 78 bf b9 6f c0 0e 50 b9 fe 38 23 |....Ex..o..P..8#| -00000340 8e 36 70 77 f0 37 e7 94 70 74 15 10 39 d2 32 96 |.6pw.7..pt..9.2.| -00000350 cb de 26 ae b7 f0 de 30 71 ee 3d af a8 31 aa e6 |..&....0q.=..1..| -00000360 4a 35 aa 44 03 1b 7a 5e 34 84 f4 e2 c5 16 03 03 |J5.D..z^4.......| +000002c0 ac 0c 00 00 a8 03 00 1d 20 a5 3f 42 d5 7d d1 aa |........ .?B.}..| +000002d0 b4 f7 12 4d fa 38 3a 9b a8 f9 49 0a 6d b7 0f 41 |...M.8:...I.m..A| +000002e0 94 06 e8 c0 11 95 cf 62 12 08 04 00 80 8f 6c fb |.......b......l.| +000002f0 fa f0 6d 7b a0 a2 1e 22 ee 97 c6 e4 58 f4 4f ff |..m{..."....X.O.| +00000300 cf 19 bb e4 fe b0 9e 7e ed 18 75 48 2a 0c 11 8f |.......~..uH*...| +00000310 18 fb 63 0c b5 48 3e cd 2c 9e 6c 04 f2 cb 33 1e |..c..H>.,.l...3.| +00000320 11 8c 14 d6 5a ad 2a 8f 63 80 54 81 89 6c 63 f8 |....Z.*.c.T..lc.| +00000330 64 80 ab 76 32 33 69 1d b0 5c 19 9a e4 b1 ff a6 |d..v23i..\......| +00000340 f7 25 2b 78 e6 44 1d c2 76 ce 2d 99 76 e0 57 40 |.%+x.D..v.-.v.W@| +00000350 04 5a cf 6a b5 cc 1b dc 32 68 b0 94 5e 13 fd 5b |.Z.j....2h..^..[| +00000360 bc 9c ed 14 73 a7 30 16 ce 44 39 26 62 16 03 03 |....s.0..D9&b...| 00000370 00 3a 0d 00 00 36 03 01 02 40 00 2e 04 03 05 03 |.:...6...@......| 00000380 06 03 08 07 08 08 08 09 08 0a 08 0b 08 04 08 05 |................| 00000390 08 06 04 01 05 01 06 01 03 03 02 03 03 01 02 01 |................| @@ -113,28 +134,28 @@ 00000200 e4 fa cc b1 8a ce e2 23 a0 87 f0 e1 67 51 eb 16 |.......#....gQ..| 00000210 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd 62 |...%...! /.}.G.b| 00000220 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 cf |C.(.._.).0......| -00000230 c2 ed 90 99 5f 58 cb 3b 74 16 03 03 00 92 0f 00 |...._X.;t.......| -00000240 00 8e 04 03 00 8a 30 81 87 02 41 09 8f c3 9d f9 |......0...A.....| -00000250 0f de 8b 61 41 86 73 70 db 79 b6 25 a8 a0 c2 aa |...aA.sp.y.%....| -00000260 a2 d6 ea 8d d0 d0 71 a2 16 7b fe 4c 03 dc 29 0d |......q..{.L..).| -00000270 65 fe 17 f3 13 0f ae d8 ed 17 b5 41 30 b0 7c 60 |e..........A0.|`| -00000280 bf c2 da ed 17 40 c1 29 5a ee d0 ec 02 42 00 af |.....@.)Z....B..| -00000290 16 a8 cf 6b 44 1e 5c d6 05 f7 2f 3f 35 98 7e 00 |...kD.\.../?5.~.| -000002a0 b8 0e 37 29 98 e0 61 ea 17 50 ef 6c ba 05 56 eb |..7)..a..P.l..V.| -000002b0 85 45 1d 44 d6 98 2e a7 eb 87 27 2d 53 4a 50 43 |.E.D......'-SJPC| -000002c0 b5 88 39 25 6c 1d 25 58 a1 01 f6 04 fe c8 f0 da |..9%l.%X........| -000002d0 14 03 03 00 01 01 16 03 03 00 28 00 00 00 00 00 |..........(.....| -000002e0 00 00 00 05 cc ed 66 72 50 9f fa b7 ab f2 51 62 |......frP.....Qb| -000002f0 80 3e 88 ce 37 4c c9 cd 98 1d 70 46 84 75 92 50 |.>..7L....pF.u.P| -00000300 8e 2d 44 |.-D| +00000230 c2 ed 90 99 5f 58 cb 3b 74 16 03 03 00 93 0f 00 |...._X.;t.......| +00000240 00 8f 04 03 00 8b 30 81 88 02 42 00 b1 b7 d1 e3 |......0...B.....| +00000250 a4 0a 16 ff 2a 87 2c c6 73 a4 1b 13 3d cf f6 d7 |....*.,.s...=...| +00000260 09 50 eb be 59 2a 06 88 67 da 89 43 17 7d 34 bd |.P..Y*..g..C.}4.| +00000270 b3 1a 13 c5 86 b9 08 25 d6 89 73 eb 6d 12 35 63 |.......%..s.m.5c| +00000280 58 0e 2a 61 11 19 f5 dc c9 57 9b 4a 68 02 42 01 |X.*a.....W.Jh.B.| +00000290 88 e8 18 b0 b5 79 25 b1 95 20 0b 76 55 71 f3 73 |.....y%.. .vUq.s| +000002a0 ac 97 f3 2d 67 1c 79 b9 0d 2b d6 61 21 88 9a 5e |...-g.y..+.a!..^| +000002b0 4c 42 85 26 8d c1 60 3f ea 30 25 d1 9e de 44 63 |LB.&..`?.0%...Dc| +000002c0 e0 34 9a e9 69 39 60 08 48 8c b7 b9 a1 3e f4 42 |.4..i9`.H....>.B| +000002d0 aa 14 03 03 00 01 01 16 03 03 00 28 00 00 00 00 |...........(....| +000002e0 00 00 00 00 b3 a1 a7 73 ed c3 5b c2 d2 f3 7f b4 |.......s..[.....| +000002f0 2f 9f 1d 8e e6 ab f8 27 8e f4 19 65 50 54 6e fd |/......'...ePTn.| +00000300 40 37 8c fa |@7..| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 90 2c 3a 5e 6f |..........(.,:^o| -00000010 11 1b f0 30 b1 22 ad 9b 27 54 9a 93 79 d4 c7 c9 |...0."..'T..y...| -00000020 ea 46 7d 94 34 70 c2 15 53 40 cd 86 e6 76 af bc |.F}.4p..S@...v..| -00000030 c8 c7 8c |...| +00000000 14 03 03 00 01 01 16 03 03 00 28 03 eb 8a 66 38 |..........(...f8| +00000010 00 b0 08 92 db 48 18 93 56 51 32 2c 06 7e 63 5a |.....H..VQ2,.~cZ| +00000020 20 7e 38 01 a6 d0 0e ba 20 67 75 8f 0d 3b 70 1c | ~8..... gu..;p.| +00000030 0c 1f c7 |...| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 55 8d 3d |.............U.=| -00000010 03 0c 61 b6 67 03 5d 8f 2c 80 4d e8 a3 7f d6 1b |..a.g.].,.M.....| -00000020 7a ff 4c 15 03 03 00 1a 00 00 00 00 00 00 00 02 |z.L.............| -00000030 49 1c 20 4e 9f 6d d9 e8 3c 74 27 91 97 d2 04 94 |I. N.m..>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 d5 c7 89 36 6d |....Y...U.....6m| -00000010 a0 f3 02 38 a6 68 df 29 85 b5 ec 16 c4 f8 6f 77 |...8.h.)......ow| -00000020 2f a7 42 0c 7d 8d 95 27 5c bd 53 20 bf e4 7f 7e |/.B.}..'\.S ...~| -00000030 cf 85 37 02 da 19 89 b5 ce d6 74 2e 06 4d 71 be |..7.......t..Mq.| -00000040 83 07 a9 20 f9 b0 b8 0b b4 00 f2 b0 cc a8 00 00 |... ............| +00000000 16 03 03 00 59 02 00 00 55 03 03 a6 aa d5 0e 29 |....Y...U......)| +00000010 22 3f e9 db 8f 69 47 d2 ed a6 e9 3b 4f bf 52 78 |"?...iG....;O.Rx| +00000020 5a 9f 3d 52 c8 f9 a2 97 16 86 e1 20 b7 ac a8 61 |Z.=R....... ...a| +00000030 e0 dd de 4b 0e 91 6f 16 f5 db 28 8d 74 51 e4 b0 |...K..o...(.tQ..| +00000040 cd 2f a6 ce 7b b7 48 d5 ae 84 bd c1 cc a8 00 00 |./..{.H.........| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,17 +82,17 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 80 92 98 25 f5 ce 6a |........ ...%..j| -000002d0 d5 85 ed 78 64 51 08 6c 84 d5 73 36 8a 4b fe ac |...xdQ.l..s6.K..| -000002e0 7c 4e 10 30 f7 82 df 1c 79 08 04 00 80 59 dc 03 ||N.0....y....Y..| -000002f0 41 6f da f5 16 60 60 46 9e f6 a5 74 39 85 c1 22 |Ao...``F...t9.."| -00000300 f0 67 6d fd d7 b6 4e 7c f2 d6 b6 90 19 fe f5 8d |.gm...N|........| -00000310 db 0a 7e f1 8e 89 28 3c 35 7c e8 38 cd 2f 26 73 |..~...(<5|.8./&s| -00000320 6f 3f ba ba 00 92 49 5c 24 7a c2 76 06 1e 24 dd |o?....I\$z.v..$.| -00000330 e4 cb b8 11 41 79 bb 16 b5 37 ea 99 0b 8e 86 c8 |....Ay...7......| -00000340 44 86 76 e8 73 42 e5 91 35 e1 57 17 dc 46 ca 3c |D.v.sB..5.W..F.<| -00000350 31 25 ab 07 98 1d fe 6e 67 bf c2 61 46 52 54 fe |1%.....ng..aFRT.| -00000360 f4 b2 d0 de 0e cc 12 c8 94 dd 31 8b d0 16 03 03 |..........1.....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 86 25 d9 74 de 2b 15 |........ .%.t.+.| +000002d0 b2 f1 fb 2c 5a ce ae 2e 43 5f 8d bf af 59 c4 62 |...,Z...C_...Y.b| +000002e0 a2 20 53 0b 19 ed 15 06 49 08 04 00 80 88 4d a5 |. S.....I.....M.| +000002f0 e7 03 63 fa ee a8 1a 95 c1 3e 08 2f a4 34 c8 d7 |..c......>./.4..| +00000300 a3 eb a4 7f cb d2 40 ee 5a 13 8c 86 cb d2 9f d2 |......@.Z.......| +00000310 e5 05 58 22 4e 39 e9 eb 5b 5c 81 8e 09 ce 91 dd |..X"N9..[\......| +00000320 af cd ed 12 ef d7 48 33 68 95 e8 3b da b6 ca ca |......H3h..;....| +00000330 10 90 21 df a1 d6 1b bd 9c 98 dd 06 14 b5 ba 05 |..!.............| +00000340 c9 3d ab 42 4f 9e 80 a8 6c c4 c0 f7 bc 31 6b c7 |.=.BO...l....1k.| +00000350 d7 dd 12 cb b6 fa 2b 75 55 54 d3 95 50 a5 7a c8 |......+uUT..P.z.| +00000360 e9 a9 d5 50 81 35 3d 30 2a 87 0c 0f 84 16 03 03 |...P.5=0*.......| 00000370 00 3a 0d 00 00 36 03 01 02 40 00 2e 04 03 05 03 |.:...6...@......| 00000380 06 03 08 07 08 08 08 09 08 0a 08 0b 08 04 08 05 |................| 00000390 08 06 04 01 05 01 06 01 03 03 02 03 03 01 02 01 |................| @@ -101,20 +122,20 @@ 00000140 08 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 |.....%...! /.}.G| 00000150 cd 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af |.bC.(.._.).0....| 00000160 c4 cf c2 ed 90 99 5f 58 cb 3b 74 16 03 03 00 48 |......_X.;t....H| -00000170 0f 00 00 44 08 07 00 40 ce 6f b0 e8 38 c0 d7 8b |...D...@.o..8...| -00000180 39 38 96 0b a3 f5 41 47 c0 d6 c8 b5 73 74 8a 0d |98....AG....st..| -00000190 c7 6b 88 91 a5 92 19 6f 89 9f 44 66 cc 1a 92 48 |.k.....o..Df...H| -000001a0 9c db f6 a6 18 0e 44 55 9e 85 42 06 e2 44 1b bf |......DU..B..D..| -000001b0 69 07 40 22 db f5 7d 0e 14 03 03 00 01 01 16 03 |i.@"..}.........| -000001c0 03 00 20 e3 d0 bb 35 f7 04 46 a8 2a c4 25 e6 e9 |.. ...5..F.*.%..| -000001d0 ec f8 15 ea 5e bf ff d1 52 a9 6b 11 01 32 f2 6e |....^...R.k..2.n| -000001e0 90 fb 3c |..<| +00000170 0f 00 00 44 08 07 00 40 f5 cd 44 67 57 68 72 15 |...D...@..DgWhr.| +00000180 9b 09 58 fb 21 b7 28 53 64 88 a9 6f 2c 90 2e f1 |..X.!.(Sd..o,...| +00000190 23 ac f1 1f 3b 38 23 42 70 50 cf 25 97 4a ac 9f |#...;8#BpP.%.J..| +000001a0 5a 80 b8 cb 86 f4 7f 83 68 49 a6 ee 2c 53 22 2e |Z.......hI..,S".| +000001b0 e4 60 25 43 b8 3b 4a 0a 14 03 03 00 01 01 16 03 |.`%C.;J.........| +000001c0 03 00 20 c1 c9 b8 f0 e0 df ad ce 9e ca 05 15 db |.. .............| +000001d0 2b 59 52 1f 47 1e cb 3b 9d 35 56 67 33 b2 09 92 |+YR.G..;.5Vg3...| +000001e0 67 7d 40 |g}@| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 cd 25 26 6f 2b |.......... .%&o+| -00000010 80 b1 44 af 3e 8f 78 7f c2 3a 63 5e bc 0d 16 11 |..D.>.x..:c^....| -00000020 8a 61 f9 68 23 0b bf ef b6 f9 a4 |.a.h#......| +00000000 14 03 03 00 01 01 16 03 03 00 20 f7 84 cf 85 05 |.......... .....| +00000010 b1 8a 59 b3 83 c8 be 39 2c da b1 bf db ff a7 a4 |..Y....9,.......| +00000020 99 7c ea 30 4b 5b 15 58 bd bb 5e |.|.0K[.X..^| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 53 74 aa ff f3 0e c0 f4 03 77 3d |.....St.......w=| -00000010 68 1b 2b 40 de 66 46 13 d5 2a 7a 15 03 03 00 12 |h.+@.fF..*z.....| -00000020 21 3a 39 97 83 f7 d0 ac 73 14 96 fd 43 f7 be e4 |!:9.....s...C...| -00000030 9b 90 |..| +00000000 17 03 03 00 16 d7 87 57 b6 4c 84 d2 2a 5b f1 81 |.......W.L..*[..| +00000010 bc 37 b9 3c 6c e3 44 83 a4 16 ea 15 03 03 00 12 |.7.>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 1b e5 f5 28 2f |....Y...U.....(/| -00000010 86 7a 09 8f f5 e4 07 a2 d2 a5 be aa 0a 28 67 da |.z...........(g.| -00000020 24 7e 97 a3 a7 10 cf 0c 0a ed 40 20 ee a4 80 ac |$~........@ ....| -00000030 72 70 9b ab 90 94 ab a9 16 82 70 4a 12 d0 19 46 |rp........pJ...F| -00000040 0b bb 9c 16 64 42 f9 81 91 31 b0 42 c0 30 00 00 |....dB...1.B.0..| +00000000 16 03 03 00 59 02 00 00 55 03 03 1b 0c 45 c4 de |....Y...U....E..| +00000010 c3 37 c9 c4 12 cd fa 28 07 9f bb ef 7e ae e2 b1 |.7.....(....~...| +00000020 2b 22 7e 48 18 20 fe bc f5 f7 34 20 c7 d7 a7 f7 |+"~H. ....4 ....| +00000030 17 4e f6 d4 3a c2 1f a7 ab 5d 23 04 e1 2e 7d 54 |.N..:....]#...}T| +00000040 9d 0f a2 8e 3b c6 a7 4e 88 33 8f 68 c0 30 00 00 |....;..N.3.h.0..| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,17 +82,17 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 d5 df e3 2e 2b 7b 0c |........ ....+{.| -000002d0 73 b4 a6 ba 66 59 18 53 8a 9d e4 1a c2 fb 37 23 |s...fY.S......7#| -000002e0 8c 39 94 8c 7b b8 1a d1 17 08 04 00 80 9c 14 0f |.9..{...........| -000002f0 05 57 58 ea d6 df 44 7a b7 09 66 6e cb cd d1 a7 |.WX...Dz..fn....| -00000300 9d 5f 06 ee 96 f0 94 2f 38 35 93 c0 d0 26 2a 15 |._...../85...&*.| -00000310 12 2c 72 7b cb 76 ca 86 41 92 95 12 48 af c5 09 |.,r{.v..A...H...| -00000320 19 c5 2b 19 11 3a 52 f8 fd 5f 32 bb fd 50 48 f0 |..+..:R.._2..PH.| -00000330 bc 2f 42 cd a2 65 65 f1 0d bc cd f3 d2 69 ee 2b |./B..ee......i.+| -00000340 c3 63 32 be 43 49 45 95 47 41 61 08 da 22 2f 7c |.c2.CIE.GAa.."/|| -00000350 72 56 2b 65 2c cf b0 83 1f cc ed c2 55 a8 64 61 |rV+e,.......U.da| -00000360 00 ab 0b 28 11 22 1e a4 c8 ca 70 cc 4c 16 03 03 |...(."....p.L...| +000002c0 ac 0c 00 00 a8 03 00 1d 20 2d b9 13 10 0e ce 43 |........ -.....C| +000002d0 09 4c 05 8d 6e ab 6f 53 d1 a0 be 73 4a 1f 52 12 |.L..n.oS...sJ.R.| +000002e0 27 b1 c3 a4 0b 3e 04 65 5b 08 04 00 80 3e 04 29 |'....>.e[....>.)| +000002f0 b4 09 d8 10 fd cc f9 ff eb af bd 49 bf 81 98 3e |...........I...>| +00000300 3b 8c e8 8c 2f 27 01 5c 2e 85 df 6f b4 2d ae cc |;.../'.\...o.-..| +00000310 dc ff 19 a4 bf a3 54 0b da ed 55 91 7e 9d 86 86 |......T...U.~...| +00000320 d2 0a 92 74 ac cb aa 3a 6c cb bc 62 dd cf 1c d8 |...t...:l..b....| +00000330 ca af 6b 3f 02 70 97 39 0a 67 ae 71 e4 e6 87 7b |..k?.p.9.g.q...{| +00000340 51 b9 55 fd 92 53 6f 90 93 14 c3 14 d9 26 b1 fc |Q.U..So......&..| +00000350 57 2b aa 30 cf e0 1b 65 4f 2f 2f ad 74 97 8f 2e |W+.0...eO//.t...| +00000360 80 e2 8f ee 87 9d b0 38 4d 4b cd 25 ba 16 03 03 |.......8MK.%....| 00000370 00 3a 0d 00 00 36 03 01 02 40 00 2e 04 03 05 03 |.:...6...@......| 00000380 06 03 08 07 08 08 08 09 08 0a 08 0b 08 04 08 05 |................| 00000390 08 06 04 01 05 01 06 01 03 03 02 03 03 01 02 01 |................| @@ -113,26 +134,26 @@ 00000200 e5 35 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 |.5....%...! /.}.| 00000210 47 cd 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 |G.bC.(.._.).0...| 00000220 af c4 cf c2 ed 90 99 5f 58 cb 3b 74 16 03 03 00 |......._X.;t....| -00000230 88 0f 00 00 84 08 04 00 80 28 0a 78 3d d6 88 96 |.........(.x=...| -00000240 2f 5c 74 20 06 57 97 b4 7f 4a c8 e7 6b 11 28 41 |/\t .W...J..k.(A| -00000250 50 e2 03 7b 65 49 d6 e1 b4 b7 d8 50 f9 53 5b fb |P..{eI.....P.S[.| -00000260 3a 10 30 b0 22 f2 8f 8c 0f 20 db b6 de 9d 72 88 |:.0.".... ....r.| -00000270 6f 8a 90 e7 c2 14 14 16 93 8a 8a 45 c0 26 b4 fe |o..........E.&..| -00000280 3e 11 5d 62 ac df 94 3c 7d 45 92 4b 07 fd df 70 |>.]b...<}E.K...p| -00000290 70 45 e7 24 1f 0d 43 3e 2f ea 5a b9 01 16 93 d1 |pE.$..C>/.Z.....| -000002a0 95 bd 59 d6 6e 36 5f e2 77 34 ae 44 57 c4 89 28 |..Y.n6_.w4.DW..(| -000002b0 28 e4 e3 56 4a 83 06 c2 6d 14 03 03 00 01 01 16 |(..VJ...m.......| -000002c0 03 03 00 28 00 00 00 00 00 00 00 00 f8 3f 48 ee |...(.........?H.| -000002d0 da dc 67 23 ae 16 e4 dd 97 eb 61 df 48 23 70 e0 |..g#......a.H#p.| -000002e0 a7 38 76 35 66 b5 36 34 41 3c 06 b1 |.8v5f.64A<..| +00000230 88 0f 00 00 84 08 04 00 80 37 2f 97 79 6d e0 70 |.........7/.ym.p| +00000240 cb 7c 9b 64 eb 0e 10 d6 20 72 69 03 34 60 70 a9 |.|.d.... ri.4`p.| +00000250 a5 a6 0a 1b c2 10 38 64 44 0a 60 c2 1b 0f 2c 39 |......8dD.`...,9| +00000260 33 81 20 7a 3a bc 3f 46 9b ef e1 3c ec 07 09 9b |3. z:.?F...<....| +00000270 6d ac 46 ff dd e9 da 7f 67 86 6a 00 2e 6c 97 40 |m.F.....g.j..l.@| +00000280 f4 7a e5 10 64 6a 94 b0 f0 e8 8e 82 31 f0 a6 13 |.z..dj......1...| +00000290 5e c1 4e c0 a9 a0 a3 d2 eb 41 94 60 20 d4 02 48 |^.N......A.` ..H| +000002a0 ab 9f ea 6f 98 c7 2d da 12 d3 1c a1 8d 43 f5 4c |...o..-......C.L| +000002b0 53 c9 40 28 2d 55 68 c8 7c 14 03 03 00 01 01 16 |S.@(-Uh.|.......| +000002c0 03 03 00 28 00 00 00 00 00 00 00 00 32 c0 d9 b9 |...(........2...| +000002d0 44 20 6c db e0 ab 19 17 0a c2 cf e2 35 67 4b c0 |D l.........5gK.| +000002e0 5b f5 d1 37 74 9e e6 26 15 6f ea b1 |[..7t..&.o..| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 78 41 46 11 e2 |..........(xAF..| -00000010 8c ce 8a e8 a4 c5 fb 34 36 0e eb ef 44 51 89 e6 |.......46...DQ..| -00000020 f9 10 ed 16 f5 a4 01 c8 10 a6 f5 5c 89 ff d2 c6 |...........\....| -00000030 1b fd 51 |..Q| +00000000 14 03 03 00 01 01 16 03 03 00 28 6b ba 70 78 35 |..........(k.px5| +00000010 8c aa b0 53 96 c1 ff 0d db 06 49 52 b2 75 13 a6 |...S......IR.u..| +00000020 c8 b8 93 83 98 01 5e 0d a0 1f d0 d5 2f 28 0e d9 |......^...../(..| +00000030 a8 76 ae |.v.| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 65 ae 6b |.............e.k| -00000010 69 87 fb 43 d4 ad 47 be fe a9 cd 79 d7 e5 17 94 |i..C..G....y....| -00000020 04 7f 84 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| -00000030 cd cf f7 c7 36 fc 46 7a 8f 4f 2d bd 23 da fd d8 |....6.Fz.O-.#...| -00000040 b5 8d |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 01 4b 9f |..............K.| +00000010 6e 06 36 4a c0 28 29 c8 c2 f9 1d 7d 76 93 88 0f |n.6J.()....}v...| +00000020 df a7 4f 15 03 03 00 1a 00 00 00 00 00 00 00 02 |..O.............| +00000030 60 1d 9f 5c e7 c1 4f 24 b3 07 25 0b f4 15 67 0c |`..\..O$..%...g.| +00000040 f4 d8 |..| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-ECDSA b/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-ECDSA index a3250f72fc0..a896ffa4158 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-ECDSA +++ b/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-ECDSA @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 db 6b ec 03 09 |....Y...U...k...| -00000010 7b 73 48 57 44 2a 1e 45 cb 32 1a 6f ce f8 cd 40 |{sHWD*.E.2.o...@| -00000020 7c a5 91 5a e1 d3 b3 8f c4 ab ce 20 14 8f 65 1e ||..Z....... ..e.| -00000030 11 16 5c e0 a2 f1 42 c1 6a 41 1a c6 6e 56 c6 1b |..\...B.jA..nV..| -00000040 33 34 fc 2e e5 00 4f 24 0e 7e 25 ad c0 09 00 00 |34....O$.~%.....| +00000000 16 03 03 00 59 02 00 00 55 03 03 71 0e d3 2b 2b |....Y...U..q..++| +00000010 51 04 26 db 32 42 36 95 d1 5a fe f2 fd 34 0b b6 |Q.&.2B6..Z...4..| +00000020 3a 97 66 03 85 8b 28 86 83 ea 6e 20 dc a4 5a 87 |:.f...(...n ..Z.| +00000030 3e 74 5a 9a 87 e2 9c c6 06 d2 a0 c5 c9 75 dd f8 |>tZ..........u..| +00000040 c3 05 22 4b 66 d0 e4 ea ee 0f b2 9d c0 09 00 00 |.."Kf...........| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| 00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| @@ -56,18 +77,18 @@ 00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| 00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| 00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| -00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 69 b1 |*............ i.| -00000280 4b 8c 96 1e d4 99 2c 4c e7 bd c6 4f 21 82 c9 fe |K.....,L...O!...| -00000290 06 84 90 d9 87 ce 7d 71 85 77 5d 56 31 3e 04 03 |......}q.w]V1>..| -000002a0 00 8b 30 81 88 02 42 01 1c e4 21 c7 08 f3 98 08 |..0...B...!.....| -000002b0 31 30 60 06 4e 9e b3 26 f6 3d 94 15 4e 9e 48 58 |10`.N..&.=..N.HX| -000002c0 dd 7a 2f e2 c8 9b 0c ef 7d 07 a1 73 99 87 f6 04 |.z/.....}..s....| -000002d0 45 5c 70 a7 1f e5 2f 24 13 7c 87 1f c8 60 30 08 |E\p.../$.|...`0.| -000002e0 08 e0 b7 36 6d d3 11 d4 63 02 42 01 bd ea a9 d6 |...6m...c.B.....| -000002f0 56 73 28 5c f0 b9 8c e7 6a 6b e2 9c 2e b4 07 5e |Vs(\....jk.....^| -00000300 0c 84 40 92 a9 0e c9 05 b7 da 11 b6 89 86 85 3c |..@............<| -00000310 b5 de b6 58 26 b9 d6 58 0e 57 44 37 d7 78 3c d4 |...X&..X.WD7.x<.| -00000320 4e 3a 33 59 9b f5 0e f9 12 34 11 76 f2 16 03 03 |N:3Y.....4.v....| +00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 30 67 |*............ 0g| +00000280 39 a0 d0 4a 0c 8d 57 e3 02 8a a2 1a b1 17 e4 87 |9..J..W.........| +00000290 49 fb e2 4d 69 af 6a 75 a6 2b f6 ef c4 2c 04 03 |I..Mi.ju.+...,..| +000002a0 00 8b 30 81 88 02 42 01 f2 65 55 38 11 53 5f 56 |..0...B..eU8.S_V| +000002b0 0f 58 5b af 12 a4 f4 0d e2 13 f8 1b da 5c 48 af |.X[..........\H.| +000002c0 db fe ff 0f 57 93 46 78 e1 7a 52 37 6f 0c fe 43 |....W.Fx.zR7o..C| +000002d0 b3 38 fb 3c 30 a1 be 48 2f 14 17 8b d3 84 1e 76 |.8.<0..H/......v| +000002e0 92 02 93 b1 62 c4 a0 72 9a 02 42 00 e6 9e f4 5a |....b..r..B....Z| +000002f0 6d d0 07 e5 37 0c 85 b1 60 e7 3f 96 39 05 3e 2a |m...7...`.?.9.>*| +00000300 a2 25 be e4 61 1c 8b 8c f0 55 37 9a 5e de 38 03 |.%..a....U7.^.8.| +00000310 d9 8f 2b ab 9a 3e 13 5f 3d e5 ca 51 e5 49 95 30 |..+..>._=..Q.I.0| +00000320 84 22 50 6e 8a 60 54 d9 05 dc ef bd 77 16 03 03 |."Pn.`T.....w...| 00000330 00 3a 0d 00 00 36 03 01 02 40 00 2e 04 03 05 03 |.:...6...@......| 00000340 06 03 08 07 08 08 08 09 08 0a 08 0b 08 04 08 05 |................| 00000350 08 06 04 01 05 01 06 01 03 03 02 03 03 01 02 01 |................| @@ -109,31 +130,31 @@ 00000200 e5 35 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 |.5....%...! /.}.| 00000210 47 cd 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 |G.bC.(.._.).0...| 00000220 af c4 cf c2 ed 90 99 5f 58 cb 3b 74 16 03 03 00 |......._X.;t....| -00000230 88 0f 00 00 84 08 04 00 80 ae 9e da c9 3e 5a 43 |.............>ZC| -00000240 5f 6e 9d ad bf 15 9a 69 95 19 07 a7 d6 1b 3e b7 |_n.....i......>.| -00000250 00 da eb 70 71 f9 d9 4c e7 f4 14 89 5c b6 61 5d |...pq..L....\.a]| -00000260 6f 2d 72 25 f7 95 8b fe 60 c7 b0 a2 8a 67 e0 eb |o-r%....`....g..| -00000270 2e d3 ca 14 4d 13 01 fa e2 d2 a2 91 5e bb 4d 9a |....M.......^.M.| -00000280 bb 72 e4 5c 1e 04 05 34 8f 1a e6 39 e5 7a 99 1e |.r.\...4...9.z..| -00000290 2d 1a 9c 19 42 f1 11 2d f2 95 ce 26 3b b6 35 4e |-...B..-...&;.5N| -000002a0 ae 6d 82 f3 1a 25 bf 40 b2 19 cd 87 48 21 09 91 |.m...%.@....H!..| -000002b0 b7 cd af 55 09 c7 4c df 21 14 03 03 00 01 01 16 |...U..L.!.......| +00000230 88 0f 00 00 84 08 04 00 80 4f 49 f7 ff 38 a4 97 |.........OI..8..| +00000240 3c 7f bf 12 b6 e2 c6 40 6f 38 e4 f6 af 63 ff b0 |<......@o8...c..| +00000250 6b 50 cc 01 af 5a d4 77 79 49 5c ed 89 7c d0 94 |kP...Z.wyI\..|..| +00000260 b5 d6 1c 05 4d 48 97 73 56 9e b3 16 14 9b 4e f4 |....MH.sV.....N.| +00000270 67 fd b1 b3 20 01 7d fa 9b 60 3a 04 de b6 01 3a |g... .}..`:....:| +00000280 9b 9a d5 5e fb f4 e3 4f 80 d9 4f 39 25 c0 aa dc |...^...O..O9%...| +00000290 65 29 a5 a8 7a 49 7b b6 52 a9 78 93 65 14 6b 70 |e)..zI{.R.x.e.kp| +000002a0 fb f8 f1 2a 0e b3 10 f8 1f 3a 74 af 3d 4c 6d 41 |...*.....:t.=LmA| +000002b0 4b ad 05 26 0f 97 29 3b f3 14 03 03 00 01 01 16 |K..&..);........| 000002c0 03 03 00 40 00 00 00 00 00 00 00 00 00 00 00 00 |...@............| -000002d0 00 00 00 00 b1 8f e1 be 15 2a 62 94 92 92 bf 96 |.........*b.....| -000002e0 33 6e 57 dd 48 b6 72 77 a6 f1 75 77 af ca f2 20 |3nW.H.rw..uw... | -000002f0 14 2f d8 e8 78 15 65 3a cc 78 fb 83 cd d3 32 3a |./..x.e:.x....2:| -00000300 51 5e 72 53 |Q^rS| +000002d0 00 00 00 00 4a 8b b5 dc c5 54 00 52 4d 3b ed 03 |....J....T.RM;..| +000002e0 aa af 53 43 df 68 f8 9f 11 32 fd 20 7c 5f 36 0d |..SC.h...2. |_6.| +000002f0 9e 58 6e fb 19 4c e1 e1 76 42 27 d2 d6 30 8c 3d |.Xn..L..vB'..0.=| +00000300 a3 3a 6b 32 |.:k2| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 40 aa f3 6d 85 91 |..........@..m..| -00000010 6a c5 71 92 fb ee 98 3a 89 62 59 2d 05 f3 31 92 |j.q....:.bY-..1.| -00000020 a6 88 e0 8d f3 e7 b2 2e 54 f3 01 43 d3 84 9d 68 |........T..C...h| -00000030 e4 e1 54 85 99 d4 a2 57 0f e1 cf f9 60 c9 07 a7 |..T....W....`...| -00000040 79 0a cd 08 c7 f0 15 34 d6 d4 81 |y......4...| +00000000 14 03 03 00 01 01 16 03 03 00 40 23 6f 7d a3 a9 |..........@#o}..| +00000010 4c 8b e8 de 92 33 55 45 55 10 2f 4c 96 93 40 65 |L....3UEU./L..@e| +00000020 3f 1a 73 bb 90 75 b2 3f 51 18 75 30 8e a8 5a 12 |?.s..u.?Q.u0..Z.| +00000030 64 8d 1a ed 3f 4f d5 d3 5d 8b 03 f1 97 ac 6a fa |d...?O..].....j.| +00000040 6d 6e 0a 00 22 f6 aa 53 8b 29 3d |mn.."..S.)=| >>> Flow 5 (client to server) 00000000 17 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........| -00000010 00 00 00 00 00 05 dc 17 e3 97 fe d1 0c 78 92 98 |.............x..| -00000020 08 40 88 26 14 4f 19 4a e2 b8 bb 21 14 32 6c 63 |.@.&.O.J...!.2lc| -00000030 7f 56 37 70 c6 15 03 03 00 30 00 00 00 00 00 00 |.V7p.....0......| -00000040 00 00 00 00 00 00 00 00 00 00 93 33 60 99 a1 4b |...........3`..K| -00000050 64 59 7c 96 b9 2f 76 04 35 41 8c f3 cd f2 eb ae |dY|../v.5A......| -00000060 8e d0 b2 3a 52 34 75 e7 ac a8 |...:R4u...| +00000010 00 00 00 00 00 d9 06 62 a7 31 45 91 63 4a f3 4a |.......b.1E.cJ.J| +00000020 00 0e 3d c5 bc 78 9b 57 ec b6 bc 23 25 29 f5 b8 |..=..x.W...#%)..| +00000030 49 7d 18 ea a0 15 03 03 00 30 00 00 00 00 00 00 |I}.......0......| +00000040 00 00 00 00 00 00 00 00 00 00 ae 44 16 06 ea 9d |...........D....| +00000050 2e a8 e2 1f 8d df b0 51 e1 ff 12 a7 b5 33 18 08 |.......Q.....3..| +00000060 0a dd 9f fc c5 ee 87 97 6c 79 |........ly| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSA b/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSA index 8cffe77886a..348bae11652 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSA +++ b/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSA @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 e7 b6 27 1e c6 |....Y...U....'..| -00000010 ad 2f 54 87 5f 07 f3 79 b8 99 7f 47 9f c9 4e 07 |./T._..y...G..N.| -00000020 b5 ce 4d 2c b2 9b 9f d9 c9 c4 cb 20 12 92 cd 25 |..M,....... ...%| -00000030 7a d8 99 a8 0d 8f 51 70 ec ac d0 d2 cb aa be 1e |z.....Qp........| -00000040 e4 0e 7e 86 94 8b 37 6d 2c e5 18 74 c0 2f 00 00 |..~...7m,..t./..| +00000000 16 03 03 00 59 02 00 00 55 03 03 c5 63 87 1c 86 |....Y...U...c...| +00000010 82 81 a3 e1 33 f7 61 08 90 7b 57 42 4b 1d a1 60 |....3.a..{WBK..`| +00000020 25 fa 23 2a 51 0a 33 c8 95 a8 d6 20 00 ca 70 b3 |%.#*Q.3.... ..p.| +00000030 04 f0 f3 f2 bb d0 c7 76 a6 4b 0a f2 3a 59 7d 2a |.......v.K..:Y}*| +00000040 cd bb c2 4a 32 ad 90 df 57 9e 22 e5 c0 2f 00 00 |...J2...W."../..| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,17 +82,17 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 91 cf 1f a5 64 24 c6 |........ ....d$.| -000002d0 c3 40 9a 47 1c db af 10 44 19 e6 8d db 04 a0 59 |.@.G....D......Y| -000002e0 62 52 f2 63 bc 9f 94 5a 7b 08 04 00 80 9d 72 5a |bR.c...Z{.....rZ| -000002f0 b8 80 2f 3a ec f2 7d f5 62 3a 71 f8 2b 04 1e f5 |../:..}.b:q.+...| -00000300 ed 73 c0 ed 6c e6 17 b8 43 f8 95 d3 50 16 a2 1a |.s..l...C...P...| -00000310 31 21 11 02 f5 b4 4a d6 5b be 73 37 a4 13 f5 04 |1!....J.[.s7....| -00000320 6b 09 fe b5 c4 0b 1b d9 80 72 5e 40 ac 02 81 cc |k........r^@....| -00000330 b4 cd 3b 1d 67 43 a5 e3 c5 9c a6 11 a1 e5 f9 7f |..;.gC..........| -00000340 95 7b b0 b9 54 9d 0c 61 9d 24 17 d5 fe bf ec 2a |.{..T..a.$.....*| -00000350 9a e1 8d 69 91 f0 14 e7 f6 cb 8b 99 81 1a f1 a0 |...i............| -00000360 4c d8 3d ce 26 e7 a7 3d 05 67 08 9a 7b 16 03 03 |L.=.&..=.g..{...| +000002c0 ac 0c 00 00 a8 03 00 1d 20 e2 d3 ca 91 ab ca ff |........ .......| +000002d0 49 00 59 2e 70 90 31 76 2f 97 36 a3 8b 9b 44 62 |I.Y.p.1v/.6...Db| +000002e0 f5 dc ad 5f 3e 40 6e 0f 24 08 04 00 80 12 ad 7d |..._>@n.$......}| +000002f0 51 26 40 3d 52 97 5e 32 fc 2a c5 5c 1e 56 0b 1f |Q&@=R.^2.*.\.V..| +00000300 f1 48 c0 bd 09 f5 f8 7b cb b7 c5 19 91 23 cc 89 |.H.....{.....#..| +00000310 46 6b 6b 24 80 4c 44 9c 62 be 30 b2 d5 69 c9 0b |Fkk$.LD.b.0..i..| +00000320 57 d5 d4 65 d1 36 26 b6 f5 b9 39 ce f2 0a ba 08 |W..e.6&...9.....| +00000330 ee 12 55 5d d1 43 60 e1 95 e6 ed 56 ee c9 f9 18 |..U].C`....V....| +00000340 0a 58 c4 ea 9a ae 66 b3 1b 3c 14 68 81 bf 2d 7c |.X....f..<.h..-|| +00000350 e6 44 fb ae 32 38 8e 9e 7b d7 3e ef 7f 1b 47 54 |.D..28..{.>...GT| +00000360 78 29 86 40 82 05 d1 3d e6 f8 1b cb f5 16 03 03 |x).@...=........| 00000370 00 3a 0d 00 00 36 03 01 02 40 00 2e 04 03 05 03 |.:...6...@......| 00000380 06 03 08 07 08 08 08 09 08 0a 08 0b 08 04 08 05 |................| 00000390 08 06 04 01 05 01 06 01 03 03 02 03 03 01 02 01 |................| @@ -113,26 +134,26 @@ 00000200 e5 35 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 |.5....%...! /.}.| 00000210 47 cd 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 |G.bC.(.._.).0...| 00000220 af c4 cf c2 ed 90 99 5f 58 cb 3b 74 16 03 03 00 |......._X.;t....| -00000230 88 0f 00 00 84 08 04 00 80 65 40 33 27 bd b2 59 |.........e@3'..Y| -00000240 d3 a2 33 60 fe fa b4 43 c1 21 e2 3c e4 71 e8 25 |..3`...C.!.<.q.%| -00000250 67 82 c0 47 12 64 99 ee 2e 6c 23 df e6 cd da a4 |g..G.d...l#.....| -00000260 94 cb 3c c3 2e 44 9d 4a 5c 50 1f a9 9b ae 94 d4 |..<..D.J\P......| -00000270 0a 8b 2c 5c 5b 08 79 28 be 87 74 61 ff 31 c0 97 |..,\[.y(..ta.1..| -00000280 f1 31 63 f5 36 f2 a3 25 c2 a2 26 95 51 4b 43 9d |.1c.6..%..&.QKC.| -00000290 3a e5 38 08 f6 71 29 42 3b c1 bb 9a ca c9 5b 0f |:.8..q)B;.....[.| -000002a0 d2 ce 00 d5 e4 ed fd 8a 1e 46 77 f6 99 39 d1 86 |.........Fw..9..| -000002b0 2e 4d cb 2d e6 fb e8 cf 23 14 03 03 00 01 01 16 |.M.-....#.......| -000002c0 03 03 00 28 00 00 00 00 00 00 00 00 30 06 d6 08 |...(........0...| -000002d0 64 2c 49 f6 85 71 d1 8d e5 d0 11 2a c9 10 bc b8 |d,I..q.....*....| -000002e0 81 24 0a a6 c7 5d 6e 83 9a 00 ca 46 |.$...]n....F| +00000230 88 0f 00 00 84 08 04 00 80 4f cc 70 d7 90 c2 3c |.........O.p...<| +00000240 95 fb 9f 2e 7f 42 ed 8b 0d 10 12 e5 73 ff 8f 08 |.....B......s...| +00000250 00 02 be 9d 2e aa aa 85 9a f6 3a 44 09 40 8c bd |..........:D.@..| +00000260 33 48 e8 29 84 a2 f8 47 94 30 7f 16 c6 70 eb 27 |3H.)...G.0...p.'| +00000270 45 a8 d1 8b 97 16 64 a1 4f 84 10 9d be 32 36 a4 |E.....d.O....26.| +00000280 1d 2c b5 6d 41 a7 19 77 99 48 c6 7f 2b d2 62 39 |.,.mA..w.H..+.b9| +00000290 0e ae e8 fd a1 2b 13 16 de a1 bd 50 38 65 55 4d |.....+.....P8eUM| +000002a0 7e 4f 6e bc cf 18 10 98 7b 2c f9 ba 7d 53 5c 47 |~On.....{,..}S\G| +000002b0 1d 74 e0 27 18 23 6a d5 85 14 03 03 00 01 01 16 |.t.'.#j.........| +000002c0 03 03 00 28 00 00 00 00 00 00 00 00 19 a2 ca e3 |...(............| +000002d0 cd 65 36 4f 2a f9 d5 0b 12 fc 93 02 48 3a ad ec |.e6O*.......H:..| +000002e0 8f 74 d6 cb e8 2d 40 15 97 34 a7 b6 |.t...-@..4..| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 7c b0 ea 1b 7d |..........(|...}| -00000010 97 b2 48 47 ef 3b 43 5a 6d bf 7e 5b 2d 02 41 ed |..HG.;CZm.~[-.A.| -00000020 75 ff 5f 3d c9 72 49 44 9f ef 08 06 ec 7e c1 99 |u._=.rID.....~..| -00000030 ee b3 2c |..,| +00000000 14 03 03 00 01 01 16 03 03 00 28 a7 3f c8 d1 db |..........(.?...| +00000010 6a 4c 68 cf bf 56 32 ad 1f d8 50 f5 a7 fc f8 f2 |jLh..V2...P.....| +00000020 13 10 73 04 84 3e d8 30 2c 61 26 de b5 36 42 de |..s..>.0,a&..6B.| +00000030 85 a5 11 |...| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 3b 18 22 |.............;."| -00000010 40 d4 85 c2 b3 d1 ff c2 6c f7 05 88 ec f3 6c 3c |@.......l.....l<| -00000020 4d 58 62 15 03 03 00 1a 00 00 00 00 00 00 00 02 |MXb.............| -00000030 a9 99 ee fe ee 94 c6 96 86 57 4e c4 af a0 31 46 |.........WN...1F| -00000040 d9 1d |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 59 49 92 |.............YI.| +00000010 c7 a6 43 85 e1 71 27 f0 f6 88 43 8e 2c 4a 6c a7 |..C..q'...C.,Jl.| +00000020 13 cb e1 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 c0 f6 a0 d4 98 79 ec 6c 0f 4d 31 c4 77 c6 5e 94 |.....y.l.M1.w.^.| +00000040 40 f6 |@.| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSAPKCS1v15 b/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSAPKCS1v15 index 87a033c261a..8a85c90fda8 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSAPKCS1v15 +++ b/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSAPKCS1v15 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 53 b4 47 4e ce |....Y...U..S.GN.| -00000010 bc 07 7e 94 8d 00 78 21 6d 47 01 10 91 22 e2 26 |..~...x!mG...".&| -00000020 4b 40 4a 01 86 e7 14 89 b2 3e a9 20 29 48 80 06 |K@J......>. )H..| -00000030 fc be f6 4f db e4 1a a3 a5 38 0f c7 0b c8 99 11 |...O.....8......| -00000040 e3 93 a6 08 3a 81 6c fc df 32 b8 db c0 2f 00 00 |....:.l..2.../..| +00000000 16 03 03 00 59 02 00 00 55 03 03 64 6f b5 3c 09 |....Y...U..do.<.| +00000010 fe 95 83 39 56 c0 f7 d7 1f 6e 2f 9f 38 56 b7 25 |...9V....n/.8V.%| +00000020 d4 67 89 f2 90 e6 17 ed 3a c3 76 20 3e 55 5e d4 |.g......:.v >U^.| +00000030 5b 4a 0f 84 9a ed 19 10 65 c3 eb 45 bc c0 08 62 |[J......e..E...b| +00000040 9f b2 0a 3e b7 91 76 5c 29 23 db 6f c0 2f 00 00 |...>..v\)#.o./..| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,17 +82,17 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 be 7b 6a 7c f4 69 a1 |........ .{j|.i.| -000002d0 18 f2 03 b8 76 96 90 ff e9 2b 43 34 cc 15 42 14 |....v....+C4..B.| -000002e0 0c d6 66 7a 75 d8 c3 53 79 04 01 00 80 85 f5 df |..fzu..Sy.......| -000002f0 18 92 42 c7 30 4f 0e 74 bf 18 4b e1 79 37 ae 3f |..B.0O.t..K.y7.?| -00000300 34 ec e6 2f 84 41 f7 28 a3 9a 82 d0 3e b4 bb 06 |4../.A.(....>...| -00000310 37 43 f4 8c 8b 0a 76 54 7d 26 b5 0d 74 b0 b0 50 |7C....vT}&..t..P| -00000320 d4 bf 03 c0 b9 ea 8c 6e cc 7d 3b 8f db e2 d9 4c |.......n.};....L| -00000330 6a 61 17 1c 41 70 5a 18 33 a4 b1 e3 dc 0d 5e da |ja..ApZ.3.....^.| -00000340 97 78 ed 5a d2 c8 38 36 b1 79 ea ff 0f 82 5f a1 |.x.Z..86.y...._.| -00000350 45 cd 92 e1 d8 0e 1f 3d 69 69 52 3a 61 49 62 78 |E......=iiR:aIbx| -00000360 dd b5 7e 3f de 7d a8 2b 63 e3 67 13 4a 16 03 03 |..~?.}.+c.g.J...| +000002c0 ac 0c 00 00 a8 03 00 1d 20 d7 ca d0 3b ed 5c 6c |........ ...;.\l| +000002d0 8a a7 85 48 5f 70 80 fc 1b e9 08 65 0b 1a af 61 |...H_p.....e...a| +000002e0 17 89 ab 08 51 3a 04 c4 39 04 01 00 80 b4 de d8 |....Q:..9.......| +000002f0 51 6f ce fa 5f 46 12 eb 81 7b 49 cd 4e 32 1b 44 |Qo.._F...{I.N2.D| +00000300 33 ae be 4f cb 07 14 bf f9 76 a5 b8 ea 7b 09 4a |3..O.....v...{.J| +00000310 96 c4 6f 81 e6 d0 51 d8 5c 25 04 6f 60 79 3d 25 |..o...Q.\%.o`y=%| +00000320 49 68 83 1c 5b d8 4f 18 62 43 ab 68 9c 5e b2 71 |Ih..[.O.bC.h.^.q| +00000330 e2 31 69 6a 18 83 06 26 79 09 dd bc 33 1f 1e ce |.1ij...&y...3...| +00000340 45 a8 cd 8f 4d c9 49 11 cd e5 8e e5 52 57 94 1e |E...M.I.....RW..| +00000350 60 3b c8 af 95 24 7a 39 9a 3b 00 e6 09 2d af cf |`;...$z9.;...-..| +00000360 2e 6e 95 c8 24 eb 29 c5 d3 ef 43 41 e5 16 03 03 |.n..$.)...CA....| 00000370 00 0c 0d 00 00 08 01 01 00 02 04 01 00 00 16 03 |................| 00000380 03 00 04 0e 00 00 00 |.......| >>> Flow 3 (client to server) @@ -110,26 +131,26 @@ 00000200 e5 35 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 |.5....%...! /.}.| 00000210 47 cd 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 |G.bC.(.._.).0...| 00000220 af c4 cf c2 ed 90 99 5f 58 cb 3b 74 16 03 03 00 |......._X.;t....| -00000230 88 0f 00 00 84 04 01 00 80 ab c7 c4 44 5b e4 90 |............D[..| -00000240 47 73 c5 5b a4 30 c5 29 0c 8a 22 b4 16 1b 00 08 |Gs.[.0.)..".....| -00000250 f4 ba f9 6c b2 ce 5c f3 21 01 29 b9 91 37 05 3a |...l..\.!.)..7.:| -00000260 e7 7a 1e 95 81 d4 00 b9 50 56 04 1b 22 ad f8 6e |.z......PV.."..n| -00000270 5b c0 ff be 5c 23 4c 62 0a 96 65 2d db 4b 63 4d |[...\#Lb..e-.KcM| -00000280 58 eb 1d f1 36 d0 a8 c0 31 3b 8a 6d 96 1e 42 00 |X...6...1;.m..B.| -00000290 ca d5 6e 3f d8 e4 a5 e7 17 2b 3b 6f 4d 3f d9 a8 |..n?.....+;oM?..| -000002a0 62 0f 60 99 b8 87 83 c5 db a5 0e 1b 51 b1 49 2e |b.`.........Q.I.| -000002b0 26 ad 6c 2b b0 44 60 83 1c 14 03 03 00 01 01 16 |&.l+.D`.........| -000002c0 03 03 00 28 00 00 00 00 00 00 00 00 44 dc ce 42 |...(........D..B| -000002d0 82 35 c2 34 38 1b ce a7 5c bf 0b 59 34 c8 e4 9c |.5.48...\..Y4...| -000002e0 6f da 4f 3a 90 17 eb fa 74 8f 25 6a |o.O:....t.%j| +00000230 88 0f 00 00 84 04 01 00 80 90 1b 2a 34 6e 3a 66 |...........*4n:f| +00000240 c9 94 d0 b1 25 fe d1 c4 54 2b 80 55 fa 24 4b d3 |....%...T+.U.$K.| +00000250 ab 21 ed 49 ce 18 5e 7f 74 64 4b b0 08 52 c9 15 |.!.I..^.tdK..R..| +00000260 10 ee 5a d4 4b 2e 63 a0 15 0a 8c f9 9b ef 80 ab |..Z.K.c.........| +00000270 74 65 f9 ec d3 88 0c 30 ef b5 4c fd 7c 4e 55 99 |te.....0..L.|NU.| +00000280 55 1b 34 59 f5 54 8e ca 87 b2 dc ef fa 4d dc 4e |U.4Y.T.......M.N| +00000290 1e 76 7d b1 43 e9 19 50 c8 c0 6a 65 c7 62 ac 65 |.v}.C..P..je.b.e| +000002a0 74 07 d6 0b ea 6e 2f 03 cc 66 96 f2 6a 01 de 17 |t....n/..f..j...| +000002b0 72 9b f3 89 88 98 69 f6 5d 14 03 03 00 01 01 16 |r.....i.].......| +000002c0 03 03 00 28 00 00 00 00 00 00 00 00 a6 13 90 3e |...(...........>| +000002d0 ca 7f 65 5d fb ff cf 2b 58 f2 94 6c 8a 94 9d 8f |..e]...+X..l....| +000002e0 14 09 05 62 f6 f1 5f f9 b6 81 8e 6c |...b.._....l| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 b3 78 39 76 82 |..........(.x9v.| -00000010 88 69 4c 74 d2 80 37 98 f5 90 9f 6d 1a 96 71 1a |.iLt..7....m..q.| -00000020 89 2e f8 24 7b 85 df dd 1a d0 46 b6 e5 15 23 a3 |...${.....F...#.| -00000030 a5 39 74 |.9t| +00000000 14 03 03 00 01 01 16 03 03 00 28 9c a4 89 7b c9 |..........(...{.| +00000010 84 77 13 ee 00 c4 d1 8d 5d e4 94 ee 59 c1 28 d9 |.w......]...Y.(.| +00000020 a0 b6 29 f5 c6 5a 69 3e 45 c2 1e bf 1f f3 91 4a |..)..Zi>E......J| +00000030 e6 d2 0d |...| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 60 5d 73 |.............`]s| -00000010 2a 79 13 57 d3 ad d2 ca dd c7 c5 a5 4b ad 50 09 |*y.W........K.P.| -00000020 41 59 26 15 03 03 00 1a 00 00 00 00 00 00 00 02 |AY&.............| -00000030 7e 2f 84 6d 8a d8 33 e0 4c 01 44 c4 14 d9 8b 3e |~/.m..3.L.D....>| -00000040 ed a5 |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 ab 01 5b |...............[| +00000010 bc b0 0e 8d 0d 4c a7 e9 53 be d4 38 e3 a6 1a 25 |.....L..S..8...%| +00000020 77 15 e9 15 03 03 00 1a 00 00 00 00 00 00 00 02 |w...............| +00000030 9f 1b 17 b2 d5 1a ec 4d 0d 4c f0 5e f4 41 8f 90 |.......M.L.^.A..| +00000040 8c 8c |..| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSAPSS b/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSAPSS index 0f5fd332c08..a26c301c1dc 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSAPSS +++ b/src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-RSAPSS @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 33 12 ae a5 1f |....Y...U..3....| -00000010 04 99 f6 cb 87 9e 7a 73 d1 d6 df 5e 15 83 79 67 |......zs...^..yg| -00000020 98 80 e8 b1 83 69 8b f6 2c 03 ef 20 2d 2a 4f 1b |.....i..,.. -*O.| -00000030 af cd 85 24 a2 d7 c4 4b f8 b7 ba 85 8a c7 8d 44 |...$...K.......D| -00000040 28 14 f8 d8 8e 14 bd 70 98 db 09 8d c0 2f 00 00 |(......p...../..| +00000000 16 03 03 00 59 02 00 00 55 03 03 fb 94 fd 36 f9 |....Y...U.....6.| +00000010 da e9 96 35 18 9f 7a 5c b6 77 22 a4 38 32 7c 8a |...5..z\.w".82|.| +00000020 69 b0 82 0c 44 d5 5b 0e ad b0 22 20 fe 47 2a 9e |i...D.[..." .G*.| +00000030 ee ab 31 9b d1 1b 5d 30 4b 0f 11 f6 45 bb 7a 9b |..1...]0K...E.z.| +00000040 b2 55 73 cd 13 da b5 07 ab a3 73 68 c0 2f 00 00 |.Us.......sh./..| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 66 0b 00 02 62 00 02 5f 00 02 5c 30 82 02 |..f...b.._..\0..| 00000070 58 30 82 01 8d a0 03 02 01 02 02 11 00 f2 99 26 |X0.............&| @@ -62,17 +83,17 @@ 000002a0 11 89 66 79 d1 8e 88 0e 0b a0 9e 30 2a c0 67 ef |..fy.......0*.g.| 000002b0 ca 46 02 88 e9 53 81 22 69 22 97 ad 80 93 d4 f7 |.F...S."i"......| 000002c0 dd 70 14 24 d7 70 0a 46 a1 16 03 03 00 ac 0c 00 |.p.$.p.F........| -000002d0 00 a8 03 00 1d 20 d8 05 94 b2 a4 0e c7 b4 3d 93 |..... ........=.| -000002e0 01 6d 53 1b 9d 7f 46 63 a2 14 09 f0 b7 ca 64 7b |.mS...Fc......d{| -000002f0 8e 3e ea 69 51 01 08 04 00 80 a0 69 dc e7 09 05 |.>.iQ......i....| -00000300 0f e5 92 39 56 87 a4 f4 dc ed 58 19 1c c1 f1 2b |...9V.....X....+| -00000310 15 a0 6c 40 a0 c2 b7 10 14 78 e6 71 a5 52 03 b0 |..l@.....x.q.R..| -00000320 79 f5 71 80 fd c2 67 d2 43 5d fc 54 ff f4 e7 eb |y.q...g.C].T....| -00000330 5a 44 77 bd 75 08 14 d4 12 7b b5 34 e7 06 c2 aa |ZDw.u....{.4....| -00000340 5f 03 e4 87 dd 36 43 e4 70 c5 77 fb 12 d5 28 a4 |_....6C.p.w...(.| -00000350 af 94 ed 52 8b 34 d0 7b 7a dc 3f 26 01 ba 6a aa |...R.4.{z.?&..j.| -00000360 2d bc f4 b0 bc 60 95 69 71 8a 18 57 c6 8d 50 bc |-....`.iq..W..P.| -00000370 9d 0c d1 a1 6d b4 ce e7 59 24 16 03 03 00 0c 0d |....m...Y$......| +000002d0 00 a8 03 00 1d 20 6c 08 74 94 ab 2d 9a 60 d9 34 |..... l.t..-.`.4| +000002e0 bc d5 e1 4d 46 08 c7 6c c4 f3 35 6c 86 32 e6 e9 |...MF..l..5l.2..| +000002f0 54 eb 6d cb 3d 1e 08 04 00 80 0f fb a9 f3 bb d1 |T.m.=...........| +00000300 36 a8 1d 6c 18 c6 cc 5b 9f 7b 86 0e 4c 55 54 43 |6..l...[.{..LUTC| +00000310 bd 0e ee 60 6d aa 41 7d 46 50 0b 94 5c 0f 55 09 |...`m.A}FP..\.U.| +00000320 09 a7 70 5d 42 a8 a0 ef 53 13 ce be 28 bd 02 1d |..p]B...S...(...| +00000330 b8 45 e1 b1 a0 85 67 38 cd ec 67 50 da 72 0e 7f |.E....g8..gP.r..| +00000340 0c aa 7e 28 24 40 6e 16 4e 37 75 d5 d8 86 73 34 |..~($@n.N7u...s4| +00000350 38 06 1d 92 52 e0 10 ff de a0 ab be aa 0f 59 5e |8...R.........Y^| +00000360 76 bd 5d 44 45 5c fd 95 b5 a1 ed 12 07 9c 8c a0 |v.]DE\..........| +00000370 80 c4 ba f7 12 cd 35 17 6d e6 16 03 03 00 0c 0d |......5.m.......| 00000380 00 00 08 01 01 00 02 08 04 00 00 16 03 03 00 04 |................| 00000390 0e 00 00 00 |....| >>> Flow 3 (client to server) @@ -118,26 +139,26 @@ 00000270 10 00 00 21 20 2f e5 7d a3 47 cd 62 43 15 28 da |...! /.}.G.bC.(.| 00000280 ac 5f bb 29 07 30 ff f6 84 af c4 cf c2 ed 90 99 |._.).0..........| 00000290 5f 58 cb 3b 74 16 03 03 00 88 0f 00 00 84 08 04 |_X.;t...........| -000002a0 00 80 46 3f ff 69 a3 c2 5f 48 96 c6 f4 4e a8 9b |..F?.i.._H...N..| -000002b0 ec a2 31 f8 98 a6 c8 ee 0a d3 2c 4c db ca 14 ca |..1.......,L....| -000002c0 d7 c1 de de f8 c0 21 b0 97 cd 46 9b d5 aa 4f 3e |......!...F...O>| -000002d0 fc f0 2f 85 94 10 0f 59 48 a8 5a ba 52 5f 98 50 |../....YH.Z.R_.P| -000002e0 d9 a0 60 1d b1 74 ca d3 6c 9d 1b c5 ac c9 f6 bf |..`..t..l.......| -000002f0 5c 88 ae 44 c7 ef 0b 22 86 42 68 cc a9 47 47 16 |\..D...".Bh..GG.| -00000300 72 7e 54 b4 7b 2c e1 76 57 b7 66 60 cc de 01 32 |r~T.{,.vW.f`...2| -00000310 97 20 6a a8 7a 8f 80 3d 37 d8 85 a8 85 a8 36 db |. j.z..=7.....6.| -00000320 ef 95 14 03 03 00 01 01 16 03 03 00 28 00 00 00 |............(...| -00000330 00 00 00 00 00 65 d6 5b 5b 85 b8 f7 81 6f b0 3c |.....e.[[....o.<| -00000340 1c 37 50 d9 e8 f0 b9 54 a9 3c d0 01 68 ef cd 48 |.7P....T.<..h..H| -00000350 57 9c 92 39 2c |W..9,| +000002a0 00 80 44 5f cd 21 19 4b a2 3d 41 45 16 36 b1 f6 |..D_.!.K.=AE.6..| +000002b0 eb 05 7d d7 ad 3e b0 9e 0f 5f 37 2d 76 31 68 ce |..}..>..._7-v1h.| +000002c0 c4 ee ae 5d 84 fd 5d 5c c8 06 8c 8e e1 27 0f 3d |...]..]\.....'.=| +000002d0 95 2b 09 9c ed 1e 30 3c f9 1c 79 98 ef d1 87 52 |.+....0<..y....R| +000002e0 3e 38 05 ec ba 16 f8 45 25 d3 2c f4 36 49 b4 b0 |>8.....E%.,.6I..| +000002f0 49 d6 60 e5 14 bc 93 25 04 38 c6 3f f2 67 f4 4f |I.`....%.8.?.g.O| +00000300 a3 73 d3 5d f7 7a 16 63 23 e1 47 8d 9e 87 c1 78 |.s.].z.c#.G....x| +00000310 3c 4c e4 1a fe 0e e2 97 96 8b 37 2c 72 91 ce e1 |>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 29 14 f2 7a 8e |..........()..z.| -00000010 ce 3f fe 2b 77 41 eb 54 66 bf ec a2 96 e3 8e 0d |.?.+wA.Tf.......| -00000020 6c 80 63 e6 32 71 8a e0 b0 79 f8 6b 61 e4 a0 71 |l.c.2q...y.ka..q| -00000030 da 27 6e |.'n| +00000000 14 03 03 00 01 01 16 03 03 00 28 69 16 6d 07 03 |..........(i.m..| +00000010 3f 1d e5 fe 85 4b ac 17 b4 64 17 ba b5 d7 55 24 |?....K...d....U$| +00000020 a4 a2 71 b6 a8 96 82 f5 52 9a 6d 45 2e fc 5f f1 |..q.....R.mE.._.| +00000030 01 df 67 |..g| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 db 73 2a |..............s*| -00000010 32 fd 93 de 72 dc bb cb e0 7b 50 9f 26 60 ac 1e |2...r....{P.&`..| -00000020 ed 56 1f 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.V..............| -00000030 b1 51 75 36 c8 7a 58 8b 7e 66 1b 7f a7 80 2a 98 |.Qu6.zX.~f....*.| -00000040 71 4f |qO| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 ca 6e ba |..............n.| +00000010 10 ea 00 0b 07 12 9d c3 64 f1 5b 93 0c 67 1c f7 |........d.[..g..| +00000020 f3 7b 16 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.{..............| +00000030 f7 3c 0e cb 41 5f a9 5c 5b 8b e7 79 41 9b 3e ce |.<..A_.\[..yA.>.| +00000040 03 e7 |..| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES index 526ed98f215..75107ed57f1 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES +++ b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 ea 5a 27 1c 34 |....Y...U...Z'.4| -00000010 93 7c 96 d2 ad 6f bf 4a e4 0f 5d 18 6c 51 f0 61 |.|...o.J..].lQ.a| -00000020 3a 49 f8 c0 e1 a6 ff e8 4a 32 85 20 27 08 a5 da |:I......J2. '...| -00000030 52 7e fe f7 e8 61 d5 96 8a 7d bc d7 0f 67 fd b5 |R~...a...}...g..| -00000040 92 b6 12 d5 d3 0d e2 2a 13 19 fb 43 c0 09 00 00 |.......*...C....| +00000000 16 03 03 00 59 02 00 00 55 03 03 76 92 52 cb 96 |....Y...U..v.R..| +00000010 cd b0 db ce ad ff 29 46 23 28 56 79 b0 54 69 ce |......)F#(Vy.Ti.| +00000020 b5 6b 1a 01 92 96 f3 56 91 9e 67 20 1b d4 8b 6b |.k.....V..g ...k| +00000030 42 cc d0 f4 ec 33 96 47 8c 9e e4 cb 52 b1 31 b3 |B....3.G....R.1.| +00000040 44 66 2b 7b 90 c7 8b 2e 9c a0 9f 75 c0 09 00 00 |Df+{.......u....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| 00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| @@ -56,39 +77,39 @@ 00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| 00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| 00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| -00000270 2a 16 03 03 00 b5 0c 00 00 b1 03 00 1d 20 e4 f1 |*............ ..| -00000280 3a 07 21 10 d0 c8 c5 d2 d9 6b 48 20 ad 46 5d 95 |:.!......kH .F].| -00000290 5c 12 f4 65 b1 7d f9 e2 b3 70 21 9c 75 13 04 03 |\..e.}...p!.u...| -000002a0 00 89 30 81 86 02 41 68 48 61 e2 8c fd 73 03 52 |..0...AhHa...s.R| -000002b0 28 57 97 ef eb 77 96 f9 9b 78 93 e2 69 b6 89 79 |(W...w...x..i..y| -000002c0 f6 d1 6e 0d ff 45 70 21 7c 6a 87 5c 01 5b 7f 54 |..n..Ep!|j.\.[.T| -000002d0 cd 77 bf 50 64 d7 4e 36 c5 4b 71 c5 e5 ee 76 62 |.w.Pd.N6.Kq...vb| -000002e0 4b 7f e7 4e 43 22 5d a1 02 41 7f 37 6f b5 fe 6f |K..NC"]..A.7o..o| -000002f0 f0 1b 31 72 28 96 df bb 86 d9 ae 18 c2 c9 62 f5 |..1r(.........b.| -00000300 4d f9 c8 37 cb e6 6d 34 b9 b2 06 fc 12 e2 d3 58 |M..7..m4.......X| -00000310 eb c1 47 0d 1b 44 44 5c 3d 12 e7 f4 3f 3b 2c a3 |..G..DD\=...?;,.| -00000320 a6 2d 41 dc bc 93 bb 21 4d fd 07 16 03 03 00 04 |.-A....!M.......| -00000330 0e 00 00 00 |....| +00000270 2a 16 03 03 00 b6 0c 00 00 b2 03 00 1d 20 7e b7 |*............ ~.| +00000280 b5 99 bd 3e df d6 d0 ca 1e fb 7d c7 a0 6d d5 3e |...>......}..m.>| +00000290 05 a8 df 0d e4 c5 71 dd 0e 62 df 04 8f 13 04 03 |......q..b......| +000002a0 00 8a 30 81 87 02 42 01 25 b6 e0 5f 25 1b e2 97 |..0...B.%.._%...| +000002b0 7d 74 9a f5 b0 ef c3 63 54 02 e1 d6 19 77 f8 dc |}t.....cT....w..| +000002c0 41 33 27 e2 3b b4 eb ff ec f9 d3 7b d6 6f fe c2 |A3'.;......{.o..| +000002d0 12 3b 16 f6 ac 66 bd 3e 91 48 b6 94 c7 48 f8 70 |.;...f.>.H...H.p| +000002e0 72 94 e9 9c fd f6 22 52 ee 02 41 70 0f 90 57 e2 |r....."R..Ap..W.| +000002f0 b3 f2 50 b4 b4 44 c9 0c ba f0 27 c2 05 76 d4 20 |..P..D....'..v. | +00000300 2e 71 dc 79 ff 69 88 92 d4 6c e4 06 86 ea 8c 18 |.q.y.i...l......| +00000310 6d ce f4 62 4e 61 c1 3a 47 29 a9 7e 4d 53 aa 22 |m..bNa.:G).~MS."| +00000320 79 8b ec d2 d7 54 70 18 23 43 ed d8 16 03 03 00 |y....Tp.#C......| +00000330 04 0e 00 00 00 |.....| >>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| 00000030 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000040 00 00 00 00 00 c5 8f eb cd 42 34 c5 8d 5d 9e 2a |.........B4..].*| -00000050 3a 1e 4c 28 68 c3 e6 f7 38 7c a5 fd d3 c1 98 b6 |:.L(h...8|......| -00000060 39 52 0d 54 8a 7b 2b 35 e2 fb 4d 95 71 27 09 1a |9R.T.{+5..M.q'..| -00000070 85 49 b4 e5 39 |.I..9| +00000040 00 00 00 00 00 b7 f2 db 3b e1 e2 59 2c 4e d5 bd |........;..Y,N..| +00000050 7f 94 dc c3 22 27 8e ce 37 29 16 66 b4 64 67 51 |...."'..7).f.dgQ| +00000060 93 af ed ff 56 f7 64 78 5e 4a ea fd ab 6f f6 48 |....V.dx^J...o.H| +00000070 59 c4 4e 5a 91 |Y.NZ.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 40 40 d3 3f ed 29 |..........@@.?.)| -00000010 e1 86 49 59 0c 3d fe 57 3c d5 b3 b4 38 a1 1d b5 |..IY.=.W<...8...| -00000020 db c1 20 0e 0a 8a 67 94 35 aa 30 e2 34 18 5d 6e |.. ...g.5.0.4.]n| -00000030 37 38 14 d6 1f b9 91 2a 57 8f f1 2c 0b fa 30 f0 |78.....*W..,..0.| -00000040 ff 7a 24 a0 1c 8a 6a ea bc b1 5a |.z$...j...Z| +00000000 14 03 03 00 01 01 16 03 03 00 40 99 35 71 6a 8d |..........@.5qj.| +00000010 1b 5c 18 70 a3 3e 5b 2b e6 05 82 bb ad 44 9c f3 |.\.p.>[+.....D..| +00000020 58 79 c1 b8 d7 4a 90 23 5f 07 bb 96 4b 6f 12 aa |Xy...J.#_...Ko..| +00000030 07 29 13 b8 49 c1 4b 04 29 0c d9 ab 41 d5 57 30 |.)..I.K.)...A.W0| +00000040 2b 79 a1 46 73 eb f3 28 2b 04 7d |+y.Fs..(+.}| >>> Flow 5 (client to server) 00000000 17 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........| -00000010 00 00 00 00 00 93 03 e9 e8 7f 0b 31 ac 1d e2 fd |...........1....| -00000020 14 a4 37 c6 b1 17 e5 a1 29 82 3f 38 c2 9c 9d df |..7.....).?8....| -00000030 a7 63 16 0d 34 15 03 03 00 30 00 00 00 00 00 00 |.c..4....0......| -00000040 00 00 00 00 00 00 00 00 00 00 64 4e 5d b0 41 4b |..........dN].AK| -00000050 4b f1 04 54 61 5b 94 2e 4c 71 fc c3 f1 b9 99 63 |K..Ta[..Lq.....c| -00000060 26 4a fa dd 0b 98 89 f1 50 83 |&J......P.| +00000010 00 00 00 00 00 4f 30 d8 1e fa 1a 9b f9 3f f8 f6 |.....O0......?..| +00000020 35 8e 02 56 de 34 9b 6d e9 b7 cd b0 50 6c 71 14 |5..V.4.m....Plq.| +00000030 5f f9 14 03 14 15 03 03 00 30 00 00 00 00 00 00 |_........0......| +00000040 00 00 00 00 00 00 00 00 00 00 87 39 7f 56 02 ea |...........9.V..| +00000050 e7 43 9d 22 16 84 49 1e ed 35 b8 aa 0e db ad 1d |.C."..I..5......| +00000060 95 56 46 93 40 d9 63 18 b4 ac |.VF.@.c...| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES-GCM b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES-GCM index 85daa8ba8f6..f625cea7bee 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES-GCM +++ b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES-GCM @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 59 b5 2a 40 4b |....Y...U..Y.*@K| -00000010 05 9d a2 04 2b 11 a4 48 16 dd 87 1f d7 b0 a3 05 |....+..H........| -00000020 66 7f 88 19 e8 d8 a8 01 92 d9 30 20 f5 f9 0e e5 |f.........0 ....| -00000030 1f 3f e4 77 54 ad 41 b8 95 d7 fb 9d 07 34 b6 20 |.?.wT.A......4. | -00000040 26 15 2f 3a 08 ce 59 65 6b bc b7 06 c0 2b 00 00 |&./:..Yek....+..| +00000000 16 03 03 00 59 02 00 00 55 03 03 b7 0c 3c 68 52 |....Y...U....me.| -000002f0 ba d4 96 83 68 b8 0e 64 b4 e9 bd 6c 09 46 e9 e4 |....h..d...l.F..| -00000300 3e 58 ba 4b fd a0 82 71 fa e2 cc b2 ce f4 03 b4 |>X.K...q........| -00000310 3a 56 d4 2a 86 87 0e 15 40 5c f5 41 fb 93 c5 38 |:V.*....@\.A...8| -00000320 f0 fd 5d d1 fb 24 85 15 76 43 1e 16 03 03 00 04 |..]..$..vC......| +00000270 2a 16 03 03 00 b5 0c 00 00 b1 03 00 1d 20 3a e4 |*............ :.| +00000280 38 e9 c2 27 63 ec 91 86 c1 54 18 6c f6 bb 65 8c |8..'c....T.l..e.| +00000290 4a 09 6c 1a b0 8a 70 bf b3 15 2b 16 41 14 04 03 |J.l...p...+.A...| +000002a0 00 89 30 81 86 02 41 62 71 87 78 b7 4c fe 1d 76 |..0...Abq.x.L..v| +000002b0 96 e9 24 33 88 bc 35 23 11 2c d7 ad f0 d7 ff 99 |..$3..5#.,......| +000002c0 55 05 e3 52 4d 4f 2e d0 19 f8 3d 1e 42 6f cf 0d |U..RMO....=.Bo..| +000002d0 6f 01 dc 5d c6 1d 5d b4 7e 80 99 98 6d 07 fa 61 |o..]..].~...m..a| +000002e0 dc 6a c1 21 ae 73 c4 be 02 41 68 00 e9 d0 14 ac |.j.!.s...Ah.....| +000002f0 af 32 9e e1 ac c2 58 96 c4 7a 2e 00 4b db e8 10 |.2....X..z..K...| +00000300 bc e6 b4 0a ff e5 e9 32 56 8f a8 e7 4a e8 b6 27 |.......2V...J..'| +00000310 4a 27 53 d9 95 c3 0d 20 57 9d ac d2 9a f4 61 2a |J'S.... W.....a*| +00000320 df 44 21 ef 56 ae 43 e6 b1 33 1b 16 03 03 00 04 |.D!.V.C..3......| 00000330 0e 00 00 00 |....| >>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| -00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 f3 fd 54 |....(..........T| -00000040 4c 31 20 ed bd 4c 47 d6 8c ad 29 06 6f 17 3e a8 |L1 ..LG...).o.>.| -00000050 0b d1 a5 7e c6 85 e6 bf a5 f0 0d ef bf |...~.........| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 b7 4c a0 |....(.........L.| +00000040 96 f1 f4 28 3a 40 49 57 35 5d 85 da cd 06 ca 9a |...(:@IW5]......| +00000050 5d 0e ea 3d f6 f4 5c 77 a0 6f 54 0c 81 |]..=..\w.oT..| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 39 ba 1f a4 8d |..........(9....| -00000010 63 a3 c8 85 bd dd 33 55 1c a8 7c 2a 6a d0 ac 8a |c.....3U..|*j...| -00000020 37 bd 38 fb 43 39 48 47 0e c4 c3 b7 50 27 26 88 |7.8.C9HG....P'&.| -00000030 d7 f8 de |...| +00000000 14 03 03 00 01 01 16 03 03 00 28 11 ac 3d 51 8b |..........(..=Q.| +00000010 c9 41 76 8b 5f 7c a8 b3 1c ed 10 72 f2 ba b2 ff |.Av._|.....r....| +00000020 21 cd 43 96 c9 21 0a d4 45 b3 b0 3c 0e 8e 64 5f |!.C..!..E..<..d_| +00000030 31 6a ba |1j.| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 36 ba 3c |.............6.<| -00000010 7d 01 dc 91 09 93 70 a0 8f 59 35 f1 aa ac 6e 97 |}.....p..Y5...n.| -00000020 5f 76 5f 15 03 03 00 1a 00 00 00 00 00 00 00 02 |_v_.............| -00000030 fc 38 19 6c 5c 56 ba 0a 2b d0 59 80 0c fb aa 7f |.8.l\V..+.Y.....| -00000040 1e 68 |.h| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 fe fb 04 |................| +00000010 fe 90 21 76 aa 47 d2 59 67 44 02 24 af ab 2b fe |..!v.G.YgD.$..+.| +00000020 67 85 2a 15 03 03 00 1a 00 00 00 00 00 00 00 02 |g.*.............| +00000030 5d 39 39 3a 89 4f 06 26 03 13 fb 76 ed 6b 2b 3e |]99:.O.&...v.k+>| +00000040 88 e0 |..| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES128-SHA256 b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES128-SHA256 index 34b088ff06c..51774a8cc97 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES128-SHA256 +++ b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES128-SHA256 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 07 a4 6b db b9 |....Y...U....k..| -00000010 ef 53 60 df 1e b5 4b 93 2f 58 d7 7c 0a b0 53 a7 |.S`...K./X.|..S.| -00000020 60 f9 d8 f4 4d d2 14 1c 78 0f 9b 20 80 6c c1 35 |`...M...x.. .l.5| -00000030 d2 db 0a 37 c7 85 d6 dc 27 17 f3 6e 3b 7d 2c f0 |...7....'..n;},.| -00000040 77 67 58 ab f5 83 d9 41 4b 51 e2 1e c0 23 00 00 |wgX....AKQ...#..| +00000000 16 03 03 00 59 02 00 00 55 03 03 71 6a 4e ff f3 |....Y...U..qjN..| +00000010 09 09 37 35 57 14 3a 56 85 32 0e 46 26 02 8a e4 |..75W.:V.2.F&...| +00000020 c8 13 3b 56 2b 95 11 3a a5 94 2d 20 f6 35 ca 5a |..;V+..:..- .5.Z| +00000030 92 10 d9 d7 bc a6 19 c5 bc 8f 5a e6 f1 de a6 a6 |..........Z.....| +00000040 68 9b f8 66 fb f7 35 ee fe 87 12 f7 c0 23 00 00 |h..f..5......#..| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| 00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| @@ -56,43 +77,43 @@ 00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| 00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| 00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| -00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 d7 55 |*............ .U| -00000280 0f 75 a2 99 d1 c1 71 48 79 ef 61 58 46 21 f0 b1 |.u....qHy.aXF!..| -00000290 a7 b5 82 af 8a e8 f2 42 82 4d c8 21 5e 7d 04 03 |.......B.M.!^}..| -000002a0 00 8b 30 81 88 02 42 00 d6 4b 1c 98 1e 68 ff 63 |..0...B..K...h.c| -000002b0 ae 00 02 55 40 49 b3 95 c6 c3 a0 ff d3 e7 47 e0 |...U@I........G.| -000002c0 6e f8 e2 5c fe 22 73 61 ee 35 d9 58 7a 2a 90 1b |n..\."sa.5.Xz*..| -000002d0 74 1b c9 bc 9b ef b3 a3 5c d9 0e 31 9a 68 62 17 |t.......\..1.hb.| -000002e0 a6 26 1d f1 ed d0 e9 78 8f 02 42 01 e7 bc b2 e1 |.&.....x..B.....| -000002f0 62 51 35 3b ca 13 fa ef 1d 97 c9 12 68 a0 3b bf |bQ5;........h.;.| -00000300 eb 21 bf e9 90 bb b5 20 d1 9e d1 ca b6 3c 51 4b |.!..... .....>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| 00000030 16 03 03 00 50 00 00 00 00 00 00 00 00 00 00 00 |....P...........| -00000040 00 00 00 00 00 8d 3f d1 18 e5 df ef cc 3f 92 9d |......?......?..| -00000050 0d a5 5e f8 76 03 51 df 3b a4 c6 10 79 83 2b 2b |..^.v.Q.;...y.++| -00000060 ff b2 30 e7 a0 01 0e cf 3c 27 bd c6 e9 d2 04 a3 |..0.....<'......| -00000070 fe c0 34 8e 85 a1 2a 46 db b1 c1 ba dc 9c ca 1f |..4...*F........| -00000080 75 9f b5 9c 5e |u...^| +00000040 00 00 00 00 00 cf b5 71 db 5c 7b b2 ce fd 74 34 |.......q.\{...t4| +00000050 a5 c6 a0 9a e7 0e 53 05 29 32 ad a5 59 4f c1 a1 |......S.)2..YO..| +00000060 a3 29 86 84 f2 89 96 5a d1 9a 4f 2e 61 21 bb b6 |.).....Z..O.a!..| +00000070 1b dc f0 94 72 d5 86 ae 86 ff f5 9f 0f 9d e1 3a |....r..........:| +00000080 96 bd 2b 4c 63 |..+Lc| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 50 0a 8f 8f 00 a0 |..........P.....| -00000010 a0 fb 79 93 90 b9 cd a0 3b 4e ce ea e4 cb 5b 54 |..y.....;N....[T| -00000020 27 6b a3 9a 67 6d 7a cf 28 11 94 74 5e eb 9b f6 |'k..gmz.(..t^...| -00000030 8d 88 3e 76 d2 03 70 07 1c 39 ca 5c b5 a8 fe 0e |..>v..p..9.\....| -00000040 c7 63 8c b8 10 fc f3 79 e4 7e de 11 0c a1 c2 22 |.c.....y.~....."| -00000050 92 11 2d d3 16 ce d5 0b 0d 6c 34 |..-......l4| +00000000 14 03 03 00 01 01 16 03 03 00 50 73 5a bf c5 84 |..........PsZ...| +00000010 e0 81 2b 5e a9 67 d1 4c 56 52 a3 c2 aa 71 bb bb |..+^.g.LVR...q..| +00000020 4b c8 08 dc f7 74 77 23 85 2b d7 c0 fa 24 70 0e |K....tw#.+...$p.| +00000030 9e 90 93 7e da 6f 7e 22 aa a8 66 a1 b8 a6 1b 99 |...~.o~"..f.....| +00000040 5c fb 27 53 a6 02 fb 10 13 5b c8 5e 9d 32 ba 3f |\.'S.....[.^.2.?| +00000050 33 fc c1 45 4c 12 bf a2 58 62 ae |3..EL...Xb.| >>> Flow 5 (client to server) 00000000 17 03 03 00 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000010 00 00 00 00 00 33 eb 2a 84 91 4c e2 ff 1f 5b 74 |.....3.*..L...[t| -00000020 fe f8 e2 ac b9 42 20 6d b4 8d ae 66 bd 3e 24 fd |.....B m...f.>$.| -00000030 b6 c8 3a 9f 4e 40 2d 91 47 a1 6a 93 0e 95 5d ca |..:.N@-.G.j...].| -00000040 e0 64 b4 f7 d0 15 03 03 00 40 00 00 00 00 00 00 |.d.......@......| -00000050 00 00 00 00 00 00 00 00 00 00 b6 00 08 e1 14 b2 |................| -00000060 8e 92 23 5c d7 ea 45 ed 1e 8d ad d0 29 06 e9 96 |..#\..E.....)...| -00000070 e4 3b 70 fb 72 c5 50 d1 32 ec 9f bd b9 d9 f6 e2 |.;p.r.P.2.......| -00000080 81 9c 7b 0d 59 d6 b7 d2 b8 90 |..{.Y.....| +00000010 00 00 00 00 00 b4 c6 94 26 52 53 05 a0 1b 47 d0 |........&RS...G.| +00000020 f4 47 6e b7 d2 79 8c 18 a3 54 e3 62 34 4a a7 37 |.Gn..y...T.b4J.7| +00000030 2e df 48 8f 53 00 6b 5b fc 22 93 ac 2d 36 c5 dd |..H.S.k[."..-6..| +00000040 2d c6 64 32 68 15 03 03 00 40 00 00 00 00 00 00 |-.d2h....@......| +00000050 00 00 00 00 00 00 00 00 00 00 6f dc 1e 1a e1 53 |..........o....S| +00000060 13 f5 66 9b 48 bb 43 14 43 dc dc bb 5d 9b 96 78 |..f.H.C.C...]..x| +00000070 9b 26 c9 6f ee ef b7 8b b8 2d ed a2 7b 95 3f 64 |.&.o.....-..{.?d| +00000080 54 ab 8e 8d 8b 0f b4 50 9d 36 |T......P.6| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES256-GCM-SHA384 b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES256-GCM-SHA384 index 604acfcc403..2e1170f3508 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES256-GCM-SHA384 +++ b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-AES256-GCM-SHA384 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 9a 51 f1 e1 99 |....Y...U...Q...| -00000010 72 61 1c ea 7b 77 d1 ec 19 d0 b2 d0 07 0d 18 17 |ra..{w..........| -00000020 7c 68 db 59 d0 6d f8 00 ef 41 df 20 21 25 4d 65 ||h.Y.m...A. !%Me| -00000030 e9 d2 02 08 e7 90 7f 04 dc 75 3b ea 77 fb c8 1d |.........u;.w...| -00000040 ad 89 6c 2c 39 bc 99 1a 7b 11 58 0f c0 2c 00 00 |..l,9...{.X..,..| +00000000 16 03 03 00 59 02 00 00 55 03 03 cb 75 8e bb 8f |....Y...U...u...| +00000010 bf 35 9b ab d1 b5 ca f0 11 dc 20 97 81 a4 ef 40 |.5........ ....@| +00000020 d9 0e 52 b8 3d 64 6b 97 76 f4 5a 20 fd 88 ed 42 |..R.=dk.v.Z ...B| +00000030 d4 a4 f6 f4 a5 49 c8 86 70 7d 33 1d de c4 24 3a |.....I..p}3...$:| +00000040 ff cb d6 04 6f e6 9a 9c 01 3a 88 be c0 2c 00 00 |....o....:...,..| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| 00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| @@ -56,34 +77,34 @@ 00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| 00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| 00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| -00000270 2a 16 03 03 00 b6 0c 00 00 b2 03 00 1d 20 e4 08 |*............ ..| -00000280 e7 16 1b 17 33 6d 51 3f b7 2e 64 f3 72 f1 d2 c3 |....3mQ?..d.r...| -00000290 85 0c 1b a8 29 dc 6b 09 a4 71 b3 dd ab 7d 04 03 |....).k..q...}..| -000002a0 00 8a 30 81 87 02 42 01 05 bd af 40 18 f8 02 30 |..0...B....@...0| -000002b0 99 b2 05 73 a3 c1 86 dd f2 6b c9 28 2a 13 8f aa |...s.....k.(*...| -000002c0 a1 e0 37 b6 cc ed f9 2b ba 7a 7c e0 48 11 5f 66 |..7....+.z|.H._f| -000002d0 68 f2 31 7d 34 4d b2 df d2 09 36 a4 c8 5a 20 b8 |h.1}4M....6..Z .| -000002e0 00 45 70 8c 89 52 34 2d 6d 02 41 0f 66 6a fe 53 |.Ep..R4-m.A.fj.S| -000002f0 d4 e4 35 4f 05 f6 d4 52 83 72 4a 41 f3 ae a3 02 |..5O...R.rJA....| -00000300 78 8d 03 22 ba c2 82 b6 2c 76 a7 2c 7c 2e cf f7 |x.."....,v.,|...| -00000310 b0 70 90 89 82 be 76 4e 98 b1 64 26 d9 fe 6b 5e |.p....vN..d&..k^| -00000320 c0 5e 70 63 a9 8d 67 bf c6 66 ec 29 16 03 03 00 |.^pc..g..f.)....| -00000330 04 0e 00 00 00 |.....| +00000270 2a 16 03 03 00 b5 0c 00 00 b1 03 00 1d 20 99 13 |*............ ..| +00000280 46 b6 29 7e c9 c5 d6 e8 46 08 d8 7f 3e c5 23 71 |F.)~....F...>.#q| +00000290 b7 f1 82 23 27 39 25 fe cf 74 90 11 49 7b 04 03 |...#'9%..t..I{..| +000002a0 00 89 30 81 86 02 41 66 06 7f 9f cb 60 97 03 7a |..0...Af....`..z| +000002b0 66 86 05 42 33 73 fa 45 ec 14 7c e6 71 2e 62 ae |f..B3s.E..|.q.b.| +000002c0 4f 37 dd 4b de 45 76 f6 0a 34 7f 95 52 61 8b b3 |O7.K.Ev..4..Ra..| +000002d0 b3 5b df 1a 0c 7f b5 a6 83 58 30 1c 38 ff 7b 80 |.[.......X0.8.{.| +000002e0 fb 7e 60 b4 43 e4 f5 d3 02 41 50 45 61 9f c7 04 |.~`.C....APEa...| +000002f0 22 6d 9f 3a b5 57 88 d5 66 78 40 f8 31 35 e3 68 |"m.:.W..fx@.15.h| +00000300 45 83 74 69 93 d5 15 df 83 5c 2b 72 b3 05 aa 0a |E.ti.....\+r....| +00000310 c1 90 ee ef 46 87 3c 10 10 e6 e5 aa 5d 5c 27 5d |....F.<.....]\']| +00000320 15 6c a6 a0 b6 81 ef a9 08 ff 7c 16 03 03 00 04 |.l........|.....| +00000330 0e 00 00 00 |....| >>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| -00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 8b d0 fa |....(...........| -00000040 f9 46 2d 3f 62 64 6e d0 ba 82 55 2a 03 20 42 2d |.F-?bdn...U*. B-| -00000050 6c a5 da 60 06 8a 19 1d c3 ed b7 0f 23 |l..`........#| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 9d c5 4a |....(..........J| +00000040 72 ed a9 42 1b a2 8d 9b ad b1 1f 75 f4 15 44 35 |r..B.......u..D5| +00000050 26 5f 02 ab be b2 d9 48 18 1f 50 6e 7a |&_.....H..Pnz| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 b5 6a 60 53 f3 |..........(.j`S.| -00000010 ea 64 2e 5e 57 29 90 73 82 e4 40 58 ac b1 95 44 |.d.^W).s..@X...D| -00000020 45 52 17 1c 1b b1 18 6c d5 f7 49 70 02 b4 4a 23 |ER.....l..Ip..J#| -00000030 ae 42 73 |.Bs| +00000000 14 03 03 00 01 01 16 03 03 00 28 97 44 68 fa 22 |..........(.Dh."| +00000010 8b 6e 2e 43 45 37 9a cf e7 d4 75 55 9b a7 40 12 |.n.CE7....uU..@.| +00000020 c1 5d 9f f0 cc b6 71 b6 bb b2 26 40 e8 95 f5 a4 |.]....q...&@....| +00000030 72 c2 21 |r.!| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 d4 5b ca |..............[.| -00000010 bc ba aa b7 c6 fc 2d 86 6b af 31 b3 28 4f 70 ac |......-.k.1.(Op.| -00000020 16 5e 6a 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.^j.............| -00000030 42 72 a8 83 27 51 69 2d bb 64 36 ce 2e 12 49 09 |Br..'Qi-.d6...I.| -00000040 81 35 |.5| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 79 c1 7c |.............y.|| +00000010 f9 43 60 70 1a a5 2f 40 c7 3d 03 00 c5 93 0e 54 |.C`p../@.=.....T| +00000020 8a 9e 96 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 61 02 8c 5a 3e 16 5b 17 f1 5a 05 35 98 f0 3a 0b |a..Z>.[..Z.5..:.| +00000040 e0 54 |.T| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-CHACHA20-POLY1305 b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-CHACHA20-POLY1305 index 152a7fb7819..89c3dbe1156 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-CHACHA20-POLY1305 +++ b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-CHACHA20-POLY1305 @@ -1,24 +1,45 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 d2 01 00 00 ce 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 24 01 00 02 20 03 03 00 00 00 00 00 |....$... .......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 08 cc a9 |................| -00000050 13 01 13 03 13 02 01 00 00 7d 00 05 00 05 01 00 |.........}......| -00000060 00 00 00 00 0a 00 0a 00 08 00 1d 00 17 00 18 00 |................| -00000070 19 00 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 |................| -00000080 03 08 07 08 05 08 06 04 01 05 01 06 01 05 03 06 |................| -00000090 03 02 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 |......a.........| -000000a0 00 2b 00 09 08 03 04 03 03 03 02 03 01 00 33 00 |.+............3.| -000000b0 26 00 24 00 1d 00 20 2f e5 7d a3 47 cd 62 43 15 |&.$... /.}.G.bC.| -000000c0 28 da ac 5f bb 29 07 30 ff f6 84 af c4 cf c2 ed |(.._.).0........| -000000d0 90 99 5f 58 cb 3b 74 |.._X.;t| +00000050 13 01 13 03 13 02 01 00 01 cf 00 05 00 05 01 00 |................| +00000060 00 00 00 00 0a 00 0e 00 0c 01 fd 01 fc 00 1d 00 |................| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 1c 00 |................| +00000080 1a 08 04 04 03 08 07 08 05 08 06 04 01 05 01 06 |................| +00000090 01 05 03 06 03 02 01 02 03 fe 61 ff 01 00 01 00 |..........a.....| +000000a0 00 12 00 00 00 2b 00 09 08 03 04 03 03 03 02 03 |.....+..........| +000000b0 01 00 33 01 74 01 72 01 fd 01 4a 13 9b 9f d0 43 |..3.t.r...J....C| +000000c0 df e9 45 3c 33 0b 94 15 7b 9f b4 42 c0 d5 bb aa |..E<3...{..B....| +000000d0 8d 92 b4 ca a6 73 b5 f2 a6 30 1a 73 3b 30 a1 fe |.....s...0.s;0..| +000000e0 e2 55 0a ea 96 8f 0c 22 82 6e 8b 72 64 02 cb 59 |.U.....".n.rd..Y| +000000f0 bb 01 99 19 38 88 c7 4b 8e 40 89 4f 70 9e ee e6 |....8..K.@.Op...| +00000100 17 bc 92 fa 60 69 cb ec ee b1 5a eb ed 58 1d 93 |....`i....Z..X..| +00000110 a0 06 33 b5 f5 79 71 96 cb f2 e4 3e ec 29 4b ce |..3..yq....>.)K.| +00000120 5c 96 ea 22 14 d1 f2 0e 01 50 5f 7e ee 61 18 8e |\..".....P_~.a..| +00000130 f5 ac d0 90 4f 84 ab 98 08 dc ed f6 2a ef 23 f7 |....O.......*.#.| +00000140 c7 64 f0 78 52 c4 ba 96 a3 e4 72 d9 df f3 54 77 |.d.xR.....r...Tw| +00000150 f4 78 99 0a 53 43 9a 95 b2 f5 b9 e4 0f ed 1c 01 |.x..SC..........| +00000160 4e ea da f0 79 67 bc 50 d2 32 23 6f b2 08 b7 bf |N...yg.P.2#o....| +00000170 b3 54 06 54 c7 d7 75 85 8d 1a 6f 00 93 67 aa 14 |.T.T..u...o..g..| +00000180 2b 26 e5 13 a5 88 00 88 ae f6 d2 78 3d 76 68 e4 |+&.........x=vh.| +00000190 34 3c 73 35 b7 1e 01 87 ca 4f c8 83 80 ac b9 96 |4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 99 12 80 1a b4 |....Y...U.......| -00000010 d2 f5 d1 f0 cd e0 e6 dd 53 3c cf 8e 73 33 c1 2b |........S<..s3.+| -00000020 4d 3d 15 54 ef 4c b0 31 39 4f 59 20 4d 7f 2d 69 |M=.T.L.19OY M.-i| -00000030 e0 3e 04 f2 43 f7 02 31 aa c4 b3 35 35 ad 90 46 |.>..C..1...55..F| -00000040 14 c5 1a ac 34 9a 8a 78 b0 11 8b 1a cc a9 00 00 |....4..x........| +00000000 16 03 03 00 59 02 00 00 55 03 03 f6 3f ff a5 c8 |....Y...U...?...| +00000010 3f ed 72 68 12 a2 59 f7 5f 61 c5 ba f3 af 98 71 |?.rh..Y._a.....q| +00000020 db e7 50 74 99 9e 89 29 bf 2f f0 20 19 e1 6e c0 |..Pt...)./. ..n.| +00000030 bf ee 00 26 44 cd 30 67 96 dd fe 8b b9 8f d5 19 |...&D.0g........| +00000040 11 a0 eb db e0 8c 08 d4 07 14 86 b7 cc a9 00 00 |................| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..| 00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....| @@ -53,32 +74,32 @@ 00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....| 00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.| 00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....| -00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 27 ac |*............ '.| -00000280 ea 48 73 9a 0a 6a 46 02 3c c9 7e ce c4 c4 2a 78 |.Hs..jF.<.~...*x| -00000290 3e ed 5a a1 21 04 da 63 55 bc a5 74 13 4c 04 03 |>.Z.!..cU..t.L..| -000002a0 00 8b 30 81 88 02 42 01 0e 0f c8 71 81 2c d9 ec |..0...B....q.,..| -000002b0 a3 96 ad 74 99 d0 f0 91 1a d8 51 4f ba 47 df e6 |...t......QO.G..| -000002c0 ef ea 2f 7b f6 c3 a7 94 ba e7 05 c8 b8 9b fd 36 |../{...........6| -000002d0 fe 76 1c 79 80 7d 95 59 e1 41 83 73 02 c0 e0 a9 |.v.y.}.Y.A.s....| -000002e0 f5 66 24 f2 5d 65 d4 37 90 02 42 00 87 e7 e3 f8 |.f$.]e.7..B.....| -000002f0 e7 83 72 bc 7b c2 d4 77 e9 45 33 74 b3 7d d4 43 |..r.{..w.E3t.}.C| -00000300 f6 5e 58 39 e5 a7 aa 7b f5 c1 d9 1f 6e 5e 3c 22 |.^X9...{....n^<"| -00000310 08 3a 1e ff cc e9 da cb 5b 8b 6b 10 3a a9 da d9 |.:......[.k.:...| -00000320 70 2c a3 4e 31 af 99 d0 bb 2a f8 6c 9e 16 03 03 |p,.N1....*.l....| +00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 51 76 |*............ Qv| +00000280 eb 87 5f 73 5c 59 c6 c4 87 b6 0e 46 8f fc dd b6 |.._s\Y.....F....| +00000290 3d a4 ab 5e 1f 81 8d b6 d7 65 ed c8 da 7e 04 03 |=..^.....e...~..| +000002a0 00 8b 30 81 88 02 42 01 8b b4 42 19 83 a3 2c 1d |..0...B...B...,.| +000002b0 51 52 a0 4d 08 ef 92 86 0e 05 2f 6e 24 3f a0 a9 |QR.M....../n$?..| +000002c0 70 6f 1f 11 d6 9e 50 e5 9f f8 fb 8f 76 95 cc da |po....P.....v...| +000002d0 0d a5 94 40 89 03 86 6c 21 6e b3 7f 5f 2f 47 56 |...@...l!n.._/GV| +000002e0 23 9c 95 00 1f d9 d7 47 5b 02 42 00 c0 6e 07 1f |#......G[.B..n..| +000002f0 b2 80 59 8a be 58 18 f0 f7 88 43 68 0b e8 0e d2 |..Y..X....Ch....| +00000300 61 f3 7e 00 59 6e 41 b2 84 04 eb f0 68 94 ee 17 |a.~.YnA.....h...| +00000310 55 90 63 51 75 8c 27 50 71 a1 e6 be c0 82 c6 3b |U.cQu.'Pq......;| +00000320 51 3c 87 6a 2e fb 28 12 b3 64 ad 86 be 16 03 03 |Q<.j..(..d......| 00000330 00 04 0e 00 00 00 |......| >>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| -00000030 16 03 03 00 20 77 1f e8 50 af bc 0e 09 de dd 61 |.... w..P......a| -00000040 b8 95 fb 9e 2d b3 64 2c fd 5e 7e a1 82 4f a8 62 |....-.d,.^~..O.b| -00000050 be e8 5e ed b1 |..^..| +00000030 16 03 03 00 20 e9 04 3b 8f 5b 85 aa 83 70 36 7c |.... ..;.[...p6|| +00000040 7f 99 e2 e6 3a 1c e4 b3 47 09 01 a2 4d f9 11 01 |....:...G...M...| +00000050 53 90 25 6e ef |S.%n.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 5a 99 19 9a 1a |.......... Z....| -00000010 0d 69 31 7e 7c af f8 0d cb 62 e8 26 e5 42 f7 8c |.i1~|....b.&.B..| -00000020 d2 5d 72 37 4a e9 3a fe 5d 60 35 |.]r7J.:.]`5| +00000000 14 03 03 00 01 01 16 03 03 00 20 c5 50 65 16 0a |.......... .Pe..| +00000010 4c fc bc b3 f3 28 01 56 45 95 35 d1 16 a5 e5 d8 |L....(.VE.5.....| +00000020 fb 2e 3b bf e1 85 ac 26 11 55 13 |..;....&.U.| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 fd ff af 03 13 14 71 11 57 94 45 |...........q.W.E| -00000010 26 70 c4 00 23 2e 83 d9 27 d4 90 15 03 03 00 12 |&p..#...'.......| -00000020 39 e8 65 bc 15 10 f0 2c 38 b8 fb 3e 8e 86 87 5d |9.e....,8..>...]| -00000030 17 b5 |..| +00000000 17 03 03 00 16 42 36 6f 2f 98 e9 ad b0 2f ea 8f |.....B6o/..../..| +00000010 fb 79 c6 e5 79 d6 2c a6 ff 44 14 15 03 03 00 12 |.y..y.,..D......| +00000020 2f 92 3e dd b6 28 f0 9f 2c 5a af 59 f4 ea ab 1f |/.>..(..,Z.Y....| +00000030 01 77 |.w| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-AES b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-AES index 6e71630a48b..d059fa1d968 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-AES +++ b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-AES @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 fa d6 dc 9b b6 |....Y...U.......| -00000010 cf 05 d6 ff ed f1 b9 5f b1 3d 3e fc 34 6c f5 06 |......._.=>.4l..| -00000020 58 76 39 0d 08 72 b4 b7 2a c5 c1 20 7a e2 20 da |Xv9..r..*.. z. .| -00000030 bf f1 44 ff 98 3e d7 b0 19 5f d9 ce 95 3d 5c e8 |..D..>..._...=\.| -00000040 d6 50 d6 5a 4a a5 f8 c8 ae 16 06 ef c0 13 00 00 |.P.ZJ...........| +00000000 16 03 03 00 59 02 00 00 55 03 03 4f eb 16 6e 73 |....Y...U..O..ns| +00000010 f5 cd bc 17 8b 81 c5 03 b0 40 b2 5c 4b 21 81 f3 |.........@.\K!..| +00000020 c4 8c ea d8 75 bb 02 18 83 d1 3a 20 46 24 63 55 |....u.....: F$cU| +00000030 e3 3f 94 6e d1 2f be a3 a7 2f 09 42 81 0d ee a9 |.?.n./.../.B....| +00000040 f9 ad b2 9c 62 35 a4 77 48 63 2c fe c0 13 00 00 |....b5.wHc,.....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,38 +82,38 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 b0 04 be 8f d9 b6 9d |........ .......| -000002d0 f6 e1 be 72 9f 96 8d 2b df 38 ee ca f0 c4 1a 23 |...r...+.8.....#| -000002e0 3e d5 28 25 a2 d9 a6 50 1e 08 04 00 80 4d 36 5c |>.(%...P.....M6\| -000002f0 90 8c 3f f3 bf 86 a9 cc 2d ea 78 dd 4c ff f7 b2 |..?.....-.x.L...| -00000300 36 89 1f 44 57 79 20 59 a3 78 69 5d d1 c2 dc a1 |6..DWy Y.xi]....| -00000310 01 a7 00 fa cb 50 d1 76 b4 b3 b0 e8 d9 fa 75 b6 |.....P.v......u.| -00000320 b8 5b 5a 4f 97 a9 dc 3b 14 f0 a7 19 74 8c a7 15 |.[ZO...;....t...| -00000330 13 24 6f 7f 92 41 c8 25 72 03 35 18 92 5b e6 cc |.$o..A.%r.5..[..| -00000340 72 d7 4c 76 9a 41 da 8c 08 f3 9b b4 02 7a e2 a0 |r.Lv.A.......z..| -00000350 d0 60 2b a2 1b 12 56 c3 9f fe 52 ef 3e 3b 05 7c |.`+...V...R.>;.|| -00000360 12 a9 5b 6f eb d8 97 50 66 c4 1b a5 7c 16 03 03 |..[o...Pf...|...| +000002c0 ac 0c 00 00 a8 03 00 1d 20 46 b2 e6 22 8c a7 08 |........ F.."...| +000002d0 49 98 36 bf 85 45 1e 65 61 b1 5c 45 21 54 fe 30 |I.6..E.ea.\E!T.0| +000002e0 0e c3 13 c3 a3 d6 fe 37 4d 08 04 00 80 9d 8e 82 |.......7M.......| +000002f0 03 1b c5 0a be 58 0b b8 56 d3 27 2f 16 ef 7f 9c |.....X..V.'/....| +00000300 6f f2 d1 9f f7 3c d3 90 e1 4f c7 aa 79 c6 18 d8 |o....<...O..y...| +00000310 4f b8 84 7a 51 ed 65 b7 b0 18 d0 aa 66 98 d8 22 |O..zQ.e.....f.."| +00000320 9a c6 3d 6d 9b fc 5e 95 fd 59 32 16 be 58 0b 09 |..=m..^..Y2..X..| +00000330 ee c0 6b 00 ff cc 40 bd a3 70 7a 33 5f 8c 73 ed |..k...@..pz3_.s.| +00000340 9f 64 8a 44 75 b2 88 27 af d2 87 33 82 02 65 73 |.d.Du..'...3..es| +00000350 f2 c5 bf 86 63 4c 14 d0 cd 7c cb 98 49 ca 44 e4 |....cL...|..I.D.| +00000360 ef a0 4f 33 3c 4e fa dc 2f 05 c5 84 2f 16 03 03 |..O3>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| 00000030 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000040 00 00 00 00 00 fb 79 54 57 ec a4 6a 9d 21 03 9a |......yTW..j.!..| -00000050 ed e4 3b 01 dc 43 92 ea a7 61 ab fa 7d 02 ed e8 |..;..C...a..}...| -00000060 5e 27 d8 6b 96 61 bc 35 78 c3 8a 3b 61 c4 d7 6f |^'.k.a.5x..;a..o| -00000070 d8 64 f4 2b e4 |.d.+.| +00000040 00 00 00 00 00 c1 a0 9f cb 64 08 ea fa bb c9 62 |.........d.....b| +00000050 47 7b 9f 2e 70 11 94 44 03 a7 84 b0 fb b4 43 7d |G{..p..D......C}| +00000060 a5 8b 9f 20 b0 2f d8 43 35 7c d2 88 46 33 85 28 |... ./.C5|..F3.(| +00000070 a5 9b f7 c1 7c |....|| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 40 2b 90 ac da b7 |..........@+....| -00000010 e7 33 bf 28 3b 2f 2a 14 75 1d ae 72 91 b9 da 92 |.3.(;/*.u..r....| -00000020 66 22 e3 7a 04 2f e2 10 9f 29 a4 91 70 b2 f4 26 |f".z./...)..p..&| -00000030 ff 66 ab 05 21 17 32 74 f3 3b 7a 2d 94 35 62 dd |.f..!.2t.;z-.5b.| -00000040 0e 09 8e b9 39 14 b2 b3 9e e7 10 |....9......| +00000000 14 03 03 00 01 01 16 03 03 00 40 ec ba de e7 dd |..........@.....| +00000010 fb d0 d6 79 00 72 e4 8a 67 ae ee f1 73 d7 06 0c |...y.r..g...s...| +00000020 6e 41 3f e2 e3 8b 81 d3 45 6d e6 93 62 40 f9 05 |nA?.....Em..b@..| +00000030 8e 5a 94 15 41 11 3b ff 04 71 93 a1 a2 a9 97 5a |.Z..A.;..q.....Z| +00000040 87 ea a7 36 80 13 e7 be bb 00 be |...6.......| >>> Flow 5 (client to server) 00000000 17 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........| -00000010 00 00 00 00 00 c4 d4 63 74 76 b8 8a e7 ff 52 4e |.......ctv....RN| -00000020 cb 7a 12 97 0d 2b 02 a6 28 19 d5 aa 82 a4 6b d2 |.z...+..(.....k.| -00000030 4a 90 fc 94 ca 15 03 03 00 30 00 00 00 00 00 00 |J........0......| -00000040 00 00 00 00 00 00 00 00 00 00 3e 5f f2 7e 9d 3c |..........>_.~.<| -00000050 d3 6f f6 06 63 bd 52 16 73 fc ef d2 81 eb 73 f7 |.o..c.R.s.....s.| -00000060 5c 2c 8b 8b 2d 9a 2a 59 b5 25 |\,..-.*Y.%| +00000010 00 00 00 00 00 4c fa a2 a2 ad 4c 5d ff 83 62 48 |.....L....L]..bH| +00000020 11 e2 b3 fd 25 70 de ff 0a c6 e1 d6 df 2b 35 ba |....%p.......+5.| +00000030 a8 ac a8 e8 ed 15 03 03 00 30 00 00 00 00 00 00 |.........0......| +00000040 00 00 00 00 00 00 00 00 00 00 25 f7 69 7d 2b f1 |..........%.i}+.| +00000050 16 63 d1 2b e0 2e a9 48 b1 78 a1 ae c2 b1 29 66 |.c.+...H.x....)f| +00000060 c1 36 0a ab fa aa 41 78 8f 9e |.6....Ax..| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-AES128-SHA256 b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-AES128-SHA256 index abe60823c80..6857759805e 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-AES128-SHA256 +++ b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-AES128-SHA256 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 98 71 c3 c7 40 |....Y...U...q..@| -00000010 ee a0 c3 19 37 a1 a9 94 a3 80 fc 7e 3a 43 d7 e4 |....7......~:C..| -00000020 82 ca e8 46 05 d5 18 23 10 a8 08 20 5f da 9a 52 |...F...#... _..R| -00000030 c3 42 0a 40 54 68 10 a0 aa b5 d7 d1 c1 b9 49 c8 |.B.@Th........I.| -00000040 38 30 87 6f b3 e4 a1 2e 82 6d 97 26 c0 27 00 00 |80.o.....m.&.'..| +00000000 16 03 03 00 59 02 00 00 55 03 03 28 57 98 64 8a |....Y...U..(W.d.| +00000010 38 e0 10 24 37 ad 24 c4 fc 60 27 48 bd 5f 31 d7 |8..$7.$..`'H._1.| +00000020 dc 51 8b 8b 5e be b4 e8 9f 81 23 20 97 9c 45 33 |.Q..^.....# ..E3| +00000030 35 85 67 29 4c 05 dc 8e 4e 03 95 b5 cc a3 5a ce |5.g)L...N.....Z.| +00000040 59 ff c2 e5 6d 10 63 90 8f 5e 04 46 c0 27 00 00 |Y...m.c..^.F.'..| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,42 +82,42 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 56 c3 2a 3f 43 a5 f7 |........ V.*?C..| -000002d0 56 25 94 72 fc 47 7a 82 9c bb cf 3e 95 e7 9f 42 |V%.r.Gz....>...B| -000002e0 91 e2 86 e1 32 97 c8 19 06 08 04 00 80 32 5d 4b |....2........2]K| -000002f0 76 4f 90 a5 b0 51 9f e6 40 52 f7 f7 fb ea 35 13 |vO...Q..@R....5.| -00000300 df f0 2f 08 61 9a e7 7d 3d b3 32 fa 6d ea 1f 5c |../.a..}=.2.m..\| -00000310 91 39 00 fb 44 13 67 ff 69 2a 48 3b 57 d2 e6 ee |.9..D.g.i*H;W...| -00000320 24 f3 be b2 94 f5 d6 e6 bb 41 ea 60 56 bf 27 c5 |$........A.`V.'.| -00000330 fb b2 98 91 bd 50 fc ab fb 9e f1 e8 73 f2 3c 12 |.....P......s.<.| -00000340 9b 1d 71 64 70 8d ec 84 79 34 55 53 79 4e af 37 |..qdp...y4USyN.7| -00000350 31 bf 49 18 02 63 1b 9a b7 7c 79 ee fd 60 0c 68 |1.I..c...|y..`.h| -00000360 24 61 3b b1 12 1c 69 9b 00 a2 47 1c b5 16 03 03 |$a;...i...G.....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 23 ad ac 0c b6 63 bd |........ #....c.| +000002d0 83 88 da 8c c8 ac ad fd 56 64 19 4b b7 fb 60 1d |........Vd.K..`.| +000002e0 32 ce 9e e0 b7 98 df a7 2c 08 04 00 80 a8 e4 2c |2.......,......,| +000002f0 f8 37 74 a7 af 8e 94 54 ac 93 75 59 d9 aa 3d 3f |.7t....T..uY..=?| +00000300 52 ff a9 6c 39 57 3c f6 3e 95 2f 36 08 c5 2f ea |R..l9W<.>./6../.| +00000310 f3 c8 36 d1 a4 9e 70 c5 5a 7d 5a 7a 97 9b 66 9d |..6...p.Z}Zz..f.| +00000320 27 c9 75 bb 67 a3 de 25 75 5e 97 28 d1 f1 36 6e |'.u.g..%u^.(..6n| +00000330 96 27 bf 36 d8 89 1d aa 9e dd 52 a7 94 93 33 5d |.'.6......R...3]| +00000340 9d 1d b0 49 b1 a3 b4 b5 ca be 8e 27 f4 ad 60 b4 |...I.......'..`.| +00000350 9f 49 8f 78 70 3a 6a bd 3b 59 99 ce de fb c7 73 |.I.xp:j.;Y.....s| +00000360 da fd b1 db 95 b2 4c 42 75 f6 65 6d eb 16 03 03 |......LBu.em....| 00000370 00 04 0e 00 00 00 |......| >>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| 00000030 16 03 03 00 50 00 00 00 00 00 00 00 00 00 00 00 |....P...........| -00000040 00 00 00 00 00 0a 43 00 85 a6 05 7d 7d 9f 2c 54 |......C....}}.,T| -00000050 04 32 f2 47 0f 5d a2 cc 1c ff 58 ff 2b 03 e9 db |.2.G.]....X.+...| -00000060 48 7b 2a 49 99 e5 f7 f7 bc d4 2e d1 c5 5a 9c 68 |H{*I.........Z.h| -00000070 2f 50 1b ee a4 d4 43 ac 7f 32 ef c3 88 da 3a 11 |/P....C..2....:.| -00000080 dc 55 81 d2 f9 |.U...| +00000040 00 00 00 00 00 b7 64 0a a7 16 ad 56 a7 32 f8 b0 |......d....V.2..| +00000050 80 99 f2 b1 9a 46 84 70 7b 0a d7 a2 b7 fa 47 37 |.....F.p{.....G7| +00000060 46 48 4a d3 a8 e8 f9 64 77 34 2e a6 56 38 cc 2a |FHJ....dw4..V8.*| +00000070 00 b9 0f 99 fd 01 65 1e 9f 1a f3 d0 1e 23 84 a8 |......e......#..| +00000080 05 88 4a 33 db |..J3.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 50 96 16 24 94 04 |..........P..$..| -00000010 0e f2 88 3b e1 5c 59 3b f6 43 25 ac 43 cb de 4d |...;.\Y;.C%.C..M| -00000020 54 0d 06 95 fa 44 7e 31 06 fd a5 11 a1 2c 26 fd |T....D~1.....,&.| -00000030 a5 40 e8 7d 62 c8 9b a1 7a cd 6a f7 74 ac 57 26 |.@.}b...z.j.t.W&| -00000040 9c 54 18 28 34 10 c4 17 aa 4c 55 cf 99 aa e9 39 |.T.(4....LU....9| -00000050 48 ef 71 30 8a 45 b3 f3 12 34 83 |H.q0.E...4.| +00000000 14 03 03 00 01 01 16 03 03 00 50 7e 48 3d 44 52 |..........P~H=DR| +00000010 87 da b5 17 e0 ee 75 ea 10 60 26 f3 af 98 ca c9 |......u..`&.....| +00000020 bd b7 3f 78 2c a8 e8 67 3f aa f2 e2 93 38 db 84 |..?x,..g?....8..| +00000030 83 51 18 45 a7 50 05 3c 39 ee e0 fb 0b fe 46 2a |.Q.E.P.<9.....F*| +00000040 ab d7 26 21 5b 96 f4 1d b4 ea 61 50 72 c9 19 1a |..&![.....aPr...| +00000050 0d 15 b2 98 51 6d 62 76 8c d9 22 |....Qmbv.."| >>> Flow 5 (client to server) 00000000 17 03 03 00 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000010 00 00 00 00 00 4a e8 79 05 ad 25 89 2b 98 44 f7 |.....J.y..%.+.D.| -00000020 59 bd 9b 28 8d 62 5c c0 21 68 e0 df d8 4c 0c e1 |Y..(.b\.!h...L..| -00000030 4a 01 35 b3 be 10 57 6c dc 10 46 10 0b fe c2 36 |J.5...Wl..F....6| -00000040 d5 ab 32 f9 58 15 03 03 00 40 00 00 00 00 00 00 |..2.X....@......| -00000050 00 00 00 00 00 00 00 00 00 00 00 0d 43 f0 d6 8a |............C...| -00000060 1e 3a 0d 9f e1 f7 ab 92 59 f0 a9 6c 46 07 a9 5a |.:......Y..lF..Z| -00000070 50 1c 6f ee b8 4a a0 08 3e 48 d1 53 e4 70 38 75 |P.o..J..>H.S.p8u| -00000080 e2 7a 87 0d e6 a1 4a ef 8d 6f |.z....J..o| +00000010 00 00 00 00 00 2b 1f 30 c6 b3 f8 49 52 e7 6a 36 |.....+.0...IR.j6| +00000020 3e d6 f9 9e c9 9d d7 32 21 c6 ef 9a 30 6e fd 9d |>......2!...0n..| +00000030 a1 3f 80 4d a0 2d e4 65 89 e9 3c 0a 4b e0 e1 24 |.?.M.-.e..<.K..$| +00000040 be b1 5f c8 8d 15 03 03 00 40 00 00 00 00 00 00 |.._......@......| +00000050 00 00 00 00 00 00 00 00 00 00 2c 6e 5e 7f c3 1f |..........,n^...| +00000060 5d 04 cf a7 c3 cf 6c 06 50 97 99 12 51 e5 93 c8 |].....l.P...Q...| +00000070 28 18 96 e8 ef 96 de 8b 44 62 5d ca 34 39 f7 fa |(.......Db].49..| +00000080 53 69 aa 79 60 cc 16 55 fd b5 |Si.y`..U..| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-CHACHA20-POLY1305 b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-CHACHA20-POLY1305 index 2ed941ef354..96c244d40c6 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-CHACHA20-POLY1305 +++ b/src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-CHACHA20-POLY1305 @@ -1,24 +1,45 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 d2 01 00 00 ce 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 24 01 00 02 20 03 03 00 00 00 00 00 |....$... .......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 08 cc a8 |................| -00000050 13 01 13 03 13 02 01 00 00 7d 00 05 00 05 01 00 |.........}......| -00000060 00 00 00 00 0a 00 0a 00 08 00 1d 00 17 00 18 00 |................| -00000070 19 00 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 |................| -00000080 03 08 07 08 05 08 06 04 01 05 01 06 01 05 03 06 |................| -00000090 03 02 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 |......a.........| -000000a0 00 2b 00 09 08 03 04 03 03 03 02 03 01 00 33 00 |.+............3.| -000000b0 26 00 24 00 1d 00 20 2f e5 7d a3 47 cd 62 43 15 |&.$... /.}.G.bC.| -000000c0 28 da ac 5f bb 29 07 30 ff f6 84 af c4 cf c2 ed |(.._.).0........| -000000d0 90 99 5f 58 cb 3b 74 |.._X.;t| +00000050 13 01 13 03 13 02 01 00 01 cf 00 05 00 05 01 00 |................| +00000060 00 00 00 00 0a 00 0e 00 0c 01 fd 01 fc 00 1d 00 |................| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 1c 00 |................| +00000080 1a 08 04 04 03 08 07 08 05 08 06 04 01 05 01 06 |................| +00000090 01 05 03 06 03 02 01 02 03 fe 61 ff 01 00 01 00 |..........a.....| +000000a0 00 12 00 00 00 2b 00 09 08 03 04 03 03 03 02 03 |.....+..........| +000000b0 01 00 33 01 74 01 72 01 fd 01 4a 13 9b 9f d0 43 |..3.t.r...J....C| +000000c0 df e9 45 3c 33 0b 94 15 7b 9f b4 42 c0 d5 bb aa |..E<3...{..B....| +000000d0 8d 92 b4 ca a6 73 b5 f2 a6 30 1a 73 3b 30 a1 fe |.....s...0.s;0..| +000000e0 e2 55 0a ea 96 8f 0c 22 82 6e 8b 72 64 02 cb 59 |.U.....".n.rd..Y| +000000f0 bb 01 99 19 38 88 c7 4b 8e 40 89 4f 70 9e ee e6 |....8..K.@.Op...| +00000100 17 bc 92 fa 60 69 cb ec ee b1 5a eb ed 58 1d 93 |....`i....Z..X..| +00000110 a0 06 33 b5 f5 79 71 96 cb f2 e4 3e ec 29 4b ce |..3..yq....>.)K.| +00000120 5c 96 ea 22 14 d1 f2 0e 01 50 5f 7e ee 61 18 8e |\..".....P_~.a..| +00000130 f5 ac d0 90 4f 84 ab 98 08 dc ed f6 2a ef 23 f7 |....O.......*.#.| +00000140 c7 64 f0 78 52 c4 ba 96 a3 e4 72 d9 df f3 54 77 |.d.xR.....r...Tw| +00000150 f4 78 99 0a 53 43 9a 95 b2 f5 b9 e4 0f ed 1c 01 |.x..SC..........| +00000160 4e ea da f0 79 67 bc 50 d2 32 23 6f b2 08 b7 bf |N...yg.P.2#o....| +00000170 b3 54 06 54 c7 d7 75 85 8d 1a 6f 00 93 67 aa 14 |.T.T..u...o..g..| +00000180 2b 26 e5 13 a5 88 00 88 ae f6 d2 78 3d 76 68 e4 |+&.........x=vh.| +00000190 34 3c 73 35 b7 1e 01 87 ca 4f c8 83 80 ac b9 96 |4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 91 3f 60 de 20 |....Y...U...?`. | -00000010 ee 5c 8e 43 34 33 f7 d2 d1 c6 c9 40 09 3c 90 23 |.\.C43.....@.<.#| -00000020 20 07 8f 7e 0c 7d 0c 80 20 a7 db 20 15 e7 0b 06 | ..~.}.. .. ....| -00000030 fe 0b a2 6e a2 26 24 42 81 89 10 71 6a cc 35 fe |...n.&$B...qj.5.| -00000040 c3 d8 4a 69 e8 a2 6a ce 84 2b d9 34 cc a8 00 00 |..Ji..j..+.4....| +00000000 16 03 03 00 59 02 00 00 55 03 03 fc ef b6 81 66 |....Y...U......f| +00000010 52 82 02 f7 63 9e f9 f9 a6 9c 8d e8 ce c1 c6 f4 |R...c...........| +00000020 c9 8a 45 66 07 01 13 f7 4a d6 5e 20 9f af 40 57 |..Ef....J.^ ..@W| +00000030 93 da f2 28 4f 3b e9 2d d7 e4 c7 01 cf 4d 1c 90 |...(O;.-.....M..| +00000040 5b 06 b3 35 e6 b8 49 8d 60 be 21 68 cc a8 00 00 |[..5..I.`.!h....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -58,31 +79,31 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 15 e5 a9 7c 39 6f 70 |........ ...|9op| -000002d0 18 dc e4 cb ed 63 ec e7 9d 30 7b 15 68 3e 12 84 |.....c...0{.h>..| -000002e0 f3 ff b5 10 18 32 fd 28 11 08 04 00 80 ae a6 35 |.....2.(.......5| -000002f0 31 64 8d 41 1e e2 a0 3c 5a 99 59 bd 97 63 5d 5d |1d.A......"d.| +00000310 6b 64 ab f5 78 a8 cb 59 ff b4 92 b6 13 a5 82 fd |kd..x..Y........| +00000320 c4 4d e3 09 bc 23 1d 33 ea b9 ec 3f d4 2e 6a bb |.M...#.3...?..j.| +00000330 7f f6 0f c6 fc 35 79 5d 6f f3 55 88 8a 62 bd ba |.....5y]o.U..b..| +00000340 6d b6 58 ee 22 d5 8c 29 39 99 ba c8 87 a7 33 fd |m.X."..)9.....3.| +00000350 59 7e 7a db 47 2a 3d 41 eb 8d 1c b6 b8 a5 57 6e |Y~z.G*=A......Wn| +00000360 7e c0 53 3d d1 08 81 49 7e b2 f6 0b 5a 16 03 03 |~.S=...I~...Z...| 00000370 00 04 0e 00 00 00 |......| >>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| -00000030 16 03 03 00 20 7e b7 54 62 08 67 49 12 b1 25 03 |.... ~.Tb.gI..%.| -00000040 ea b7 c4 f6 09 f8 d7 c9 8e e4 c6 80 d9 6c bb 5b |.............l.[| -00000050 ed 20 0d f1 ff |. ...| +00000030 16 03 03 00 20 8b ff e9 ef 4e 2b 5e 56 ac d0 51 |.... ....N+^V..Q| +00000040 04 c5 cd ad d0 85 df a7 59 1b d4 a7 f4 af fb dc |........Y.......| +00000050 f3 d5 9e 04 d5 |.....| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 83 a2 82 90 fe |.......... .....| -00000010 5c 43 b5 25 4f c7 c8 42 25 b5 bb b5 7e ae 83 60 |\C.%O..B%...~..`| -00000020 07 2f 09 f0 48 63 69 2a ee 72 c9 |./..Hci*.r.| +00000000 14 03 03 00 01 01 16 03 03 00 20 6e 44 0e 38 ad |.......... nD.8.| +00000010 c4 e3 81 9e ac a6 38 0c c5 3f 1c df 5f 3c c2 1e |......8..?.._<..| +00000020 aa 5a d8 21 0c 71 9b 0a b9 99 2f |.Z.!.q..../| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 c3 05 73 7e a9 35 3d ef 66 26 72 |.......s~.5=.f&r| -00000010 0e ad e9 40 8e b5 a7 ee 6e 0a d1 15 03 03 00 12 |...@....n.......| -00000020 13 b0 f3 78 da 32 72 69 17 53 f0 1b dc 68 4c 02 |...x.2ri.S...hL.| -00000030 d9 06 |..| +00000000 17 03 03 00 16 84 f9 92 e4 c8 43 32 30 21 a6 8e |..........C20!..| +00000010 a6 68 9d 47 a4 5b 7c c8 3d b9 a4 15 03 03 00 12 |.h.G.[|.=.......| +00000020 47 f1 83 bc 5e 24 61 ed 1b 99 47 7b c9 5e 82 2a |G...^$a...G{.^.*| +00000030 5c 11 |\.| diff --git a/src/crypto/tls/testdata/Client-TLSv12-Ed25519 b/src/crypto/tls/testdata/Client-TLSv12-Ed25519 index 4ae46b70111..60ad95efc61 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-Ed25519 +++ b/src/crypto/tls/testdata/Client-TLSv12-Ed25519 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 55 48 cb ac 75 |....Y...U..UH..u| -00000010 fc 41 56 c6 68 b6 79 ee d5 26 cd e5 53 c3 d0 a2 |.AV.h.y..&..S...| -00000020 c6 41 e2 82 44 ff ab 6a e1 45 2b 20 5c ad 6a 2d |.A..D..j.E+ \.j-| -00000030 71 5e 75 5d fb a3 a9 83 60 be 6e 63 b9 ee ab d3 |q^u]....`.nc....| -00000040 a9 ba 94 78 32 e2 9c 4a e0 f6 b3 20 cc a9 00 00 |...x2..J... ....| +00000000 16 03 03 00 59 02 00 00 55 03 03 06 6c a4 76 52 |....Y...U...l.vR| +00000010 0b 3b f9 b7 73 60 ea e6 c7 15 94 15 af b5 0d 31 |.;..s`.........1| +00000020 59 8c b0 cb e0 46 02 63 ee f3 0d 20 f3 52 95 9b |Y....F.c... .R..| +00000030 03 f0 56 3c cc a0 85 4e 0b 98 46 6a f8 c8 02 9d |..V<...N..Fj....| +00000040 f2 8c 1b 31 de 1f 62 49 a4 0d df 8d cc a9 00 00 |...1..bI........| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 01 3c 0b 00 01 38 00 01 35 00 01 32 30 82 01 |..<...8..5..20..| 00000070 2e 30 81 e1 a0 03 02 01 02 02 10 0f 43 1c 42 57 |.0..........C.BW| @@ -43,27 +64,27 @@ 00000170 90 95 39 e5 0d c1 55 ff 2c 16 b7 1d fc ab 7d 4d |..9...U.,.....}M| 00000180 d4 e0 93 13 d0 a9 42 e0 b6 6b fe 5d 67 48 d7 9f |......B..k.]gH..| 00000190 50 bc 6c cd 4b 03 83 7c f2 08 58 cd ac cf 0c 16 |P.l.K..|..X.....| -000001a0 03 03 00 6c 0c 00 00 68 03 00 1d 20 3a 1c 14 71 |...l...h... :..q| -000001b0 3c 43 4d 94 67 1a db 7e 1c f9 f8 a9 00 45 cc 65 |...@| +000001d0 2d 1b 9c 65 3f 0d 7f f2 65 5d fa d4 b0 2f f1 97 |-..e?...e].../..| +000001e0 69 8b ae 06 e3 a5 2d 03 c8 12 90 c4 f6 5a c9 f9 |i.....-......Z..| +000001f0 01 ae cb 10 25 6d b5 22 bc e8 72 e4 76 48 4b e2 |....%m."..r.vHK.| +00000200 d4 4f 58 d3 28 84 08 4e 27 69 76 e0 1a a7 ab 09 |.OX.(..N'iv.....| 00000210 16 03 03 00 04 0e 00 00 00 |.........| >>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| -00000030 16 03 03 00 20 f4 ef 2f 54 9b e0 8d 2d 13 02 4b |.... ../T...-..K| -00000040 f3 b0 6e 05 a8 76 d8 63 88 89 c2 8d 0e cf d6 47 |..n..v.c.......G| -00000050 d3 c4 66 78 0f |..fx.| +00000030 16 03 03 00 20 b4 5e cf 0e 07 e5 fe 0e fe 7e d7 |.... .^.......~.| +00000040 05 19 f6 3b 8f 75 6a c0 cb a4 bf 40 d7 86 75 62 |...;.uj....@..ub| +00000050 b9 5c 07 c3 3a |.\..:| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 72 67 89 ea ca |.......... rg...| -00000010 40 19 13 75 e6 48 0f d5 7f d1 5d ca dc e8 9e ec |@..u.H....].....| -00000020 cf fb 6f ca ff af 98 7e 44 1f 76 |..o....~D.v| +00000000 14 03 03 00 01 01 16 03 03 00 20 06 18 f1 b3 9c |.......... .....| +00000010 66 43 33 cb b5 e1 53 9c 7b bc 68 a3 da db 45 bc |fC3...S.{.h...E.| +00000020 50 f4 0a 20 cb d4 16 a4 37 d4 2d |P.. ....7.-| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 e1 f5 33 a5 1c 43 19 3d f3 81 58 |.......3..C.=..X| -00000010 f6 9f d7 78 02 a5 38 85 f7 2f 18 15 03 03 00 12 |...x..8../......| -00000020 9c 17 76 2c 14 a8 95 d5 d5 b1 12 8c 4e f4 67 c8 |..v,........N.g.| -00000030 a0 ab |..| +00000000 17 03 03 00 16 8b 09 7a 79 b1 52 cf a8 e7 a9 d5 |.......zy.R.....| +00000010 60 08 43 d2 bb 61 30 42 29 64 bb 15 03 03 00 12 |`.C..a0B)d......| +00000020 8f 93 7c 7f b6 03 c2 73 5e 8e f7 93 14 3d b0 ca |..|....s^....=..| +00000030 89 3d |.=| diff --git a/src/crypto/tls/testdata/Client-TLSv12-ExportKeyingMaterial b/src/crypto/tls/testdata/Client-TLSv12-ExportKeyingMaterial index 634021f68f3..6389d6b7e96 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-ExportKeyingMaterial +++ b/src/crypto/tls/testdata/Client-TLSv12-ExportKeyingMaterial @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 f0 83 cf b7 62 |....Y...U......b| -00000010 11 58 de a6 6e 72 91 6a 3f 64 14 b7 cd 7a af aa |.X..nr.j?d...z..| -00000020 e3 43 19 6e a4 19 b0 de dc c0 c1 20 8f 57 36 30 |.C.n....... .W60| -00000030 e0 0e 57 0a 6b 00 7a fa d0 5a 07 9c ca 46 a2 53 |..W.k.z..Z...F.S| -00000040 8c 6f 65 6c 74 10 f2 49 82 cc 83 7d cc a8 00 00 |.oelt..I...}....| +00000000 16 03 03 00 59 02 00 00 55 03 03 eb d1 6c c7 62 |....Y...U....l.b| +00000010 0c 05 36 8c 69 ca 16 98 22 1d 13 60 8f 09 18 67 |..6.i..."..`...g| +00000020 4e b5 ff 4c d3 d4 6e 3d 71 da 39 20 53 43 f3 75 |N..L..n=q.9 SC.u| +00000030 d5 03 e1 fd d1 85 47 6a a7 63 b5 4c f7 93 37 76 |......Gj.c.L..7v| +00000040 f8 83 ec 2b 05 61 ec c7 ce 45 b0 d4 cc a8 00 00 |...+.a...E......| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,31 +82,31 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 49 ee 57 e9 f1 47 28 |........ I.W..G(| -000002d0 e2 91 48 2f ac 69 d5 2c 4f 43 a6 04 44 0c d7 f5 |..H/.i.,OC..D...| -000002e0 6f 72 66 17 33 de be 02 03 08 04 00 80 23 cd 82 |orf.3........#..| -000002f0 ee 92 55 b9 49 75 8e 54 37 29 8b 76 1d 54 f1 87 |..U.Iu.T7).v.T..| -00000300 5e 8e a8 60 5e 33 f1 b8 02 e4 a5 f3 3e db 4a bb |^..`^3......>.J.| -00000310 db a5 7c f4 3e e3 b3 76 d5 c6 1d c5 a4 97 9e 44 |..|.>..v.......D| -00000320 8b 3e 1c e2 9b 43 d1 fa 19 85 d3 37 54 4a 04 19 |.>...C.....7TJ..| -00000330 81 e8 b0 b9 84 73 6c 4c fb d3 82 99 2c 54 f0 33 |.....slL....,T.3| -00000340 a2 01 e2 d6 c3 3c ed 2a da 7a 30 09 a2 d0 66 f5 |.....<.*.z0...f.| -00000350 e7 82 c4 a1 a3 5e 7d 4e 72 10 fd 00 f3 e6 ce a8 |.....^}Nr.......| -00000360 9b a0 28 7f 09 71 ac 59 4f 74 c3 29 c4 16 03 03 |..(..q.YOt.)....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 9c 31 19 81 c7 fe 7c |........ .1....|| +000002d0 e3 4b da 55 f2 ed 22 1d 68 22 86 3f 2e bf e5 3a |.K.U..".h".?...:| +000002e0 69 6b 53 94 1b 7e d7 42 2a 08 04 00 80 39 cf 1e |ikS..~.B*....9..| +000002f0 ad 17 03 8f 7f 18 74 33 19 72 26 41 01 cc 9b 30 |......t3.r&A...0| +00000300 b3 d7 b1 1d 98 7a 32 2a 7e ea ab ad 04 0d db bf |.....z2*~.......| +00000310 58 fe 2d 9d 41 9d 61 d7 80 62 6e 86 56 8e fb 58 |X.-.A.a..bn.V..X| +00000320 31 93 cf 2c 0c 48 5c f9 61 48 40 8e 8c 37 0b f4 |1..,.H\.aH@..7..| +00000330 9e ba 96 25 4f 42 01 62 f1 51 79 24 5f 42 de f7 |...%OB.b.Qy$_B..| +00000340 bd 68 66 87 03 73 e0 0d 4a 2d 4f 3c 44 af 95 22 |.hf..s..J-O>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| -00000030 16 03 03 00 20 87 8e 79 76 34 a4 fa 6d d1 df c4 |.... ..yv4..m...| -00000040 f9 92 84 69 3f 54 d4 8c 8f 40 d2 9a 4f 6f 27 9a |...i?T...@..Oo'.| -00000050 79 06 45 18 84 |y.E..| +00000030 16 03 03 00 20 8f 0f e8 e6 c1 6e 7c fe d2 88 3a |.... .....n|...:| +00000040 91 4b e8 c8 34 32 ea 06 ec f4 70 76 f1 c7 1c bc |.K..42....pv....| +00000050 6e d5 a3 83 25 |n...%| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 b2 bd f9 2f 1d |.......... .../.| -00000010 ae e3 50 40 42 1a 56 46 0d e2 1c b6 26 f8 d3 5a |..P@B.VF....&..Z| -00000020 e8 38 05 50 d6 a8 98 49 66 a0 db |.8.P...If..| +00000000 14 03 03 00 01 01 16 03 03 00 20 de 70 3b ec 1d |.......... .p;..| +00000010 52 36 b7 0a 0c 25 d8 4b 7f 54 7f ad 07 e0 e4 89 |R6...%.K.T......| +00000020 ca dd 8f 17 4a 3a 58 a1 91 d8 d7 |....J:X....| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 c1 5b 9b d3 1b 25 29 69 ae 4d bd |......[...%)i.M.| -00000010 ac 5b 31 a8 f1 7d ec 75 cf 83 3e 15 03 03 00 12 |.[1..}.u..>.....| -00000020 fd bc 64 b2 6d 94 94 bc bb d9 1b 80 8b 1b ed 65 |..d.m..........e| -00000030 3e 75 |>u| +00000000 17 03 03 00 16 95 9c 8f c6 3d 81 f7 41 cc 14 fc |.........=..A...| +00000010 e6 95 62 0f 7a 3c 17 44 eb 3d c7 15 03 03 00 12 |..b.z<.D.=......| +00000020 04 2f 58 7c 13 cb 27 91 c2 a1 8b 2d 7d f0 b6 73 |./X|..'....-}..s| +00000030 87 56 |.V| diff --git a/src/crypto/tls/testdata/Client-TLSv12-RSA-RC4 b/src/crypto/tls/testdata/Client-TLSv12-RSA-RC4 index e97646781c6..4b688697a80 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-RSA-RC4 +++ b/src/crypto/tls/testdata/Client-TLSv12-RSA-RC4 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 51 02 00 00 4d 03 03 dd b4 cf c2 91 |....Q...M.......| -00000010 35 24 cf 39 3e 28 53 6d 2b 5e b2 1c 07 62 13 12 |5$.9>(Sm+^...b..| -00000020 96 4a 93 04 4e d8 57 06 19 82 3d 20 90 01 a5 5e |.J..N.W...= ...^| -00000030 6b 82 cd e3 5e 3e 7f ae 20 f9 a2 de bb 4a 85 76 |k...^>.. ....J.v| -00000040 b5 9c cb c0 35 24 09 45 94 b9 fe 91 00 05 00 00 |....5$.E........| +00000000 16 03 03 00 51 02 00 00 4d 03 03 86 29 8a b3 c0 |....Q...M...)...| +00000010 ab aa 12 b7 35 7c 3b 24 83 70 92 58 ae 50 45 e8 |....5|;$.p.X.PE.| +00000020 d7 98 21 13 dc 8e 05 69 d4 71 53 20 00 cb a4 c9 |..!....i.qS ....| +00000030 a0 9b df cc a7 b0 c1 9f fd fe 47 fe 51 a6 69 17 |..........G.Q.i.| +00000040 a1 49 f9 52 1b f3 9e 26 4d b0 0c 4b 00 05 00 00 |.I.R...&M..K....| 00000050 05 ff 01 00 01 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000060 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| 00000070 01 02 02 09 00 e8 f0 9d 3f e2 5b ea a6 30 0d 06 |........?.[..0..| @@ -71,15 +92,15 @@ 00000060 c5 70 0f 08 83 48 e9 48 ef 6e 50 8b 05 7e e5 84 |.p...H.H.nP..~..| 00000070 25 fa 55 c7 ae 31 02 27 00 ef 3f 98 86 20 12 89 |%.U..1.'..?.. ..| 00000080 91 59 28 b4 f7 d7 af d2 69 61 35 14 03 03 00 01 |.Y(.....ia5.....| -00000090 01 16 03 03 00 24 ac 09 ef a7 76 d1 2c 3c 77 77 |.....$....v.,>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 24 ae 29 50 f2 70 |..........$.)P.p| -00000010 08 92 36 3e 27 3a 9f 27 cd 41 c8 15 41 06 76 58 |..6>':.'.A..A.vX| -00000020 c4 fa 64 dd 7e 2a 19 a8 a3 23 56 12 a2 d6 98 |..d.~*...#V....| +00000000 14 03 03 00 01 01 16 03 03 00 24 38 5e b6 e5 ff |..........$8^...| +00000010 5f c7 62 c8 7d e0 16 aa b1 89 c0 ed 4b 84 82 53 |_.b.}.......K..S| +00000020 0f 44 07 1d 26 90 45 9d f4 4a 03 3c 92 93 52 |.D..&.E..J.<..R| >>> Flow 5 (client to server) -00000000 17 03 03 00 1a ba be e9 bf ca e9 5c a3 65 f6 44 |...........\.e.D| -00000010 ac f9 6c 9b 7e 6f a1 12 20 6a 1c ec d7 ca 9a 15 |..l.~o.. j......| -00000020 03 03 00 16 ed 44 2b 48 31 04 f8 c2 2e 83 19 db |.....D+H1.......| -00000030 c9 86 db e5 ff 71 43 28 c0 52 |.....qC(.R| +00000000 17 03 03 00 1a 78 41 a4 00 b4 cd 04 0b 8c c5 72 |.....xA........r| +00000010 00 a4 a3 d3 27 c9 18 22 12 07 af f9 5e a4 4c 15 |....'.."....^.L.| +00000020 03 03 00 16 e4 e1 bd 92 44 44 e5 4f 43 44 b9 e6 |........DD.OCD..| +00000030 a6 c4 ae 3f 07 e0 48 52 b8 0f |...?..HR..| diff --git a/src/crypto/tls/testdata/Client-TLSv12-RenegotiateOnce b/src/crypto/tls/testdata/Client-TLSv12-RenegotiateOnce index 00fa1877291..dbcce4c8b3a 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-RenegotiateOnce +++ b/src/crypto/tls/testdata/Client-TLSv12-RenegotiateOnce @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 69 5b d6 1c 07 |....Y...U..i[...| -00000010 3e b0 ef 93 22 db b6 b0 be 8d 49 3d 8c 56 99 b3 |>...".....I=.V..| -00000020 0f b5 42 ae ce e1 33 1d ce ef 9b 20 95 1c c8 b6 |..B...3.... ....| -00000030 e9 07 06 f5 f2 2a 0d 16 b5 3e 80 2c e9 31 77 12 |.....*...>.,.1w.| -00000040 d8 48 ad c2 93 99 33 06 af fb 01 b7 cc a8 00 00 |.H....3.........| +00000000 16 03 03 00 59 02 00 00 55 03 03 d6 87 d7 90 be |....Y...U.......| +00000010 a0 e3 f8 d9 f9 09 b3 54 9d fa 03 3a d9 9c 92 2f |.......T...:.../| +00000020 24 76 43 24 ed 30 5f 2c 12 cd 93 20 05 3c 09 a8 |$vC$.0_,... .<..| +00000030 b4 1e f9 e1 7d 04 8f 8b 67 d0 3a 96 e1 0d 18 e1 |....}...g.:.....| +00000040 ad 04 67 c1 78 f0 73 3f 38 fb c2 64 cc a8 00 00 |..g.x.s?8..d....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,185 +82,206 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 db 93 0a f3 b3 d0 49 |........ ......I| -000002d0 cd 22 42 0b 9d 16 da 79 d9 bb 38 6f c0 ed 9a 08 |."B....y..8o....| -000002e0 5f 83 0d 10 2e f0 43 aa 7b 08 04 00 80 30 2d e9 |_.....C.{....0-.| -000002f0 78 a4 09 e2 9c fa 5d 2c c5 58 f5 48 65 95 81 e2 |x.....],.X.He...| -00000300 ac fd ba 50 59 a1 7c 7f d5 d0 fa 01 46 b0 77 bd |...PY.|.....F.w.| -00000310 c1 2b c8 2f bd dd d6 15 b2 89 9f 02 8b 62 32 65 |.+./.........b2e| -00000320 bd 1b 0c b6 dd 77 82 8e 17 2b e2 ca 6a 7e fa be |.....w...+..j~..| -00000330 8b ef f3 39 a5 99 86 41 50 25 10 24 94 0e 6f 06 |...9...AP%.$..o.| -00000340 53 94 2d 32 65 87 87 3e 12 6a 5b 8b 39 3a 59 61 |S.-2e..>.j[.9:Ya| -00000350 13 fc e5 ec 60 74 ac c5 e3 40 7f 65 a8 67 4d 4f |....`t...@.e.gMO| -00000360 98 bd 27 29 18 44 35 66 4b d6 2a f2 07 16 03 03 |..').D5fK.*.....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 e7 58 5a 70 60 2c f1 |........ .XZp`,.| +000002d0 8e 3a c5 82 45 55 e8 a1 91 1d 69 e7 e2 dc 77 ac |.:..EU....i...w.| +000002e0 f6 25 37 c3 06 9f ee 61 05 08 04 00 80 9f be 7b |.%7....a.......{| +000002f0 60 94 13 2c 8a 85 73 73 b8 2e c9 9b 2e 1a 50 bc |`..,..ss......P.| +00000300 ba dd c9 40 28 3b 34 87 92 bc 37 81 8d af 92 cb |...@(;4...7.....| +00000310 2a c1 8f 87 96 e3 85 f9 9a cb ea 38 4c d4 3c 86 |*..........8L.<.| +00000320 08 0c 46 a3 3a 72 af 60 63 9d 12 a3 ae 5b 3b 60 |..F.:r.`c....[;`| +00000330 7e 0d 4c 30 59 28 7c 5d 35 f4 32 2a 6a 23 af 14 |~.L0Y(|]5.2*j#..| +00000340 8a 3f a5 bf 1a 53 59 3d ac 81 a9 ce 0f 81 ce cd |.?...SY=........| +00000350 bb 4d 4f 8a 4a 38 23 01 87 ac 8c 63 9b 18 94 b6 |.MO.J8#....c....| +00000360 f2 08 46 5f 18 44 c8 38 f0 5c 92 d3 a4 16 03 03 |..F_.D.8.\......| 00000370 00 04 0e 00 00 00 |......| >>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| -00000030 16 03 03 00 20 47 1a 8d 73 f7 84 4d db 44 e5 51 |.... G..s..M.D.Q| -00000040 89 f4 8f f8 76 b5 3c 4b b8 37 c0 24 8e 17 27 74 |....v.>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 7a 7d 1c 3c b2 |.......... z}.<.| -00000010 d5 b8 eb 49 cc e3 4c a3 ca cc fb 2d b7 8e e7 88 |...I..L....-....| -00000020 b6 de d9 3d 84 c9 35 d7 eb d4 84 |...=..5....| +00000000 14 03 03 00 01 01 16 03 03 00 20 28 87 d2 f4 ad |.......... (....| +00000010 b7 34 12 32 4f 86 a5 09 ad ca 11 b3 17 32 93 a8 |.4.2O........2..| +00000020 f6 ac e5 05 a0 77 d6 e0 71 e1 02 |.....w..q..| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 73 ad 40 5d 92 f2 b0 95 0d 07 95 |.....s.@].......| -00000010 cd 8e 11 f6 1a 32 24 1e 6f df 9a |.....2$.o..| +00000000 17 03 03 00 16 90 24 36 1d 71 78 ac 8a 6f d8 2a |......$6.qx..o.*| +00000010 9d 46 52 4a 7a 77 4e 11 12 d5 35 |.FRJzwN...5| >>> Flow 6 (server to client) -00000000 16 03 03 00 14 f4 f5 12 05 bb 51 00 24 2f 3a 38 |..........Q.$/:8| -00000010 9b 07 9f d4 ee ce 77 59 ee |......wY.| +00000000 16 03 03 00 14 3d 70 c4 5a 1a 0d c0 f0 fe 1d 92 |.....=p.Z.......| +00000010 83 80 ce 97 08 e4 44 ca 42 |......D.B| >>> Flow 7 (client to server) -00000000 16 03 03 01 18 d8 f1 5d f6 d5 7f fe b7 43 8e 0a |.......].....C..| -00000010 d7 77 2c 5e b5 83 f0 29 99 19 96 1d c8 42 e7 01 |.w,^...).....B..| -00000020 20 5d 4b af 0f e7 b5 b7 a0 83 68 59 eb b0 1a 85 | ]K.......hY....| -00000030 b1 c7 23 42 a7 77 f3 66 5e 6b 31 1d 49 60 4c ad |..#B.w.f^k1.I`L.| -00000040 db e5 f4 ca f3 62 6f 15 b6 25 28 07 03 50 d4 4b |.....bo..%(..P.K| -00000050 3a 6d 25 d6 35 c9 e5 06 04 c9 15 7a 52 05 13 d1 |:m%.5......zR...| -00000060 ee c8 fe 54 3b ae db fe 61 7f b1 97 4b 48 94 91 |...T;...a...KH..| -00000070 76 7c de 5d 9f da b5 04 fa 02 b6 f5 7b f9 82 c8 |v|.]........{...| -00000080 68 ab b9 97 4c b8 a1 6b 43 f9 a5 36 4c 52 fd 23 |h...L..kC..6LR.#| -00000090 7a 46 6b 25 67 55 e0 b8 4a cd 3f 7c fa 81 1e a8 |zFk%gU..J.?|....| -000000a0 e9 5a 6c 53 46 d9 05 46 c1 3f 84 94 c9 3a 7f fb |.ZlSF..F.?...:..| -000000b0 3c 03 c4 07 2f bb 5b 17 8f 0e fb 86 a4 53 26 0c |<.../.[......S&.| -000000c0 86 41 11 9d 49 b5 d9 30 84 07 59 fd ac 08 98 1e |.A..I..0..Y.....| -000000d0 08 f4 c9 32 36 9c 0f 9d b3 5a cd cf 80 d3 a8 4d |...26....Z.....M| -000000e0 12 ca a2 37 83 fd d2 f8 da ca 4a 1d 52 f4 99 49 |...7......J.R..I| -000000f0 4f 89 b5 de b3 90 f9 b4 e2 53 24 e5 f5 88 37 91 |O........S$...7.| -00000100 4b 5e 41 b9 a9 b4 72 d1 d2 ea 39 05 f1 25 12 da |K^A...r...9..%..| -00000110 c0 36 5c 2c 63 b1 34 cf f3 a0 bd 34 08 |.6\,c.4....4.| +00000000 16 03 03 02 6a f5 6e 8c 7d 9c da 79 4b 4d 95 b2 |....j.n.}..yKM..| +00000010 7b 8c 22 94 1c be d9 21 af 58 f6 a8 a2 98 3f 21 |{."....!.X....?!| +00000020 79 54 50 11 07 ad eb e1 36 41 07 02 09 34 73 7d |yTP.....6A...4s}| +00000030 e0 b0 0a 77 0e a8 32 f3 ad de 15 49 f3 0c f2 52 |...w..2....I...R| +00000040 a1 f5 e0 4a 04 82 c6 36 ae 90 3f 46 e5 fa c9 af |...J...6..?F....| +00000050 30 b0 0f f5 b3 17 46 f5 f2 df 48 ee 9c c0 17 ec |0.....F...H.....| +00000060 bd 52 2f bf 65 1d aa 01 c8 8a 90 59 17 f7 0c ce |.R/.e......Y....| +00000070 be 1a d9 bf 57 02 97 c8 8f fc f0 8f eb 12 e6 61 |....W..........a| +00000080 e0 28 8c 7f 8d 1d 1a 7f 4f a5 34 2e 52 58 80 9a |.(......O.4.RX..| +00000090 10 a0 0b 6e 8e 71 e6 b6 d6 e9 67 a5 6c 93 17 e6 |...n.q....g.l...| +000000a0 ca 44 52 ab 44 00 97 98 c7 b9 f0 4b 6b 66 b3 ca |.DR.D......Kkf..| +000000b0 36 92 b0 e7 f8 35 ef 29 5f 60 68 a0 22 c5 78 0c |6....5.)_`h.".x.| +000000c0 f4 7b d9 e6 ed 24 f1 d6 74 57 5b 92 0f cd a3 2f |.{...$..tW[..../| +000000d0 06 77 09 b0 42 f1 9b 6a 02 b7 a7 70 a8 5c 74 8c |.w..B..j...p.\t.| +000000e0 7e ee 3e e6 9f aa 27 c2 9b 15 b4 01 f4 ea da 56 |~.>...'........V| +000000f0 ec 10 3f 76 a3 32 77 e7 c2 1f 7a 48 15 04 f9 b5 |..?v.2w...zH....| +00000100 f4 2c 7b d3 9c 82 88 59 c2 ae 73 a1 8d 15 29 f6 |.,{....Y..s...).| +00000110 99 83 7a 4c 07 50 f7 ed 55 30 dd e2 94 b1 9e 74 |..zL.P..U0.....t| +00000120 cc 13 06 4d b8 91 a4 a8 90 f0 5f ec 70 26 cc ee |...M......_.p&..| +00000130 e1 2f cf 00 3a 72 61 44 17 28 0c 1d 95 28 db 27 |./..:raD.(...(.'| +00000140 6a 15 88 86 6d 0e c3 da 92 93 bf 81 f9 c6 3e 38 |j...m.........>8| +00000150 de 19 92 d3 e4 7a 56 7c 4c c2 d3 4c c5 e4 90 df |.....zV|L..L....| +00000160 00 b7 ab 20 80 52 d3 37 bd 88 dd c0 7f 9a 60 37 |... .R.7......`7| +00000170 a4 d8 ed 55 38 0a 42 57 9f ea 13 01 06 9e a2 03 |...U8.BW........| +00000180 49 90 6c 95 c1 70 b9 73 f2 6e 5f 99 13 e4 80 26 |I.l..p.s.n_....&| +00000190 88 eb c2 b3 d7 b9 ce a9 5d 31 38 56 f0 96 dd 2e |........]18V....| +000001a0 c7 f5 a5 38 f1 56 69 c4 b3 59 8b 0f ee 9f bd 2f |...8.Vi..Y...../| +000001b0 cd ed e2 da 05 51 99 66 b9 ab 7b 2a 14 87 80 95 |.....Q.f..{*....| +000001c0 f0 1b 7a 49 be 90 24 dd 27 14 1d 31 ed 50 5f 87 |..zI..$.'..1.P_.| +000001d0 2d 4e b8 62 e9 a0 f1 66 45 6b 8e ca 99 f9 7f eb |-N.b...fEk......| +000001e0 d0 32 9a 0b 08 66 f9 a4 92 83 50 ae 59 15 6a 2b |.2...f....P.Y.j+| +000001f0 97 70 a8 83 30 8b 23 02 cd 2c df 2f a2 72 a8 a4 |.p..0.#..,./.r..| +00000200 f5 32 c6 5c 16 0e 6f 54 b8 a8 7b b6 f8 a3 be 2c |.2.\..oT..{....,| +00000210 9a 03 b9 00 7d 2c 4b b6 ee 0a d0 49 4f 62 93 b5 |....},K....IOb..| +00000220 13 83 f5 6d 19 48 03 dd e4 a5 48 b2 ce 0d 80 fb |...m.H....H.....| +00000230 e1 b3 56 90 ab b7 59 8c 97 93 e9 5f a0 65 bb 60 |..V...Y...._.e.`| +00000240 ce 76 d2 88 22 12 b2 34 f6 ed 74 86 ff e9 41 14 |.v.."..4..t...A.| +00000250 c0 57 4e b2 cb 6c 91 36 96 d8 21 f8 7d d1 c8 38 |.WN..l.6..!.}..8| +00000260 89 75 1e 2e e8 a7 17 90 45 36 62 27 7c e0 53 |.u......E6b'|.S| >>> Flow 8 (server to client) -00000000 16 03 03 00 81 15 a5 6e 6f 6a 9e a9 10 78 36 70 |.......noj...x6p| -00000010 5d 4c a5 31 6d 68 25 78 d2 38 a9 6b 91 a4 c3 ad |]L.1mh%x.8.k....| -00000020 3b e7 09 16 06 33 b0 8e 26 f9 d3 f2 69 0f 45 c7 |;....3..&...i.E.| -00000030 fb 62 0b af 33 03 f3 f4 30 db b5 47 9e 3d 5e 4c |.b..3...0..G.=^L| -00000040 57 f5 df 2d 01 61 b5 bb 05 b2 f6 2c 8c 10 1d 6c |W..-.a.....,...l| -00000050 de d8 5b 8d 3b 97 eb d7 47 85 03 e6 70 2d 52 e2 |..[.;...G...p-R.| -00000060 2c d0 68 1f 1a c9 a6 32 9a e3 6a 13 5f 4a be dd |,.h....2..j._J..| -00000070 d0 a1 73 b4 8a d8 b8 f0 a5 88 32 67 b9 42 33 88 |..s.......2g.B3.| -00000080 14 0a c1 6a 06 6f 16 03 03 02 69 8d 31 02 ed 53 |...j.o....i.1..S| -00000090 15 33 3e be 26 2b d5 2b b4 1a cf 1f 59 2d 70 eb |.3>.&+.+....Y-p.| -000000a0 ec b3 e1 9e e6 67 ec 7d 97 44 d4 b1 9a 01 ba 7f |.....g.}.D......| -000000b0 a8 e0 f9 ef 6f 92 fe 43 62 36 07 b8 42 8e a5 88 |....o..Cb6..B...| -000000c0 90 8c 17 7f a3 8d 71 04 97 38 1c 21 3b 0f 44 bd |......q..8.!;.D.| -000000d0 c7 aa 63 50 3b 8c 2e 8b 93 cd 7a 2e b7 ee 21 8a |..cP;.....z...!.| -000000e0 44 84 28 11 62 8e ab bd df 37 07 81 d9 bc 82 76 |D.(.b....7.....v| -000000f0 a2 8d 88 c4 63 2f 35 85 c6 39 ae c2 03 95 11 76 |....c/5..9.....v| -00000100 f0 c2 8e f1 af 75 cf 6c b4 55 19 95 fc 4d b0 54 |.....u.l.U...M.T| -00000110 68 de 68 fe 5e c8 56 33 ed fc 32 21 ba 28 44 a5 |h.h.^.V3..2!.(D.| -00000120 05 47 3b 2f 9f 81 f8 ef bc b8 9d 0b 89 a7 e9 52 |.G;/...........R| -00000130 f0 c0 ab 2f aa f5 95 90 d9 45 24 6a 44 31 22 0d |.../.....E$jD1".| -00000140 14 26 17 7c 28 b8 80 4c 54 34 72 2f 04 a0 0d 27 |.&.|(..LT4r/...'| -00000150 d8 48 cb c7 a9 4d 52 36 1a c2 05 a8 cc c2 1f 1f |.H...MR6........| -00000160 52 2c ee 0a 75 21 08 2d 52 6a a4 07 ac f5 6d 47 |R,..u!.-Rj....mG| -00000170 9d a5 28 95 c5 3f 33 11 07 95 ee 8c 2b 7d 24 08 |..(..?3.....+}$.| -00000180 f4 da fd 54 c0 3f 6c b8 bd 02 d6 34 2a 33 05 0c |...T.?l....4*3..| -00000190 2f 81 6f fa c0 84 43 6d 13 9d 96 b3 19 41 67 78 |/.o...Cm.....Agx| -000001a0 3c 8a 1e b1 15 9c 01 e6 b5 e0 af ec c5 3c c0 7d |<............<.}| -000001b0 5d 19 c1 c6 ca f5 88 af 8a 4e 0b ac fb 18 04 6f |]........N.....o| -000001c0 39 a2 eb 67 14 8e 57 43 04 01 c1 57 80 c1 00 cd |9..g..WC...W....| -000001d0 5d ce 09 47 35 fc b0 0f 65 67 45 d1 aa 12 1b 98 |]..G5...egE.....| -000001e0 99 6b 2b ba a1 d4 e2 ec 2f a1 af 72 7a 9c 4b 7c |.k+...../..rz.K|| -000001f0 f1 1d 71 55 6b 4b 20 bb e9 0a 7a eb 2a 31 18 d4 |..qUkK ...z.*1..| -00000200 24 a7 28 74 21 c9 7b 8b d8 0d 86 10 07 2c dd 62 |$.(t!.{......,.b| -00000210 93 cd 40 76 51 33 45 9a 01 05 6c 29 3f 99 77 84 |..@vQ3E...l)?.w.| -00000220 c3 e2 06 81 d8 18 0d e7 a6 b8 0a 7c 85 21 72 15 |...........|.!r.| -00000230 71 da f0 a5 ca b1 2f 9b bb 74 a0 63 59 ae fd d7 |q...../..t.cY...| -00000240 12 8d 6f b5 5e e4 35 93 5a 9d ff c2 b9 82 69 68 |..o.^.5.Z.....ih| -00000250 34 b7 4b 96 8d c0 9f e4 e0 c5 28 8e 3a f8 3c 46 |4.K.......(.:.| -000002a0 ad e4 13 33 d4 83 e6 a1 a3 b4 99 26 bc 7b cc db |...3.......&.{..| -000002b0 cc 64 e8 79 33 77 ef 96 76 40 4e 87 4c b1 6f 37 |.d.y3w..v@N.L.o7| -000002c0 a3 d6 9b ef e8 7e 3c 43 64 7c 0e 81 e4 55 20 de |.....~.d%..g.;| -00000320 f1 78 f4 e6 c7 f9 52 9a 8e 46 58 8e 59 e1 2e 17 |.x....R..FX.Y...| -00000330 2d 7d 2b f8 6a 43 61 59 0e 1c 17 1d cb 98 ea 6f |-}+.jCaY.......o| -00000340 9d 10 eb a7 d3 17 af 5e 74 ca 05 fb 55 2b 3f 6a |.......^t...U+?j| -00000350 2d 88 28 57 43 f6 8d 96 75 5c c8 7d cc ea 37 44 |-.(WC...u\.}..7D| -00000360 df cb 2c 7c 8b 18 c0 e9 f3 63 91 98 3e 02 40 84 |..,|.....c..>.@.| -00000370 d1 fa a0 17 52 90 bb 3a f8 2d 36 8e 41 b9 d8 43 |....R..:.-6.A..C| -00000380 88 f5 fc 33 d3 51 50 5a 3f ec 91 f5 dd 34 7d dd |...3.QPZ?....4}.| -00000390 70 15 1c 4f 4b 53 c1 6a 3e 66 d7 a7 89 5d 9e b3 |p..OKS.j>f...]..| -000003a0 b1 d0 ce 24 f0 c1 16 15 f6 3d d7 2a eb 7c 92 0f |...$.....=.*.|..| -000003b0 8a 02 46 43 58 16 03 03 00 4a 3d e4 40 d5 3c 30 |..FCX....J=.@.<0| -000003c0 f6 0a b2 bc 65 47 e7 87 09 4f 89 bf 51 de 9f 5e |....eG...O..Q..^| -000003d0 e6 10 ed 4c 6a dc 29 3d 42 8d 1e e0 49 86 68 ea |...Lj.)=B...I.h.| -000003e0 74 6f ab e8 c7 ed 29 0f f9 b3 5d f5 aa c8 c7 e8 |to....)...].....| -000003f0 be e1 a9 06 ad b0 e2 06 50 95 ed 3d 9b 97 e5 c6 |........P..=....| -00000400 07 5c ae d5 16 03 03 00 14 4f 26 44 b2 fa dd 65 |.\.......O&D...e| -00000410 02 78 7c 49 32 e1 12 87 23 8c f8 00 ab |.x|I2...#....| +00000000 16 03 03 00 81 a9 7c 9c f5 6e 59 37 db 3a 27 dd |......|..nY7.:'.| +00000010 7b 78 e9 31 1c 77 9b 1f e2 aa d8 de d7 13 a1 ea |{x.1.w..........| +00000020 a2 ab 26 ff 09 11 52 b1 cc 09 a9 49 b0 cb 1b 90 |..&...R....I....| +00000030 02 3d 77 86 2d 0b 65 19 25 3d 89 b8 d2 68 66 a8 |.=w.-.e.%=...hf.| +00000040 0d 4a 1d f1 40 43 ad b1 f0 49 c7 bd 16 0d 6a 82 |.J..@C...I....j.| +00000050 16 e1 28 0e 48 dc a0 2e cd e6 5d 20 a4 d7 0f 2d |..(.H.....] ...-| +00000060 92 8a b6 23 56 b0 e1 db 59 fb 55 19 2b b8 bd e1 |...#V...Y.U.+...| +00000070 07 64 91 24 31 43 46 a2 a7 bd b4 ba 95 0c 08 c6 |.d.$1CF.........| +00000080 f5 6f 45 f1 9c fc 16 03 03 02 69 b0 83 2c 4b 4a |.oE.......i..,KJ| +00000090 96 18 1f 8f 7e 90 b7 55 35 3b fb a3 c7 78 00 a0 |....~..U5;...x..| +000000a0 83 c1 55 c2 26 91 d7 f6 7e 18 e2 af 9b 91 44 a8 |..U.&...~.....D.| +000000b0 60 43 48 2f ff c6 d2 27 d4 cd 20 bb ef 49 bb c0 |`CH/...'.. ..I..| +000000c0 5f a3 14 2d c9 fd 18 b8 13 a1 e0 ae 97 c6 c0 b5 |_..-............| +000000d0 f3 91 be 03 0e d2 93 b3 5a 00 23 bb ad 66 61 bc |........Z.#..fa.| +000000e0 9d 12 50 e0 a9 da c3 c0 89 24 fa 57 36 bd cb 1a |..P......$.W6...| +000000f0 68 f0 92 8c 4e 47 f0 ad 54 aa 3f dd 49 38 a3 87 |h...NG..T.?.I8..| +00000100 b1 48 14 d3 dd 9c 6e 7a 09 54 32 fd cb 0d 1e 83 |.H....nz.T2.....| +00000110 7c 39 b8 89 6e 86 01 87 11 b1 18 ef f3 a2 00 44 ||9..n..........D| +00000120 6b 05 82 c6 ed 4b 1e 69 72 d2 ea 02 48 9b 63 b3 |k....K.ir...H.c.| +00000130 b5 f0 9a 87 b6 02 cb e4 fe 8c 59 e8 b2 6a bb c9 |..........Y..j..| +00000140 6a 61 1e 96 e4 b0 71 bf 06 8c a7 58 2b bd f1 57 |ja....q....X+..W| +00000150 ec 03 ff b1 cd 38 d3 cc 14 69 24 77 a5 ff b2 89 |.....8...i$w....| +00000160 90 1e a1 5e 55 78 e8 95 5b e9 ab 1b 18 84 cf 0e |...^Ux..[.......| +00000170 a4 ed 66 d8 50 c5 da f3 9c 33 6a 0f 90 35 01 e6 |..f.P....3j..5..| +00000180 09 0a 43 82 9f 41 d8 2e e1 7d 76 5c 1c 87 26 9a |..C..A...}v\..&.| +00000190 cd da d8 b8 48 52 38 35 d0 b4 de 19 75 cf db 26 |....HR85....u..&| +000001a0 45 74 db 45 8c 36 db 78 40 4b 30 16 9d b2 55 74 |Et.E.6.x@K0...Ut| +000001b0 c1 50 8e f4 e0 b2 a1 76 46 14 ff 87 eb e2 6d cd |.P.....vF.....m.| +000001c0 2f 00 1e d9 0a 03 13 ca 45 90 01 78 c2 47 30 94 |/.......E..x.G0.| +000001d0 44 2c 2d 54 62 f6 e5 7c 8a 06 ef 03 bc 7e 80 36 |D,-Tb..|.....~.6| +000001e0 8b a6 4a 8b 8e b1 2d 6d 7a 0e e7 1a 22 a3 ea 28 |..J...-mz..."..(| +000001f0 1a 86 4e d5 c4 a1 92 97 4a 54 b2 17 8a e6 33 b2 |..N.....JT....3.| +00000200 18 eb 76 cd 3b 01 a9 5d 16 b0 36 3d 8d 7c 4d 46 |..v.;..]..6=.|MF| +00000210 8d 80 a9 d1 24 52 ba a5 06 49 20 f4 c4 45 aa ef |....$R...I ..E..| +00000220 48 12 2e a9 53 b6 87 8c 59 00 35 3c 51 44 79 f7 |H...S...Y.5f.}| +000003c0 2c e5 6e 2c c4 83 ba 09 ca ab ed 77 30 8c 37 b5 |,.n,.......w0.7.| +000003d0 ef bb 9b 7b 79 57 42 c0 9a 1f cf a6 35 d8 2b a3 |...{yWB.....5.+.| +000003e0 f2 df 20 2f dd ac 41 49 17 de 5d e0 70 27 b6 7c |.. /..AI..].p'.|| +000003f0 93 3b 7b 86 80 f9 af 36 c5 52 3d 4a 69 83 3c 82 |.;{....6.R=Ji.<.| +00000400 77 1a 39 cb 16 03 03 00 14 76 3e f8 7a 8b a0 12 |w.9......v>.z...| +00000410 ed 3b ce ba 64 e3 6b 0d 83 76 2c 45 16 |.;..d.k..v,E.| >>> Flow 9 (client to server) -00000000 16 03 03 02 69 58 e8 ed 74 a4 8e f9 54 a0 16 77 |....iX..t...T..w| -00000010 17 f0 12 e2 bd a8 78 61 9c bd 0b 5c c1 fb b1 bf |......xa...\....| -00000020 3f 28 54 9c 1c ee 53 96 5d f0 36 86 a2 2f 97 a5 |?(T...S.].6../..| -00000030 f9 6a e1 38 93 a3 0d 9f 06 4d a8 dd 89 e0 f0 21 |.j.8.....M.....!| -00000040 ca f2 66 34 e0 0c a9 09 db ba af 79 9a 51 2e c0 |..f4.......y.Q..| -00000050 02 9b 7f a8 f9 5f b4 7c 96 26 4d 57 e2 b6 57 47 |....._.|.&MW..WG| -00000060 68 85 9f 0f 60 3a 12 fc 8e 74 bb 95 60 81 3a aa |h...`:...t..`.:.| -00000070 db e9 70 b7 02 b7 f1 3c 36 62 ba 90 c3 35 93 68 |..p....<6b...5.h| -00000080 07 08 59 20 59 5d a3 cb 4a e7 7a 8d 20 f6 78 1d |..Y Y]..J.z. .x.| -00000090 0b 51 ad 15 0e 9d b0 ea da 0d 47 bf 4d 54 2b 58 |.Q........G.MT+X| -000000a0 e0 34 4e e4 06 df dc 7f 92 3b 9d 04 22 82 f8 b0 |.4N......;.."...| -000000b0 2f 35 36 38 a9 64 cc 43 df eb 64 8d eb 2c 6b 1c |/568.d.C..d..,k.| -000000c0 36 21 46 6a b8 32 94 d2 7c 46 21 d4 a5 67 e1 f2 |6!Fj.2..|F!..g..| -000000d0 16 fa b4 21 04 c3 07 e3 63 4f 9c 7d c9 e6 7a a6 |...!....cO.}..z.| -000000e0 29 9c ed 68 dc 70 d6 cc 25 05 73 89 7d b1 8f ac |)..h.p..%.s.}...| -000000f0 62 7d 4e 90 d1 e7 e3 e8 3f a9 27 5a f4 29 5a 05 |b}N.....?.'Z.)Z.| -00000100 41 6f a3 24 4f 47 21 90 c7 2f 9b 91 e2 46 2c b1 |Ao.$OG!../...F,.| -00000110 5c 13 ad 1c 78 a2 60 e1 a2 36 b4 65 26 7d 83 d1 |\...x.`..6.e&}..| -00000120 ad 72 89 cf 4a f1 e7 5d aa 2f ef 94 b1 80 75 b8 |.r..J..]./....u.| -00000130 4e 93 19 9d d3 91 d2 36 5a e0 f9 f2 24 6b 9d ed |N......6Z...$k..| -00000140 0c 2f d1 63 b3 e2 19 f3 b4 fc 3f 47 d7 26 63 33 |./.c......?G.&c3| -00000150 92 82 b6 a5 42 e3 2b d0 14 38 28 b8 0e a3 1a ad |....B.+..8(.....| -00000160 bc db 3d 84 76 a4 ac 76 61 fe 8e 14 4c 5e fb ec |..=.v..va...L^..| -00000170 db 33 f6 14 6d 12 f9 ed 57 10 b6 d3 12 9a 1a 0e |.3..m...W.......| -00000180 af db 12 85 01 31 4b e0 c9 2c bb f7 c6 f6 4d 98 |.....1K..,....M.| -00000190 71 eb 75 b6 e5 cb 97 23 f8 a7 36 eb 5d 01 01 56 |q.u....#..6.]..V| -000001a0 cb 68 87 e2 c0 24 ef 3f fb 0f 24 a7 0c e3 51 18 |.h...$.?..$...Q.| -000001b0 8e 08 77 b3 7b e5 38 ee c6 05 3e 33 66 66 67 a9 |..w.{.8...>3ffg.| -000001c0 3c f5 e6 1b 6f 80 4d dd 1a 35 a5 24 30 e2 3f d8 |<...o.M..5.$0.?.| -000001d0 d4 38 ce 98 b3 1f 3b 78 28 cb df 03 46 26 fd 6c |.8....;x(...F&.l| -000001e0 ab d1 ee 28 b7 63 6b d5 02 5a 47 d6 0e 8c 05 04 |...(.ck..ZG.....| -000001f0 ea db 8c 2c 23 37 44 d5 83 45 72 40 d6 8d ba e7 |...,#7D..Er@....| -00000200 a5 fb 56 d1 6b f2 e4 63 e6 4e 5e 77 c2 1a 2f d3 |..V.k..c.N^w../.| -00000210 fe 61 1b 4e 76 47 d1 d8 66 b4 bd 52 22 8b 30 60 |.a.NvG..f..R".0`| -00000220 7c 09 b4 34 6d 10 d7 11 aa 09 32 4c 02 56 dc 65 ||..4m.....2L.V.e| -00000230 49 77 3f e8 d4 01 c3 de 81 14 d6 d0 8a 92 af d0 |Iw?.............| -00000240 b2 12 f8 84 01 dc c7 2e 2a 7d dd 1e 0e b0 33 7e |........*}....3~| -00000250 20 d3 e4 2c 4e b7 5e 18 34 c4 72 cc 7b 15 01 60 | ..,N.^.4.r.{..`| -00000260 66 84 6c 9f 97 51 57 ab 65 4c 8e 13 7f 0a 16 03 |f.l..QW.eL......| -00000270 03 00 35 2a 8d d3 d1 3d 04 d5 7a f8 ea 45 1e 7e |..5*...=..z..E.~| -00000280 c3 48 21 e4 f4 e6 ca 5e 85 a3 f5 c1 06 d1 3f bf |.H!....^......?.| -00000290 8d ef 28 eb a5 50 65 8f 24 af 07 12 bf 32 04 f0 |..(..Pe.$....2..| -000002a0 fc 19 a0 0f b6 e0 95 c1 16 03 03 00 98 41 b7 65 |.............A.e| -000002b0 ca cb 65 36 66 49 27 10 c8 4c d2 e7 cc 85 91 8d |..e6fI'..L......| -000002c0 86 c9 38 82 98 d1 d6 7a e9 62 56 92 d3 23 28 5b |..8....z.bV..#([| -000002d0 d2 eb e8 4b da e4 f9 66 0c 91 49 20 3c a1 96 e2 |...K...f..I <...| -000002e0 2d c3 89 39 ce b8 6c af 74 b3 45 26 eb b1 02 5c |-..9..l.t.E&...\| -000002f0 98 6a 4c 45 bc 4c 88 b3 c0 2e a8 f9 74 68 a5 8a |.jLE.L......th..| -00000300 14 ec f5 22 61 a5 44 eb ee d3 e4 bb 37 7f 91 92 |..."a.D.....7...| -00000310 55 e9 f5 de 4e df 16 9c 0e 7d f5 64 4b f2 e8 9c |U...N....}.dK...| -00000320 48 16 53 32 ec b0 4e 93 c8 f2 68 9e e9 dc 87 b3 |H.S2..N...h.....| -00000330 49 08 a1 04 e5 d5 0e 2a 84 d7 da b7 6b 1f 0e 25 |I......*....k..%| -00000340 86 b0 27 89 da 14 03 03 00 11 99 63 0b 7d d5 ea |..'........c.}..| -00000350 9f 3d 6d 69 5b 93 45 e5 6d d9 3f 16 03 03 00 20 |.=mi[.E.m.?.... | -00000360 16 50 d1 43 11 80 6c 6b 1d 1c 26 0f 3c ff 3d dc |.P.C..lk..&.<.=.| -00000370 76 17 3b 06 53 6f 4e 96 27 9a 3f 30 f6 c4 5e 89 |v.;.SoN.'.?0..^.| +00000000 16 03 03 02 69 ab c4 f7 f0 87 7e 7d 49 70 ac 43 |....i.....~}Ip.C| +00000010 34 bb bb 72 73 56 95 45 50 19 f3 fb 2e 6b 6d fb |4..rsV.EP....km.| +00000020 ae 7c 88 55 c3 1f 0e 73 4c 65 86 de 35 b1 2d fe |.|.U...sLe..5.-.| +00000030 cd ca 97 b1 d1 c4 76 f7 93 c5 8a 8d ac 10 47 5c |......v.......G\| +00000040 ff 48 76 1e fa 7a 17 9d 73 41 c4 19 f7 85 63 e1 |.Hv..z..sA....c.| +00000050 9c b7 3e d0 fa 66 d6 ea 12 32 d6 ec a8 ca 0c 88 |..>..f...2......| +00000060 19 62 ba 32 47 b2 ea 82 4e 47 ba 52 35 b7 4a f6 |.b.2G...NG.R5.J.| +00000070 28 ab e6 b6 f6 07 97 6e 06 cd c5 b3 ad f6 4e bf |(......n......N.| +00000080 85 e6 3a a8 02 80 14 d8 16 61 aa 3c d5 ea be 22 |..:......a.<..."| +00000090 4b 86 7a 16 78 e2 ca 55 57 67 85 1c bd 0a 70 2d |K.z.x..UWg....p-| +000000a0 93 5e f6 63 3f cc a2 e4 cc c7 ff e2 54 4a 34 0d |.^.c?.......TJ4.| +000000b0 f8 bd 89 19 72 b6 b8 eb 70 54 de b8 d3 c0 9a a1 |....r...pT......| +000000c0 48 af 5b 06 ff 52 ca 6d 28 47 61 38 9c b5 25 0f |H.[..R.m(Ga8..%.| +000000d0 f6 d7 73 74 6c 52 ca d8 58 c6 52 6b ff 39 6a c6 |..stlR..X.Rk.9j.| +000000e0 28 c9 f2 ec ff e7 8f ee 2a 73 f2 f6 a1 9d ce 02 |(.......*s......| +000000f0 7e a1 e5 dd b0 46 bd 9b 79 12 fa a4 8a 29 71 ce |~....F..y....)q.| +00000100 bb d9 92 e7 7f 6b 0b f1 f2 d6 d3 46 8c f4 99 e8 |.....k.....F....| +00000110 89 d4 7c cf 48 2b 1b 7b 92 d7 37 23 5c 5c 79 a6 |..|.H+.{..7#\\y.| +00000120 7f be d2 b4 81 dc 64 57 8b 7e fa 7d 35 31 45 7e |......dW.~.}51E~| +00000130 9f 79 40 05 4c b1 2e 28 3b 45 b4 04 72 37 64 b1 |.y@.L..(;E..r7d.| +00000140 51 53 5d b4 15 c7 65 40 93 ac 76 0a 43 3f 3a 7d |QS]...e@..v.C?:}| +00000150 2c f3 1c be 61 2d 94 01 ed 29 ee b2 c6 47 80 60 |,...a-...)...G.`| +00000160 c4 e9 18 9d 9b c0 18 18 b2 9b 65 3f 73 ff 37 34 |..........e?s.74| +00000170 4f 96 50 31 91 2e dc 42 87 d9 86 a1 ee 8d e6 2a |O.P1...B.......*| +00000180 39 ac e3 37 63 86 38 3d fd b2 00 04 4d cb 42 d6 |9..7c.8=....M.B.| +00000190 31 43 3a 5e 28 6e 82 e5 18 a9 f5 7c cd fa ef a5 |1C:^(n.....|....| +000001a0 ae e8 19 89 c6 cf 64 68 30 d0 77 9f ad 46 41 3b |......dh0.w..FA;| +000001b0 97 ee ed 76 2c 9d 86 55 85 e1 20 08 68 b2 28 59 |...v,..U.. .h.(Y| +000001c0 2b d4 e6 5c cd 79 8d 08 64 29 64 37 22 5d bc 3a |+..\.y..d)d7"].:| +000001d0 ee f5 62 0c 82 a8 95 d6 d3 3c 12 e7 2e ec 95 25 |..b......<.....%| +000001e0 a7 e0 43 e4 91 0e 70 03 57 31 b9 13 ec 76 6b b3 |..C...p.W1...vk.| +000001f0 1c e2 43 bb 99 cb 31 fd c1 ee 6d f5 68 35 9a ea |..C...1...m.h5..| +00000200 5a 47 5a ab 8c 0a 47 e4 0b e5 b0 d8 b4 fb 01 4d |ZGZ...G........M| +00000210 5c 6f 23 07 29 8a 7c ec 0d 17 e0 99 34 c6 c1 d5 |\o#.).|.....4...| +00000220 94 eb 60 fe d6 ca 1d c9 95 b9 34 ab e0 6c 7e 64 |..`.......4..l~d| +00000230 af be 25 65 d8 57 7c 0a 69 7a 31 67 37 c8 4c b9 |..%e.W|.iz1g7.L.| +00000240 4d 73 f4 80 ab 4a 63 09 97 23 21 c1 4d e3 7f 50 |Ms...Jc..#!.M..P| +00000250 2d df 31 60 52 71 ea f5 27 d2 65 11 8a 30 c5 5a |-.1`Rq..'.e..0.Z| +00000260 02 d2 69 7f 4c 99 94 32 45 de 35 f1 ea ce 16 03 |..i.L..2E.5.....| +00000270 03 00 35 0d b4 2b e9 59 f5 f6 8f 6c f9 03 cf e4 |..5..+.Y...l....| +00000280 78 89 41 4f 67 75 27 64 65 09 5f f3 c9 e8 20 5d |x.AOgu'de._... ]| +00000290 be 6a 7d 53 91 8d eb d4 56 48 aa b5 52 1c ac 7c |.j}S....VH..R..|| +000002a0 18 8b 20 ba 00 d9 8d 20 16 03 03 00 98 a7 b9 9d |.. .... ........| +000002b0 00 9d 42 c4 a2 68 24 fd d6 77 81 53 4a e8 a0 2c |..B..h$..w.SJ..,| +000002c0 30 56 5a c9 4a 3f 08 ba 7c 73 84 64 5a 18 8d 80 |0VZ.J?..|s.dZ...| +000002d0 e8 07 1e ca 4b b0 92 ff a2 d1 1e be a0 20 d6 83 |....K........ ..| +000002e0 7e 37 3e e3 cd 2f 2c da e1 c2 c2 12 d2 0f 88 31 |~7>../,........1| +000002f0 8e ce 89 ac 6a f4 4c 5f 39 5c cb 11 7e 5d 4b 76 |....j.L_9\..~]Kv| +00000300 cd 67 0d 29 cc 6b 02 26 22 61 fa e2 ab 9b 34 e2 |.g.).k.&"a....4.| +00000310 81 37 fe a1 f3 76 79 2b c2 e3 06 b8 e9 ba 60 8e |.7...vy+......`.| +00000320 1d 3c 25 27 14 ff 49 32 c6 e6 68 33 fd e9 0a 40 |.<%'..I2..h3...@| +00000330 a5 69 21 72 00 11 e7 30 80 c7 9f 6a 67 cc e8 4c |.i!r...0...jg..L| +00000340 4a f3 b2 19 3b 14 03 03 00 11 e7 86 a4 9d 61 a6 |J...;.........a.| +00000350 34 14 3f d5 0a d5 a9 4e e9 eb f7 16 03 03 00 20 |4.?....N....... | +00000360 94 0f b2 23 c1 b9 70 67 fe 35 ec 95 e3 ca 9f 5c |...#..pg.5.....\| +00000370 f2 dd c5 df 91 90 77 84 b0 42 50 d0 3e d0 4a 91 |......w..BP.>.J.| >>> Flow 10 (server to client) -00000000 14 03 03 00 11 8a 6a df 1c 25 5d 2e aa 66 0a e2 |......j..%]..f..| -00000010 8e 46 ea ec ea 08 16 03 03 00 20 d7 43 e1 6a b4 |.F........ .C.j.| -00000020 c3 17 5f 1a 88 b2 f2 96 94 ec 90 92 3f 0a 1d 78 |.._.........?..x| -00000030 20 19 b6 14 37 c7 f7 be 18 61 20 17 03 03 00 19 | ...7....a .....| -00000040 93 5d d9 d9 79 b0 a2 87 38 10 31 6b c8 cf 75 57 |.]..y...8.1k..uW| -00000050 22 4a a2 ee 63 12 37 27 e6 |"J..c.7'.| +00000000 14 03 03 00 11 7b a2 56 6a e3 3a 7e ee 44 9a e3 |.....{.Vj.:~.D..| +00000010 24 17 a9 f1 d6 90 16 03 03 00 20 79 da f1 bc 24 |$......... y...$| +00000020 57 77 82 9c e6 59 e3 66 46 49 7e 29 e0 3f f0 b5 |Ww...Y.fFI~).?..| +00000030 ac b0 ab cb 00 ee cc 30 43 b7 46 17 03 03 00 19 |.......0C.F.....| +00000040 7f f2 66 9e 3f 3e f0 fb 52 44 b4 1a 7f b7 a7 3a |..f.?>..RD.....:| +00000050 d5 88 93 ba a7 72 eb 40 ad |.....r.@.| >>> Flow 11 (client to server) -00000000 15 03 03 00 12 18 50 20 aa 14 12 a5 c4 47 8c 35 |......P .....G.5| -00000010 bd a0 2c aa 94 56 29 |..,..V)| +00000000 15 03 03 00 12 64 36 1c 68 b6 80 b8 fa 81 80 0d |.....d6.h.......| +00000010 db 73 f9 c8 d2 c3 ff |.s.....| diff --git a/src/crypto/tls/testdata/Client-TLSv12-RenegotiateTwice b/src/crypto/tls/testdata/Client-TLSv12-RenegotiateTwice index 5c362194710..e9d0807c20a 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-RenegotiateTwice +++ b/src/crypto/tls/testdata/Client-TLSv12-RenegotiateTwice @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 9f 07 9c 60 cb |....Y...U.....`.| -00000010 16 fd ae cc 36 c7 a6 ef 4f 3d 0c 91 7e 7e d2 93 |....6...O=..~~..| -00000020 cf bb f7 06 6f 9e a7 30 ff 33 b6 20 af 89 68 f5 |....o..0.3. ..h.| -00000030 c3 d1 ce 72 68 9b ec 62 ef 71 55 26 f2 b6 a6 a6 |...rh..b.qU&....| -00000040 56 30 ac f5 70 d2 14 2b a6 bc fc 40 cc a8 00 00 |V0..p..+...@....| +00000000 16 03 03 00 59 02 00 00 55 03 03 e4 2c e4 ea 70 |....Y...U...,..p| +00000010 d0 1c e7 47 5c 09 bf e0 49 15 35 99 1b 16 e2 34 |...G\...I.5....4| +00000020 86 28 da 61 4f ff 36 94 62 d9 7f 20 1f 5f 9b 47 |.(.aO.6.b.. ._.G| +00000030 ec 16 87 8f 43 a5 9a 6a 05 f3 83 cb e6 e0 e1 9e |....C..j........| +00000040 19 a5 37 84 f2 1b 35 94 0b c9 23 c9 cc a8 00 00 |..7...5...#.....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,284 +82,326 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 4c d2 95 89 27 95 af |........ L...'..| -000002d0 74 14 e7 ac a8 37 f0 30 ef d5 90 fd 92 46 5c 8b |t....7.0.....F\.| -000002e0 71 8a 65 c7 07 cf 2d 62 63 08 04 00 80 0e 92 28 |q.e...-bc......(| -000002f0 07 eb f5 05 5b 4c 7e 2a fe b6 66 c9 77 80 1f c7 |....[L~*..f.w...| -00000300 ba 60 b5 74 87 b3 a3 62 ff 78 c9 f3 2f ed 10 9b |.`.t...b.x../...| -00000310 5a 3c 6a 3b 56 6e 08 ac c1 f4 bd 9c 79 93 e7 ba |Z>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| -00000030 16 03 03 00 20 e4 b4 16 c4 13 f0 ab 73 36 9d 1e |.... .......s6..| -00000040 64 a1 2b 5d b3 25 b9 ab 02 44 5b 92 d5 e5 82 b5 |d.+].%...D[.....| -00000050 b0 62 24 e2 dd |.b$..| +00000030 16 03 03 00 20 03 f2 2d 60 97 be f8 bb 9a cf 8e |.... ..-`.......| +00000040 ea 16 1b af 8d 07 01 ef 86 a8 49 0e 96 45 9b 37 |..........I..E.7| +00000050 26 44 69 0d d2 |&Di..| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 ab 7d 20 65 58 |.......... .} eX| -00000010 0a 5a ed 89 2b 00 3f 6a d6 b7 40 52 b4 5a 66 22 |.Z..+.?j..@R.Zf"| -00000020 db 2f cf 04 b5 93 ea 26 34 96 4c |./.....&4.L| +00000000 14 03 03 00 01 01 16 03 03 00 20 ff 5e 28 29 cc |.......... .^().| +00000010 84 7c 01 42 05 e5 5a e5 61 f8 6a 43 b7 11 29 8f |.|.B..Z.a.jC..).| +00000020 5a 91 a8 cb 3e 7f 6a 34 5a ea 45 |Z...>.j4Z.E| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 67 8a 7b 23 55 d0 f9 a3 d7 25 5c |.....g.{#U....%\| -00000010 5f 8a 2b a3 84 8c 67 5f 6f 84 ed |_.+...g_o..| +00000000 17 03 03 00 16 ca 3b ad 74 e6 b5 25 1e 3d 0f 3c |......;.t..%.=.<| +00000010 70 82 ca 50 e9 bb a0 b1 dc 14 10 |p..P.......| >>> Flow 6 (server to client) -00000000 16 03 03 00 14 e1 f2 b0 36 46 e9 88 ea 8d 75 02 |........6F....u.| -00000010 31 55 b4 19 e7 b9 2c f5 16 |1U....,..| +00000000 16 03 03 00 14 ef 67 c2 ae 9c 16 d4 ed 10 c4 53 |......g........S| +00000010 6d fa 96 2a 79 1d e1 f3 d0 |m..*y....| >>> Flow 7 (client to server) -00000000 16 03 03 01 18 35 ae c5 8f fa c0 af e3 e2 53 28 |.....5........S(| -00000010 f1 90 c9 ea 75 e9 44 6f 23 0b 04 45 c3 71 11 76 |....u.Do#..E.q.v| -00000020 03 30 40 0e 31 ac a5 86 b1 d6 e3 0e d2 ed 67 0c |.0@.1.........g.| -00000030 4b 6b f8 24 6e 97 24 7e d2 98 9f 3f 81 c6 78 a4 |Kk.$n.$~...?..x.| -00000040 c6 64 07 85 f9 9a 6e 27 32 8e 26 b1 83 7d 12 ae |.d....n'2.&..}..| -00000050 7e eb 8a 38 5f c5 0b ec 28 2e aa ad 04 72 fd bf |~..8_...(....r..| -00000060 32 93 d5 16 a5 44 fe e0 e6 e2 16 6d b2 a5 e0 f8 |2....D.....m....| -00000070 b6 76 85 fe af 2d e5 55 b8 bf a4 9b 68 56 41 8b |.v...-.U....hVA.| -00000080 b6 04 a1 75 ad 4f 18 84 00 65 13 c8 83 0b cf 0a |...u.O...e......| -00000090 3f 0c 38 b5 ec b9 16 84 d8 82 5b 4e f3 8c 75 f4 |?.8.......[N..u.| -000000a0 5b 25 ed 24 9b 9d 7a 72 fe b4 6b 0f 2f cc 15 91 |[%.$..zr..k./...| -000000b0 9c 16 09 0c 62 af 1b fd b8 64 c4 8f a8 17 4c 38 |....b....d....L8| -000000c0 1d db e0 f5 f0 2b 84 e3 de 49 d4 53 3a 0f 99 04 |.....+...I.S:...| -000000d0 61 17 31 c1 98 da 57 27 ed 7b d3 2c 68 b7 17 2a |a.1...W'.{.,h..*| -000000e0 46 e7 db f4 0d 09 14 af bc 4e dc 2f 06 53 19 a0 |F........N./.S..| -000000f0 41 68 4d 88 df d7 f8 de 5d 19 53 3c bd 32 65 b7 |AhM.....].S<.2e.| -00000100 be 0e 93 8c 69 0d cd 62 19 85 46 da de 4d 66 c1 |....i..b..F..Mf.| -00000110 47 c7 97 09 1a 38 47 e1 61 19 68 a1 ac |G....8G.a.h..| +00000000 16 03 03 02 6a 62 a7 e7 96 ad 0c 5b 94 4c 20 06 |....jb.....[.L .| +00000010 41 d1 7d 76 a5 f5 ca 65 6b 1e 1d 9a d5 0a 0d c4 |A.}v...ek.......| +00000020 95 93 f2 50 a2 10 64 ac c3 d1 f1 17 23 64 a8 70 |...P..d.....#d.p| +00000030 c6 2e fe d0 eb ae 56 63 78 7f 7c c5 51 bb bc 62 |......Vcx.|.Q..b| +00000040 a9 b6 d6 ab 71 f6 4c 5e e8 92 06 ef b0 fd 13 56 |....q.L^.......V| +00000050 9e 2a 0b 33 af 62 0c 6f 30 cc 8b 4d 3d 70 f4 a0 |.*.3.b.o0..M=p..| +00000060 08 25 43 4b bd 21 30 0a f9 06 39 30 8a 58 5a a1 |.%CK.!0...90.XZ.| +00000070 90 aa b2 ed 15 d6 29 3e a2 c0 d9 e7 6b 31 86 2b |......)>....k1.+| +00000080 e0 30 fc 4c ce ea 47 6d 9e 74 4e 86 fd 6f d3 35 |.0.L..Gm.tN..o.5| +00000090 08 ee 22 c1 b3 38 e2 c4 bb d0 89 34 95 ba 9d f4 |.."..8.....4....| +000000a0 a3 b5 25 10 e0 b8 0c 18 b2 fa d2 67 2e eb 4f c6 |..%........g..O.| +000000b0 de 34 18 bd 19 9d 93 f5 7f 49 3e 3c 9d e0 f9 6a |.4.......I><...j| +000000c0 62 ff 64 54 5e bc db 45 44 c3 eb fe ec d1 59 6d |b.dT^..ED.....Ym| +000000d0 fd f9 23 d8 7f 06 64 2c dc 87 91 95 f4 89 a4 bb |..#...d,........| +000000e0 40 80 a8 e8 b0 26 f6 77 91 24 f9 f0 3a e3 84 b0 |@....&.w.$..:...| +000000f0 09 66 4e 2b 45 a1 e4 e2 f2 62 4f 32 66 37 92 22 |.fN+E....bO2f7."| +00000100 cd ef d8 bb 03 2f b7 bd bc 30 12 39 c8 ef 88 77 |...../...0.9...w| +00000110 dc 3b d4 10 22 80 71 df e7 61 9a 0e 24 69 1d 5c |.;..".q..a..$i.\| +00000120 1b 25 3e 04 51 b9 ab 9b a2 a0 fc a7 27 4e 6a 8e |.%>.Q.......'Nj.| +00000130 25 d5 9b 7f de 7f 5d bd 44 f0 6b a4 a8 3a a4 94 |%.....].D.k..:..| +00000140 3a 09 3b f0 41 63 31 78 e5 d5 79 4f a6 5c a6 bc |:.;.Ac1x..yO.\..| +00000150 02 8e da e8 29 84 e6 b4 47 dd e7 8a ed c9 82 73 |....)...G......s| +00000160 20 38 a6 1e 8e 3e a8 5c 52 51 ac 9b 6e aa 70 e1 | 8...>.\RQ..n.p.| +00000170 ec 90 47 fb 3c 78 c0 4e cf af 7b ab bc bc 0a 8e |..G...p....J&e.\...| +000001a0 61 94 50 b2 2a ea 3c 89 f1 a1 7a 64 77 38 98 58 |a.P.*.<...zdw8.X| +000001b0 03 a0 fb 69 e1 66 70 a2 49 4a 42 b5 42 65 09 21 |...i.fp.IJB.Be.!| +000001c0 5f 38 de c2 d5 b1 68 03 e5 ec 88 a5 91 3b 18 08 |_8....h......;..| +000001d0 89 23 f2 a0 0d 49 3d 13 74 19 4d ca 0c 80 87 f0 |.#...I=.t.M.....| +000001e0 e7 87 d5 95 34 49 25 f5 14 f5 f6 61 fd 6e b1 14 |....4I%....a.n..| +000001f0 ad 0f 22 2b 51 7a 92 5c 76 d6 55 11 de 21 a2 a6 |.."+Qz.\v.U..!..| +00000200 9e 7e 1c 23 86 29 6e 8a 2d 43 5a bd df e7 7e 8d |.~.#.)n.-CZ...~.| +00000210 da 72 7d 91 06 ba 89 f6 a7 bf 54 25 35 ee db 36 |.r}.......T%5..6| +00000220 7e 1a 59 7b e1 dc 23 4c 27 b5 24 79 32 d8 ff 6e |~.Y{..#L'.$y2..n| +00000230 b1 4d de fd 8a b6 36 d4 3d 99 ff 17 29 97 6c c6 |.M....6.=...).l.| +00000240 db 81 2f 8c ed be 6b 50 0d 13 90 a6 90 d7 f7 8f |../...kP........| +00000250 7a d3 19 34 e7 55 a1 5d 3a e0 1b d3 70 38 ce 61 |z..4.U.]:...p8.a| +00000260 d1 f3 f8 a1 20 98 4d a6 41 26 14 b1 78 83 c0 |.... .M.A&..x..| >>> Flow 8 (server to client) -00000000 16 03 03 00 81 3f 2b 72 97 d1 e4 b2 2f b1 5a 49 |.....?+r..../.ZI| -00000010 cb 3a dc 92 ee 60 21 de 5a f0 d4 fc 95 89 b2 72 |.:...`!.Z......r| -00000020 cb a4 0a 10 1d 5f 23 24 09 c6 ea 86 95 0f 06 5c |....._#$.......\| -00000030 0c 6c 97 ac 60 0a 49 50 fb a2 e3 af 6b 0c 65 8a |.l..`.IP....k.e.| -00000040 a9 30 54 99 d1 4a aa e0 b0 5e dd b5 f8 91 7c 47 |.0T..J...^....|G| -00000050 0c df 3b 98 69 99 bd d1 5b 40 43 ce d6 33 64 0d |..;.i...[@C..3d.| -00000060 94 85 c7 35 41 57 19 6e dc 01 dc 1c e5 fe df 0f |...5AW.n........| -00000070 a9 13 ed f5 06 17 53 1c fc 84 58 06 bd d0 54 27 |......S...X...T'| -00000080 bb 3a f9 c2 52 ae 16 03 03 02 69 2b 67 e4 06 a0 |.:..R.....i+g...| -00000090 71 88 ac 13 91 6e c5 59 5b 5a ad 96 9f bc 1f 4f |q....n.Y[Z.....O| -000000a0 bb 35 dd dd e6 2c 4f a6 73 87 3d 35 ef de aa 13 |.5...,O.s.=5....| -000000b0 c1 79 fb 51 29 e6 e9 74 40 aa 5a b1 1f 2b 02 5f |.y.Q)..t@.Z..+._| -000000c0 b9 05 51 88 6e 25 ae 7a cd d8 58 ac 19 44 19 cd |..Q.n%.z..X..D..| -000000d0 06 b1 42 f5 ba ab 2a 01 bf 75 fe 59 b0 c9 56 54 |..B...*..u.Y..VT| -000000e0 d3 38 18 f0 ec 46 cf 13 8a a0 f8 5a e3 26 56 05 |.8...F.....Z.&V.| -000000f0 b1 52 50 df 1e 3d 8c c4 8d 4b e0 19 f5 8a 5e 03 |.RP..=...K....^.| -00000100 de 22 e9 af 75 98 4f 07 21 c5 5e 98 ac 7b 5b 7f |."..u.O.!.^..{[.| -00000110 a3 ba 8a 43 55 65 fe 2d c9 ec c9 2e e2 d8 5d 47 |...CUe.-......]G| -00000120 c9 f1 29 1f 8e a9 a2 4b e0 af 1f f4 a2 49 87 90 |..)....K.....I..| -00000130 59 49 c9 25 fb 1a 65 32 21 e7 44 e8 00 89 3a 10 |YI.%..e2!.D...:.| -00000140 05 bf 70 c0 6b de 5a 3a dc e1 b1 b3 07 2a 5b 9d |..p.k.Z:.....*[.| -00000150 a4 fe 09 ab 53 2e a2 fe 9d 4a 89 e7 f0 46 3f d4 |....S....J...F?.| -00000160 4c 0c 0a 36 29 f0 11 b8 0f 81 2c d1 7b c0 d3 13 |L..6).....,.{...| -00000170 d3 67 b1 26 0f bc 26 4d 69 f1 7c 43 4c fb a0 25 |.g.&..&Mi.|CL..%| -00000180 85 65 00 c4 7b 03 58 32 04 43 ac 15 40 27 96 ac |.e..{.X2.C..@'..| -00000190 4b a3 5a cc 80 a9 a8 d4 b3 59 5c 45 44 23 a2 be |K.Z......Y\ED#..| -000001a0 35 89 3e 7d f6 8e 62 84 4f 05 04 a6 53 ab 33 31 |5.>}..b.O...S.31| -000001b0 aa 3b 31 f6 8c cc 29 5f 78 cb 21 98 6b e8 17 2c |.;1...)_x.!.k..,| -000001c0 77 a7 a9 b6 57 67 02 b8 82 d3 bd f4 c0 f2 02 a0 |w...Wg..........| -000001d0 fc 6b 18 cf 50 f0 95 ea 25 22 bf 5d fe 58 10 b8 |.k..P...%".].X..| -000001e0 09 9e bf af 15 a0 2b 44 6c 03 1e 2f 93 7b 95 aa |......+Dl../.{..| -000001f0 c1 72 8b a9 c1 d7 74 c5 f8 c0 74 38 92 90 3c 6e |.r....t...t8.......| -00000230 88 9e 39 94 6b 73 77 cf 51 52 43 b1 45 64 c0 46 |..9.ksw.QRC.Ed.F| -00000240 f8 c4 36 3f ea f4 95 60 8a 60 c0 79 b6 94 32 b4 |..6?...`.`.y..2.| -00000250 9c b9 cb 1a 96 da bc c2 be 7f 4e 2c c6 08 fb e4 |..........N,....| -00000260 c6 bf 10 5d 33 b9 1c fc b3 41 af 8f 07 46 fa b1 |...]3....A...F..| -00000270 36 0d b2 c2 88 de f4 af d6 ce e6 8d 7b 7e 89 ca |6...........{~..| -00000280 e1 ac a9 5c c4 17 8f c7 ed 1d 99 25 cf 1e c2 b5 |...\.......%....| -00000290 52 b1 5d da 4c 66 05 8b 48 65 d8 d4 5c 08 78 76 |R.].Lf..He..\.xv| -000002a0 cc 07 08 53 67 55 81 e4 ff d7 8f 47 2c db d9 22 |...SgU.....G,.."| -000002b0 8c 62 31 99 45 b7 6b a0 f3 39 01 27 8a dc b5 42 |.b1.E.k..9.'...B| -000002c0 0d 59 4f 36 d5 de b2 62 83 17 ce 5e 53 59 59 f7 |.YO6...b...^SYY.| -000002d0 66 9e fe 20 34 a4 23 31 d4 ae 1b 2f 23 b9 81 af |f.. 4.#1.../#...| -000002e0 c3 6b 14 50 15 73 f1 b0 83 96 f5 39 71 15 04 ec |.k.P.s.....9q...| -000002f0 1c 82 22 e1 16 03 03 00 bc d3 67 8c 08 59 68 f1 |..".......g..Yh.| -00000300 5a 1b 89 8a b0 cd e5 80 6a 4d 2d 05 dd e4 dd 80 |Z.......jM-.....| -00000310 7a c2 3c 2f 80 b6 b7 21 bc 72 ff ad 83 28 3e d9 |z..| -00000320 16 76 1b 28 91 8b c4 69 ba 7f db d8 0c 91 d7 d9 |.v.(...i........| -00000330 86 bc 49 c2 d0 28 5c 16 b2 3f bd a1 aa 52 81 66 |..I..(\..?...R.f| -00000340 79 71 92 c7 e9 6d e0 14 40 d5 58 a1 a1 bd 19 c7 |yq...m..@.X.....| -00000350 26 a5 26 fc f4 bb e2 f8 22 2c 8f 91 9c 5b 3e e4 |&.&.....",...[>.| -00000360 f4 e9 7d 30 d3 7c 64 8c ee 96 7b c0 78 f0 bd cf |..}0.|d...{.x...| -00000370 f9 cf 8a a1 3c 56 64 a5 79 09 5b e9 ce 41 e6 37 |.......c....4.| +000000c0 d6 c3 6d c5 16 e0 24 cb ca 79 c0 d7 44 55 6d c8 |..m...$..y..DUm.| +000000d0 61 63 b1 e0 64 b3 58 2c ac a3 22 c5 a4 21 4f a7 |ac..d.X,.."..!O.| +000000e0 cd 07 49 5c f1 e1 a7 55 99 be 63 f6 21 1c 06 9f |..I\...U..c.!...| +000000f0 ee 98 8c b4 62 ce 77 2f ba 24 0a 7c d2 09 2c b3 |....b.w/.$.|..,.| +00000100 ff e2 a4 d2 e3 d6 33 2e 38 2e c4 30 22 91 cd 6e |......3.8..0"..n| +00000110 2a 7c 07 22 3b 5b 6e d0 58 27 77 4b 92 7f 8f 16 |*|.";[n.X'wK....| +00000120 cb 79 c1 8c 5d ce aa 12 14 03 52 7a e2 30 97 14 |.y..].....Rz.0..| +00000130 53 4a 95 d6 bb b5 5c fc 03 02 40 8a e0 94 49 cc |SJ....\...@...I.| +00000140 de 42 e2 12 ae 30 bb 2f f4 fb 31 e8 4d 7d c9 67 |.B...0./..1.M}.g| +00000150 4d cf 12 af a0 63 1a 8c 8a 24 4b 7f a6 32 31 07 |M....c...$K..21.| +00000160 99 17 6f 17 80 04 9b 6a 96 7a 4d 54 f8 14 b0 98 |..o....j.zMT....| +00000170 b6 c1 57 32 9d 94 1b 42 97 aa 4a 02 6e 94 cb 96 |..W2...B..J.n...| +00000180 50 fa 09 af 61 65 44 61 af 64 ca 11 0b 2b 7a fb |P...aeDa.d...+z.| +00000190 55 8b df 25 a2 3c 98 b9 65 d9 63 a1 ea 92 de e8 |U..%.<..e.c.....| +000001a0 55 d4 23 46 4a 84 8a cc 4f d1 04 94 1d 96 ba 4f |U.#FJ...O......O| +000001b0 ef 3e bb 54 3b 03 1e 21 5a af 54 66 88 1a 57 85 |.>.T;..!Z.Tf..W.| +000001c0 98 14 1a 77 44 4d ca 16 6d ed 0e 69 88 69 27 aa |...wDM..m..i.i'.| +000001d0 a1 3d 04 c8 2a 9d da 3a 83 fe aa c5 79 ca a7 e3 |.=..*..:....y...| +000001e0 27 4c 25 a4 8f e6 06 d7 00 10 14 9e f7 cc 8f 74 |'L%............t| +000001f0 f2 b4 3d 19 77 c7 24 f2 7c 35 ee 2f 0d d8 fa 74 |..=.w.$.|5./...t| +00000200 73 d6 57 92 6c 87 7a ca 66 23 d4 94 bf 35 34 0c |s.W.l.z.f#...54.| +00000210 38 dc 20 52 9e b1 c0 6a e0 17 60 1f 39 e4 dd a9 |8. R...j..`.9...| +00000220 9a 7a 58 d8 7c 25 77 ca ea 28 75 70 e9 83 64 92 |.zX.|%w..(up..d.| +00000230 9d ef 33 b6 00 d2 1d 62 41 ae ee 20 f0 8c 29 16 |..3....bA.. ..).| +00000240 b8 e5 05 fb 31 2e 74 de 56 c0 05 e4 77 4e 92 2e |....1.t.V...wN..| +00000250 ca c6 67 d2 2d 67 3a 83 49 e6 b3 8e 16 53 fb 5e |..g.-g:.I....S.^| +00000260 ee ca a5 fc 5a ad 0a a6 f3 cb fe 08 00 a0 9e 5d |....Z..........]| +00000270 e6 8d dd db 64 0d c1 bf 2b 88 c9 2a d1 64 ad 22 |....d...+..*.d."| +00000280 c6 ba f8 e1 a7 05 6d 31 fa c8 f6 7b b0 cf 41 c7 |......m1...{..A.| +00000290 06 0e 02 6d b7 93 5c 68 22 32 d8 fb a1 14 7e e4 |...m..\h"2....~.| +000002a0 7f 64 ea 06 b1 31 38 07 f5 fc a1 c6 65 5e b2 a7 |.d...18.....e^..| +000002b0 48 dc 28 e7 06 e6 7b 7f 9e e9 c4 c0 0a fc 8a dd |H.(...{.........| +000002c0 23 30 8c 85 22 12 47 f1 86 e8 ec e0 74 ac d0 22 |#0..".G.....t.."| +000002d0 aa 52 fa 7f 37 94 15 09 93 c4 50 ee fc f4 08 06 |.R..7.....P.....| +000002e0 98 da 02 60 c4 0e 5f b4 09 f3 53 e3 98 59 6f ef |...`.._...S..Yo.| +000002f0 99 4f bd 4c 16 03 03 00 bc d2 40 cd be bb c2 25 |.O.L......@....%| +00000300 1e ec e5 d4 d3 25 d1 8a 69 a3 44 22 0b 70 58 57 |.....%..i.D".pXW| +00000310 c3 58 bc 84 be 4a 52 07 b5 d7 ae 15 47 dd 55 e3 |.X...JR.....G.U.| +00000320 e4 0f 03 87 bd c6 50 15 38 2d 0e 72 e3 41 13 21 |......P.8-.r.A.!| +00000330 ad fe 21 a2 43 78 bb 37 1c 01 cf 03 21 33 74 a2 |..!.Cx.7....!3t.| +00000340 c0 0b 46 c0 c8 4d e3 e6 00 2e bd 6f a4 44 59 f0 |..F..M.....o.DY.| +00000350 2b b7 c9 a8 a8 d9 7f 08 e5 8d 69 92 bd bd 16 d5 |+.........i.....| +00000360 8e ae 9d 81 4e 5c cd a1 78 fc 63 07 82 3b 41 a0 |....N\..x.c..;A.| +00000370 51 5e 92 99 fa 1c 1a 03 f9 37 32 1a df b0 c8 b3 |Q^.......72.....| +00000380 b6 6e 8d 1e 23 1e 7f 39 69 89 d9 1a d5 ec 91 d1 |.n..#..9i.......| +00000390 1f fe e1 d4 88 47 69 25 47 7b 8c 05 a2 af 47 64 |.....Gi%G{....Gd| +000003a0 8f d3 1b b7 7b 27 12 d0 88 05 f1 a9 c6 73 4b 10 |....{'.......sK.| +000003b0 28 70 8f ed fe 16 03 03 00 4a 4e 93 30 3e 1a dd |(p.......JN.0>..| +000003c0 b5 c8 32 f1 e3 07 1b 5a 9c f0 f7 ac 16 fe b9 22 |..2....Z......."| +000003d0 0d c3 97 ed fa 3f 02 ec a8 27 a4 5f 66 53 45 ac |.....?...'._fSE.| +000003e0 46 7d b5 35 8e 26 84 e8 20 9e 7d 4a 39 65 a1 6f |F}.5.&.. .}J9e.o| +000003f0 d8 6d 7b 8e fe ff 21 92 a3 01 23 ec 09 77 f4 63 |.m{...!...#..w.c| +00000400 61 5a 4d e4 16 03 03 00 14 78 c0 34 00 61 20 cf |aZM......x.4.a .| +00000410 c0 2b 10 82 cb a4 1d 17 f5 24 c5 2b 88 |.+.......$.+.| >>> Flow 9 (client to server) -00000000 16 03 03 02 69 f6 9d 07 69 11 59 46 a0 34 1f fc |....i...i.YF.4..| -00000010 28 1e 50 ac d0 2d 77 c7 14 d7 60 3f ed 07 eb 43 |(.P..-w...`?...C| -00000020 07 21 7a 05 ef 45 25 90 9c 04 bb e7 36 b8 d4 64 |.!z..E%.....6..d| -00000030 79 f6 be 87 66 69 07 9f 58 62 dc 38 b6 6b 85 d5 |y...fi..Xb.8.k..| -00000040 1a 38 8a 7d cc 66 a6 79 55 90 14 70 a3 03 b8 b8 |.8.}.f.yU..p....| -00000050 23 5c 06 c6 63 b6 11 b5 a9 e1 ae f6 8e c5 8c dd |#\..c...........| -00000060 83 30 ff 55 61 81 0a 73 6c 8c 98 d5 0e cd 45 a1 |.0.Ua..sl.....E.| -00000070 86 d6 cd a6 00 ff 00 38 1d 4d e5 52 9a d1 0a 25 |.......8.M.R...%| -00000080 2d 8f 37 1d 08 1c 69 c6 87 b3 f0 6a 3c ea 0b 3e |-.7...i....j<..>| -00000090 c4 df 22 be b1 31 81 b4 94 8b a4 25 8d d7 06 2c |.."..1.....%...,| -000000a0 f5 a6 79 02 79 02 9a fc d3 21 b9 5b 63 83 c4 86 |..y.y....!.[c...| -000000b0 58 28 c7 ac 62 2e 51 3e ba 89 1e 72 11 a8 47 15 |X(..b.Q>...r..G.| -000000c0 86 e1 13 90 ff 3c b4 d4 45 af b2 17 bb 72 3b 67 |.....<..E....r;g| -000000d0 60 da e6 fd 98 e5 2c ae 6f 38 b6 08 ce cb 8f 69 |`.....,.o8.....i| -000000e0 51 1a 6b 34 d1 ab fe cc 9e 05 8d 5b 14 e4 fc a5 |Q.k4.......[....| -000000f0 d0 c3 18 a5 a5 89 84 98 ab 25 47 88 b7 0e 4c 67 |.........%G...Lg| -00000100 4e f7 6b 4b 4a d6 68 a6 5f 5c 5e e0 fd 75 ec 41 |N.kKJ.h._\^..u.A| -00000110 16 82 06 1a ff cc 1e a8 1c 4c ca 5a 66 d8 b9 00 |.........L.Zf...| -00000120 5a d4 8a 51 b1 e2 dc 75 83 d7 61 fc 09 e2 e6 06 |Z..Q...u..a.....| -00000130 54 55 3e a9 bd b8 11 59 0e 43 cf b4 4c d3 75 21 |TU>....Y.C..L.u!| -00000140 31 b5 b8 ae 9f 8d c4 6f b9 f3 36 b5 39 76 8c 32 |1......o..6.9v.2| -00000150 48 9b 5e b9 12 c8 fa b8 ce d1 65 22 00 11 bc e7 |H.^.......e"....| -00000160 d9 af 23 44 5c 40 5b 92 d3 33 03 64 ce 5f ab 39 |..#D\@[..3.d._.9| -00000170 4f 42 73 fe 75 62 a5 49 26 42 0e a2 7d f3 dc c0 |OBs.ub.I&B..}...| -00000180 04 cf 1d 5c 50 3f 0c aa 82 fc 4e 3d 9f e0 ea 35 |...\P?....N=...5| -00000190 86 80 64 9a 54 47 5b a4 34 02 00 8e 8c 8e 43 b1 |..d.TG[.4.....C.| -000001a0 da 6a 76 48 09 0d 39 ab e9 72 88 71 ce 44 64 71 |.jvH..9..r.q.Ddq| -000001b0 bf 97 a6 ee cb 62 d5 f6 d6 80 14 28 a0 33 d1 26 |.....b.....(.3.&| -000001c0 e3 a7 74 ad 82 e0 98 73 e7 ce d4 04 96 9c 47 80 |..t....s......G.| -000001d0 bd 2a 78 ce dc 81 03 9b 04 36 f5 8f 95 b8 b0 96 |.*x......6......| -000001e0 1b fe c0 04 3e e2 9c 5b 6a 85 70 ce e1 27 70 5b |....>..[j.p..'p[| -000001f0 cb ea 26 43 04 d2 22 d5 a4 8f 18 c6 16 43 f4 1e |..&C.."......C..| -00000200 ef 0c d7 ae e8 95 24 19 72 78 6c 5c b9 c1 b8 ef |......$.rxl\....| -00000210 97 30 5f 58 4a 6c e1 fe 5b b3 55 eb d6 f2 79 52 |.0_XJl..[.U...yR| -00000220 28 28 19 87 15 d8 70 b5 91 c4 5a c3 67 d3 e7 8d |((....p...Z.g...| -00000230 a5 9b f3 2b ef 57 06 6f 1b ed fe ad 1f 78 42 3a |...+.W.o.....xB:| -00000240 0d 3a 1b be 33 9e 8d ba d3 f2 06 5d 8c c4 a0 f3 |.:..3......]....| -00000250 4d 7e fb 84 ce 27 40 94 ae ac b3 a3 52 8d f9 c1 |M~...'@.....R...| -00000260 77 6a 3c 73 3c 8c 22 7c df 5b 3c 16 47 b5 16 03 |wj...| +00000150 f2 e9 23 ec fd b4 4b c2 f3 3f 18 12 6f 60 02 68 |..#...K..?..o`.h| +00000160 b5 c1 60 43 91 05 0c e8 25 aa 2c 81 86 35 86 6a |..`C....%.,..5.j| +00000170 4f b1 97 36 29 8d ec ba 01 02 9d 7d 8a cc fb 19 |O..6)......}....| +00000180 46 b4 16 18 d2 47 90 ea f9 da 4d 00 dc 78 8c 03 |F....G....M..x..| +00000190 b7 4a e4 87 c3 9e f6 2b 26 0b c7 22 ff 77 15 b3 |.J.....+&..".w..| +000001a0 8c c4 0f b2 fc ac c7 24 05 10 6c ba b4 07 9f f9 |.......$..l.....| +000001b0 b9 88 1d 66 f8 04 24 64 e9 e7 1f 71 08 ed d0 72 |...f..$d...q...r| +000001c0 6a 78 f0 39 47 e8 e4 6b cd d1 42 10 b5 19 2c 01 |jx.9G..k..B...,.| +000001d0 05 a1 af 06 cf 70 54 73 fb b3 12 be 57 0f 22 e1 |.....pTs....W.".| +000001e0 91 01 06 67 d5 fe 87 fc 44 1f fe 2b ce 74 3d 3c |...g....D..+.t=<| +000001f0 03 94 a8 a7 5f 5c c8 2b 9a 2f ed 94 89 d7 a0 7d |...._\.+./.....}| +00000200 17 b9 ff 72 6a d6 fa 75 88 65 12 da ed 38 35 87 |...rj..u.e...85.| +00000210 c5 9f 8b ee 3a 0f 4f 3e 89 c3 c9 bd 0d e3 1d c0 |....:.O>........| +00000220 60 3b 84 a3 57 7d f1 0c 99 eb 3d a5 5c 75 4c b8 |`;..W}....=.\uL.| +00000230 3a 1f e8 0c 21 6b b6 80 31 59 c3 0b 94 7b 31 c5 |:...!k..1Y...{1.| +00000240 60 d2 82 03 24 97 23 9d 4b 99 7a 82 7a 6a 6c 9f |`...$.#.K.z.zjl.| +00000250 a2 c8 95 8c 15 80 0e d5 0c 0f 2a fe 45 d7 c8 96 |..........*.E...| +00000260 fb 68 f8 62 43 43 2a 78 f8 31 1d bb e7 0c 16 03 |.h.bCC*x.1......| +00000270 03 00 35 ac 3e 63 b5 ee 41 f7 6e 55 0d 14 e5 9c |..5.>c..A.nU....| +00000280 8a 01 1b 84 d5 45 94 a4 ef 9f ca 52 d9 aa 97 10 |.....E.....R....| +00000290 93 86 7d db ee f7 35 06 3b e2 94 df 95 89 5b 64 |..}...5.;.....[d| +000002a0 a6 87 ac 0c 8b 01 53 1a 16 03 03 00 98 1a 43 2f |......S.......C/| +000002b0 c3 c3 0b 7b 66 33 ec 7c f0 55 81 44 95 01 bf d4 |...{f3.|.U.D....| +000002c0 a9 66 2e 1b a9 d3 52 ec bf 46 7c a7 7d cb b0 75 |.f....R..F|.}..u| +000002d0 4e 89 be de 31 90 63 c0 a4 86 84 92 31 ed 5e b2 |N...1.c.....1.^.| +000002e0 77 47 87 91 01 8e 29 7a 09 59 a7 6e 94 05 9f d0 |wG....)z.Y.n....| +000002f0 98 ba 5d a6 49 dd cf 8a db 83 57 23 43 4f d1 fe |..].I.....W#CO..| +00000300 63 40 61 5f 15 14 c1 3a 04 cd 2e 9c 1b 11 8d 55 |c@a_...:.......U| +00000310 a8 a9 94 5f aa a5 9a 78 91 69 eb e8 14 5a eb 29 |..._...x.i...Z.)| +00000320 82 d1 2c 23 be ac b0 13 88 e8 9e 33 43 e2 bd c0 |..,#.......3C...| +00000330 25 7a 69 e4 8f 76 2e de 8c 09 fa 93 09 10 72 7d |%zi..v........r}| +00000340 62 3a 48 3f 05 14 03 03 00 11 74 3b 48 2b f3 0a |b:H?......t;H+..| +00000350 8f 6a 06 35 0f 22 39 bb 4d 22 6c 16 03 03 00 20 |.j.5."9.M"l.... | +00000360 e2 7c b6 37 b5 e4 de 5b 56 15 e6 7c 74 8f ca 1a |.|.7...[V..|t...| +00000370 02 7a 87 4a 73 fe 11 79 dd f1 7d 52 1e 9b 89 90 |.z.Js..y..}R....| >>> Flow 10 (server to client) -00000000 14 03 03 00 11 bc 0f dc 8f 28 db f9 c8 d7 42 45 |.........(....BE| -00000010 6f 36 53 d9 25 19 16 03 03 00 20 0e 73 03 14 65 |o6S.%..... .s..e| -00000020 7e 04 fb f0 b0 30 91 cd 55 5c 52 24 96 40 f3 ae |~....0..U\R$.@..| -00000030 95 48 46 fb bc 9a da ef b6 fd ac 17 03 03 00 19 |.HF.............| -00000040 85 da 7d d3 f0 67 ba de a2 89 be de 92 e5 1f a5 |..}..g..........| -00000050 5f 4e f4 ec d2 80 fd 79 11 16 03 03 00 14 3a 14 |_N.....y......:.| -00000060 40 2d ed f4 2e 5d 5e 60 84 79 0c 2f 2a 3c a6 e4 |@-...]^`.y./*<..| -00000070 a6 fe |..| +00000000 14 03 03 00 11 67 8d a5 a6 11 e1 1e cd 93 bf b4 |.....g..........| +00000010 48 ca 96 89 d3 5d 16 03 03 00 20 c9 27 2b 18 cd |H....].... .'+..| +00000020 4c e9 6d 25 88 5a cd 79 40 65 80 a9 6e c1 3e 46 |L.m%.Z.y@e..n.>F| +00000030 1b 65 d4 bd 5f ed 2a 66 9f 88 d7 17 03 03 00 19 |.e.._.*f........| +00000040 4f 38 50 e7 c7 6c 4f c3 ae 3e 9c ea 5d 1a 46 af |O8P..lO..>..].F.| +00000050 54 a0 3f f2 02 ea 35 0d f1 16 03 03 00 14 f8 24 |T.?...5........$| +00000060 d2 bf 41 35 ca 4d c5 b0 b6 db 41 43 4d 66 4e 10 |..A5.M....ACMfN.| +00000070 0d 76 |.v| >>> Flow 11 (client to server) -00000000 16 03 03 01 18 15 e7 49 91 fb 15 7a 93 1d c3 52 |.......I...z...R| -00000010 46 5b 6e 54 14 bc 8f 41 76 ac f2 e2 22 59 24 50 |F[nT...Av..."Y$P| -00000020 13 02 ae b9 a5 7b de 6d bd 28 e2 73 a7 50 c6 8e |.....{.m.(.s.P..| -00000030 17 43 35 aa de 53 55 6a 42 ee e1 4d 56 25 7b 7e |.C5..SUjB..MV%{~| -00000040 d6 68 90 a1 0f d2 02 7c 70 e0 23 36 b6 15 1a d2 |.h.....|p.#6....| -00000050 69 d6 bb 1c 2f d5 d3 1b 28 48 8e f9 a9 e8 de a9 |i.../...(H......| -00000060 ff c9 1f da 8e ed 22 fb eb 3f a8 b1 d4 0d 89 bf |......"..?......| -00000070 b5 23 9d 3e dd d4 c0 38 68 bc 7e 12 39 93 e3 66 |.#.>...8h.~.9..f| -00000080 5b 3d e0 38 ac ad 0f 5b 71 f9 6d 2c 21 49 41 ab |[=.8...[q.m,!IA.| -00000090 d3 bf 19 ee ff a9 8b 08 9e e2 15 4b 28 20 40 74 |...........K( @t| -000000a0 3f ae 1c 58 d5 0e 6c d6 9d e0 d5 35 73 57 c1 7a |?..X..l....5sW.z| -000000b0 34 92 58 29 f2 70 43 ad f3 54 77 16 82 40 f7 d8 |4.X).pC..Tw..@..| -000000c0 ce c4 f0 29 5d e0 0b a8 da fa 74 3d 6d f0 39 e2 |...)].....t=m.9.| -000000d0 03 8c 1e 29 77 b5 32 02 04 ff f8 f6 df 5b cc 52 |...)w.2......[.R| -000000e0 dc 6c a9 44 1a 92 04 64 e3 1a b9 9d 85 63 6f e6 |.l.D...d.....co.| -000000f0 31 a2 55 65 27 1f d0 c3 ea 2f 0d f2 a2 38 0a 03 |1.Ue'..../...8..| -00000100 fe 66 04 5d e9 9d f4 2d 41 12 2d d1 94 3a b3 83 |.f.]...-A.-..:..| -00000110 6f 05 56 b9 35 d2 68 72 d2 eb bf 21 db |o.V.5.hr...!.| +00000000 16 03 03 02 6a 44 e8 86 58 e0 e7 57 bc 55 13 d9 |....jD..X..W.U..| +00000010 60 38 7c 6f 23 46 5c 86 1d 93 92 a2 34 67 22 79 |`8|o#F\.....4g"y| +00000020 e8 e0 7f ba 0e e5 5a 53 2e cd 0c 19 23 c8 f8 d5 |......ZS....#...| +00000030 3a ef 5b da 00 9b e6 99 86 e0 32 7b 46 f8 72 4a |:.[.......2{F.rJ| +00000040 52 1a 68 35 2f f4 ae d4 98 91 4d 4d 58 cb f4 f5 |R.h5/.....MMX...| +00000050 77 dd 18 8e 90 ae 08 0c f2 fc de 76 3e 91 a0 90 |w..........v>...| +00000060 38 48 77 04 9b 40 04 64 ae 4e b4 1f fb f5 d4 5a |8Hw..@.d.N.....Z| +00000070 b0 3c 13 e9 bc b3 ba a3 15 02 f7 11 ef db 95 cd |.<..............| +00000080 b0 69 0c f4 2f 5d 06 fa 94 3c cb dc 71 c1 84 e1 |.i../]...<..q...| +00000090 6b 74 e6 ec aa 61 4b 48 4d 37 14 13 d5 f2 ee 0a |kt...aKHM7......| +000000a0 9e 5d 49 c1 54 15 7c c2 7c a9 23 d3 9a ad e4 00 |.]I.T.|.|.#.....| +000000b0 7b b5 3d cb a3 40 cd 01 1f 0c 82 01 4d ad f6 29 |{.=..@......M..)| +000000c0 17 3a af 84 77 dd c7 a0 a0 a1 c8 f2 09 62 58 d2 |.:..w........bX.| +000000d0 91 bd a5 64 a9 3b ec be e8 fc 6b d2 61 f6 91 6e |...d.;....k.a..n| +000000e0 c0 6b 52 fc e5 ec a1 8e ba ce cc 1f 1a cf 51 d8 |.kR...........Q.| +000000f0 26 e6 4d 32 a1 fc 5d c0 3f 4f f8 c5 28 e9 55 3b |&.M2..].?O..(.U;| +00000100 06 7c 99 43 5c b3 75 6a d5 11 05 a2 2e cf c7 04 |.|.C\.uj........| +00000110 e9 b7 18 10 e6 e3 25 a8 6b 88 3d c4 f4 62 27 ec |......%.k.=..b'.| +00000120 b4 f8 f1 a5 20 95 48 95 fd 7c 3f d2 9a 65 1f 17 |.... .H..|?..e..| +00000130 5c 54 b3 be cc ba 2a ee 7a a9 03 08 cb 0b ab da |\T....*.z.......| +00000140 fa b0 94 74 a4 df 62 84 71 4d 4f cf 96 78 d7 5b |...t..b.qMO..x.[| +00000150 90 4a 81 cc 00 30 4f 32 6b eb 3c c5 74 24 4b 1b |.J...0O2k.<.t$K.| +00000160 e7 7d a3 e7 bb 27 97 d2 fd e3 4a 2d 3c 29 5c a5 |.}...'....J-<)\.| +00000170 6e 80 91 f1 e9 33 59 55 bb ff 7c c2 ce 5e 8e 0e |n....3YU..|..^..| +00000180 c2 b8 1d d5 ec ed 86 82 a6 5d ab 3b fd 54 b1 bd |.........].;.T..| +00000190 7c 9a 44 62 42 a7 44 96 dd 8b f3 40 59 ea 21 3b ||.DbB.D....@Y.!;| +000001a0 ed 68 80 46 80 f6 cd 58 20 7c 40 f0 dc 67 83 51 |.h.F...X |@..g.Q| +000001b0 e4 c1 c6 88 b8 36 b1 d5 95 b0 b5 76 6b 6f 6a dc |.....6.....vkoj.| +000001c0 65 bd 90 ca 6f 53 aa ae 44 55 8c 1e 6e 04 ed 29 |e...oS..DU..n..)| +000001d0 59 21 cd 71 96 a6 54 73 6d af ed 3b 62 40 b4 bb |Y!.q..Tsm..;b@..| +000001e0 38 7d a8 5a 82 cb 24 14 d3 0b fc 49 f9 bb b7 86 |8}.Z..$....I....| +000001f0 30 92 23 31 22 30 6f 02 e8 e7 73 86 59 73 e9 b2 |0.#1"0o...s.Ys..| +00000200 04 34 2c 8c 68 55 bd a2 55 39 1a c4 67 5f 05 0a |.4,.hU..U9..g_..| +00000210 47 6c 7c 27 61 23 92 95 9f 6e 41 59 aa 3b fa 49 |Gl|'a#...nAY.;.I| +00000220 5e 69 3d 31 19 fc 3f 6c d0 12 44 23 59 8f c9 eb |^i=1..?l..D#Y...| +00000230 11 a9 3a c6 5b 9e da e4 62 7b e5 77 f6 13 bb ec |..:.[...b{.w....| +00000240 d8 6f 5a ef 24 d5 af d4 6d e3 6a 60 e2 ab 35 7d |.oZ.$...m.j`..5}| +00000250 41 1b 9a 3e 15 f3 b0 80 1b da 29 d0 44 6d aa 20 |A..>......).Dm. | +00000260 59 77 7b 37 22 e6 03 d3 bf 36 70 80 d7 a5 ac |Yw{7"....6p....| >>> Flow 12 (server to client) -00000000 16 03 03 00 81 0d 9d 0f b8 59 83 11 54 5e 03 7f |.........Y..T^..| -00000010 3b 64 68 09 a7 ba ce 97 f8 07 e1 dd 72 71 27 24 |;dh.........rq'$| -00000020 60 ca f6 29 c1 bc 94 34 f8 6d 8a b5 81 66 99 92 |`..)...4.m...f..| -00000030 d0 a0 b3 96 5c 65 ad 46 f3 4f 76 f4 8e d9 e2 41 |....\e.F.Ov....A| -00000040 79 4e ab f9 03 36 a9 ce c1 26 21 69 d4 38 28 9a |yN...6...&!i.8(.| -00000050 ef b8 1b fc 11 87 23 bc 99 33 3f 64 f8 9a d6 5a |......#..3?d...Z| -00000060 d6 c8 94 3c 16 ca 44 f3 43 c2 a9 43 0b 50 6c b2 |...<..D.C..C.Pl.| -00000070 6a ff 0b d2 b5 3d 01 16 fd 44 bd 20 85 e5 22 ab |j....=...D. ..".| -00000080 42 12 9f 6a 43 1e 16 03 03 02 69 73 41 56 4a 4e |B..jC.....isAVJN| -00000090 c6 ea 79 9e 1f 95 4e 87 7e eb 94 7f cd f3 68 d9 |..y...N.~.....h.| -000000a0 3c 51 f9 5a 69 bb 2c 99 82 0d 33 21 a7 2f 57 d8 |3V.IZ.S..| -000000f0 6a e6 eb 83 54 2b 75 b3 cc f0 4c 16 fa 0f 88 14 |j...T+u...L.....| -00000100 22 d9 14 cc 6f f5 8a ad f7 30 9e 2a 81 7d 08 2f |"...o....0.*.}./| -00000110 39 b9 b9 9f 87 54 ec bf 2f 32 cb 98 02 3b 9b 52 |9....T../2...;.R| -00000120 b9 0b 57 0f a1 e6 c0 8b 96 7c 60 7f bc 30 c1 34 |..W......|`..0.4| -00000130 1b 2d ca a9 6e 15 eb 50 f0 66 09 02 1f 00 f4 37 |.-..n..P.f.....7| -00000140 2c f0 58 0e 80 13 b7 d9 83 a1 c1 44 80 b2 01 04 |,.X........D....| -00000150 f7 b1 59 5e f2 0d 2a cd 8d 2e ea 19 bd 04 ef c3 |..Y^..*.........| -00000160 08 7d 9a e7 ac 33 7a 1e 1f 3a 40 29 d8 ef 33 78 |.}...3z..:@)..3x| -00000170 0c 8a 55 c5 3b a2 ff 61 ed 7b ba 4c 81 0b 43 de |..U.;..a.{.L..C.| -00000180 c5 a9 5d 74 b3 d3 b0 66 2e 4c 34 63 9d 44 d1 ce |..]t...f.L4c.D..| -00000190 b9 31 f8 f7 c8 2b 01 94 26 c9 a4 8e 37 64 ee 86 |.1...+..&...7d..| -000001a0 cd 65 fc 9d 16 4d f5 b0 83 e2 d3 23 64 c1 28 cd |.e...M.....#d.(.| -000001b0 c9 af a3 14 6e 65 90 dc f4 8b 2d ee a8 ce 25 b3 |....ne....-...%.| -000001c0 cc ff dd d7 97 38 15 6d 96 cb e8 fd 59 df 76 19 |.....8.m....Y.v.| -000001d0 7b d4 95 cf b6 82 e6 ce 51 43 a0 78 42 c4 c7 27 |{.......QC.xB..'| -000001e0 12 1c 60 f1 1b c5 cb 57 f3 98 cc c4 77 1b 8b c1 |..`....W....w...| -000001f0 14 da 2c c2 9e 16 bb 32 0b f9 1b ff 93 c3 aa b5 |..,....2........| -00000200 e9 14 d3 bd 74 10 86 a4 4f 83 fe a6 b9 57 2a d8 |....t...O....W*.| -00000210 a9 5f a1 a5 7a f2 d3 40 49 ce 29 da 4e b5 45 8c |._..z..@I.).N.E.| -00000220 45 5d c4 86 39 59 22 39 56 59 41 65 a0 e9 e8 11 |E]..9Y"9VYAe....| -00000230 d1 84 8f ec b0 f9 8e 7a 22 d3 25 fb 73 22 e8 f3 |.......z".%.s"..| -00000240 09 0d 38 32 f4 33 56 89 9d ea 2a 41 36 56 7d 16 |..82.3V...*A6V}.| -00000250 8e 38 c3 52 63 0c fe f2 52 99 d7 27 e4 d8 af bb |.8.Rc...R..'....| -00000260 35 d6 35 fc f1 18 93 9d 74 d7 60 b9 c1 ab 43 80 |5.5.....t.`...C.| -00000270 78 88 7a 95 cc 11 d8 81 ea 61 56 f4 de f5 7a 3d |x.z......aV...z=| -00000280 d4 4d d7 a3 d7 6a 82 8d 0f 50 ed 2b 57 1b 02 d9 |.M...j...P.+W...| -00000290 76 a4 18 10 9d 3a 73 e7 b0 bd e9 5c 82 e9 3b 70 |v....:s....\..;p| -000002a0 af f4 91 1c 54 21 66 4f 9d e1 b7 43 8f a5 04 f8 |....T!fO...C....| -000002b0 39 45 77 32 64 10 50 42 3a 14 27 95 d8 99 68 c6 |9Ew2d.PB:.'...h.| -000002c0 0d 55 d9 fe 1d c3 f1 da 63 52 45 9e f3 fb 0f 55 |.U......cRE....U| -000002d0 05 3f d1 22 df c6 37 5c d0 0b 23 cf ea 4b 40 ab |.?."..7\..#..K@.| -000002e0 9f 73 d2 42 21 d5 d6 ce 71 e8 4c 89 2f 7d 6f 61 |.s.B!...q.L./}oa| -000002f0 35 e5 bf 8a 16 03 03 00 bc 45 ce 3e de 85 da 7e |5........E.>...~| -00000300 01 f5 4a 2e af b9 02 86 72 fb 1b 89 c5 60 b6 22 |..J.....r....`."| -00000310 9f 8b a9 e1 6c 0f 31 a0 95 21 21 62 e7 f5 ef 3f |....l.1..!!b...?| -00000320 b2 61 78 5e a8 f2 81 be 62 e0 ea 59 2e 91 c6 7c |.ax^....b..Y...|| -00000330 34 4b 94 fb d4 3c d9 b4 6a e7 ec bf 8c 71 ea 3b |4K...<..j....q.;| -00000340 0e 0f a0 0e 97 49 70 bd 57 92 8d 6c e8 f8 f8 cd |.....Ip.W..l....| -00000350 a3 b0 2a 2b cc a0 8d c3 c2 31 91 f7 bb 98 dd 08 |..*+.....1......| -00000360 8e 33 b0 11 aa 0f d7 45 ff 87 99 9c 52 f2 99 73 |.3.....E....R..s| -00000370 25 a5 89 1e 07 03 a7 73 4f 4f 71 d4 61 48 77 04 |%......sOOq.aHw.| -00000380 c3 69 13 f3 bb 18 cb ff f5 6c 3b a0 93 86 b1 ec |.i.......l;.....| -00000390 52 5d 1e 8d 5c 0c e3 2c 7e 04 08 58 06 3a 9b 15 |R]..\..,~..X.:..| -000003a0 3b 2b 69 ed 12 e9 9d 2e de 3d b0 b5 ea 18 b2 08 |;+i......=......| -000003b0 39 f6 1c be 87 16 03 03 00 14 06 01 a9 7a d1 01 |9............z..| -000003c0 58 0c 85 a6 3f 49 45 ac b3 c1 53 d2 a3 92 |X...?IE...S...| +00000000 16 03 03 00 81 bf 7e 7e 28 af 66 d3 ac 36 fb 03 |......~~(.f..6..| +00000010 fe e9 a2 7d 7d 46 d5 2a ed 82 23 99 06 fb 33 14 |...}}F.*..#...3.| +00000020 82 d0 21 1f ca 26 8e 60 8f 2a 85 e6 61 f9 82 df |..!..&.`.*..a...| +00000030 77 8c 57 99 60 6c a9 40 7b 28 e0 e0 94 a1 21 5f |w.W.`l.@{(....!_| +00000040 48 80 94 2f 57 5b 09 9d 2c 53 ad e2 86 4e 43 10 |H../W[..,S...NC.| +00000050 de 6f be 3c 65 4d 61 97 ce 3d c4 1d 36 2b ed 7e |.o.k!t| +00000100 b1 aa ec 30 77 68 4a 6f 88 75 db 41 a3 91 4d f4 |...0whJo.u.A..M.| +00000110 d0 1a 61 12 85 74 bb a2 dd 2c b9 ea ae c0 1e 28 |..a..t...,.....(| +00000120 cf 1c 07 df 54 80 10 8e f5 c6 1a 22 bf 4a ab 3c |....T......".J.<| +00000130 33 44 00 0b bf d3 c9 b6 ec 78 e7 2f 0b c3 82 5f |3D.......x./..._| +00000140 d4 ec e9 9e d7 90 8c c6 da 3a 5a 2c fd d2 74 1a |.........:Z,..t.| +00000150 a6 ff 84 95 88 f9 8a 44 fb 7c 8e 58 0e 2e 1f 00 |.......D.|.X....| +00000160 38 a4 a0 1e 7e 61 8b c1 39 ff 38 8c e6 aa 53 67 |8...~a..9.8...Sg| +00000170 0d c9 81 5d 68 f3 41 66 00 10 2f 04 9a 95 04 cb |...]h.Af../.....| +00000180 90 92 1a 9e 3c fe b0 62 8f 62 bb 23 e6 07 59 37 |....<..b.b.#..Y7| +00000190 42 05 82 fc 74 d8 6d 19 70 51 b6 71 3b ad 76 a3 |B...t.m.pQ.q;.v.| +000001a0 8a cd 71 3b df e8 e0 ef 1d 36 7a e5 d2 7f 30 e6 |..q;.....6z...0.| +000001b0 e7 f4 52 e5 7e 67 dd bb 34 87 b3 98 4a 1c a6 20 |..R.~g..4...J.. | +000001c0 d5 09 2e 04 9a 01 0d aa 5c eb 94 0f 20 31 bc 5b |........\... 1.[| +000001d0 1f e7 61 6a 65 65 89 95 4d b3 7f e2 a9 7d 0c fb |..ajee..M....}..| +000001e0 0d d6 94 67 42 b4 03 3d 76 0e 9e 2b f8 b7 85 f4 |...gB..=v..+....| +000001f0 a7 7b ea b7 40 2a 24 83 f2 23 b4 3a 1b d8 c3 da |.{..@*$..#.:....| +00000200 d6 c4 74 23 27 dc 73 0a 05 21 24 a9 4c 17 9b a8 |..t#'.s..!$.L...| +00000210 87 57 d9 5e 92 f4 2c 3a 27 d9 2f eb aa b3 f8 3d |.W.^..,:'./....=| +00000220 0f ec 11 33 0e 6c 17 83 7a cd 3b 69 e9 cc ed e1 |...3.l..z.;i....| +00000230 a7 41 a3 69 83 fe 21 d0 36 00 50 ae 33 6f 3c 20 |.A.i..!.6.P.3o< | +00000240 7d 29 c2 4e b6 72 05 64 b3 af d3 63 1b eb 53 e7 |}).N.r.d...c..S.| +00000250 2b 15 64 bc 66 87 55 aa 2d f5 c1 00 56 23 e3 a3 |+.d.f.U.-...V#..| +00000260 fd d2 2b a3 d9 9d 01 79 c7 91 f6 a8 93 c2 d2 6e |..+....y.......n| +00000270 db 61 b4 11 de f1 1a cd ba 7c 60 4f d5 3b 54 91 |.a.......|`O.;T.| +00000280 c2 9b 26 23 40 56 9d 08 68 22 a9 94 7b ce cb e8 |..&#@V..h"..{...| +00000290 7a b1 d3 62 23 20 c6 de 87 6e c5 71 73 9d 59 94 |z..b# ...n.qs.Y.| +000002a0 11 bd dc 17 86 10 de 74 9b cd 15 b9 0b 31 2e bb |.......t.....1..| +000002b0 2a 3d fe fe 85 ab 40 61 8b b7 9f 03 56 ed db 8b |*=....@a....V...| +000002c0 27 f9 dc ac 94 58 35 5c 12 cb 15 06 9b 93 8e fb |'....X5\........| +000002d0 b8 f8 58 5c fb 5b 13 05 3f cb 08 85 6a 92 46 4b |..X\.[..?...j.FK| +000002e0 11 95 2a 4f 16 bf 42 37 52 c3 9d 76 95 00 99 7e |..*O..B7R..v...~| +000002f0 da 4c 77 60 16 03 03 00 bc 3a 79 49 f2 fd a8 27 |.Lw`.....:yI...'| +00000300 ce ac 88 f5 f7 9a 2a 25 8a 06 23 45 29 43 22 80 |......*%..#E)C".| +00000310 3d 6e 03 ec 5d b0 03 ff 0c ba f7 5d 6e 4a 8a 5c |=n..]......]nJ.\| +00000320 83 31 3a 49 ec 20 5e e0 53 35 6d 97 65 47 a7 75 |.1:I. ^.S5m.eG.u| +00000330 4b 8f a8 03 d1 d7 39 d2 a9 0d f0 0e c7 6b a3 02 |K.....9......k..| +00000340 03 86 9c e0 6b a7 63 e8 18 a7 4b 34 c2 68 e0 de |....k.c...K4.h..| +00000350 03 df 39 b4 e3 ef dc a4 56 d3 e8 85 2f 06 36 bd |..9.....V.../.6.| +00000360 0d 37 bb d0 10 31 51 00 86 14 41 0c a4 0f be 1e |.7...1Q...A.....| +00000370 c3 01 c3 55 83 ee 1c 5d 43 11 d9 7e 21 a1 19 59 |...U...]C..~!..Y| +00000380 96 e6 8f dd 8c a3 0f 0a 4e 18 8d 83 42 7a 8b 76 |........N...Bz.v| +00000390 4a 12 20 a3 45 c8 d2 17 dc 4b 1b 04 7d 13 e4 ad |J. .E....K..}...| +000003a0 35 37 1c 4f 22 94 7d 0d 00 21 f7 ed 0e 92 50 e5 |57.O".}..!....P.| +000003b0 a4 bc 62 02 99 16 03 03 00 14 81 c6 c1 bc 85 f6 |..b.............| +000003c0 46 16 3f 22 31 62 1e 13 24 32 da f7 fe f0 |F.?"1b..$2....| >>> Flow 13 (client to server) -00000000 16 03 03 00 35 f1 36 18 1a 14 08 b0 5a 70 bd b3 |....5.6.....Zp..| -00000010 bc 5d b1 df 2f 6d 0a c3 46 ef 15 94 a4 56 47 d7 |.]../m..F....VG.| -00000020 f8 8b 3d e6 89 d2 d3 c1 b1 ed c5 90 c9 0e 64 d1 |..=...........d.| -00000030 28 42 30 0c 11 f8 da 5a a0 56 14 03 03 00 11 99 |(B0....Z.V......| -00000040 77 c0 c8 27 f9 bb 7c b2 0c 47 af 49 04 6f ba c3 |w..'..|..G.I.o..| -00000050 16 03 03 00 20 a7 c7 01 3a fa 0f a6 12 43 10 18 |.... ...:....C..| -00000060 e1 0b 0c 9a e1 06 f8 83 14 4d 56 74 29 b5 db 65 |.........MVt)..e| -00000070 fd 8a 20 2c ed |.. ,.| +00000000 16 03 03 00 35 cd c3 26 e4 1b bc aa 9c 4c 79 a5 |....5..&.....Ly.| +00000010 8f e1 bc c6 71 f7 55 a2 ed bb 7a ad d7 a4 df 00 |....q.U...z.....| +00000020 43 fd 23 d4 fa a2 2f c1 ee 57 3a fe ff 04 96 ba |C.#.../..W:.....| +00000030 1a 90 8f af 69 f9 3c cf 3b 23 14 03 03 00 11 92 |....i.<.;#......| +00000040 b5 6c 4b e0 ab f6 f8 91 ec 5f 25 17 1f 92 cc cd |.lK......_%.....| +00000050 16 03 03 00 20 b1 36 1b ca e2 19 8c a6 db 6d e3 |.... .6.......m.| +00000060 48 d8 ca ee f5 98 cf c1 90 fc c2 41 57 0d dc 06 |H..........AW...| +00000070 3f fa 68 b6 29 |?.h.)| >>> Flow 14 (server to client) -00000000 14 03 03 00 11 50 08 b0 03 54 e2 68 1a a1 43 14 |.....P...T.h..C.| -00000010 ed bd c7 c7 72 26 16 03 03 00 20 d9 b9 9e 70 60 |....r&.... ...p`| -00000020 7f c6 91 a7 22 b7 c0 3f 9c f0 17 4d 41 4f 0e 09 |...."..?...MAO..| -00000030 da 1d a6 3e c6 18 5b 19 20 75 31 17 03 03 00 19 |...>..[. u1.....| -00000040 b4 b3 bc 4b 55 e5 44 ad 1e 45 eb 78 10 31 31 b2 |...KU.D..E.x.11.| -00000050 1b b9 6a 7d 90 8c 6e c5 26 |..j}..n.&| +00000000 14 03 03 00 11 aa 45 de 1c 56 6d 16 47 1e 82 7b |......E..Vm.G..{| +00000010 ab 8c 6e ff 40 81 16 03 03 00 20 ca 90 8c 88 14 |..n.@..... .....| +00000020 38 ea db e7 e9 66 df d4 72 84 48 2f 42 85 bf c3 |8....f..r.H/B...| +00000030 af 5a 9f 24 83 73 03 6f 96 8d ef 17 03 03 00 19 |.Z.$.s.o........| +00000040 12 b9 88 c8 1d 67 b8 1c 2b 2f b5 ce 50 d5 85 3d |.....g..+/..P..=| +00000050 32 bf 8a 54 a9 bf a1 70 30 |2..T...p0| >>> Flow 15 (client to server) -00000000 15 03 03 00 12 2c 47 dd 4e 24 ea 41 2f 47 ff ca |.....,G.N$.A/G..| -00000010 b1 fa 3e 96 9d 66 14 |..>..f.| +00000000 15 03 03 00 12 74 c3 bf 7b df 58 44 e8 a0 de 8c |.....t..{.XD....| +00000010 a4 fb d4 f9 fc 53 f7 |.....S.| diff --git a/src/crypto/tls/testdata/Client-TLSv12-RenegotiateTwiceRejected b/src/crypto/tls/testdata/Client-TLSv12-RenegotiateTwiceRejected index a2b034a033a..8fd8c1b2693 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-RenegotiateTwiceRejected +++ b/src/crypto/tls/testdata/Client-TLSv12-RenegotiateTwiceRejected @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 3d 80 a2 3a 26 |....Y...U..=..:&| -00000010 16 79 b3 02 ba 51 ae dc 85 f2 3a 39 f5 58 2d 29 |.y...Q....:9.X-)| -00000020 0a 1e eb 3c f0 c6 19 f9 5a d9 45 20 5c 17 25 57 |...<....Z.E \.%W| -00000030 cd 65 ed 32 f9 00 e7 e0 8c fb b5 82 f3 bf b4 d2 |.e.2............| -00000040 66 d1 fa f7 14 89 4d d5 35 fc af fa cc a8 00 00 |f.....M.5.......| +00000000 16 03 03 00 59 02 00 00 55 03 03 2c ac d4 9b 38 |....Y...U..,...8| +00000010 65 9d a7 c0 79 ad b9 0a c5 ab a4 d5 84 da c2 71 |e...y..........q| +00000020 f9 03 1e 66 d7 f2 91 22 f1 bf 08 20 85 76 ef 4e |...f..."... .v.N| +00000030 e8 48 94 dc fd 4d dd 0a 24 82 56 e8 cc 85 ff 91 |.H...M..$.V.....| +00000040 e7 2d 1b 0c 7b ff 9c bc 9a e1 e8 d3 cc a8 00 00 |.-..{...........| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,188 +82,209 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 2a 21 9d 60 50 ba 34 |........ *!.`P.4| -000002d0 af a9 32 fd 7a 6e cb 3d 28 0f b1 72 94 30 b0 8d |..2.zn.=(..r.0..| -000002e0 ca 05 01 c7 29 8d 52 df 44 08 04 00 80 8b 14 a9 |....).R.D.......| -000002f0 66 24 63 cc e5 08 e6 a0 44 49 b6 0d 5a f4 72 d0 |f$c.....DI..Z.r.| -00000300 19 8b 95 8d 3b df a6 9d 94 b9 5c 8c 3c e6 85 1c |....;.....\.<...| -00000310 53 1d 68 7d 61 4b c0 60 ac a2 1c 7e fa 62 9f f1 |S.h}aK.`...~.b..| -00000320 d7 8e ac 5b 30 1b 5c be 95 60 69 dc c4 80 dc 5a |...[0.\..`i....Z| -00000330 c8 b5 24 95 d9 3a d1 e5 9b 0b 67 71 5d 93 c8 8a |..$..:....gq]...| -00000340 9e a4 bb 70 a1 56 0b 40 6f 2d b6 44 07 17 e2 90 |...p.V.@o-.D....| -00000350 4b f9 3f 97 81 73 a3 87 ab e3 97 05 dc 02 69 6f |K.?..s........io| -00000360 7b a6 c1 e0 30 9d 52 a9 96 5b ac 49 ae 16 03 03 |{...0.R..[.I....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 d7 55 79 02 6a 09 65 |........ .Uy.j.e| +000002d0 b9 22 18 7c 54 30 da cd 63 b4 f4 6b 6f 6b 9a 69 |.".|T0..c..kok.i| +000002e0 1a 9c 01 45 7d 32 f9 5b 4e 08 04 00 80 08 9a a5 |...E}2.[N.......| +000002f0 b4 24 d5 57 46 02 ec 6d b2 1d 0b a0 ac 06 6e e8 |.$.WF..m......n.| +00000300 f9 a9 87 1c b1 e6 2b b1 5b fd 61 44 48 3a ed 41 |......+.[.aDH:.A| +00000310 ee 9a c8 df a1 f9 60 07 79 90 c9 af 8f 3f 99 f2 |......`.y....?..| +00000320 e7 2b 9b d6 b4 38 15 8e 86 b8 b6 04 42 a6 90 0b |.+...8......B...| +00000330 d7 1f 31 d1 50 24 07 78 fb c9 35 66 26 45 d0 6e |..1.P$.x..5f&E.n| +00000340 7b 5f d5 5c 80 31 c5 33 2c ea 30 52 16 7a 42 13 |{_.\.1.3,.0R.zB.| +00000350 29 b2 28 b7 c6 65 9e 36 58 48 5b bb 11 ef df 24 |).(..e.6XH[....$| +00000360 d7 a7 8f 33 19 c2 92 ff 30 14 11 4d 2f 16 03 03 |...3....0..M/...| 00000370 00 04 0e 00 00 00 |......| >>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| -00000030 16 03 03 00 20 61 62 08 12 0b 22 10 96 a0 f6 bb |.... ab...".....| -00000040 ac dd 16 7f 46 0c f5 bd 9c f7 07 6e 4e 4f 77 5b |....F......nNOw[| -00000050 47 48 96 23 16 |GH.#.| +00000030 16 03 03 00 20 61 63 af c9 90 00 f9 f2 aa 8d d0 |.... ac.........| +00000040 6d ec 84 f9 6b 91 df 13 4e 6e 7d f9 d9 23 52 c7 |m...k...Nn}..#R.| +00000050 52 1c b6 3d df |R..=.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 29 1e 94 76 ae |.......... )..v.| -00000010 fb bb e3 cf 88 84 35 22 39 f2 a6 7a 5b f1 e3 05 |......5"9..z[...| -00000020 38 76 fe ce 7d cc 00 4c d2 8e a5 |8v..}..L...| +00000000 14 03 03 00 01 01 16 03 03 00 20 6c d6 cd 42 21 |.......... l..B!| +00000010 09 5e 7c 68 54 b1 16 85 54 47 67 92 95 50 2d 07 |.^|hT...TGg..P-.| +00000020 80 01 e4 47 43 4f e4 06 32 e3 e4 |...GCO..2..| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 ef 4d cc c8 c6 0a e9 aa 33 5a 04 |......M......3Z.| -00000010 c9 54 79 3f 55 c2 fa c3 05 5c 49 |.Ty?U....\I| +00000000 17 03 03 00 16 26 43 bd 8e 9b 3b 5e 6e 56 ce e2 |.....&C...;^nV..| +00000010 56 de 21 9e c3 61 05 f5 7d 5e 1f |V.!..a..}^.| >>> Flow 6 (server to client) -00000000 16 03 03 00 14 57 f8 72 38 67 71 bf 28 9d 37 4f |.....W.r8gq.(.7O| -00000010 7a aa 07 0b 87 83 2b 82 f3 |z.....+..| +00000000 16 03 03 00 14 6d 53 ee b5 fc d0 a5 2b 19 8d 19 |.....mS.....+...| +00000010 5c b6 55 93 8f 4b 2b aa 55 |\.U..K+.U| >>> Flow 7 (client to server) -00000000 16 03 03 01 18 7c 93 51 c0 4d b7 f1 d1 3c f0 2c |.....|.Q.M...<.,| -00000010 b6 41 2c af ba aa c6 9a 74 33 e4 05 5a bf ba 7a |.A,.....t3..Z..z| -00000020 fe 26 02 27 3b 97 1c 9e 61 01 b9 13 25 b0 19 4b |.&.';...a...%..K| -00000030 21 ca c1 08 fe 7b 51 3e 71 30 db b4 0b a2 8c c4 |!....{Q>q0......| -00000040 d1 6f 16 71 fd 42 ca f0 aa fb 25 51 48 f2 1a 2b |.o.q.B....%QH..+| -00000050 9a 18 42 26 61 89 35 f0 9a bf a7 46 3b c5 13 b4 |..B&a.5....F;...| -00000060 5b 55 95 33 1c d3 5f 90 f9 14 02 0e ad 08 5c 2a |[U.3.._.......\*| -00000070 29 b2 45 df 7f 9f b2 a1 8b 69 96 b4 21 12 33 53 |).E......i..!.3S| -00000080 1b fb b6 65 3b b7 4f ab 2a 3a 12 64 c8 28 fc 70 |...e;.O.*:.d.(.p| -00000090 78 e9 d1 e2 d9 cd ac 3a 14 3e 39 ef 2b b0 de 2b |x......:.>9.+..+| -000000a0 e1 da 07 71 27 30 84 5a e4 0c ad d7 d6 c3 0a 2c |...q'0.Z.......,| -000000b0 fb 67 d6 56 1b f6 1a b5 fd b3 1b c0 64 08 4e da |.g.V........d.N.| -000000c0 4a 1f 24 74 90 1e 79 54 03 b3 8e e1 1b f8 4c a0 |J.$t..yT......L.| -000000d0 d3 8f 9c e2 96 18 d9 23 e9 67 88 64 2c 3d 18 56 |.......#.g.d,=.V| -000000e0 7d 0b 47 0c 83 bf 56 a3 b1 ce 1b b3 0d 28 57 b4 |}.G...V......(W.| -000000f0 a0 8b 61 99 7b 3e bf 87 c2 7c 72 65 7d 6f 0b 57 |..a.{>...|re}o.W| -00000100 ca ad 6c 97 f5 30 50 ad 66 e5 e5 05 6c 2a 89 12 |..l..0P.f...l*..| -00000110 c8 ac 85 8e 50 90 82 18 8d 7e 1a 2a fd |....P....~.*.| +00000000 16 03 03 02 6a a0 3e 54 c8 58 ba bf ba 55 15 07 |....j.>T.X...U..| +00000010 0c 22 79 56 2d 53 90 8f 5c ab 9f ef 54 b1 f9 7a |."yV-S..\...T..z| +00000020 b7 b7 c9 1f 71 0b 8f 30 e3 b3 5e db 5f 40 a0 a4 |....q..0..^._@..| +00000030 94 41 29 58 b6 0e 24 da 14 96 96 f9 8d aa 00 31 |.A)X..$........1| +00000040 b2 6d 35 66 1a bf 2a 85 67 30 7e 91 7e 4e 57 1e |.m5f..*.g0~.~NW.| +00000050 3b f9 0a d6 6b 09 8c 3b 78 3a 75 44 f5 1d e1 79 |;...k..;x:uD...y| +00000060 87 84 87 53 ab f3 a6 12 6c df ab cd b6 9c 82 79 |...S....l......y| +00000070 9f 45 dd 53 d4 3b 3b b2 c8 cc 63 4d eb 9e 7a 58 |.E.S.;;...cM..zX| +00000080 8d bb bb 53 fa 0a bc 6a 16 1e 9b 62 d1 8e d5 58 |...S...j...b...X| +00000090 55 d7 ea e4 81 a3 59 70 21 db 33 37 a4 91 61 1d |U.....Yp!.37..a.| +000000a0 81 23 e6 4b 49 16 0a c2 70 23 fb 6f 19 a2 70 22 |.#.KI...p#.o..p"| +000000b0 84 d5 4f aa de e7 b3 fd 14 6e eb 75 6a 54 ef 06 |..O......n.ujT..| +000000c0 57 26 1f b3 4f 8b 8d fa 80 1d 60 da 46 53 99 81 |W&..O.....`.FS..| +000000d0 fe 73 a9 a8 26 66 9d 62 33 63 67 6a 70 03 a4 b9 |.s..&f.b3cgjp...| +000000e0 12 dd d6 4d 14 09 de 12 ea c0 5f 9c 08 b2 cf 8e |...M......_.....| +000000f0 00 41 fb 5d 1c bb a7 29 7c b9 28 97 99 48 c4 b1 |.A.]...)|.(..H..| +00000100 92 27 a8 3c 05 db c6 66 f3 44 59 7c 68 d1 e8 9e |.'.<...f.DY|h...| +00000110 00 73 ac 5e b4 c9 d7 74 54 ab 23 8b f6 74 57 1a |.s.^...tT.#..tW.| +00000120 65 dc 5f 53 6d cd bc 34 13 a5 5a 41 d1 e4 85 0f |e._Sm..4..ZA....| +00000130 b7 69 73 d2 48 a9 64 44 91 bf ed aa 2f 2d ca a2 |.is.H.dD..../-..| +00000140 54 76 d3 a6 34 10 69 a8 f2 14 eb 7d 60 c5 42 f5 |Tv..4.i....}`.B.| +00000150 26 21 39 3c 16 8e 16 48 de e9 f8 34 5f 30 dc 2c |&!9<...H...4_0.,| +00000160 6e fe 6c a1 8a c0 f5 7f bb 46 15 fa c6 a2 fa 67 |n.l......F.....g| +00000170 3f 14 f5 bc f8 32 5b 05 c1 46 97 91 94 d9 2d 2a |?....2[..F....-*| +00000180 12 d4 4e 81 5d ee 55 30 eb e0 8b 35 eb 04 31 05 |..N.].U0...5..1.| +00000190 1d fd e1 59 57 6b ca 69 18 db d5 ef 23 f4 e3 f8 |...YWk.i....#...| +000001a0 ac 12 46 c2 aa e2 75 c5 77 9d da 8e 0c bf 9e 70 |..F...u.w......p| +000001b0 f3 e6 57 1c 62 0c 6d df ec d1 b0 70 78 c4 76 92 |..W.b.m....px.v.| +000001c0 ff 46 bb ad 63 24 d5 81 2a 67 74 a3 69 99 76 cb |.F..c$..*gt.i.v.| +000001d0 a6 73 19 c4 66 9b 89 c6 2a 0d 15 4a 78 6f 76 b0 |.s..f...*..Jxov.| +000001e0 d4 93 8d d0 25 c3 02 8d e4 e4 55 c4 d9 3e 10 36 |....%.....U..>.6| +000001f0 ec bd 29 b6 81 61 07 ad cc 59 51 4c c2 c8 eb 0e |..)..a...YQL....| +00000200 be 83 f8 8a a5 4d 43 db 34 4f 7b dc d7 30 e1 72 |.....MC.4O{..0.r| +00000210 e5 b2 69 d0 48 94 85 75 6f 8e de 55 86 8b e2 90 |..i.H..uo..U....| +00000220 35 91 41 61 cb e2 f1 67 7e c9 30 75 fb 36 0b 8e |5.Aa...g~.0u.6..| +00000230 5b 8d 7f a2 6c 1d 83 1b 9c 35 88 88 7b 3e 1a 53 |[...l....5..{>.S| +00000240 d5 ae 01 e1 28 8a 54 5c 6f a3 b1 f0 47 34 7d 4b |....(.T\o...G4}K| +00000250 81 aa 5d 99 66 f8 2b e6 b4 91 20 03 61 f5 8f 65 |..].f.+... .a..e| +00000260 60 3c 0f a8 50 bc ce 2c 5f 32 bf d4 77 08 e5 |`<..P..,_2..w..| >>> Flow 8 (server to client) -00000000 16 03 03 00 81 50 29 3e 85 6f 8b 2e 86 a4 96 44 |.....P)>.o.....D| -00000010 18 12 81 f8 f8 78 97 e9 ea b7 0d 7c fa 65 dc 8a |.....x.....|.e..| -00000020 d7 51 f7 e2 79 ea c2 98 64 93 74 72 16 05 4c e8 |.Q..y...d.tr..L.| -00000030 a7 b9 9e 7e 02 40 11 94 87 2b df 74 de bd 66 3b |...~.@...+.t..f;| -00000040 b3 c4 c6 a9 44 7e 16 ac d6 80 7a 33 4f d3 3e 4f |....D~....z3O.>O| -00000050 2f 3f b4 c6 a7 2f d5 8d b1 a2 4e 59 88 b2 a3 f8 |/?.../....NY....| -00000060 f0 37 46 2c 7d ea 4f 2c 9b c4 49 76 e4 e9 7e fb |.7F,}.O,..Iv..~.| -00000070 7b e6 6a 80 72 f2 a8 01 7f 89 83 60 45 ed 82 f5 |{.j.r......`E...| -00000080 8f e4 3f 66 22 d8 16 03 03 02 69 75 0a 39 01 14 |..?f".....iu.9..| -00000090 3e ed 2d 71 5c 3c 90 4c b7 f2 2e 06 11 2b 6f 93 |>.-q\<.L.....+o.| -000000a0 5e 56 cf d2 14 16 f0 69 04 b0 b8 66 f4 d6 c2 bb |^V.....i...f....| -000000b0 ee 9a c3 6f 0a 4b 1b 49 27 b6 ac 0d 12 b3 f3 78 |...o.K.I'......x| -000000c0 2b 35 d2 53 4d d7 00 8c 5d a1 f1 5f 75 c5 db 7e |+5.SM...].._u..~| -000000d0 ab d7 c2 a3 07 c6 8a 40 4c ca 34 84 8e b8 08 60 |.......@L.4....`| -000000e0 85 f4 88 a9 b7 e8 d7 39 de 6b 38 53 8b 29 27 6d |.......9.k8S.)'m| -000000f0 04 98 ac e2 2c a6 b0 46 cf f9 3b d2 00 48 11 68 |....,..F..;..H.h| -00000100 63 32 d1 b4 bd 6d a5 62 3c 53 6b e7 7c 08 9c 34 |c2...m.b.0.| -000001a0 07 cd 0b ae 4a 73 fc c3 0b 4d 43 08 f4 f0 67 4a |....Js...MC...gJ| -000001b0 50 4e 3f 40 ce ad 72 f3 c6 f6 27 03 51 0a 43 89 |PN?@..r...'.Q.C.| -000001c0 bb 2b 27 13 01 aa f9 c1 2f 09 0b c8 0c 9c 79 51 |.+'...../.....yQ| -000001d0 45 0a ba d2 78 99 35 98 a8 09 aa 13 bd f5 c8 88 |E...x.5.........| -000001e0 3b dc 2f 3e db 73 59 de bf 1d 44 ed c4 76 fc 9f |;./>.sY...D..v..| -000001f0 57 81 2d 27 34 7a 42 f9 3e 22 95 61 b3 a9 68 28 |W.-'4zB.>".a..h(| -00000200 5f 41 5d 2a 94 e2 89 71 08 a8 84 ad 68 25 6a b5 |_A]*...q....h%j.| -00000210 1a 39 7a 83 ce d2 c6 23 9e 8d b0 8a 04 07 9d c7 |.9z....#........| -00000220 a2 75 b4 82 10 83 c3 4f fc 8a 54 9f 5a 4b 0f 0b |.u.....O..T.ZK..| -00000230 96 59 bb 6b 61 21 78 87 78 ae cd 54 b5 fa c5 7b |.Y.ka!x.x..T...{| -00000240 a9 a1 ae 71 b1 65 0e 22 f4 f4 90 e2 5d f8 e8 e6 |...q.e."....]...| -00000250 a4 9e 6a ce eb 92 d6 ec d5 03 4a a6 5e 6e 0c ef |..j.......J.^n..| -00000260 58 d6 f1 2e 63 a9 0d 79 eb 1d 49 6f 0e fa b9 8b |X...c..y..Io....| -00000270 dc 03 96 0d 0c d0 8b cc 0f bc b4 df 6c 98 62 b9 |............l.b.| -00000280 19 78 43 39 89 9e ad c2 53 a2 3c eb 94 d6 0a 77 |.xC9....S.<....w| -00000290 b6 56 b5 3c f5 31 6f e8 a7 ba f6 61 f5 a6 ac b0 |.V.<.1o....a....| -000002a0 30 c1 a0 b4 d4 9e ea 27 b6 34 17 81 67 dd 0e 26 |0......'.4..g..&| -000002b0 9a 00 38 a2 ca c8 c8 f6 53 3d d0 1c 93 41 21 64 |..8.....S=...A!d| -000002c0 16 d6 9c 26 06 3d ac b1 92 2d ae fa 27 e5 76 5a |...&.=...-..'.vZ| -000002d0 8c e0 9d 3e d2 58 36 20 11 7b 4a 7c 75 0d 04 6f |...>.X6 .{J|u..o| -000002e0 24 65 ec f7 2c 1b d7 c0 e6 b8 d9 bf 07 58 54 59 |$e..,........XTY| -000002f0 38 13 41 e2 16 03 03 00 bc 5e a2 38 ac d1 67 aa |8.A......^.8..g.| -00000300 cf 52 2b c9 00 2b cc b8 ee 76 42 a9 4a b8 fc 8e |.R+..+...vB.J...| -00000310 29 01 73 84 66 c9 7b d8 23 80 b1 c5 0b ed dd bb |).s.f.{.#.......| -00000320 d0 1b 12 a0 3c ce 7b 7c 2c c7 96 3c de 2a e6 f1 |....<.{|,..<.*..| -00000330 94 2d f2 3b 18 e1 e6 98 ef 54 59 06 ae 89 fe 3c |.-.;.....TY....<| -00000340 28 99 2d 8b c6 25 95 3a dc fa 09 0c 3d a1 32 10 |(.-..%.:....=.2.| -00000350 80 5d b7 bd ef 91 86 5c c1 ff 7f 4b 1b d5 74 15 |.].....\...K..t.| -00000360 c7 b2 b5 37 16 2a f9 7a 40 c8 03 95 f7 6f 31 4e |...7.*.z@....o1N| -00000370 47 ed 29 d4 ff 6a cf 67 1d d1 b5 fc 48 eb e4 1d |G.)..j.g....H...| -00000380 29 39 2b 8f da b5 35 31 d7 ae b4 bc 70 e7 e2 14 |)9+...51....p...| -00000390 77 32 94 bf 3b d7 8b 57 3a c7 47 d2 a9 3d 6f c1 |w2..;..W:.G..=o.| -000003a0 0a 40 d2 25 c7 fa ef d5 e3 7b ba c9 69 29 89 bc |.@.%.....{..i)..| -000003b0 cf 33 3f 2e 35 16 03 03 00 4a 9b 5e 1c af ee 34 |.3?.5....J.^...4| -000003c0 76 9e ac 82 91 27 77 28 41 22 51 d3 5c 5a 63 0b |v....'w(A"Q.\Zc.| -000003d0 86 ed fd 33 97 fe 9d 3d d2 51 5a c5 12 5a 4d 09 |...3...=.QZ..ZM.| -000003e0 25 a5 71 ae df cf cb e9 4d 12 14 c6 54 05 ba a8 |%.q.....M...T...| -000003f0 f9 ee 66 d9 5d 5d 61 99 66 e5 0a fd 4a 58 2e 08 |..f.]]a.f...JX..| -00000400 53 bb 53 83 16 03 03 00 14 9e 27 ab 3c 2b 1c eb |S.S.......'.<+..| -00000410 84 5e 3d 9e f3 ca a5 1d 16 60 f7 ac 35 |.^=......`..5| +00000000 16 03 03 00 81 56 b0 85 8f 69 fb 51 f6 18 5c 98 |.....V...i.Q..\.| +00000010 72 fe 55 ab 4b b0 ac e6 40 ba 35 e2 bc 3a d2 d7 |r.U.K...@.5..:..| +00000020 61 b8 02 5b 84 4b d8 87 a8 99 6a da c5 4c ee ad |a..[.K....j..L..| +00000030 7c bb 6b 86 40 19 a3 45 60 6e 0d 6a 4f 91 9a 8a ||.k.@..E`n.jO...| +00000040 dd 50 aa 0c 98 1d 3d fe f3 92 f1 ee 55 3b c4 36 |.P....=.....U;.6| +00000050 28 cf be 1c 19 46 83 d9 99 c8 1d 2f 30 7a 03 ad |(....F...../0z..| +00000060 e0 33 1c 37 28 3b 64 b4 90 d8 0d 80 09 e1 9c cd |.3.7(;d.........| +00000070 79 69 f8 ff 06 1d 0b 71 20 54 45 4b fb 56 0e 2b |yi.....q TEK.V.+| +00000080 a3 17 02 bf 7d 14 16 03 03 02 69 13 ea 78 f4 ef |....}.....i..x..| +00000090 08 02 08 ba f7 ec 7c 3d 8e 88 31 ec 1c d3 d6 ce |......|=..1.....| +000000a0 ad a8 02 5e 25 9a c0 8c fb 81 f2 d6 0f b1 b6 f6 |...^%...........| +000000b0 e4 29 7c 59 30 19 46 8f 30 36 df 7a 5c f8 9a 1d |.)|Y0.F.06.z\...| +000000c0 8d 62 77 9c 87 97 86 50 03 77 11 fc d1 36 f3 e6 |.bw....P.w...6..| +000000d0 b4 1a 3a df 2f 2b 68 7c 06 d1 eb 14 0e 71 40 37 |..:./+h|.....q@7| +000000e0 51 e4 ed cc 1a 09 16 e8 67 69 ca 53 da 95 98 60 |Q.......gi.S...`| +000000f0 39 af e9 84 ca 8a e5 3a 77 37 3c 59 c5 2c 37 ee |9......:w7mv\...........| +00000120 db 80 54 23 e1 6d b4 64 96 fc 64 4d 32 97 7c 82 |..T#.m.d..dM2.|.| +00000130 2e 94 80 f7 2c bd d0 35 78 d1 54 d9 5f e7 00 be |....,..5x.T._...| +00000140 bf 08 a8 d5 d8 fd 9b 16 39 ba 77 37 7d 47 68 a7 |........9.w7}Gh.| +00000150 e9 04 f7 a2 61 8d 98 4e 7b 69 f1 c6 72 be bc fd |....a..N{i..r...| +00000160 2f 31 78 d8 02 9f d0 df 89 75 74 b1 a9 81 a7 a0 |/1x......ut.....| +00000170 33 b6 f5 48 31 93 45 ed bb db 50 13 8c a5 d1 de |3..H1.E...P.....| +00000180 b6 9d 22 61 8f 2a 09 58 f2 0e 0a 29 53 be a8 0a |.."a.*.X...)S...| +00000190 cc e1 dc 79 99 be 55 6b 16 91 ee de f9 9f 61 46 |...y..Uk......aF| +000001a0 b9 5d 8c f4 1d 30 75 01 92 00 e3 94 9b 7f 8a 24 |.]...0u........$| +000001b0 4b c6 4d d5 e1 11 c8 59 26 a1 a2 09 9c 48 69 2d |K.M....Y&....Hi-| +000001c0 23 8d a8 cf 11 bf d4 22 78 54 4c 23 a5 2e 15 7f |#......"xTL#....| +000001d0 58 a0 90 df cb 80 41 5d cb 3f 55 cf b6 45 22 21 |X.....A].?U..E"!| +000001e0 87 a0 79 b9 58 4a 60 13 41 1c 1d 75 67 43 34 ab |..y.XJ`.A..ugC4.| +000001f0 4d 67 df 27 6e cb 2b a7 c2 dd f4 f7 80 b8 6e d4 |Mg.'n.+.......n.| +00000200 15 30 97 17 ea 6a 35 ff 4d 80 b8 07 46 68 a9 da |.0...j5.M...Fh..| +00000210 67 17 24 db 9e 47 c9 45 a3 4c 60 7d 57 6e 24 8c |g.$..G.E.L`}Wn$.| +00000220 34 6e d2 4d f5 a9 2d 59 2e 8b 25 4e 57 7d 8d 78 |4n.M..-Y..%NW}.x| +00000230 b3 5a 3e 7d 23 dd 32 89 5d 8e 68 bd e7 b4 8e 4f |.Z>}#.2.].h....O| +00000240 1d 01 e8 93 63 eb 9a 17 7f 34 6a e4 ad d0 1e 9b |....c....4j.....| +00000250 db 37 56 da a4 fe ad 48 de 15 96 f0 c5 27 2f 84 |.7V....H.....'/.| +00000260 3c 7a 97 74 c2 3b eb 0f 95 bd d0 c6 33 83 7c 95 |>> Flow 9 (client to server) -00000000 16 03 03 02 69 2a 30 ba a2 cf 5d 9c 81 0d 03 b6 |....i*0...].....| -00000010 d6 a6 ac 43 86 fd bb 78 de d0 80 b8 a6 20 82 7d |...C...x..... .}| -00000020 61 b4 78 aa 87 85 a1 55 d5 d3 82 2d e4 8b 42 53 |a.x....U...-..BS| -00000030 74 53 59 26 43 6f 45 30 52 2f ce 6c 17 0f 9c 68 |tSY&CoE0R/.l...h| -00000040 c8 b0 12 c2 c4 74 71 d0 fd e3 05 74 d3 87 b8 5a |.....tq....t...Z| -00000050 f9 a6 3d 2b 7e 64 57 10 c6 e0 61 6c 94 a8 f2 52 |..=+~dW...al...R| -00000060 b2 af 16 66 14 9f 45 15 46 3c d4 49 57 67 99 c8 |...f..E.F<.IWg..| -00000070 58 94 4c cd 1f 2c 2c 88 c8 06 7d 17 bc dc 53 85 |X.L..,,...}...S.| -00000080 a6 06 2c f2 e7 2a 5b 58 06 df 0e f4 5c fe b8 a0 |..,..*[X....\...| -00000090 0e 6b b9 74 cd f7 ef 03 84 e4 63 79 2b 44 25 9f |.k.t......cy+D%.| -000000a0 45 88 a1 82 64 d7 42 d4 d8 4d 03 7b d3 8d 66 dc |E...d.B..M.{..f.| -000000b0 d5 74 54 42 3c 9a bd b3 e7 37 b5 91 7d 79 37 99 |.tTB<....7..}y7.| -000000c0 6b 3c ff eb 6a 37 2d 33 fe 4b 8e 75 c7 6e 00 d7 |k<..j7-3.K.u.n..| -000000d0 9b aa 25 45 70 b7 bd 5a 6f 83 a0 4b 2b 86 e2 8b |..%Ep..Zo..K+...| -000000e0 d2 22 8e d2 3c 4d 58 61 78 af 96 2a cc b5 59 2b |."...| -00000170 75 25 fc 92 8f 92 59 93 1c 4c b0 06 2c 6a c2 ec |u%....Y..L..,j..| -00000180 35 e7 42 cb 9d 7a 6b e5 a3 2b 52 07 47 d9 f5 e1 |5.B..zk..+R.G...| -00000190 d7 6f 8d 24 4e 38 a5 8d 58 94 0c 6b df 80 e0 f2 |.o.$N8..X..k....| -000001a0 86 3e 99 59 93 a0 21 e3 b0 19 61 69 ec 26 ca 00 |.>.Y..!...ai.&..| -000001b0 b9 e7 75 c0 8e 13 6f 4d 5d 52 14 14 2b a9 28 f2 |..u...oM]R..+.(.| -000001c0 28 ac 1b 04 dc 5b ac b3 91 04 3e f7 59 ad b7 fa |(....[....>.Y...| -000001d0 74 20 11 be c2 e1 6e 94 c4 45 41 2d 89 6c 32 d6 |t ....n..EA-.l2.| -000001e0 6c 85 9c 2d 7b 26 f7 5d 26 aa bc a1 ac 54 15 6c |l..-{&.]&....T.l| -000001f0 9d 7e c6 59 ca 9e 33 cd 41 a2 c4 ca 7b 19 ca ae |.~.Y..3.A...{...| -00000200 ac 8a b6 85 cd 4b 1c b4 08 e0 33 bc 58 46 ec 8f |.....K....3.XF..| -00000210 be c5 28 2e 47 b1 b4 5f 9c b9 af 75 50 68 62 33 |..(.G.._...uPhb3| -00000220 70 a1 3a 55 8b 2f 40 2b fa ae 81 70 f5 f1 2c ec |p.:U./@+...p..,.| -00000230 48 4d de e3 1a 83 b7 ff 60 d6 f5 ba c9 68 30 0f |HM......`....h0.| -00000240 1b f5 a1 76 54 9e 23 68 d9 0e da 49 0f 8d c9 9b |...vT.#h...I....| -00000250 4e 6b 1e a8 61 2b 44 4d 6d a2 9d f9 a5 fe db 4f |Nk..a+DMm......O| -00000260 60 71 2f 7d d1 81 03 c7 fa 19 57 c7 46 08 16 03 |`q/}......W.F...| -00000270 03 00 35 09 4a e9 45 91 cd 0b db 2f 40 aa a3 00 |..5.J.E..../@...| -00000280 66 e9 b0 b0 2c 95 39 d6 a0 a7 19 b7 55 9f 76 30 |f...,.9.....U.v0| -00000290 86 d2 dc 2f 1e ef b4 1e 24 92 2e 32 f6 3d 5b cb |.../....$..2.=[.| -000002a0 e1 c3 f8 63 2e a8 65 6e 16 03 03 00 98 57 df 89 |...c..en.....W..| -000002b0 af a9 c2 3b 59 5b 9d 9a b8 d0 5c 14 be 6e 5b 97 |...;Y[....\..n[.| -000002c0 17 d4 1e 4b 3f 5e 1b 7e 5f 02 94 f3 97 2f c8 55 |...K?^.~_..../.U| -000002d0 fd 56 72 4c d6 86 a8 61 3b 63 e1 8f c2 de b0 17 |.VrL...a;c......| -000002e0 af e5 f3 8d 96 ed 58 75 97 10 5a b2 62 cd 2b 42 |......Xu..Z.b.+B| -000002f0 19 94 d4 56 40 91 1a dd b1 0b 4d 07 c2 22 96 f0 |...V@.....M.."..| -00000300 f5 9c 4c 5b c8 de 32 fe 64 3f 96 33 e6 4e 45 49 |..L[..2.d?.3.NEI| -00000310 a7 eb f1 cf c7 31 aa 0f a3 77 3b 97 46 a1 b2 8a |.....1...w;.F...| -00000320 27 a3 73 b2 8e 57 96 e2 08 84 81 b5 3e 25 da bf |'.s..W......>%..| -00000330 d0 66 ee 22 3c 7a 91 4f 65 16 af 93 2a 65 94 b9 |.f."5j.{..!..| +00000020 55 52 52 4f 95 41 c6 93 39 72 6f 54 74 43 fe a4 |URRO.A..9roTtC..| +00000030 3a 1e 12 9d 20 c8 46 fa 93 57 53 0b 06 1e b6 6f |:... .F..WS....o| +00000040 9f fd 5e aa 31 f3 93 c3 57 67 ff 9b 9f 69 fa df |..^.1...Wg...i..| +00000050 d7 ac f4 dd 02 dd a7 9f 3d d2 3d ac ea 4f cf dc |........=.=..O..| +00000060 8b e5 76 1c 52 d3 fb da eb 06 99 08 54 e9 61 29 |..v.R.......T.a)| +00000070 a8 cb d0 23 c0 5c 06 bc 59 be 9d 60 76 83 f0 1f |...#.\..Y..`v...| +00000080 b2 ea 57 8d ae 28 55 34 3e 18 1b 57 8b f5 42 47 |..W..(U4>..W..BG| +00000090 04 76 21 70 dd 75 8d bd fb 78 96 03 48 2c 47 88 |.v!p.u...x..H,G.| +000000a0 61 83 bd 6d a8 c8 3c 35 df 45 db e8 82 3f 80 c1 |a..m..<5.E...?..| +000000b0 a2 7b 9c 89 4d 28 05 a9 2e 67 76 e9 e5 7b 36 55 |.{..M(...gv..{6U| +000000c0 0f bb 0c 93 41 ef e0 c9 68 67 e0 c2 38 99 f9 c6 |....A...hg..8...| +000000d0 b6 cf 12 ee 04 ed 2d e4 88 4f 40 b5 92 8e e3 18 |......-..O@.....| +000000e0 c8 38 09 1b 05 3c a8 ee 5a bf a0 32 33 fd a4 41 |.8...<..Z..23..A| +000000f0 01 e7 78 a1 95 59 9c 12 be 99 65 65 3e 5d 78 b6 |..x..Y....ee>]x.| +00000100 49 c1 3e ca 92 9a 50 ff 4c 39 86 8e c8 6f bb 7f |I.>...P.L9...o..| +00000110 1a c5 dd 3d ff 76 21 6b 80 43 76 13 bc 06 9b 2f |...=.v!k.Cv..../| +00000120 05 32 bd fe f9 fd f2 54 db da d5 21 83 31 8f 1c |.2.....T...!.1..| +00000130 ac 17 81 21 60 31 cc b9 e4 20 6f 46 9c bb 85 00 |...!`1... oF....| +00000140 a8 a9 91 32 9e 4d 96 39 2d 26 f0 f1 df 36 ea 16 |...2.M.9-&...6..| +00000150 65 ac a4 f3 55 c7 68 12 27 8b 68 b2 e1 1f ae da |e...U.h.'.h.....| +00000160 af 76 76 80 f1 a7 a5 da 6b 21 9a a4 f6 97 13 ae |.vv.....k!......| +00000170 33 85 07 4a e2 ce 9c 13 a3 d0 81 ff 20 ce 63 4b |3..J........ .cK| +00000180 42 ee 7f 1b 39 a6 8a ff 2f 70 1c 2b 01 5f 40 1f |B...9.../p.+._@.| +00000190 4c 64 f0 97 2e 21 82 40 a0 70 ab 13 dd 48 e9 a6 |Ld...!.@.p...H..| +000001a0 b4 ec e2 12 0b b4 91 73 3a 55 7b 7a b3 b0 51 0c |.......s:U{z..Q.| +000001b0 14 2c e2 a4 bc c3 cd cf ff a4 e4 e1 93 b4 63 aa |.,............c.| +000001c0 ee d2 42 1b 29 ff 1b 8a 89 a3 a9 10 b8 1b cd 16 |..B.)...........| +000001d0 61 3f 3a b1 ad 4b e9 2b 1e 38 56 a9 b7 7f 53 da |a?:..K.+.8V...S.| +000001e0 ae c7 12 b5 a7 85 d3 59 57 d9 ca be 82 9d 8d 42 |.......YW......B| +000001f0 d4 6b 5e 02 9f 2e cb c6 4f 5a 14 2f 94 30 f1 85 |.k^.....OZ./.0..| +00000200 06 86 42 38 7c 16 76 48 4c 1c e3 a7 ac ea e7 da |..B8|.vHL.......| +00000210 48 fc b5 e1 47 85 c7 e3 c1 29 27 9a c7 0d 05 af |H...G....)'.....| +00000220 ce 4b 40 0d 12 ba 37 6c 97 df c4 ca ef b0 c2 79 |.K@...7l.......y| +00000230 f0 71 95 40 d4 a9 2d fa b7 21 ab 2c 71 40 5d fb |.q.@..-..!.,q@].| +00000240 39 81 ac 15 a8 8d 43 a8 66 94 6f d4 01 22 05 11 |9.....C.f.o.."..| +00000250 65 2f f4 07 06 23 03 32 99 0f cd ee fa c6 5d bc |e/...#.2......].| +00000260 98 68 3d 21 7c 99 c6 ff 6d a7 21 2b f6 b2 16 03 |.h=!|...m.!+....| +00000270 03 00 35 ec 6d 48 c4 12 e6 a3 79 9e 63 0e 18 f9 |..5.mH....y.c...| +00000280 9c 9b 81 c4 68 76 fa 29 bd 48 43 16 07 f2 b4 4f |....hv.).HC....O| +00000290 a2 d1 4b 5b c2 41 d0 c2 77 7f 3d 12 c3 98 3e 9b |..K[.A..w.=...>.| +000002a0 45 13 1a 33 2d 94 b2 3a 16 03 03 00 98 55 14 5c |E..3-..:.....U.\| +000002b0 e3 b6 25 b8 fc 52 bd 96 ff f7 d4 31 46 7c 51 6b |..%..R.....1F|Qk| +000002c0 af ad fc 1d 24 fb e1 ef a8 57 f2 80 af 8d 62 be |....$....W....b.| +000002d0 20 1c e6 9d 18 b8 25 ff db 80 14 b8 56 d7 eb 82 | .....%.....V...| +000002e0 c5 b0 37 31 5d ba 81 6f 2d 33 fb f3 7e 35 c7 0f |..71]..o-3..~5..| +000002f0 5f 9a 9c b5 aa 2f 20 19 10 64 62 c9 78 74 0d 91 |_..../ ..db.xt..| +00000300 29 36 d9 74 4a b6 83 7b 0b 05 ff 62 84 ad d3 47 |)6.tJ..{...b...G| +00000310 9a 92 4c ea fa 95 5f c4 d4 9c 70 3f 3a f0 86 1a |..L..._...p?:...| +00000320 e5 7b be ee 14 65 a0 ef b8 d4 32 6a 79 04 75 ce |.{...e....2jy.u.| +00000330 8e 7a 85 02 eb 62 79 c9 08 ab 32 9d 2a a7 8f c8 |.z...by...2.*...| +00000340 c1 24 27 3e 12 14 03 03 00 11 25 7a d1 a5 6f 03 |.$'>......%z..o.| +00000350 7d 80 b2 08 5c 43 17 86 bc 86 d1 16 03 03 00 20 |}...\C......... | +00000360 ed 8a fd 39 2d 6f 33 bf b2 db 5d e7 2c 95 e1 d4 |...9-o3...].,...| +00000370 de 2f ac 80 0c 0d 9f 72 7a d9 cb 51 4d e1 78 77 |./.....rz..QM.xw| >>> Flow 10 (server to client) -00000000 14 03 03 00 11 e0 8d e6 d1 c9 9b 52 c8 a2 bf ae |...........R....| -00000010 b2 e4 67 42 b1 d0 16 03 03 00 20 b4 3f 1f be 91 |..gB...... .?...| -00000020 0b 64 0d 8c 03 f7 3f d1 b6 2c 0f 30 20 dc 7e 04 |.d....?..,.0 .~.| -00000030 e5 5f 9b df 72 39 6f 49 2f a9 3e 17 03 03 00 19 |._..r9oI/.>.....| -00000040 44 c5 de 96 1e cb 94 f0 1e 40 4f b3 16 63 54 bc |D........@O..cT.| -00000050 f5 a4 a5 7c f8 11 43 e7 4c 16 03 03 00 14 e5 a8 |...|..C.L.......| -00000060 b8 7e 88 8a d5 fc e8 40 3b 31 73 2a 7e 24 f2 69 |.~.....@;1s*~$.i| -00000070 74 b0 |t.| +00000000 14 03 03 00 11 00 95 5d f2 e5 48 d3 53 68 57 fa |.......]..H.ShW.| +00000010 16 35 67 85 e0 7e 16 03 03 00 20 14 24 8a c4 9e |.5g..~.... .$...| +00000020 61 b6 70 06 f7 95 77 0f 4e f0 ff 22 a3 23 52 f0 |a.p...w.N..".#R.| +00000030 4c 39 76 4f f5 cc 5a 0f b3 02 3a 17 03 03 00 19 |L9vO..Z...:.....| +00000040 2f 57 b5 d9 09 69 2c 26 1d 7e 41 73 fe ea 37 29 |/W...i,&.~As..7)| +00000050 e1 bd fb 1e 3a 7c c4 1c ad 16 03 03 00 14 ba 58 |....:|.........X| +00000060 9f 60 e4 1e 78 3f 16 44 4f 86 c4 c9 ae ab 60 11 |.`..x?.DO.....`.| +00000070 41 37 |A7| >>> Flow 11 (client to server) -00000000 15 03 03 00 12 c6 a2 48 f7 b1 c1 a1 17 a4 b5 27 |.......H.......'| -00000010 bd 0b 5f 11 5a 7c a2 15 03 03 00 12 b2 7e 62 d9 |.._.Z|.......~b.| -00000020 36 67 a0 b6 3e 2a ed fc 6f 77 94 bb 83 8f |6g..>*..ow....| +00000000 15 03 03 00 12 42 83 b0 f4 2a a8 1c 31 a3 a6 54 |.....B...*..1..T| +00000010 20 66 74 92 af 96 ab 15 03 03 00 12 2b fb c3 7d | ft.........+..}| +00000020 e0 c8 55 3f b3 52 3f 10 61 be 45 f0 fb a2 |..U?.R?.a.E...| diff --git a/src/crypto/tls/testdata/Client-TLSv12-RenegotiationRejected b/src/crypto/tls/testdata/Client-TLSv12-RenegotiationRejected index 476041055b6..f184d80a7c5 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-RenegotiationRejected +++ b/src/crypto/tls/testdata/Client-TLSv12-RenegotiationRejected @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 d8 c7 6f fa 82 |....Y...U....o..| -00000010 37 eb a6 14 de 94 07 70 6a b5 78 45 dc 9f 56 92 |7......pj.xE..V.| -00000020 db 72 82 3c 9d 35 e4 9d 10 d3 4f 20 3d 7b ce 84 |.r.<.5....O ={..| -00000030 23 6f 24 3e ab 87 14 4c 66 eb db bb ff e4 9f 0a |#o$>...Lf.......| -00000040 64 de ad 60 c7 59 48 67 5c 7e ed f7 cc a8 00 00 |d..`.YHg\~......| +00000000 16 03 03 00 59 02 00 00 55 03 03 7f 3f 5e 6f b8 |....Y...U...?^o.| +00000010 92 90 37 24 26 87 91 d5 2b 39 40 3f e7 38 af a9 |..7$&...+9@?.8..| +00000020 19 de 25 26 dd 7b a8 6e 6e c1 6e 20 24 44 d9 d0 |..%&.{.nn.n $D..| +00000030 fe 6f 99 c1 be 97 28 bb cf 0d ee 74 09 a4 11 f1 |.o....(....t....| +00000040 08 d3 bb d0 f6 e5 7d bb 1d 5e 33 dd cc a8 00 00 |......}..^3.....| 00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................| 00000060 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -61,36 +82,36 @@ 00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.| 000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..| 000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 |.=.`.\!.;.......| -000002c0 ac 0c 00 00 a8 03 00 1d 20 73 19 98 03 4d 63 fd |........ s...Mc.| -000002d0 40 98 0b a8 a7 f0 5a 85 32 19 b5 80 e2 1f cc cd |@.....Z.2.......| -000002e0 63 60 1f 14 86 ad 47 fb 6f 08 04 00 80 26 71 72 |c`....G.o....&qr| -000002f0 18 2f d8 41 e6 16 ce 27 ba dd 75 a7 fa e9 c4 e3 |./.A...'..u.....| -00000300 f1 46 4c d6 33 34 c4 f9 69 f6 48 13 8c e5 f5 16 |.FL.34..i.H.....| -00000310 8d 24 36 3d 4c 1e 7b ce da 08 46 6b 1a 9b 30 21 |.$6=L.{...Fk..0!| -00000320 fc 3f fc 86 91 a9 0c c8 a7 7e eb 42 39 d1 8a b1 |.?.......~.B9...| -00000330 86 fa 90 ae 9b ea a4 99 9c cf c6 db 4f f8 b3 9f |............O...| -00000340 1f a9 a2 18 81 7a d2 ee fd 24 a1 f3 d0 33 ed 2a |.....z...$...3.*| -00000350 bb 40 88 ef b1 db c1 a5 f6 f5 a3 49 58 74 b0 20 |.@.........IXt. | -00000360 bf 99 a8 bc 2d 26 99 28 e1 35 ca 64 b0 16 03 03 |....-&.(.5.d....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 07 b2 5e b2 93 95 d4 |........ ..^....| +000002d0 e1 7c 58 e9 6a d2 07 12 08 3a d6 a5 d5 a4 b2 76 |.|X.j....:.....v| +000002e0 1e 46 01 4d 4f e8 4d 77 0e 08 04 00 80 d2 8a 91 |.F.MO.Mw........| +000002f0 b7 9a 15 4a 05 34 3e d2 89 d2 a0 33 d8 37 30 34 |...J.4>....3.704| +00000300 39 1b d4 3e 18 80 09 ab e4 db da 03 48 c2 21 05 |9..>........H.!.| +00000310 1b dc 2b 20 78 af ac 9c 54 9f 44 02 f3 89 1e 6f |..+ x...T.D....o| +00000320 ca 2f 62 48 db f7 67 5e 40 ec 3e 0e 8b 8b ec 0f |./bH..g^@.>.....| +00000330 ea 6b b3 99 85 08 47 55 77 55 10 7d ac b7 3e db |.k....GUwU.}..>.| +00000340 db 47 8e 53 1c 11 fc 2c a5 05 fd 59 03 cc da 2e |.G.S...,...Y....| +00000350 af 16 0c 9b e7 49 94 6a f7 ef 0e e0 dd f0 bc 56 |.....I.j.......V| +00000360 88 c5 28 fe 33 cb ce 1f bc 3d a6 44 af 16 03 03 |..(.3....=.D....| 00000370 00 04 0e 00 00 00 |......| >>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| -00000030 16 03 03 00 20 aa 66 5e 19 98 02 93 f8 9b 05 ce |.... .f^........| -00000040 dc eb 36 66 89 72 df aa 03 c0 70 d0 8a df 60 e4 |..6f.r....p...`.| -00000050 22 fa af 93 ed |"....| +00000030 16 03 03 00 20 1c a1 04 2f cf 91 fb 5e fe 0c 38 |.... .../...^..8| +00000040 e2 17 89 a4 3b 90 42 62 4b 59 ba a8 ea 77 a8 9a |....;.BbKY...w..| +00000050 24 d8 71 21 75 |$.q!u| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 82 b5 fc 52 b0 |.......... ...R.| -00000010 6c b6 ea 32 2c c3 f6 89 21 cd 79 c3 d1 a3 bd 85 |l..2,...!.y.....| -00000020 05 2d 57 92 91 09 e7 2b 15 8b 6e |.-W....+..n| +00000000 14 03 03 00 01 01 16 03 03 00 20 0b 62 d1 08 e6 |.......... .b...| +00000010 a9 d0 06 bc 38 84 a6 98 14 21 ee 7e 7c 03 95 6f |....8....!.~|..o| +00000020 8a 60 2b fd 37 fb 3b 15 3e ff 39 |.`+.7.;.>.9| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 d1 27 2b 6a e0 ce 90 8c c3 05 7e |......'+j......~| -00000010 74 e7 e7 93 7a e2 7c 0e 56 d0 12 |t...z.|.V..| +00000000 17 03 03 00 16 95 dc 8f bc 4f 8f f1 56 65 7b 6f |.........O..Ve{o| +00000010 b7 18 00 fb 25 16 d5 df 70 ae 2b |....%...p.+| >>> Flow 6 (server to client) -00000000 16 03 03 00 14 48 2d 01 8e cb 10 b5 35 d3 b7 6f |.....H-.....5..o| -00000010 99 45 97 de 0f 7d b6 60 b0 |.E...}.`.| +00000000 16 03 03 00 14 a8 59 31 85 3b 64 e9 f2 91 1d c7 |......Y1.;d.....| +00000010 1e bc b2 d4 8f 7c eb 5c 80 |.....|.\.| >>> Flow 7 (client to server) -00000000 15 03 03 00 12 b5 31 a2 fc c9 ee f5 4a bb a4 4e |......1.....J..N| -00000010 eb 9b 04 ad 45 b3 85 15 03 03 00 12 f8 ca 35 1b |....E.........5.| -00000020 44 da 7c 1b ce cd 2c 9e dd 6f c2 34 b4 06 |D.|...,..o.4..| +00000000 15 03 03 00 12 23 20 7a e5 42 17 95 fa d9 2a 98 |.....# z.B....*.| +00000010 06 6e 67 89 94 aa 92 15 03 03 00 12 fe fa d6 76 |.ng............v| +00000020 08 82 6a aa 24 49 1d 1e 73 76 87 93 30 85 |..j.$I..sv..0.| diff --git a/src/crypto/tls/testdata/Client-TLSv12-SCT b/src/crypto/tls/testdata/Client-TLSv12-SCT index bab26d7d0b6..07cef7c8357 100644 --- a/src/crypto/tls/testdata/Client-TLSv12-SCT +++ b/src/crypto/tls/testdata/Client-TLSv12-SCT @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,21 +7,42 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 01 c6 02 00 01 c2 03 03 40 50 e1 86 7c |...........@P..|| -00000010 25 fe 14 2e 80 1b 07 e7 0a 3e 5e ca 8f 17 cf 6e |%........>^....n| -00000020 45 af 3c 2e 00 9e 6c d6 01 40 90 20 9c fe 77 84 |E.<...l..@. ..w.| -00000030 c7 03 71 62 64 66 c8 9f 05 67 67 27 51 92 7b 96 |..qbdf...gg'Q.{.| -00000040 e8 b7 00 93 62 b5 23 d5 f6 1b 18 6d cc a8 00 01 |....b.#....m....| +00000000 16 03 03 01 c6 02 00 01 c2 03 03 06 ce 1b e4 82 |................| +00000010 70 c5 f5 2f 90 f1 32 a6 8c f9 44 b9 ff ce 9a df |p../..2...D.....| +00000020 cc 71 00 6f 06 07 ab 61 4c 96 1e 20 ea ee 3f c6 |.q.o...aL.. ..?.| +00000030 6e 19 73 1d 85 e6 f6 cb f5 91 60 51 e2 b0 0c 03 |n.s.......`Q....| +00000040 70 51 a0 85 5f c6 53 fc 82 55 59 9d cc a8 00 01 |pQ.._.S..UY.....| 00000050 7a 00 12 01 69 01 67 00 75 00 a4 b9 09 90 b4 18 |z...i.g.u.......| 00000060 58 14 87 bb 13 a2 cc 67 70 0a 3c 35 98 04 f9 1b |X......gp.<5....| 00000070 df b8 e3 77 cd 0e c8 0d dc 10 00 00 01 47 97 99 |...w.........G..| @@ -84,31 +105,31 @@ 00000400 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d ae db 46 |.....@.a.Lr+...F| 00000410 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db fe 3d 13 |..M...>...B...=.| 00000420 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 ac 0c 00 |`.\!.;..........| -00000430 00 a8 03 00 1d 20 fc a2 99 01 3b bb 5c 33 40 bd |..... ....;.\3@.| -00000440 a6 79 74 43 96 48 d7 53 90 d3 8a ab fc f2 f3 43 |.ytC.H.S.......C| -00000450 c9 21 dc e9 ae 4f 08 04 00 80 5b dc 13 27 c1 0b |.!...O....[..'..| -00000460 bb c8 6f ea 4c 87 58 06 84 04 d6 c1 d7 5d 35 fe |..o.L.X......]5.| -00000470 da 37 ea 4b a1 66 42 97 b3 b8 e0 03 ff 71 93 0c |.7.K.fB......q..| -00000480 91 fd c0 d9 e5 92 3c dd f7 eb 9b 20 a1 7c 02 84 |......<.... .|..| -00000490 a3 d7 0a ac 3f 7c c7 42 7f 39 20 f6 ba 32 b9 f9 |....?|.B.9 ..2..| -000004a0 bc b7 7f 11 c7 5c b9 10 8f 08 0f 84 df 85 7d a4 |.....\........}.| -000004b0 eb 97 ff 0d e7 53 13 98 11 be 7e 6e 8f cc 0b 31 |.....S....~n...1| -000004c0 30 7a 92 df 9b 32 47 e6 1b 0e bd e9 cf 09 ce ed |0z...2G.........| -000004d0 0a 5f 44 54 78 7a bd 50 2b a6 16 03 03 00 04 0e |._DTxz.P+.......| +00000430 00 a8 03 00 1d 20 a3 98 63 92 e5 f7 53 07 f9 89 |..... ..c...S...| +00000440 cb 3a d9 f8 b0 81 07 7d b9 57 14 16 cc d6 3f b6 |.:.....}.W....?.| +00000450 94 6b 20 b4 d3 35 08 04 00 80 b7 41 0a 97 90 54 |.k ..5.....A...T| +00000460 ec ac 24 29 c9 63 21 7b 1e b1 5f 5b ef 6e 4d e3 |..$).c!{.._[.nM.| +00000470 64 cc 6f 7b e7 27 f4 8e c2 32 2d 22 af 22 91 19 |d.o{.'...2-"."..| +00000480 08 e1 a2 da f3 03 22 4e 7c 9a 05 bf d9 8c 6a b6 |......"N|.....j.| +00000490 89 42 13 6c 19 d2 6e 21 d9 35 b4 d1 89 05 16 18 |.B.l..n!.5......| +000004a0 b6 9b ea be 3b 84 5e 43 41 f4 62 f5 d4 08 3a f9 |....;.^CA.b...:.| +000004b0 a6 82 12 fe f3 8b 9f b9 ec a8 25 1d e2 37 09 56 |..........%..7.V| +000004c0 82 15 fa 68 e2 fd 46 d5 46 cd 01 7a 30 36 b9 39 |...h..F.F..z06.9| +000004d0 c4 da 10 3f b1 8f ec 36 98 d5 16 03 03 00 04 0e |...?...6........| 000004e0 00 00 00 |...| >>> Flow 3 (client to server) 00000000 16 03 03 00 25 10 00 00 21 20 2f e5 7d a3 47 cd |....%...! /.}.G.| 00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 03 00 01 01 |....._X.;t......| -00000030 16 03 03 00 20 45 08 e3 20 30 99 b6 8a bd 8e 4d |.... E.. 0.....M| -00000040 c8 bf e2 8f b6 53 ce 98 3a 67 c4 f2 31 28 95 a4 |.....S..:g..1(..| -00000050 f6 79 be ad 62 |.y..b| +00000030 16 03 03 00 20 e2 4c 5a 7f f3 04 7e 2a af ac 42 |.... .LZ...~*..B| +00000040 f5 34 f3 83 ac 0a 6d c8 4b 60 03 73 0c c3 a2 6e |.4....m.K`.s...n| +00000050 af 42 d7 12 88 |.B...| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 37 16 dd 69 1f |.......... 7..i.| -00000010 80 5e f5 c5 ea 6a ed 27 84 86 02 54 25 52 f7 5d |.^...j.'...T%R.]| -00000020 09 cb 8f d5 06 a0 53 99 46 80 c3 |......S.F..| +00000000 14 03 03 00 01 01 16 03 03 00 20 ec 6c 03 b4 66 |.......... .l..f| +00000010 58 4b 98 48 52 4e 17 81 80 d3 50 0e e5 4a 4b 0f |XK.HRN....P..JK.| +00000020 8d 1a e4 78 32 a6 35 9b 35 e3 e6 |...x2.5.5..| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 94 13 2a 62 dd 68 60 68 59 4a 67 |.......*b.h`hYJg| -00000010 41 56 52 5c 18 ff 87 3c 0b 46 8d 15 03 03 00 12 |AVR\...<.F......| -00000020 c7 10 66 b7 f8 8c 00 9b e1 51 f2 22 53 d5 50 bb |..f......Q."S.P.| -00000030 bf 69 |.i| +00000000 17 03 03 00 16 cd 8e cb a3 87 13 0d 93 db 27 7a |..............'z| +00000010 db 25 15 8a b3 26 c3 eb 58 56 de 15 03 03 00 12 |.%...&..XV......| +00000020 42 04 ee 0b ec f2 39 25 30 f1 fc 6f 95 88 87 88 |B.....9%0..o....| +00000030 a5 e3 |..| diff --git a/src/crypto/tls/testdata/Client-TLSv13-AES128-SHA256 b/src/crypto/tls/testdata/Client-TLSv13-AES128-SHA256 index 0cdc9d2066d..b8476c9dca5 100644 --- a/src/crypto/tls/testdata/Client-TLSv13-AES128-SHA256 +++ b/src/crypto/tls/testdata/Client-TLSv13-AES128-SHA256 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,85 +7,106 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 7a 02 00 00 76 03 03 a9 2e d9 f5 0a |....z...v.......| -00000010 ca 99 60 ff 25 13 a7 d4 1d ca 2e 58 92 5b 27 e0 |..`.%......X.['.| -00000020 af 82 ec 29 02 7a 45 54 d5 f3 5e 20 00 00 00 00 |...).zET..^ ....| +00000000 16 03 03 00 7a 02 00 00 76 03 03 cf b1 e1 a5 fd |....z...v.......| +00000010 e7 73 ab a5 b6 98 1c 20 4a 1f c7 ca 2f 02 e8 09 |.s..... J.../...| +00000020 5c e7 eb 87 94 17 ab 41 02 f0 a1 20 00 00 00 00 |\......A... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 01 00 00 |................| -00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 9a |..+.....3.$... .| -00000060 0c 89 52 d8 f9 10 c0 83 16 aa a6 70 67 cb df 56 |..R........pg..V| -00000070 c0 f2 9a e8 25 22 ca 5d 87 0d fd 1b ea a2 41 14 |....%".]......A.| -00000080 03 03 00 01 01 17 03 03 00 17 e1 3a 6e 0e 2c 0b |...........:n.,.| -00000090 a8 6d 1d 4d f3 1c f5 a4 10 54 f0 e1 10 cb 83 77 |.m.M.....T.....w| -000000a0 2b 17 03 03 02 6d 40 e8 55 eb 5b 7a 10 b7 c5 f7 |+....m@.U.[z....| -000000b0 61 ba fe 32 02 ce 66 98 f0 1a 45 a9 e8 bf 3c 7f |a..2..f...E...<.| -000000c0 a2 19 00 ac 7d 3c 01 76 93 96 ce 74 21 a4 1b 42 |....}<.v...t!..B| -000000d0 83 93 08 8f 93 cf 4d 91 63 95 c0 fd 6a 36 3f 5a |......M.c...j6?Z| -000000e0 63 a2 ba 14 e5 df 93 94 32 2f 04 6a 23 eb c7 ac |c.......2/.j#...| -000000f0 36 52 bd b4 6e 93 4f 79 eb 7c 48 30 73 eb f0 d3 |6R..n.Oy.|H0s...| -00000100 95 a9 2c f2 15 81 f8 77 ea 67 1c a6 31 3c e8 73 |..,....w.g..1<.s| -00000110 6e ca b0 7e 44 a7 10 ab f4 57 04 26 06 ba 4e 92 |n..~D....W.&..N.| -00000120 93 91 07 49 19 ed 45 ae 4a d0 00 36 cf 65 4d e4 |...I..E.J..6.eM.| -00000130 7e b7 2b 97 90 9b 5c e0 5c 57 eb a4 49 c6 8a bb |~.+...\.\W..I...| -00000140 28 58 d1 f1 62 aa 5b 12 7f bd d3 db a4 ec f1 88 |(X..b.[.........| -00000150 2f c8 5f 82 9c 55 48 1d 37 6b a8 b5 e5 d3 12 04 |/._..UH.7k......| -00000160 17 71 47 82 56 36 3c 0b eb b6 36 c7 a0 50 dc cf |.qG.V6<...6..P..| -00000170 cf ff 24 a3 ee 86 ef 9f a7 8b 3c b2 63 23 92 af |..$.......<.c#..| -00000180 0a f0 36 74 df dc f9 0c 54 51 c5 cf df 1d 08 cb |..6t....TQ......| -00000190 9b 41 4d 6a fb 1d 5c 91 cd 1a e6 2c d5 10 3c 9a |.AMj..\....,..<.| -000001a0 10 4d 23 a5 f4 b3 5b 0d 40 07 40 0a 6f 4e 88 c2 |.M#...[.@.@.oN..| -000001b0 a9 00 45 49 c4 ca 15 64 1d 8a 3d 84 a3 42 bf 6b |..EI...d..=..B.k| -000001c0 4a 29 f1 d3 ef 8e 3e 43 43 4b 5f dd 1d 78 91 3f |J)....>CCK_..x.?| -000001d0 87 0a 18 ff 92 0f 43 6f 5b 12 41 4f 42 27 00 7a |......Co[.AOB'.z| -000001e0 07 bc a0 87 bc 27 45 af 89 c0 62 3a 67 9b 5b 43 |.....'E...b:g.[C| -000001f0 ef 72 d1 29 72 3e 27 3f 03 cf f9 74 94 dc 0d c9 |.r.)r>'?...t....| -00000200 39 42 d7 fa 56 7c eb 07 e6 db f5 ea 24 1f b5 64 |9B..V|......$..d| -00000210 eb 73 5d 7c d0 af 30 b6 7c ab 27 93 d7 32 ff 9d |.s]|..0.|.'..2..| -00000220 c8 72 be c6 3a 80 4c c8 c7 c3 8a f5 f4 89 8e 74 |.r..:.L........t| -00000230 4e 14 60 02 90 f7 52 dd 9c 87 7c dd 52 dc 32 1d |N.`...R...|.R.2.| -00000240 b6 ba f2 fe 72 1d 7c d4 fe 74 7d b0 e5 93 23 d2 |....r.|..t}...#.| -00000250 95 91 8d 6d 5d c9 f4 93 9d 47 78 74 1f 34 b0 ad |...m]....Gxt.4..| -00000260 e4 55 a7 b7 43 c0 92 c6 f7 39 98 7a 39 73 f3 bb |.U..C....9.z9s..| -00000270 ad c5 3e 42 fb 3a 8d ff ad 70 19 fa ba 69 48 ca |..>B.:...p...iH.| -00000280 63 be 90 49 f4 1c 45 a1 58 af c0 af ca f0 d0 7f |c..I..E.X.......| -00000290 02 04 4f 3d 20 5f b7 f0 c7 6c 81 58 36 e9 38 ca |..O= _...l.X6.8.| -000002a0 28 4f 4c 8f c2 1c 77 14 c3 ae fa 48 9f 8b 75 b7 |(OL...w....H..u.| -000002b0 d2 12 7c 35 8a 11 58 1b b3 94 ac fe d0 9a cb bd |..|5..X.........| -000002c0 0c 03 44 80 60 30 3f 0e 1b cd db 3d 38 77 8c 71 |..D.`0?....=8w.q| -000002d0 6f 74 0c 1a 89 dc 11 4a dc d8 10 ca e5 02 5d df |ot.....J......].| -000002e0 61 72 fe 36 18 b8 6f 22 4f a1 93 73 2d 91 54 54 |ar.6..o"O..s-.TT| -000002f0 05 11 c2 62 2b 83 eb d0 af 51 c5 26 de 19 4e 7a |...b+....Q.&..Nz| -00000300 8a ed d9 61 75 6d e8 58 b6 72 f1 34 70 30 ab fb |...aum.X.r.4p0..| -00000310 f4 9e c4 17 03 03 00 99 dc 8b 02 97 89 f4 e1 03 |................| -00000320 f4 53 e8 07 e4 d0 37 d2 1d 28 8b ce 79 ef 13 e7 |.S....7..(..y...| -00000330 e1 bc 52 15 8d 22 d1 b1 f0 68 e9 35 79 d3 e4 2e |..R.."...h.5y...| -00000340 91 29 97 c7 0c 31 20 7d a4 67 3b 87 a4 20 67 05 |.)...1 }.g;.. g.| -00000350 ca 1d e8 a1 80 e3 26 02 2f 40 39 0f 1a 52 90 c2 |......&./@9..R..| -00000360 2d d5 af c8 fa 16 c4 2d f0 71 54 50 2e 54 e3 b9 |-......-.qTP.T..| -00000370 af c3 94 b9 65 e6 e8 62 93 ae 09 2c d4 61 e0 f0 |....e..b...,.a..| -00000380 9e a4 88 b0 a1 b3 9b 14 a1 9d bc 16 6c 66 b3 24 |............lf.$| -00000390 c6 e3 8c 6a cb cf 07 b0 31 b2 a0 1b de ad 2a 7b |...j....1.....*{| -000003a0 d3 fb 9b b3 dd ed 29 2e c8 fc 88 10 4e e4 10 2c |......).....N..,| -000003b0 f7 17 03 03 00 35 0d 5a 44 5a 09 e1 94 7e 27 5d |.....5.ZDZ...~']| -000003c0 85 40 2d e7 d7 35 ea 38 45 c8 35 38 f9 55 4a a9 |.@-..5.8E.58.UJ.| -000003d0 58 34 6a 8b c6 19 66 78 64 a8 46 3d 5e ea e1 6a |X4j...fxd.F=^..j| -000003e0 e1 0e 78 6a 48 43 81 86 63 2e 84 |..xjHC..c..| +00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 5b |..+.....3.$... [| +00000060 fa 21 06 63 22 03 d8 10 32 64 02 04 17 4b 7f 08 |.!.c"...2d...K..| +00000070 2b 70 48 26 db 5d 81 14 32 55 d6 46 a6 54 09 14 |+pH&.]..2U.F.T..| +00000080 03 03 00 01 01 17 03 03 00 17 69 97 31 9a 01 19 |..........i.1...| +00000090 d4 fc 68 2b d1 ac bc 87 21 4d 24 4a 65 8b ba 9d |..h+....!M$Je...| +000000a0 7d 17 03 03 02 6d 3b 44 39 27 1b c7 6e 9c 56 10 |}....m;D9'..n.V.| +000000b0 cb 7f f0 59 d7 03 ce e7 04 7b 3a 82 46 02 29 a3 |...Y.....{:.F.).| +000000c0 ba 97 2c bf 88 29 91 04 bb 7e 7e c2 78 11 28 37 |..,..)...~~.x.(7| +000000d0 7b 34 6e 9f 4a 50 00 09 d7 42 a9 9d 92 ec ad 5f |{4n.JP...B....._| +000000e0 91 69 62 29 8e 6d 57 d2 8f 3e 1b 7d 44 0e ab 81 |.ib).mW..>.}D...| +000000f0 ce 7d 14 87 8d 97 fe 21 d2 56 6d 08 c8 d8 68 32 |.}.....!.Vm...h2| +00000100 46 07 ce 7d d7 f8 82 87 b8 8d 63 50 45 63 66 38 |F..}......cPEcf8| +00000110 12 eb 67 17 aa 4f 4e 4b 94 6e 2d 7b bb 7e d6 dc |..g..ONK.n-{.~..| +00000120 4b 9c 48 32 99 62 ae ae 18 ca b3 d5 42 da 5b 17 |K.H2.b......B.[.| +00000130 e3 83 ee c9 62 c2 b3 77 55 7c c7 4a c4 18 d0 c2 |....b..wU|.J....| +00000140 60 fa f7 c3 56 d3 7e cb f2 a7 f6 1a 2c f1 b8 5f |`...V.~.....,.._| +00000150 1d de 29 d6 a4 0b 6e f8 c3 97 82 e8 82 db 20 10 |..)...n....... .| +00000160 02 75 fe 8a 5f f6 a8 be d1 bd 83 90 48 b3 01 d4 |.u.._.......H...| +00000170 75 61 f4 00 48 5d 0b ae e4 01 3e f3 a6 a5 ce 04 |ua..H]....>.....| +00000180 6d aa 7b 3a c8 49 0c a2 b4 38 89 93 18 87 cd 55 |m.{:.I...8.....U| +00000190 89 de 85 41 b2 63 63 80 88 42 54 2e 56 1f af ba |...A.cc..BT.V...| +000001a0 9c 09 e4 7e ac 7e 9f 69 25 f7 83 a4 3d 4e b2 e2 |...~.~.i%...=N..| +000001b0 0b d0 86 25 f3 fa c4 c8 9d f2 95 28 9f d2 11 4b |...%.......(...K| +000001c0 92 46 85 e6 13 d8 86 5d d8 88 5f 56 40 9b 99 8c |.F.....].._V@...| +000001d0 c6 ac 37 c6 5d 07 69 94 a0 e0 fb 8f e1 a8 16 bf |..7.].i.........| +000001e0 d3 a9 f6 a5 ab f2 13 05 95 da ce b6 e2 01 f9 8a |................| +000001f0 dc 2b b5 6b 26 48 5a b7 cd 5d a9 cd d6 d3 d7 d5 |.+.k&HZ..]......| +00000200 83 8f 30 d8 95 98 ff a9 dd 13 50 3a 26 7a 38 01 |..0.......P:&z8.| +00000210 81 dc 6f 9c ec d9 12 b8 84 2b 05 dc 92 fa 88 5c |..o......+.....\| +00000220 9e 6f 1c 28 6f 05 0f a8 d0 1c 24 87 6e 27 d8 92 |.o.(o.....$.n'..| +00000230 fb d6 21 1d 32 d2 6b a2 b1 7a 33 ca d5 6b c8 e5 |..!.2.k..z3..k..| +00000240 1c c3 94 22 19 13 6c 01 4e a0 8d 4f b8 78 39 18 |..."..l.N..O.x9.| +00000250 7e 74 16 f8 72 56 61 5d da 06 02 cb 2f d5 21 f3 |~t..rVa]..../.!.| +00000260 39 df c3 b6 81 c7 95 3b 41 de e9 5c 42 93 70 3b |9......;A..\B.p;| +00000270 ed 58 3f 1b d3 2c fa dc e5 61 9a e8 ba cd 7f ed |.X?..,...a......| +00000280 9d 4c 54 eb 59 ca 36 f1 70 93 d0 e6 a4 82 ee 07 |.LT.Y.6.p.......| +00000290 ec 61 24 18 0c 6a 8a 18 44 26 77 1e c7 75 73 6b |.a$..j..D&w..usk| +000002a0 eb 14 34 16 31 c0 95 f1 46 7c d6 17 7a 6c 09 75 |..4.1...F|..zl.u| +000002b0 9a 76 03 10 15 45 e3 45 e9 bc 0f c0 52 ea 4c a0 |.v...E.E....R.L.| +000002c0 b9 30 3e ce 37 6a 62 06 97 aa af 19 8e 90 67 b0 |.0>.7jb.......g.| +000002d0 63 bd c3 2a ca 46 5e 10 9e f7 30 88 86 a2 45 82 |c..*.F^...0...E.| +000002e0 65 d9 db 94 87 19 58 eb ea a9 61 ce 34 ee 26 3c |e.....X...a.4.&<| +000002f0 bc c4 d4 2a 24 cf 1e 90 b7 c8 cc d9 93 ee 00 1d |...*$...........| +00000300 6c 51 61 99 a3 bc 06 82 88 76 e1 aa 31 e7 5a 0a |lQa......v..1.Z.| +00000310 d4 ce 4b 17 03 03 00 99 15 d8 a9 99 14 7c 3e 7c |..K..........|>|| +00000320 18 af e3 46 e1 49 7a a1 b7 2a 33 4a 97 a4 4f d4 |...F.Iz..*3J..O.| +00000330 62 a1 fe b2 18 01 8b 26 57 cf 82 54 1b 7f a2 21 |b......&W..T...!| +00000340 60 1c 63 ab 5c f6 bc c3 d1 6a 5e 5c 48 56 5d 76 |`.c.\....j^\HV]v| +00000350 98 b7 29 90 e3 76 02 9b 69 e6 95 e8 93 13 db 7b |..)..v..i......{| +00000360 00 cf 7e 54 20 a7 d3 43 4d 88 bd 81 c1 e6 65 7b |..~T ..CM.....e{| +00000370 71 41 c4 a1 98 6b e7 88 2e fb 23 81 b0 5e 40 95 |qA...k....#..^@.| +00000380 c7 2e 66 9d 5c 5e 2e 0c 56 38 6d 9f 0a fa 51 72 |..f.\^..V8m...Qr| +00000390 cf e8 04 5b 13 11 14 b1 d8 18 bd df 20 78 cc 77 |...[........ x.w| +000003a0 d8 d6 c8 d5 61 f9 6f a5 d7 4c 6d b7 ac bf 04 74 |....a.o..Lm....t| +000003b0 e3 17 03 03 00 35 1f 67 fc 8b 30 0f 9b 51 9d 4b |.....5.g..0..Q.K| +000003c0 cd 69 83 ed c4 7c c5 17 24 b4 6f 81 0c ee 81 b2 |.i...|..$.o.....| +000003d0 20 75 71 05 b6 e3 bb 5b 8a c5 02 9a b3 02 df 10 | uq....[........| +000003e0 67 39 ac 74 2f 2a a9 54 78 0e d7 |g9.t/*.Tx..| >>> Flow 3 (client to server) -00000000 14 03 03 00 01 01 17 03 03 00 35 60 1f 6c f1 c6 |..........5`.l..| -00000010 c2 11 4c 2a 19 ff 43 b5 10 14 68 bf 43 81 2b 84 |..L*..C...h.C.+.| -00000020 55 81 49 24 30 72 83 04 9b 03 d4 d1 7b 9e 2a 6d |U.I$0r......{.*m| -00000030 d9 2a a6 4b 26 62 f0 cf 4f df 7c bf 42 41 1e e6 |.*.K&b..O.|.BA..| -00000040 17 03 03 00 17 ee 85 70 32 b0 32 bb 72 4d be 73 |.......p2.2.rM.s| -00000050 0a 71 2e 53 bf 61 bd 8a 8d c3 99 33 17 03 03 00 |.q.S.a.....3....| -00000060 13 8b 9e 6f d3 cd 1f 05 cd 38 d5 7e 8c 8b b8 19 |...o.....8.~....| -00000070 17 ec 8f 8e |....| +00000000 14 03 03 00 01 01 17 03 03 00 35 36 d4 f9 28 5f |..........56..(_| +00000010 4f c7 96 35 40 87 dc 5a 2e 3b 82 ec c2 ca 7a a6 |O..5@..Z.;....z.| +00000020 04 13 74 78 2c 95 d4 16 3f 75 15 98 2b 4b d6 c6 |..tx,...?u..+K..| +00000030 66 57 92 85 8a cc de f0 74 d3 ea 4a 3d f6 9b a8 |fW......t..J=...| +00000040 17 03 03 00 17 2b a7 de be 55 6a e4 ca 58 5b 42 |.....+...Uj..X[B| +00000050 59 a3 69 75 ae 7a 5b 7a 46 c9 ac 93 17 03 03 00 |Y.iu.z[zF.......| +00000060 13 60 78 53 4e 11 b5 fe 22 c1 6f 92 df 30 af 34 |.`xSN...".o..0.4| +00000070 a3 d3 37 4f |..7O| diff --git a/src/crypto/tls/testdata/Client-TLSv13-AES256-SHA384 b/src/crypto/tls/testdata/Client-TLSv13-AES256-SHA384 index 0c1815ea0fc..9d10fdae8e5 100644 --- a/src/crypto/tls/testdata/Client-TLSv13-AES256-SHA384 +++ b/src/crypto/tls/testdata/Client-TLSv13-AES256-SHA384 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,87 +7,108 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 7a 02 00 00 76 03 03 20 38 26 cf a3 |....z...v.. 8&..| -00000010 77 5f 65 de ae 7a dd 8e 18 bf ce 7c e4 75 13 7f |w_e..z.....|.u..| -00000020 5c b9 c7 16 a9 d0 a9 33 77 14 02 20 00 00 00 00 |\......3w.. ....| +00000000 16 03 03 00 7a 02 00 00 76 03 03 78 8b 8b 4c 25 |....z...v..x..L%| +00000010 15 8c 31 7a af 44 fd ea cd 91 8f 46 7c c6 7d d2 |..1z.D.....F|.}.| +00000020 ca fe 16 b8 62 bf 9d 09 ae 42 52 20 00 00 00 00 |....b....BR ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 02 00 00 |................| -00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 0f |..+.....3.$... .| -00000060 ac d4 c4 71 fa db e6 c9 5a 6a 2a 6e aa 74 ef b8 |...q....Zj*n.t..| -00000070 69 18 44 80 03 3a 49 ca 3b bb fa e1 a9 96 63 14 |i.D..:I.;.....c.| -00000080 03 03 00 01 01 17 03 03 00 17 aa ec db 3d ff f4 |.............=..| -00000090 50 07 6d 92 dc 69 16 1d bb 9b ed 64 c2 c4 7c 33 |P.m..i.....d..|3| -000000a0 fb 17 03 03 02 6d 80 8b 2d 87 bd ac d3 18 e3 16 |.....m..-.......| -000000b0 8f ef d2 9d f0 19 8c 03 23 8e a7 a4 db 71 a3 2a |........#....q.*| -000000c0 d8 6c 63 35 e0 d9 0c 0a a2 bb f6 4b c5 3d 19 4a |.lc5.......K.=.J| -000000d0 10 61 b4 85 1e 01 75 75 04 34 c4 8c f6 e5 43 17 |.a....uu.4....C.| -000000e0 c6 b2 95 a6 b1 6a ad 1a 06 85 25 6a a4 3d d1 3d |.....j....%j.=.=| -000000f0 c5 ba 2a 98 3d 16 6c 25 17 d1 d5 2e f9 72 a8 17 |..*.=.l%.....r..| -00000100 23 93 a3 4e db 4d cc a7 34 cc 82 e9 ad d5 e4 db |#..N.M..4.......| -00000110 9f 94 8a 5f ce af 79 9d 96 a3 5d 57 3d fb e2 a9 |..._..y...]W=...| -00000120 6c 41 f6 bd 21 bc 39 0b f4 03 7c c2 e5 95 d2 23 |lA..!.9...|....#| -00000130 eb 96 f1 47 fc 07 2e 2a 6c 99 ce 7d bf e0 48 f2 |...G...*l..}..H.| -00000140 25 a7 84 69 16 c6 4b 58 a7 d6 39 68 cd 4d 53 72 |%..i..KX..9h.MSr| -00000150 cc 95 2d 22 46 b8 79 04 fb c8 48 20 8d 42 98 01 |..-"F.y...H .B..| -00000160 76 35 12 9b 62 ce c3 78 d6 a5 7f b8 20 eb 01 3a |v5..b..x.... ..:| -00000170 fb 1f 69 bc 91 b1 1a a5 55 80 79 09 e8 8d 00 ca |..i.....U.y.....| -00000180 8f b0 8f 62 75 f1 b3 6a 05 9d de bc c0 38 10 c6 |...bu..j.....8..| -00000190 14 32 e3 22 60 47 cb 07 d2 7f ec 36 df 3d c3 3d |.2."`G.....6.=.=| -000001a0 cf 26 3f 18 2d 96 01 8c 6e b0 a1 70 12 b2 15 34 |.&?.-...n..p...4| -000001b0 9a ef 5d 4e ad 51 3c 4e 3e 68 a0 e2 68 ea 46 8b |..]N.Qh..h.F.| -000001c0 fa 15 2d 10 4d 62 e5 d7 9f c2 77 02 67 b9 66 10 |..-.Mb....w.g.f.| -000001d0 19 84 90 fd 9b c0 47 fd 27 bf 38 bc 52 98 b0 75 |......G.'.8.R..u| -000001e0 82 1c c3 57 b3 12 1e be b2 d3 3e 31 a3 28 47 69 |...W......>1.(Gi| -000001f0 8e 90 7d d6 78 12 f2 19 a0 d6 d4 24 95 85 a7 0b |..}.x......$....| -00000200 ec 7a b6 68 fb 21 52 8c cd 8d 28 da d8 94 25 84 |.z.h.!R...(...%.| -00000210 82 6a 57 a1 0a 32 28 e4 3e 1a 1b 4b 1b 43 81 04 |.jW..2(.>..K.C..| -00000220 53 55 93 f1 e9 77 ac 0c 68 89 58 ea 53 7c a5 e7 |SU...w..h.X.S|..| -00000230 04 af b6 8c 90 9c ea fe 91 f7 0b a4 8a e9 82 73 |...............s| -00000240 80 ef df 87 9e 7f 8e 92 61 70 a2 6a f3 b4 dd ed |........ap.j....| -00000250 cc 73 37 68 b1 91 61 74 df b1 f3 69 c9 c6 48 47 |.s7h..at...i..HG| -00000260 f4 30 bf 0c fe 90 d8 af 35 f5 2e 67 bb 88 aa f6 |.0......5..g....| -00000270 f3 ea b7 ec b7 9e 4c 1e a3 bc d7 ba ab 32 b5 7b |......L......2.{| -00000280 bf ae fe 02 32 20 f3 a7 b3 23 44 50 39 da 73 b2 |....2 ...#DP9.s.| -00000290 07 42 ea a2 79 fd 8e 77 ca 44 cb e7 3b c9 3b 4f |.B..y..w.D..;.;O| -000002a0 41 ff ee a5 62 45 16 f9 d8 21 61 8a ce bd b8 e6 |A...bE...!a.....| -000002b0 ed ca 35 12 9e 1b f2 51 aa 99 5e 1f 66 10 72 2d |..5....Q..^.f.r-| -000002c0 09 ee db 36 ee 5c 4d 31 97 e9 e6 22 46 56 14 06 |...6.\M1..."FV..| -000002d0 60 6f 77 9e 50 0d bf e5 60 b6 fe ac 06 24 ee 6e |`ow.P...`....$.n| -000002e0 dd 31 db 41 72 07 55 c8 98 bc 0c 81 d2 d4 40 e3 |.1.Ar.U.......@.| -000002f0 f2 3e df 51 b2 2a 13 c4 5f 80 a0 de ed 1c 05 f0 |.>.Q.*.._.......| -00000300 66 36 39 82 0f ad 43 6b 0f 39 a5 fe a1 b2 0b f6 |f69...Ck.9......| -00000310 48 de 2a 17 03 03 00 99 07 1a a0 1c 99 e4 8f ef |H.*.............| -00000320 da 27 84 23 42 b8 f7 94 9b ea 07 15 f4 cd 7a a3 |.'.#B.........z.| -00000330 74 09 f0 be bf dd 79 79 6b 99 b3 3c b1 37 73 85 |t.....yyk..<.7s.| -00000340 55 67 67 36 2b 7d 07 20 35 4f 89 63 34 8a 09 a9 |Ugg6+}. 5O.c4...| -00000350 cf f5 42 26 9f f4 1f 91 bd 30 50 33 16 fe 28 cd |..B&.....0P3..(.| -00000360 f2 5d 18 c1 7b d5 23 c7 13 57 84 c9 99 72 26 d2 |.]..{.#..W...r&.| -00000370 28 ab 5b 53 96 bb 29 0b d4 45 3f 05 67 2c 4c 88 |(.[S..)..E?.g,L.| -00000380 aa 67 2a 84 80 85 4e 0a d8 e2 2c 8a 33 a1 2c 39 |.g*...N...,.3.,9| -00000390 bb 4e 1a 2e e0 89 b3 71 b0 9a 73 cd ce e6 83 83 |.N.....q..s.....| -000003a0 a4 69 05 fe 0c 2e 54 10 30 3f 12 1a f4 45 86 e9 |.i....T.0?...E..| -000003b0 85 17 03 03 00 45 1b 69 60 c7 3e 47 05 f2 c0 b4 |.....E.i`.>G....| -000003c0 ba 95 52 56 e6 cd 25 eb 63 a4 28 01 11 bb b5 c1 |..RV..%.c.(.....| -000003d0 54 38 63 bc 3d 64 d7 7b ec d1 ce d2 f4 90 76 51 |T8c.=d.{......vQ| -000003e0 40 f1 06 6c 4a a3 ea 50 f1 a7 b9 82 5b 77 21 d1 |@..lJ..P....[w!.| -000003f0 9e a0 aa 1a b6 c6 0a 4b 60 58 58 |.......K`XX| +00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 04 |..+.....3.$... .| +00000060 71 67 2f 73 46 f6 98 1e d4 cd 17 81 55 ee 8e 0c |qg/sF.......U...| +00000070 1b ba e4 82 3f e3 af cf 01 00 97 71 d7 1c 5f 14 |....?......q.._.| +00000080 03 03 00 01 01 17 03 03 00 17 7f 62 30 df 13 bd |...........b0...| +00000090 4d 40 14 f2 c0 89 3f c1 2f 07 75 89 87 b0 63 2c |M@....?./.u...c,| +000000a0 e0 17 03 03 02 6d 0a 24 af 47 55 af 04 43 01 62 |.....m.$.GU..C.b| +000000b0 1b 88 ab 0a c4 69 0f 6b b8 5e ed 77 d2 7f 88 9b |.....i.k.^.w....| +000000c0 b5 71 75 c0 0b b5 66 a6 04 23 27 1e 63 87 c6 56 |.qu...f..#'.c..V| +000000d0 75 4b 29 a1 dc cd 6c fe c3 d0 5f 4a e7 e4 e1 e9 |uK)...l..._J....| +000000e0 26 68 9b c6 67 23 0c b1 90 f5 15 6f 70 a3 87 7c |&h..g#.....op..|| +000000f0 c8 ee b4 bf 78 86 a2 94 32 7d c8 92 34 89 c6 67 |....x...2}..4..g| +00000100 22 39 51 34 ba 17 16 42 56 ad a3 12 72 da a3 40 |"9Q4...BV...r..@| +00000110 d0 87 62 88 54 30 d3 9f aa be 39 38 4d 62 d6 3b |..b.T0....98Mb.;| +00000120 02 18 47 0e 75 91 f7 bd 34 f6 1c 2b 85 12 b4 0b |..G.u...4..+....| +00000130 51 e7 08 e2 32 40 ae 0f 36 b1 fe 12 1e 89 2c 9a |Q...2@..6.....,.| +00000140 c2 d1 fe 54 e7 11 01 4c a8 f1 cf 33 cd f7 9a 57 |...T...L...3...W| +00000150 3b fe b7 c3 b7 fd 1c 2a f6 fa e3 8c 5c 76 7b 50 |;......*....\v{P| +00000160 3b 0e bf c3 5a 61 46 dc 4e c9 e9 91 62 82 1f 83 |;...ZaF.N...b...| +00000170 d2 98 a0 24 85 95 5e 28 da 16 c2 3a ca 40 a0 43 |...$..^(...:.@.C| +00000180 88 5b c4 54 0f 24 b1 33 7d 25 7b 03 32 99 93 62 |.[.T.$.3}%{.2..b| +00000190 f2 bc e8 ad fd d6 ff fb ac 4d a5 63 36 09 94 83 |.........M.c6...| +000001a0 9b 3d ee f3 ff 7c 6c a5 e4 fe 69 85 87 51 20 19 |.=...|l...i..Q .| +000001b0 60 5d 35 bf 63 bc 62 f5 28 72 67 d8 12 b0 5e fe |`]5.c.b.(rg...^.| +000001c0 11 ee 2f 1f f0 16 53 bd bd 87 6e 01 bc f1 01 0d |../...S...n.....| +000001d0 c9 6b 2e 5d 71 41 6f 98 6e 0d a1 bc d2 88 fd b7 |.k.]qAo.n.......| +000001e0 ec 30 c6 3b f1 68 fe a8 51 58 7d 09 f5 fa ef a9 |.0.;.h..QX}.....| +000001f0 67 17 fc 8b c1 ed 5a b7 d2 36 77 4c 6f 88 46 33 |g.....Z..6wLo.F3| +00000200 a4 7a 14 99 d9 85 c1 8b 01 2d bb be f5 c6 f6 3c |.z.......-.....<| +00000210 22 f6 e0 50 f4 95 44 11 4c 43 2a 0e a3 24 d9 fa |"..P..D.LC*..$..| +00000220 64 d1 6e 5b ac 55 6f 2e 8b 64 b3 ad 5e 76 c7 58 |d.n[.Uo..d..^v.X| +00000230 6c d9 ce a4 0d de 5f be c6 73 e6 d5 a8 1a be 9d |l....._..s......| +00000240 f0 71 8e 80 42 d8 4a c0 0d a7 4f 6a f5 ef ff 88 |.q..B.J...Oj....| +00000250 db 53 2d 5e f4 39 42 d1 30 85 a3 a2 e5 7e 39 96 |.S-^.9B.0....~9.| +00000260 70 35 72 38 36 db f2 1e 31 af 79 b0 23 02 8c fe |p5r86...1.y.#...| +00000270 65 b0 a3 70 84 cf 8a d7 7b b7 65 a4 36 43 78 66 |e..p....{.e.6Cxf| +00000280 35 20 51 f8 34 1d d8 5a e7 f3 f6 63 f0 45 8a c1 |5 Q.4..Z...c.E..| +00000290 e6 1f de 48 e6 1a 41 82 94 e1 24 0f 09 9d c9 85 |...H..A...$.....| +000002a0 b4 2e 90 0e 9e 4d f3 5a 58 48 9d 48 e9 d6 69 cf |.....M.ZXH.H..i.| +000002b0 e0 0a 24 d7 89 18 d8 90 f7 8d 78 61 66 75 fe e3 |..$.......xafu..| +000002c0 c5 29 89 b4 23 9d 03 74 90 7a bc f7 d9 01 b4 18 |.)..#..t.z......| +000002d0 08 01 06 9d 01 29 4b b1 40 d0 f5 9f 9e 3c d0 63 |.....)K.@....<.c| +000002e0 b8 34 d1 74 d6 5e 1b 66 bc d1 b9 fb 82 f4 78 45 |.4.t.^.f......xE| +000002f0 fe c9 73 af f3 d1 f1 00 81 d2 04 1b 25 54 d9 e7 |..s.........%T..| +00000300 a9 5a 03 07 aa 57 09 e1 cf a2 00 c5 9c 2a 05 56 |.Z...W.......*.V| +00000310 b0 07 bc 17 03 03 00 99 14 a4 11 e6 88 9b c6 1a |................| +00000320 a4 50 25 ea 85 39 5b d9 78 c1 74 bc 41 f6 82 cd |.P%..9[.x.t.A...| +00000330 7d 9e 80 4b 7a 97 e8 f2 dd 64 1b 11 f6 53 9d 4e |}..Kz....d...S.N| +00000340 71 b2 61 df 4e 8c 21 89 f7 25 23 ee 54 1d 9e a8 |q.a.N.!..%#.T...| +00000350 2c a6 67 07 01 41 26 39 82 21 3d c0 d7 8a 5d 3b |,.g..A&9.!=...];| +00000360 d8 2a 7e 8b a9 cf f9 91 9f a0 4e a6 2b da 4e cc |.*~.......N.+.N.| +00000370 35 28 31 46 94 13 df f6 b8 73 77 8b 7c 8e 32 61 |5(1F.....sw.|.2a| +00000380 e8 a1 4d 84 b2 23 9f b5 3d 5a a4 f3 cd fb e2 39 |..M..#..=Z.....9| +00000390 1a 38 a0 0f c1 f7 49 b0 56 b9 ef 06 81 c1 15 0b |.8....I.V.......| +000003a0 f6 91 37 e1 98 56 61 68 1c 98 fa 05 36 35 84 03 |..7..Vah....65..| +000003b0 a0 17 03 03 00 45 47 93 a9 ba 72 b2 d3 38 48 18 |.....EG...r..8H.| +000003c0 a4 fc 57 ed 7d e4 50 35 37 96 56 2d 3d 79 04 c1 |..W.}.P57.V-=y..| +000003d0 ba db 19 bb 7e cd 1c b7 bc f6 38 e1 fc 15 50 23 |....~.....8...P#| +000003e0 f9 47 a6 1c be af a1 19 12 5b a9 28 ff d3 3a 73 |.G.......[.(..:s| +000003f0 4b 13 df 46 fb 13 06 e9 01 c4 eb |K..F.......| >>> Flow 3 (client to server) -00000000 14 03 03 00 01 01 17 03 03 00 45 0d 03 9b 92 5e |..........E....^| -00000010 fd 1d c7 ad b5 f5 b5 24 c3 06 47 23 1b 4d 27 f7 |.......$..G#.M'.| -00000020 0b 20 66 8a c9 c6 1f 0e 31 cb 2c 69 88 fd 00 3a |. f.....1.,i...:| -00000030 57 3f 19 3c 22 80 42 ad 99 64 c2 67 4f e3 cb 1a |W?.<".B..d.gO...| -00000040 07 6a 61 cd 0e 21 69 1b f1 97 dc 33 15 30 49 a9 |.ja..!i....3.0I.| -00000050 17 03 03 00 17 cd ba 09 c3 5d 4c 7e cd 19 14 a0 |.........]L~....| -00000060 1b 92 9f be a5 46 f9 2a ac 76 c3 b4 17 03 03 00 |.....F.*.v......| -00000070 13 c3 bd 2e ba 0d 55 37 37 95 39 2c cf 02 85 8d |......U77.9,....| -00000080 e4 e7 72 83 |..r.| +00000000 14 03 03 00 01 01 17 03 03 00 45 91 06 75 89 af |..........E..u..| +00000010 4a 85 9d f2 2c 6f a0 9a ed 16 c3 42 bb 30 04 11 |J...,o.....B.0..| +00000020 a5 ec fe c4 b5 d9 bb 8a c2 b9 26 f7 f7 48 c5 8d |..........&..H..| +00000030 43 33 72 38 98 44 65 d0 58 f0 a6 78 b5 3f e8 0e |C3r8.De.X..x.?..| +00000040 2d a0 9c 5f 39 d3 17 92 ce a8 70 9f 7c c0 6d fc |-.._9.....p.|.m.| +00000050 17 03 03 00 17 c5 3e b8 ac d8 f0 98 10 50 fc af |......>......P..| +00000060 be 56 c3 60 f4 9f c2 d7 a7 fc 8e c6 17 03 03 00 |.V.`............| +00000070 13 e5 72 c4 25 15 f7 0d 60 0a 12 08 3e 54 d2 c4 |..r.%...`...>T..| +00000080 7f 42 47 4a |.BGJ| diff --git a/src/crypto/tls/testdata/Client-TLSv13-ALPN b/src/crypto/tls/testdata/Client-TLSv13-ALPN index e1a35a8f73d..6556195e25b 100644 --- a/src/crypto/tls/testdata/Client-TLSv13-ALPN +++ b/src/crypto/tls/testdata/Client-TLSv13-ALPN @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 01 10 01 00 01 0c 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 62 01 00 02 5e 03 03 00 00 00 00 00 |....b...^.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,87 +7,108 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 91 00 05 00 05 01 00 00 00 00 00 0a 00 |................| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 10 00 10 00 0e 06 70 72 6f |a............pro| -000000d0 74 6f 32 06 70 72 6f 74 6f 31 00 12 00 00 00 2b |to2.proto1.....+| -000000e0 00 09 08 03 04 03 03 03 02 03 01 00 33 00 26 00 |............3.&.| -000000f0 24 00 1d 00 20 2f e5 7d a3 47 cd 62 43 15 28 da |$... /.}.G.bC.(.| -00000100 ac 5f bb 29 07 30 ff f6 84 af c4 cf c2 ed 90 99 |._.).0..........| -00000110 5f 58 cb 3b 74 |_X.;t| +00000080 01 00 01 e3 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 10 00 10 00 0e |....a...........| +000000d0 06 70 72 6f 74 6f 32 06 70 72 6f 74 6f 31 00 12 |.proto2.proto1..| +000000e0 00 00 00 2b 00 09 08 03 04 03 03 03 02 03 01 00 |...+............| +000000f0 33 01 74 01 72 01 fd 01 4a 13 9b 9f d0 43 df e9 |3.t.r...J....C..| +00000100 45 3c 33 0b 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 |E<3...{..B......| +00000110 b4 ca a6 73 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 |...s...0.s;0...U| +00000120 0a ea 96 8f 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 |.....".n.rd..Y..| +00000130 99 19 38 88 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc |..8..K.@.Op.....| +00000140 92 fa 60 69 cb ec ee b1 5a eb ed 58 1d 93 a0 06 |..`i....Z..X....| +00000150 33 b5 f5 79 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 |3..yq....>.)K.\.| +00000160 ea 22 14 d1 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac |.".....P_~.a....| +00000170 d0 90 4f 84 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 |..O.......*.#..d| +00000180 f0 78 52 c4 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 |.xR.....r...Tw.x| +00000190 99 0a 53 43 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea |..SC..........N.| +000001a0 da f0 79 67 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 |..yg.P.2#o.....T| +000001b0 06 54 c7 d7 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 |.T..u...o..g..+&| +000001c0 e5 13 a5 88 00 88 ae f6 d2 78 3d 76 68 e4 34 3c |.........x=vh.4<| +000001d0 73 35 b7 1e 01 87 ca 4f c8 83 80 ac b9 96 26 c7 |s5.....O......&.| +000001e0 34 dd 42 11 2b 7b de a8 da 51 dc 31 88 cf 26 83 |4.B.+{...Q.1..&.| +000001f0 4e 58 62 ab 60 60 fd 98 e7 45 ea 39 7f ee 24 7e |NXb.``...E.9..$~| +00000200 e0 36 ae a0 83 88 de 88 3b 99 72 00 fb ab 44 c4 |.6......;.r...D.| +00000210 f2 7e 1b d4 4e ed 98 b4 c9 5d 75 dd e9 c9 bb 7f |.~..N....]u.....| +00000220 28 00 ae d7 83 60 b2 c9 67 5f 4b c4 27 98 9b 35 |(....`..g_K.'..5| +00000230 82 16 55 a3 0f b9 eb ba 1f 07 02 cf 1f 8c dd 8e |..U.............| +00000240 ae 35 01 00 1d 00 20 2f e5 7d a3 47 cd 62 43 15 |.5.... /.}.G.bC.| +00000250 28 da ac 5f bb 29 07 30 ff f6 84 af c4 cf c2 ed |(.._.).0........| +00000260 90 99 5f 58 cb 3b 74 |.._X.;t| >>> Flow 2 (server to client) -00000000 16 03 03 00 7a 02 00 00 76 03 03 08 1c 46 cc 67 |....z...v....F.g| -00000010 28 4d 0a d6 a5 7f d4 ea 4d 06 eb 86 25 3a c6 a7 |(M......M...%:..| -00000020 31 11 16 6d 0b 8e 0c 65 5b 03 38 20 00 00 00 00 |1..m...e[.8 ....| +00000000 16 03 03 00 7a 02 00 00 76 03 03 73 b6 32 73 e9 |....z...v..s.2s.| +00000010 0e 73 c5 98 09 48 fd 54 c8 13 99 4c a6 59 83 03 |.s...H.T...L.Y..| +00000020 de 04 c1 53 8e bd 21 ce cf e1 b7 20 00 00 00 00 |...S..!.... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 01 00 00 |................| -00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 72 |..+.....3.$... r| -00000060 d8 1c 1d 51 0d e4 21 d6 32 49 e9 82 72 e4 af ef |...Q..!.2I..r...| -00000070 da aa 0a c8 5a a3 ba f8 b7 df 21 bc 6f 2b 0f 14 |....Z.....!.o+..| -00000080 03 03 00 01 01 17 03 03 00 24 b3 79 82 50 b7 82 |.........$.y.P..| -00000090 b0 e4 fd 38 33 06 7f 3a d8 43 13 2d 00 f1 3b 4d |...83..:.C.-..;M| -000000a0 ca a2 98 46 ce ed 57 5b cc bb f2 3d a0 9c 17 03 |...F..W[...=....| -000000b0 03 02 6d 8c a7 fe b5 54 25 19 78 7c 39 63 6b 08 |..m....T%.x|9ck.| -000000c0 2c c9 04 32 d2 6e 05 02 bd 5e a7 78 08 fb 4e 7d |,..2.n...^.x..N}| -000000d0 d8 a4 6d 97 79 62 4e e9 9c 35 d6 32 e3 36 47 07 |..m.ybN..5.2.6G.| -000000e0 d4 c9 ac 60 6a 88 87 99 67 be 06 67 dd 60 e8 a4 |...`j...g..g.`..| -000000f0 85 e0 db 47 b8 49 d2 62 38 45 9f aa d2 b3 fc 5a |...G.I.b8E.....Z| -00000100 78 93 43 4f 84 a4 96 2c 62 9f 10 69 c2 18 cd f2 |x.CO...,b..i....| -00000110 1e 2c b9 be c0 9b 81 62 f2 0b 49 69 d0 6e e0 01 |.,.....b..Ii.n..| -00000120 de e3 f1 70 66 61 df e4 4b 4b 04 f1 ab 14 6d 4e |...pfa..KK....mN| -00000130 ad fb fa 0b 57 83 c9 eb 93 f1 ae de 73 70 41 29 |....W.......spA)| -00000140 25 e2 31 20 a5 99 63 ea 35 09 ab d7 bf 1b 17 42 |%.1 ..c.5......B| -00000150 be 55 62 92 bb 17 74 84 95 8b 94 ba 48 71 b8 65 |.Ub...t.....Hq.e| -00000160 bb 15 8a 7e 9f bd c2 2e 56 5b d7 d8 e8 41 74 24 |...~....V[...At$| -00000170 4b 14 fc e4 3d 2f 1c d6 ce 1a f5 3f b2 dd 97 cc |K...=/.....?....| -00000180 c7 6c c6 92 f7 1f 67 7a 1e 0d 60 9f f9 47 02 ad |.l....gz..`..G..| -00000190 3a e7 d2 65 8d 00 7d bf ad 10 44 64 04 cd 4c 64 |:..e..}...Dd..Ld| -000001a0 8e 2d d0 9e a1 f5 6e 7e c0 47 41 e9 80 bf 3d ca |.-....n~.GA...=.| -000001b0 30 a0 50 34 ae db 54 1b 5b 8a 14 64 21 c9 83 89 |0.P4..T.[..d!...| -000001c0 a2 39 e0 e0 aa fd 0a 4d 86 11 8f 67 2e 10 49 35 |.9.....M...g..I5| -000001d0 35 a1 8b 1c 23 48 2a 44 15 08 39 d3 c7 8c 3a 9a |5...#H*D..9...:.| -000001e0 69 85 cc 07 35 4f c8 08 e4 3f 25 f4 2f 23 0f 94 |i...5O...?%./#..| -000001f0 fc 1a 88 42 91 74 5b 8b ef 67 d8 ff 79 59 31 04 |...B.t[..g..yY1.| -00000200 5d 18 2e 49 ae cb b3 5f a9 e0 9b a7 39 37 7f 25 |]..I..._....97.%| -00000210 ca 78 0e 97 73 48 7f 06 45 a6 98 9f 63 0f 34 07 |.x..sH..E...c.4.| -00000220 46 ef 9d c2 a0 01 fd e0 dc e7 13 4e f1 02 16 ad |F..........N....| -00000230 af 2c 62 50 90 05 02 77 0d 1d 2e 81 8d fe e0 6e |.,bP...w.......n| -00000240 e2 5f 4f 08 98 3e 40 c0 61 62 84 97 ab 2d 9d 8d |._O..>@.ab...-..| -00000250 e1 cf d4 c7 f9 f8 7a f4 35 1a be b3 00 13 ab 0a |......z.5.......| -00000260 98 12 08 3e 62 8f f2 bd 0b 76 57 df c4 a6 cb a1 |...>b....vW.....| -00000270 ee e2 e3 08 c9 79 b4 76 03 c6 39 63 ea 61 46 19 |.....y.v..9c.aF.| -00000280 d2 82 d1 a1 6c 0e 42 51 38 53 90 0e 7d 8e 4b b1 |....l.BQ8S..}.K.| -00000290 91 1a 65 d1 5e b9 8d 08 91 2a 9a f1 25 8a a3 a7 |..e.^....*..%...| -000002a0 21 5d d2 d7 7f e5 27 c8 b0 42 49 4a b9 35 5f df |!]....'..BIJ.5_.| -000002b0 b1 a2 f2 08 b2 5a 3e 5f eb 2b e6 a3 2e 4f ae 48 |.....Z>_.+...O.H| -000002c0 04 f0 f4 c0 43 f1 64 ec 76 9d 12 e7 18 6d 95 ac |....C.d.v....m..| -000002d0 fb 18 f9 3a 0a 4c 35 00 2e ed c7 78 3b 95 66 d0 |...:.L5....x;.f.| -000002e0 41 f0 04 d8 b3 45 fc 16 f7 6a 8c be 2d 30 11 08 |A....E...j..-0..| -000002f0 38 7f d2 07 7c 8f ef 0f 65 32 16 5b 60 9b 54 a1 |8...|...e2.[`.T.| -00000300 ee 97 4a 42 54 f4 4e 87 47 a5 ef e2 54 64 07 49 |..JBT.N.G...Td.I| -00000310 c6 46 d9 f1 75 66 7f 15 2b d6 a7 0c 81 55 21 33 |.F..uf..+....U!3| -00000320 17 03 03 00 99 ba c3 b0 2f a9 6d cc 36 f2 06 8e |......../.m.6...| -00000330 f4 6d 25 d7 b1 48 e0 93 28 7c 17 16 71 23 64 0a |.m%..H..(|..q#d.| -00000340 6d c4 0e 36 c4 90 8c 55 79 a8 ae 4a 38 30 a9 36 |m..6...Uy..J80.6| -00000350 72 1b 29 6f f1 18 50 73 ae bc 3c f9 e6 35 50 5c |r.)o..Ps..<..5P\| -00000360 60 c6 fc b5 a4 ad ed 0e 48 37 72 f3 39 31 d0 5d |`.......H7r.91.]| -00000370 18 63 65 c6 5b 0a 45 5a e7 43 dd 75 57 c9 88 e1 |.ce.[.EZ.C.uW...| -00000380 5c 3d 8f ec fa 4c 5f e4 dd ed 17 d0 24 b8 f5 48 |\=...L_.....$..H| -00000390 61 1d 62 57 db cc 0c c2 3f 90 e6 68 53 2d b0 77 |a.bW....?..hS-.w| -000003a0 65 5f f9 54 92 c6 3f 25 4f 74 7c 7e 12 03 cc 17 |e_.T..?%Ot|~....| -000003b0 97 3d be 92 86 ce 1f 54 88 29 4b a0 32 ff 17 03 |.=.....T.)K.2...| -000003c0 03 00 35 2d 51 83 70 c1 62 f7 8c 4b ab 9b 46 ac |..5-Q.p.b..K..F.| -000003d0 86 19 44 d8 00 ba db 88 af 14 a8 4b ff eb 93 c8 |..D........K....| -000003e0 0c 2c 6e bf 23 5b 9b 3e 8c af 8e 93 d0 9f cb 7b |.,n.#[.>.......{| -000003f0 af ed e5 83 cd 2d db 6d |.....-.m| +00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 ae |..+.....3.$... .| +00000060 b4 3e ed 7b 24 32 85 57 62 15 d9 73 7c 18 9d 42 |.>.{$2.Wb..s|..B| +00000070 df c6 22 33 34 24 b7 5e 12 a3 65 ad da c9 3b 14 |.."34$.^..e...;.| +00000080 03 03 00 01 01 17 03 03 00 24 e0 45 0e b6 28 18 |.........$.E..(.| +00000090 c3 1b 8c e6 6a 20 8f 0c 14 35 f6 31 c9 2e 6b b6 |....j ...5.1..k.| +000000a0 e5 bf 2a f4 42 7d 91 27 8c 8d c3 02 59 cb 17 03 |..*.B}.'....Y...| +000000b0 03 02 6d fd 99 b7 77 9a c3 38 c1 50 91 ad 73 6f |..m...w..8.P..so| +000000c0 eb 17 6a 4d ba b7 eb 10 24 1c c8 a7 51 54 77 47 |..jM....$...QTwG| +000000d0 54 0c 0d 28 02 d6 12 48 a1 79 8c 4d 53 9d 8c 6d |T..(...H.y.MS..m| +000000e0 f9 b9 62 94 d1 bf c5 74 c8 a9 09 a8 43 a6 1f a0 |..b....t....C...| +000000f0 dc f1 1d cb 95 f5 8f b8 8e 8c 61 51 ec 0d 31 ca |..........aQ..1.| +00000100 e8 15 63 25 df 6a 14 3c 46 e6 45 3d 46 75 4a b5 |..c%.j.J......S.o...EW| +00000120 af 16 a9 b5 52 f9 9a 5f 33 d7 50 8b c7 ba 76 e9 |....R.._3.P...v.| +00000130 65 74 03 bd f3 18 f9 8f 0b 18 fe 70 4b 9e 84 6a |et.........pK..j| +00000140 e1 4b ea 12 f2 eb 13 88 f5 ea b1 55 4f 50 65 81 |.K.........UOPe.| +00000150 e6 92 23 56 e7 5d 96 a5 17 81 d3 96 2c 4a 10 b6 |..#V.]......,J..| +00000160 63 2b 55 cf a4 ce 26 31 e0 8a 3b ec 16 5e 7d 1a |c+U...&1..;..^}.| +00000170 f8 0b 57 ff cd 3d e4 43 77 05 a0 91 80 d0 20 e0 |..W..=.Cw..... .| +00000180 24 7e bb 19 e8 82 e5 f6 56 f3 c2 9f 88 b9 1c b9 |$~......V.......| +00000190 a0 19 4e f8 62 61 a3 22 ec d0 0f 96 a9 ac c9 a8 |..N.ba."........| +000001a0 5d 9d 32 20 b3 86 ed 5a 7c 77 3f 0c ff 7c fd dd |].2 ...Z|w?..|..| +000001b0 43 da 4a 44 2c fe 84 35 81 3c 49 04 50 39 77 52 |C.JD,..5.~}...J.V| +00000220 74 8e 3a 06 59 f4 49 e0 23 20 56 88 8d 38 0b b0 |t.:.Y.I.# V..8..| +00000230 4e f7 16 bb 23 f1 96 84 cd b4 27 cf 63 1a cf 61 |N...#.....'.c..a| +00000240 e5 e1 b2 6a 77 10 95 23 e2 64 94 21 d5 8c d4 66 |...jw..#.d.!...f| +00000250 2b 76 a4 43 85 4d c3 9b d2 3d 99 d3 29 d8 a5 ee |+v.C.M...=..)...| +00000260 20 98 4b 1e 6f 40 5f 8d 15 4e 90 a4 d0 b4 b0 c7 | .K.o@_..N......| +00000270 5a 06 3d f7 b0 f8 64 8b be 27 db 52 35 66 f0 86 |Z.=...d..'.R5f..| +00000280 0f 90 7d 3b 57 72 2f bf 0e cb 95 1e 24 4c 8e 26 |..};Wr/.....$L.&| +00000290 de 44 70 84 d5 7d ac 35 c9 cf bd f9 37 82 27 7c |.Dp..}.5....7.'|| +000002a0 f3 24 35 51 39 9f 7f 64 2c 5f 6b ef 5a e4 f2 25 |.$5Q9..d,_k.Z..%| +000002b0 77 a4 20 88 05 53 4f bb 71 16 47 9a d5 02 32 bc |w. ..SO.q.G...2.| +000002c0 bb 2c b5 df d7 e0 af 99 54 52 b4 d8 bf 0d c5 40 |.,......TR.....@| +000002d0 ce 5f c3 a8 25 dc 57 08 6d 8c e3 3c 8a d2 1b d4 |._..%.W.m..<....| +000002e0 8e d2 72 47 dc 05 ac 9a 74 d7 1e 29 d0 87 dc 3d |..rG....t..)...=| +000002f0 95 dc 3f ad 2d bd 1c c6 01 f5 68 de 50 21 f7 01 |..?.-.....h.P!..| +00000300 60 17 a2 a3 0f 85 5b d2 f2 72 bf ed 57 0f 8c 11 |`.....[..r..W...| +00000310 4d 68 ae c2 4b 36 25 47 2e 10 36 fc 87 2b e6 66 |Mh..K6%G..6..+.f| +00000320 17 03 03 00 99 8a 66 68 e0 9e 31 12 db 90 e3 4f |......fh..1....O| +00000330 9a dd 22 cd 52 ed 6b b9 95 83 8e 67 11 d4 08 a5 |..".R.k....g....| +00000340 a4 9f 24 f1 08 32 6c 13 a8 c0 91 1b 7c ca 2f 98 |..$..2l.....|./.| +00000350 ce a8 49 f0 1b 29 e5 e5 94 00 27 ba 98 5c 2e 17 |..I..)....'..\..| +00000360 aa 39 28 47 ad 81 f8 37 a6 a0 69 17 01 9d fd 9c |.9(G...7..i.....| +00000370 b6 66 b9 be e2 5d 83 6e a9 13 07 6a b0 62 bd c1 |.f...].n...j.b..| +00000380 2e 6e c8 d8 34 78 86 8a af 91 72 19 38 74 a9 10 |.n..4x....r.8t..| +00000390 4d 87 98 20 9e f1 bc 94 8c a0 95 d2 d0 fc 5a 98 |M.. ..........Z.| +000003a0 63 f0 40 46 85 6e 12 65 d3 fa 00 4d a0 4b f9 c5 |c.@F.n.e...M.K..| +000003b0 dd 14 1d 55 76 8c c3 c8 d0 be ea 1d 0c d9 17 03 |...Uv...........| +000003c0 03 00 35 04 04 97 16 4a b1 8a a9 6e c9 b6 ed 69 |..5....J...n...i| +000003d0 fe 8e 02 8c e8 59 82 ec cd 6b 43 3f 95 88 56 34 |.....Y...kC?..V4| +000003e0 4a 46 dc 02 09 44 b7 fc 44 15 3a 37 a8 85 b0 c4 |JF...D..D.:7....| +000003f0 81 8d 63 3e 72 ac 00 12 |..c>r...| >>> Flow 3 (client to server) -00000000 14 03 03 00 01 01 17 03 03 00 35 2a 84 27 a2 e8 |..........5*.'..| -00000010 19 97 47 80 41 9a bf 1d c9 f5 39 ad 8b f5 f2 77 |..G.A.....9....w| -00000020 a9 fe e9 03 74 58 a8 50 29 56 ac 49 6c 3b 42 1a |....tX.P)V.Il;B.| -00000030 19 81 ca 6f 7b 62 93 a8 39 b4 e8 db 66 98 04 82 |...o{b..9...f...| -00000040 17 03 03 00 17 91 98 f7 aa 2e c3 b6 eb 44 22 05 |.............D".| -00000050 47 4d f3 cb 1e b8 a5 1d ab 0c e3 be 17 03 03 00 |GM..............| -00000060 13 56 cf 09 30 15 f1 a8 da c3 01 1d d8 5a 0d 1e |.V..0........Z..| -00000070 f2 67 36 1a |.g6.| +00000000 14 03 03 00 01 01 17 03 03 00 35 94 da e6 44 d1 |..........5...D.| +00000010 ed c7 61 59 5a dd a7 6f f2 4a 01 70 9f 80 2d 81 |..aYZ..o.J.p..-.| +00000020 8b 64 8f 6b 69 2e 57 5b 2b 45 93 50 e0 6a ba 5e |.d.ki.W[+E.P.j.^| +00000030 25 a9 23 6c c7 ee cc 18 c0 d8 fe 48 cd 55 cf 6f |%.#l.......H.U.o| +00000040 17 03 03 00 17 e6 45 56 6a a8 43 b1 ba b8 d2 2d |......EVj.C....-| +00000050 6a e4 4d e2 1d 45 f7 ab 8d 88 ea a0 17 03 03 00 |j.M..E..........| +00000060 13 ad 46 a7 9f 18 0b 3b ce 9f 2f 92 0e 9f c8 df |..F....;../.....| +00000070 76 4b b9 ca |vK..| diff --git a/src/crypto/tls/testdata/Client-TLSv13-CHACHA20-SHA256 b/src/crypto/tls/testdata/Client-TLSv13-CHACHA20-SHA256 index 443cb193544..beaa813b7ed 100644 --- a/src/crypto/tls/testdata/Client-TLSv13-CHACHA20-SHA256 +++ b/src/crypto/tls/testdata/Client-TLSv13-CHACHA20-SHA256 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,85 +7,106 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 7a 02 00 00 76 03 03 ad ef ab d9 a4 |....z...v.......| -00000010 1b fe b7 af 46 7a c2 05 41 da 48 2d 89 9d 7f 94 |....Fz..A.H-....| -00000020 fa a0 cf a0 3a f1 70 6e 42 b1 bc 20 00 00 00 00 |....:.pnB.. ....| +00000000 16 03 03 00 7a 02 00 00 76 03 03 5a f2 73 ed fa |....z...v..Z.s..| +00000010 4c 24 fb d6 2c bd 65 f1 07 1a 03 d4 12 82 f6 0c |L$..,.e.........| +00000020 71 87 f5 ac bd 09 7e 70 bd 47 dd 20 00 00 00 00 |q.....~p.G. ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 03 00 00 |................| -00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 ad |..+.....3.$... .| -00000060 90 e2 c9 79 fb 9e e3 2a e4 a6 30 25 ee e1 0d 6f |...y...*..0%...o| -00000070 1e d7 5e 0d 57 45 ee 54 17 a1 21 89 b6 ad 42 14 |..^.WE.T..!...B.| -00000080 03 03 00 01 01 17 03 03 00 17 d7 29 25 db e7 33 |...........)%..3| -00000090 d1 e7 39 9a 09 7f dd d2 cd ca 30 3d 0f 70 6e 3a |..9.......0=.pn:| -000000a0 34 17 03 03 02 6d b2 62 ef 01 20 c3 7b 2f bb 71 |4....m.b.. .{/.q| -000000b0 c4 29 6b 9c 0c cf 33 68 66 a0 9e 9f 57 76 10 eb |.)k...3hf...Wv..| -000000c0 1a b9 d6 2c 06 40 89 20 2d 8f 9d 75 2c e6 4d f2 |...,.@. -..u,.M.| -000000d0 f4 49 d1 d4 e7 40 95 71 82 56 85 d3 73 3f ea 47 |.I...@.q.V..s?.G| -000000e0 a1 c7 b1 f1 4e 0b 63 46 f8 11 64 fb 20 05 17 c6 |....N.cF..d. ...| -000000f0 02 e7 da 07 f7 4c 34 fc 59 69 79 e7 51 05 bf b3 |.....L4.Yiy.Q...| -00000100 e5 18 45 fd a5 a3 ca 0e 21 fd ff 4d 3e c9 87 2d |..E.....!..M>..-| -00000110 3b b3 4a 97 3c de 62 ed 97 29 ad 9b a7 fd 73 34 |;.J.<.b..)....s4| -00000120 f1 8e b6 71 c6 39 28 cd 4e 61 42 a0 e2 37 9a f1 |...q.9(.NaB..7..| -00000130 63 bf 6f da b4 63 02 93 68 2c 56 30 69 5b cb fe |c.o..c..h,V0i[..| -00000140 12 33 32 c4 d4 34 d8 74 82 4b 24 6e 02 d4 0d 26 |.32..4.t.K$n...&| -00000150 18 5b 82 8a 57 98 63 b6 64 a1 32 af e7 0d fd 8d |.[..W.c.d.2.....| -00000160 5a 6a bd 0b 82 e5 56 11 a5 98 fe 3b ed 0c a5 3e |Zj....V....;...>| -00000170 2c 22 2c 94 82 d4 5a 72 4c 6f ba c2 17 81 09 49 |,",...ZrLo.....I| -00000180 08 45 92 d7 53 01 1a e3 ee 8b 6c 17 d2 b6 0d ed |.E..S.....l.....| -00000190 83 93 85 ad 58 b2 1a e9 5b 7d be 2d 54 8a df c7 |....X...[}.-T...| -000001a0 54 81 77 b9 a5 cd 54 94 14 6b 3f 21 ca 05 2d 69 |T.w...T..k?!..-i| -000001b0 61 f3 38 0f c5 6b 07 bf e9 83 cf 39 ba 49 a3 5d |a.8..k.....9.I.]| -000001c0 0f af 40 d6 af 12 eb 60 16 a3 6a df 47 0e f6 07 |..@....`..j.G...| -000001d0 fb dc 5c fb d6 dc c8 b7 39 b6 f1 5d bd d7 62 43 |..\.....9..]..bC| -000001e0 94 41 08 26 83 60 a2 cc 58 fe e7 db 49 7a 02 65 |.A.&.`..X...Iz.e| -000001f0 75 f1 0a 80 08 01 02 37 10 c2 28 66 bc 7f d6 75 |u......7..(f...u| -00000200 0d 88 82 0f 47 a2 cc 9e 82 76 fd 1d 5c cc 50 40 |....G....v..\.P@| -00000210 a1 51 44 6c dd f0 08 c5 ff c1 01 35 b7 eb ca 56 |.QDl.......5...V| -00000220 6f f4 20 91 8c 04 51 fc dc 0f f4 b5 f3 6f 08 dc |o. ...Q......o..| -00000230 bb 1c ca 1b 30 6d 09 37 78 d3 7a 0e 08 51 ed 3f |....0m.7x.z..Q.?| -00000240 28 c3 ec 38 44 8c ec 85 a1 26 73 d4 71 41 da b8 |(..8D....&s.qA..| -00000250 2c bc 8d 35 c0 f6 c5 09 0e 32 c3 3e c8 17 fd 53 |,..5.....2.>...S| -00000260 6a c8 09 8c 12 78 dd 41 af 6b a5 e1 76 ff 1b e9 |j....x.A.k..v...| -00000270 a3 e6 58 bc 60 2f ad 0b b4 f9 85 5a 78 41 ff fa |..X.`/.....ZxA..| -00000280 95 73 e1 88 85 80 77 8c 94 c9 63 4e b3 e4 87 de |.s....w...cN....| -00000290 b4 0f ac 90 97 a2 7f c5 ad fa 08 3f 06 9e ca 3d |...........?...=| -000002a0 90 8c c5 f3 1c 56 63 e0 f8 4f f3 af 26 28 54 ec |.....Vc..O..&(T.| -000002b0 16 6a 91 d7 e4 19 2f 77 ea 62 74 3d 03 90 fb 56 |.j..../w.bt=...V| -000002c0 f8 85 b4 4f db dd 61 1f 5b 99 f5 39 94 b7 ef e1 |...O..a.[..9....| -000002d0 c3 ba 1e af 38 85 95 32 63 19 40 20 e9 a5 6c c7 |....8..2c.@ ..l.| -000002e0 a0 94 4e f9 98 15 6f 47 00 9d 02 d8 54 46 23 59 |..N...oG....TF#Y| -000002f0 5f 6d 0b 33 5f a5 10 b7 57 f8 ca 95 cc f5 a4 b7 |_m.3_...W.......| -00000300 4c 99 83 16 09 d3 18 ba 15 60 25 5c 43 a1 22 9c |L........`%\C.".| -00000310 67 bd e0 17 03 03 00 99 87 15 39 6b dd 14 82 d9 |g.........9k....| -00000320 d5 5b 13 85 60 b6 f6 37 f5 8e 13 b9 19 56 70 59 |.[..`..7.....VpY| -00000330 e8 91 61 a9 64 d4 62 b8 6c 05 ad d3 d8 f3 18 1c |..a.d.b.l.......| -00000340 c2 3e 2c 41 4b 46 09 ab fe 58 a7 50 af c0 80 d7 |.>,AKF...X.P....| -00000350 44 8f 28 49 fd 79 34 96 b4 3e 32 e3 02 a6 db d0 |D.(I.y4..>2.....| -00000360 b9 d0 b0 1a 31 fb 9d 56 d0 b3 62 62 3a 17 81 a6 |....1..V..bb:...| -00000370 ef d3 b8 54 77 a9 5c 04 ab cb ad fc 44 c4 36 71 |...Tw.\.....D.6q| -00000380 2f 36 17 b9 3b b9 19 01 38 9e 07 f3 2f b8 d3 f6 |/6..;...8.../...| -00000390 fe d7 4f 0c a0 c8 5d 73 f1 82 4e a8 ff 81 1d db |..O...]s..N.....| -000003a0 e5 08 fb 80 cb b0 99 11 34 17 ff 2b 1b 18 6b fd |........4..+..k.| -000003b0 99 17 03 03 00 35 e7 98 d1 11 4e dc 4f e3 eb fb |.....5....N.O...| -000003c0 e8 ea 6a 34 ae ca e7 d1 35 5d b4 d5 07 16 18 23 |..j4....5].....#| -000003d0 58 10 12 56 6f 7e 16 35 e9 54 63 cd 2f 94 cc e4 |X..Vo~.5.Tc./...| -000003e0 18 46 68 d5 6b 53 5a 4b b1 fe a8 |.Fh.kSZK...| +00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 16 |..+.....3.$... .| +00000060 63 26 ad ba 15 62 11 3e 97 38 4e d2 89 5e fe aa |c&...b.>.8N..^..| +00000070 5c f5 ae a1 45 4c 68 4a 0c ec d3 82 a2 ff 7d 14 |\...ELhJ......}.| +00000080 03 03 00 01 01 17 03 03 00 17 8d fd 30 3f c8 ed |............0?..| +00000090 86 e7 bb 89 5a 8a f8 f3 db 34 3f 7c 3f e6 d7 56 |....Z....4?|?..V| +000000a0 2f 17 03 03 02 6d 47 fd 03 4a b9 06 09 f7 15 38 |/....mG..J.....8| +000000b0 1f 56 b1 a4 4d b2 0c 2b a5 4f 1d 24 e2 e8 3d bc |.V..M..+.O.$..=.| +000000c0 61 3c 6e 04 39 97 a5 af df ad 4c c7 57 84 e5 90 |a*.#.m.~c%...d.| +00000260 46 70 6f 58 b3 fb aa 4a 1b f4 3b a0 72 0b 57 0f |FpoX...J..;.r.W.| +00000270 e0 d8 08 8b 47 8b 0f b7 c0 3f bc 42 27 4c 89 b3 |....G....?.B'L..| +00000280 08 24 00 88 a9 a5 4b c3 22 96 62 65 17 54 7d e7 |.$....K.".be.T}.| +00000290 a7 c5 2e f4 95 ac fe a8 9b ed 70 b8 7d 9c d9 18 |..........p.}...| +000002a0 e5 e4 5f f5 31 58 fe 32 73 61 25 67 35 bf 7c 13 |.._.1X.2sa%g5.|.| +000002b0 20 57 38 60 d1 23 0b 9c 8c 40 7e 06 36 d0 22 04 | W8`.#...@~.6.".| +000002c0 49 4c 9f 61 f2 e2 cc a1 1b 48 32 b1 fb 05 f3 29 |IL.a.....H2....)| +000002d0 dc a0 f4 2d 3b f5 ae ef 59 d1 e7 c4 62 18 92 72 |...-;...Y...b..r| +000002e0 eb 3f bf 66 84 e4 a0 34 15 34 21 42 40 c2 98 dd |.?.f...4.4!B@...| +000002f0 4b 4d e2 41 61 66 73 0a 98 3d 5d d5 b9 55 7e 67 |KM.Aafs..=]..U~g| +00000300 46 45 73 ef f0 81 b2 68 dc 9f 94 de 71 b0 0a d7 |FEs....h....q...| +00000310 54 43 e0 17 03 03 00 99 32 c7 8e a6 58 a9 b2 6c |TC......2...X..l| +00000320 31 ab 0e 3e ce d8 81 66 8f 29 28 9f 43 ea 67 85 |1..>...f.)(.C.g.| +00000330 74 79 9d 24 ef 71 1f 5e 8c e3 81 83 53 a4 d6 42 |ty.$.q.^....S..B| +00000340 3a d1 07 b8 9e 84 cc 19 0a 3b ed 26 d6 5e d2 29 |:........;.&.^.)| +00000350 00 74 e2 d8 ab cc 69 d5 1c f9 fc c4 8c 6f 1b 21 |.t....i......o.!| +00000360 96 ca 8b 6e 82 af 47 d4 3d 8f ab cd f0 7f 30 90 |...n..G.=.....0.| +00000370 0b 28 75 f0 75 72 ce 6e 3c 9e 1e c9 33 e0 7c 11 |.(u.ur.n<...3.|.| +00000380 25 2f 98 90 21 1c 8e 6a 6d 45 4b 49 ba d7 da 2e |%/..!..jmEKI....| +00000390 16 c1 8f 85 4b 12 2c d7 fd 96 53 20 98 a4 21 7c |....K.,...S ..!|| +000003a0 c7 21 57 2d 2e 4e 18 8e 1d e2 89 a0 84 ab 28 3c |.!W-.N........(<| +000003b0 02 17 03 03 00 35 4d e6 bd 45 35 5d 24 ad 6a 04 |.....5M..E5]$.j.| +000003c0 21 54 5f 42 8e 29 bc 3d 53 ce 02 28 e2 ac 66 3f |!T_B.).=S..(..f?| +000003d0 d9 d4 e5 c2 1f f8 16 ed 93 70 ab 2f 7d 0f b8 c7 |.........p./}...| +000003e0 f3 2c a7 66 60 0e 08 c3 21 f1 cb |.,.f`...!..| >>> Flow 3 (client to server) -00000000 14 03 03 00 01 01 17 03 03 00 35 ea a4 12 22 e4 |..........5...".| -00000010 56 ec a1 e4 b0 6f 25 72 ee 57 34 f4 90 55 05 19 |V....o%r.W4..U..| -00000020 48 47 f2 83 ef 24 f9 aa 1d ae 06 e8 fb a8 09 31 |HG...$.........1| -00000030 e9 48 8a d2 09 a4 29 db 9e e9 31 7f 83 a5 a9 ea |.H....)...1.....| -00000040 17 03 03 00 17 3a 5c 00 a0 a2 ae 96 18 16 88 03 |.....:\.........| -00000050 9b 6b 52 e6 80 2f 61 fd 1e 08 61 77 17 03 03 00 |.kR../a...aw....| -00000060 13 5c cd 27 90 7a b7 0b 5c e5 a5 4d fa 37 b4 28 |.\.'.z..\..M.7.(| -00000070 28 4c eb e6 |(L..| +00000000 14 03 03 00 01 01 17 03 03 00 35 98 07 be e9 f4 |..........5.....| +00000010 d7 f3 75 c6 ed 46 f0 5c 04 83 44 df 61 71 9d d6 |..u..F.\..D.aq..| +00000020 2a 36 0c 34 91 00 b2 a2 df bc aa f5 d4 5c 78 2a |*6.4.........\x*| +00000030 06 d0 36 ea a3 21 8d 1d 5b 3a a3 2d a8 8b ad e8 |..6..!..[:.-....| +00000040 17 03 03 00 17 2f 5c f8 ad 1f 37 a2 7b b8 21 7c |...../\...7.{.!|| +00000050 20 e2 93 56 b1 6c 54 3a 47 10 7a d8 17 03 03 00 | ..V.lT:G.z.....| +00000060 13 4d 8a 17 c3 d6 0e 1f 51 8e c6 9c 67 74 db ca |.M......Q...gt..| +00000070 74 ba 0c 6f |t..o| diff --git a/src/crypto/tls/testdata/Client-TLSv13-ClientCert-ECDSA-RSA b/src/crypto/tls/testdata/Client-TLSv13-ClientCert-ECDSA-RSA index 8de8f21c382..bbb9353e5a4 100644 --- a/src/crypto/tls/testdata/Client-TLSv13-ClientCert-ECDSA-RSA +++ b/src/crypto/tls/testdata/Client-TLSv13-ClientCert-ECDSA-RSA @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,134 +7,155 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 7a 02 00 00 76 03 03 ee 53 85 eb 3e |....z...v...S..>| -00000010 0d 92 38 59 86 c7 03 a4 ab a1 76 ad 03 46 19 05 |..8Y......v..F..| -00000020 06 e1 1b c8 92 60 7a aa 1d f1 58 20 00 00 00 00 |.....`z...X ....| +00000000 16 03 03 00 7a 02 00 00 76 03 03 d9 df ee 09 77 |....z...v......w| +00000010 97 33 b0 38 41 89 53 f6 c1 7b ef 04 05 49 c4 43 |.3.8A.S..{...I.C| +00000020 a8 d2 8b b6 90 9e 9a 31 e5 bd 35 20 00 00 00 00 |.......1..5 ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 01 00 00 |................| -00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 ea |..+.....3.$... .| -00000060 e0 a0 7c 27 52 91 ba 9b a0 52 52 6c 3d a5 1a 93 |..|'R....RRl=...| -00000070 20 3d b6 16 95 ac 25 e2 9d 52 b7 50 01 8c 72 14 | =....%..R.P..r.| -00000080 03 03 00 01 01 17 03 03 00 17 a1 dd 58 1b a3 0f |............X...| -00000090 39 ad 6b 8b 1c 2d 7b 15 c2 c4 6e 57 b7 36 e4 78 |9.k..-{...nW.6.x| -000000a0 9f 17 03 03 00 42 79 c2 8f c8 6c bb f0 8a 45 d6 |.....By...l...E.| -000000b0 2f c8 ea 5c 24 3e 19 60 1b f2 b2 d3 b1 92 52 5b |/..\$>.`......R[| -000000c0 c1 ec ec 4a dd 0e 56 6c 93 88 46 65 fd 03 7e d1 |...J..Vl..Fe..~.| -000000d0 79 d2 6c a3 d7 9f d9 d5 02 ca cb a7 6f ab c3 a4 |y.l.........o...| -000000e0 65 30 82 7d a5 41 70 4d 17 03 03 02 6d 45 75 0a |e0.}.ApM....mEu.| -000000f0 90 e9 ae ad 87 3f 76 d1 69 00 0d 80 11 46 f1 ac |.....?v.i....F..| -00000100 22 1e 4a 9f 32 8f a5 7b 6a c8 5c da 6b a8 62 30 |".J.2..{j.\.k.b0| -00000110 63 d5 23 1f 25 fe 52 7c 9f 14 69 d3 84 a1 77 fe |c.#.%.R|..i...w.| -00000120 49 7b 39 94 0a 43 62 0a 3e 3e 19 c1 e9 40 d7 ac |I{9..Cb.>>...@..| -00000130 f5 2b 64 ba 73 12 05 49 b5 d2 12 56 5f 51 d7 05 |.+d.s..I...V_Q..| -00000140 aa d0 ab 2c 10 f4 55 c0 84 7a 30 1d 16 c4 7d bb |...,..U..z0...}.| -00000150 05 28 f3 a5 5f 08 f7 8f c1 99 76 fe 0a d6 f9 0e |.(.._.....v.....| -00000160 41 31 a3 e8 37 cc 14 ac 50 37 2e b1 25 31 73 9a |A1..7...P7..%1s.| -00000170 63 cc a1 47 47 9d e2 6c 57 d9 64 4c 60 4a 1d d3 |c..GG..lW.dL`J..| -00000180 9f 74 a1 25 00 9b c2 4c 08 90 4d 86 1b 10 93 e3 |.t.%...L..M.....| -00000190 fe 98 19 ea b9 9c 68 50 f6 9e 20 a1 36 3d aa bf |......hP.. .6=..| -000001a0 53 6b 45 28 ba b4 66 34 67 24 82 08 22 b0 8d 58 |SkE(..f4g$.."..X| -000001b0 52 f6 a7 40 52 fe 2f e4 fa 31 98 5d 2f 08 7d 92 |R..@R./..1.]/.}.| -000001c0 f4 1a 69 4b 9b 64 95 87 64 73 08 b1 ac ec 27 6b |..iK.d..ds....'k| -000001d0 c9 eb 80 5f b0 7d 6b fa a9 d2 36 1f a5 06 31 f6 |..._.}k...6...1.| -000001e0 f7 26 4e 22 71 6c 8c ce 9d ca 3d c0 35 7d bb 25 |.&N"ql....=.5}.%| -000001f0 1a 40 f6 e1 6e 4a f7 70 4f 3a 49 6b 1c 0c 25 9d |.@..nJ.pO:Ik..%.| -00000200 35 fa ec f2 36 41 e9 bc d6 07 87 1e 2f be f7 57 |5...6A....../..W| -00000210 d4 fa 8c 42 c1 d5 69 5e ce b8 52 51 c2 2a c6 f7 |...B..i^..RQ.*..| -00000220 cb b4 fd ce d2 bf 52 83 cc 13 84 3e 7b 2b 01 f3 |......R....>{+..| -00000230 2d 9e b9 73 5a 4d 5f 01 1c 3b 0a c2 d5 1e f9 ae |-..sZM_..;......| -00000240 b6 3a 9a ee 67 e5 4e e0 82 97 cf 97 77 87 05 f4 |.:..g.N.....w...| -00000250 cb 63 b7 b0 da 81 63 fc d4 bf b1 c4 52 9a 7d 0c |.c....c.....R.}.| -00000260 25 78 08 10 28 f2 97 f5 25 fa 6c 80 76 30 48 1c |%x..(...%.l.v0H.| -00000270 b3 e2 88 7d 5c 37 14 5b ae 40 3f 67 31 13 39 bc |...}\7.[.@?g1.9.| -00000280 2c 70 fb 12 57 25 8a a3 8b e7 89 36 23 0e fc 7a |,p..W%.....6#..z| -00000290 6b 2e 9f d4 9d c3 7f 0a b1 65 0c d4 29 97 e9 b5 |k........e..)...| -000002a0 17 e2 5a 69 b7 d3 12 89 ac 72 e0 86 07 c0 99 de |..Zi.....r......| -000002b0 ad 19 af c5 7e 8d 6d d4 76 61 74 27 29 d2 7e 25 |....~.m.vat').~%| -000002c0 3c 41 12 83 f5 0b e6 65 16 31 ed ef c5 14 48 2e |.E| +000000a0 25 17 03 03 00 42 ee ac 66 f7 dd eb 6b 86 e7 5e |%....B..f...k..^| +000000b0 45 0c 85 8e 33 2b ed 50 cf a3 62 b2 6c 3c ee 5f |E...3+.P..b.l<._| +000000c0 4d dc 6e 6e 47 17 29 ce bf f5 c4 2e 93 61 fb 07 |M.nnG.)......a..| +000000d0 ee 8c 36 66 5e f8 f1 c0 18 d7 ca fa f3 65 0c b0 |..6f^........e..| +000000e0 15 03 a5 5b 55 c1 02 15 17 03 03 02 6d 17 6a 15 |...[U.......m.j.| +000000f0 23 bc cc 08 75 fd 90 4c 1c 54 e7 20 7c 0b 26 3b |#...u..L.T. |.&;| +00000100 58 07 5f 57 42 31 ed 5d 32 aa ae c0 ba 9c 57 33 |X._WB1.]2.....W3| +00000110 06 aa 46 62 ea f4 6a 8e 95 fc e8 81 a5 2f b5 22 |..Fb..j....../."| +00000120 e2 8e 17 db 88 ee 28 9e 33 55 f6 75 31 43 b1 40 |......(.3U.u1C.@| +00000130 da ca 22 74 3c 63 7a eb 00 ad f3 58 d4 ad b9 eb |.."t...G..Z.| +00000200 c5 67 d5 75 43 de 30 a0 48 b0 ec 10 f3 07 b3 d1 |.g.uC.0.H.......| +00000210 f4 19 be dc 44 9c 38 1e e4 7a c8 c7 c7 67 84 b8 |....D.8..z...g..| +00000220 3b da c5 a6 63 3e 79 62 b1 91 83 c4 a5 e3 ce bd |;...c>yb........| +00000230 54 44 b9 17 17 52 79 dd aa 69 56 8c da c0 28 d7 |TD...Ry..iV...(.| +00000240 56 13 6d b0 ad ad 97 21 a8 19 33 2b 30 13 9b 09 |V.m....!..3+0...| +00000250 7d 30 5e 4c 92 66 dd 34 50 bf cc e5 ac 21 ed 71 |}0^L.f.4P....!.q| +00000260 a8 5d 3f e1 6f 19 cb 4d 26 f4 7b 1f e8 1c c6 57 |.]?.o..M&.{....W| +00000270 4a 38 b7 df a9 75 1b fe dc 0e 1a 59 50 91 d0 b7 |J8...u.....YP...| +00000280 d1 88 00 3d 61 0a 26 26 77 32 29 fa 16 83 aa aa |...=a.&&w2).....| +00000290 34 f8 8c 49 b6 af 28 9b b7 af 02 5a d2 39 f7 de |4..I..(....Z.9..| +000002a0 e3 a9 f0 88 76 9a 60 ac 93 bb a3 ea 54 52 d4 1d |....v.`.....TR..| +000002b0 f9 36 24 dd 01 40 e3 46 63 37 a5 5b e0 b1 58 37 |.6$..@.Fc7.[..X7| +000002c0 28 e8 63 55 55 22 79 86 92 2f f4 93 e8 7f 1f 78 |(.cUU"y../.....x| +000002d0 72 18 f9 52 f0 88 c9 3f 34 54 d2 ed df dd 39 48 |r..R...?4T....9H| +000002e0 42 38 bc 9f f5 1c ae f9 34 b2 2a e3 10 be c7 8f |B8......4.*.....| +000002f0 cd 2f 5b d0 43 cc cd c5 a5 8f 4b 4a 9e 89 d1 bf |./[.C.....KJ....| +00000300 44 fc c8 98 57 71 ee b0 0e 59 23 ad 43 18 58 c9 |D...Wq...Y#.C.X.| +00000310 3d 4c c8 dd f2 97 b1 da 41 14 7b 5f 12 85 b8 40 |=L......A.{_...@| +00000320 48 0c c6 1f 96 ef e3 c5 33 5a cb a8 77 ed e2 63 |H.......3Z..w..c| +00000330 dd b9 73 8e 95 84 1c d2 e9 39 bf 18 d5 fc 82 11 |..s......9......| +00000340 d0 0d f1 67 3a 40 69 8b 31 fb e1 3b 30 38 f4 ae |...g:@i.1..;08..| +00000350 50 a9 de 1d 73 54 21 d4 af ff 17 03 03 00 99 7b |P...sT!........{| +00000360 5d 15 ce 12 37 f4 c6 fc d0 d6 00 a2 ac 8e f9 ab |]...7...........| +00000370 98 1c cc db fe e9 59 d4 01 e7 a6 f9 35 95 0d 19 |......Y.....5...| +00000380 23 a9 a7 07 2c c9 a1 7f e2 95 8d 56 ef 26 2f a9 |#...,......V.&/.| +00000390 c5 e8 84 fe bb 65 46 17 cb 87 2b 3b 41 5f 8d 6a |.....eF...+;A_.j| +000003a0 22 91 4e 86 ee fd 38 7f 66 f6 68 cf 67 0e 7a 57 |".N...8.f.h.g.zW| +000003b0 9c 80 fc c1 61 21 b0 0b d7 a1 3e 99 74 5b c3 23 |....a!....>.t[.#| +000003c0 e5 dc b5 64 ac 40 b1 c2 37 06 c3 56 87 6b dd 8f |...d.@..7..V.k..| +000003d0 0d bf e3 82 96 8f 7d 27 ad e8 45 90 46 c0 c4 30 |......}'..E.F..0| +000003e0 ff db 5d 82 7c 96 d3 a2 53 1f 8f c5 c3 b7 5e 56 |..].|...S.....^V| +000003f0 cb ee b4 e4 5e 27 af ba 17 03 03 00 35 5d eb a8 |....^'......5]..| +00000400 27 38 78 e0 61 60 17 61 d6 17 02 df aa 8d e2 0c |'8x.a`.a........| +00000410 45 d4 13 f4 09 94 02 79 d5 3c 05 00 3a 8e ee d3 |E......y.<..:...| +00000420 62 a6 1c be 1d ac 06 46 e0 ff d9 c0 24 7f 30 a1 |b......F....$.0.| +00000430 2f ba |/.| >>> Flow 3 (client to server) -00000000 14 03 03 00 01 01 17 03 03 02 1e 30 29 30 30 2c |...........0)00,| -00000010 a6 55 a8 25 56 04 49 d4 8d ef ea c7 2d 0f f9 d4 |.U.%V.I.....-...| -00000020 06 59 b9 a1 af 11 db 43 29 0e f4 94 ad 89 c8 c1 |.Y.....C).......| -00000030 c8 5c ba 8c 89 bd 7b fc db 99 c0 a7 5f e0 3c 82 |.\....{....._.<.| -00000040 67 c9 e2 fa 3a 18 c4 03 af 88 e5 f1 82 74 5b 08 |g...:........t[.| -00000050 b8 16 77 b7 c6 00 93 e7 3e 2a 2f c5 20 13 4e 5d |..w.....>*/. .N]| -00000060 fc 05 ce 6f 1c 08 32 98 f4 c4 0f 00 8a ba c9 92 |...o..2.........| -00000070 40 2b b9 d4 a8 99 e4 8e 94 77 ab 0a b7 ae 1b e6 |@+.......w......| -00000080 03 8f 3b d9 31 d0 af 86 da 5c 46 0d e3 5e db f2 |..;.1....\F..^..| -00000090 97 7c 49 d5 a5 62 02 a7 3a 08 db eb f0 29 23 cb |.|I..b..:....)#.| -000000a0 e1 bd 1b 17 d8 dc f1 2d 1b c3 4f 4b 49 ff c4 7c |.......-..OKI..|| -000000b0 d8 75 5e 05 b1 39 29 18 21 67 97 e0 1b d2 2d ef |.u^..9).!g....-.| -000000c0 1d 3b e3 34 0b f4 bd 0d d5 81 da ba 24 c8 3d 93 |.;.4........$.=.| -000000d0 5e e2 24 e0 5b 1e bb 00 62 88 8b 56 bc 85 59 3c |^.$.[...b..V..Y<| -000000e0 5a 00 14 90 11 26 10 a8 3d f0 b2 9f be ff 4a fe |Z....&..=.....J.| -000000f0 7b 8c cf 6b 90 cb a2 03 c0 18 53 ad 07 fc f1 94 |{..k......S.....| -00000100 5c af f5 d6 6b 9b ae 42 6b be 35 5a ed 05 55 2c |\...k..Bk.5Z..U,| -00000110 af 10 07 8f bf fc 7f 4d 9f d9 4d f2 71 29 b4 18 |.......M..M.q)..| -00000120 29 23 4b 62 51 28 c1 01 1c f3 2b ac c1 2a ce 37 |)#KbQ(....+..*.7| -00000130 87 5d a2 12 7e 7d cf e2 f8 02 4b 81 1c a1 ca 59 |.]..~}....K....Y| -00000140 41 35 21 bb 1e 7c 29 df bd 89 1d 41 75 50 03 53 |A5!..|)....AuP.S| -00000150 70 7c 3f 3b 8b 0f ee 54 63 c6 64 00 ac f9 7f 94 |p|?;...Tc.d.....| -00000160 95 53 16 20 3e 73 27 e2 f4 48 42 21 06 38 a3 5d |.S. >s'..HB!.8.]| -00000170 37 7d e1 5d aa a5 c6 67 bd 77 a1 56 69 fa fd 49 |7}.]...g.w.Vi..I| -00000180 04 54 cb 32 80 ba 5c 05 63 32 40 9d 15 6d c1 7c |.T.2..\.c2@..m.|| -00000190 5f 04 85 d2 de 1e dd c1 6d 02 52 2b dc b1 24 11 |_.......m.R+..$.| -000001a0 0e 86 70 e7 f9 9f f8 40 03 74 bb 28 6b c6 c4 24 |..p....@.t.(k..$| -000001b0 90 ce ed 27 7c fe 6b fe 47 d6 72 9a b8 ca a7 b4 |...'|.k.G.r.....| -000001c0 ca 7d 1d 0d 43 13 d0 ea c7 29 c5 c9 6c b7 4f 73 |.}..C....)..l.Os| -000001d0 e8 93 0b 03 03 b1 e2 85 48 42 95 18 c9 8a f0 5b |........HB.....[| -000001e0 67 8c fb 46 f6 0d 17 35 ae 95 2b a5 98 92 65 79 |g..F...5..+...ey| -000001f0 87 42 f6 eb f7 34 3d 3d 5d 12 b1 ad 44 05 69 cf |.B...4==]...D.i.| -00000200 a8 00 b5 5a 50 79 fe ee 88 91 bc 99 2c 7a 49 a9 |...ZPy......,zI.| -00000210 9f 14 f9 f5 76 06 cf 5e ab f5 c0 d8 45 d8 b6 8c |....v..^....E...| -00000220 c6 ee e1 d4 da ea 20 ff ba 17 03 03 00 a4 15 49 |...... ........I| -00000230 b3 53 31 a6 c2 ac 15 f8 02 73 19 eb 10 4c ac bd |.S1......s...L..| -00000240 84 4e dc 76 9c 4c f4 19 96 64 6f e7 74 d3 57 32 |.N.v.L...do.t.W2| -00000250 af 03 ec 5c 13 52 2d a9 2f 0c 40 14 31 61 f8 59 |...\.R-./.@.1a.Y| -00000260 c1 1f 26 67 3d f0 94 dd 85 9a 91 d9 69 a7 a1 35 |..&g=.......i..5| -00000270 6c b1 a5 d6 1e aa f2 d3 08 15 8c ca 37 22 e3 c9 |l...........7"..| -00000280 77 d5 68 59 0f a2 12 b2 d7 96 6c 85 af c8 0b 65 |w.hY......l....e| -00000290 e7 05 22 94 9a 3c fb 3e d2 d1 1f bf 1e e1 94 c0 |.."..<.>........| -000002a0 73 b4 fa ea b2 33 2a 9c 9a d8 28 2e 1e 17 9a bf |s....3*...(.....| -000002b0 95 14 8b af f8 3d e0 a2 6a 29 61 9c 1f aa 55 05 |.....=..j)a...U.| -000002c0 70 41 5e 96 f1 73 a5 34 cb 44 dd 04 84 e9 3f 33 |pA^..s.4.D....?3| -000002d0 38 d3 17 03 03 00 35 e9 a6 bf f8 95 b8 ef 41 6b |8.....5.......Ak| -000002e0 10 86 d0 2a 85 0c b7 4c da fe 51 d5 77 8b 81 15 |...*...L..Q.w...| -000002f0 f2 1b 44 b1 47 dd 9e 4a ec 0b 1e 28 84 2e d4 09 |..D.G..J...(....| -00000300 fb 0e 68 54 6d fb 6e a6 3e eb 36 c7 17 03 03 00 |..hTm.n.>.6.....| -00000310 17 a4 8e f9 3b c9 60 5b 63 cb 42 a6 e4 2c 92 02 |....;.`[c.B..,..| -00000320 29 68 34 95 10 9e e7 af 17 03 03 00 13 48 68 2f |)h4..........Hh/| -00000330 22 9f c0 67 59 19 52 e6 1e 4e 59 aa 82 ae e6 38 |"..gY.R..NY....8| +00000000 14 03 03 00 01 01 17 03 03 02 1e 24 f9 c9 45 17 |...........$..E.| +00000010 08 85 17 4f 76 cc b1 bb 71 82 8b 00 3b 18 96 4b |...Ov...q...;..K| +00000020 c4 1b a9 9f 44 fb d5 fc aa d2 03 2b 7e ca d7 95 |....D......+~...| +00000030 92 8c 25 00 11 d3 0e 1f f2 fb bc e1 f9 9f 81 44 |..%............D| +00000040 07 c5 59 3a b3 d9 fe e3 ea 12 4e ee e5 b2 83 7a |..Y:......N....z| +00000050 57 cf 81 00 bb af d6 e1 f1 c8 27 0f 15 ce de 17 |W.........'.....| +00000060 70 81 28 44 94 97 8c 90 fd 57 3d 98 fa b8 1e 0f |p.(D.....W=.....| +00000070 c2 46 f4 00 40 51 fd a3 8a 50 a3 83 3d e0 f4 3a |.F..@Q...P..=..:| +00000080 78 18 19 07 32 19 75 5e 5e a3 c6 9b 60 d9 9a d5 |x...2.u^^...`...| +00000090 92 e9 7f f2 9f d5 04 ee 51 23 73 4a cd 47 5d 92 |........Q#sJ.G].| +000000a0 56 db 44 da a8 9c 76 fe 9d bf 34 ce 33 81 ba dc |V.D...v...4.3...| +000000b0 c8 61 55 65 9a dd 41 de 5e e5 fc d9 c5 7c 6b 8f |.aUe..A.^....|k.| +000000c0 4a e5 a3 d5 34 5a a0 be de 63 a9 24 14 b0 5a d6 |J...4Z...c.$..Z.| +000000d0 e7 18 a7 86 52 b9 f6 7e f2 31 19 72 f8 55 f5 9f |....R..~.1.r.U..| +000000e0 fb 0c ce 38 8f b5 72 f9 67 d7 8b 4c 67 46 dc 33 |...8..r.g..LgF.3| +000000f0 59 2c 17 b4 81 10 23 69 de 27 20 61 1b 36 a8 c7 |Y,....#i.' a.6..| +00000100 e9 49 6e 1c 2c 84 dc b9 2f 80 3e e1 c7 41 cc ef |.In.,.../.>..A..| +00000110 68 d9 82 de 7c 6e f1 52 9e c9 b4 b6 ab 47 76 00 |h...|n.R.....Gv.| +00000120 59 a7 ca c9 46 c2 7b 60 0a 71 27 a7 06 23 73 36 |Y...F.{`.q'..#s6| +00000130 d1 c4 a6 83 39 82 36 a5 a9 b7 0a 4a 8c fd ab 4e |....9.6....J...N| +00000140 7e c8 90 e2 58 1f 2e 47 77 f6 8a 19 6c bf 50 39 |~...X..Gw...l.P9| +00000150 8f 18 38 60 ed a1 92 c2 9c da 49 ea c2 c6 da 13 |..8`......I.....| +00000160 c0 9a 98 96 7b 55 10 da 95 dc 58 25 e6 2e 8b 0b |....{U....X%....| +00000170 de e7 9e b9 c6 eb f3 b7 21 1c 8d 26 45 c8 0f e5 |........!..&E...| +00000180 99 85 c1 8c 60 b0 e5 c6 68 be 91 ab fa 53 4c 2d |....`...h....SL-| +00000190 44 ae bd bc b0 29 dc fd b0 c0 94 65 1b 74 eb a0 |D....).....e.t..| +000001a0 a6 11 1b d8 45 f3 14 db 66 7a 11 c7 db d3 c1 fd |....E...fz......| +000001b0 a2 32 76 42 b7 e5 0d f3 20 a4 f9 d5 41 e4 ed fe |.2vB.... ...A...| +000001c0 7f f3 9b bd 6a 97 93 6e 00 04 3b 48 d8 e4 2a 1e |....j..n..;H..*.| +000001d0 b7 b3 bd 83 36 36 fb af f7 26 5f 97 3e 8d 50 af |....66...&_.>.P.| +000001e0 0e 00 12 2f be e2 f7 cd 4a 95 5a c0 80 c4 79 d4 |.../....J.Z...y.| +000001f0 7c 9b 23 6b 30 92 16 1d 74 33 df f1 35 5d b1 c8 ||.#k0...t3..5]..| +00000200 0c 36 e3 f7 3c 9c fb 0d c7 bd a6 07 95 38 11 ba |.6..<........8..| +00000210 4c 11 5e b5 ae a0 ef 3a 97 f4 a1 2d 87 53 20 d4 |L.^....:...-.S .| +00000220 6f ba 8d b9 27 1c f0 ec 4e 17 03 03 00 a4 ab 7b |o...'...N......{| +00000230 d5 4d ce ac dc 9f 19 33 23 b7 d8 8a 48 47 d6 41 |.M.....3#...HG.A| +00000240 73 00 a8 61 08 05 0d 0f 8f f6 25 48 e8 7f 2e 25 |s..a......%H...%| +00000250 ce 61 dc 45 60 6c 7f ef 70 c6 d3 89 ee 4f 62 77 |.a.E`l..p....Obw| +00000260 60 71 ad 25 be 36 90 11 6f 5c cf 9d 4a 42 b4 46 |`q.%.6..o\..JB.F| +00000270 c8 8a 1f 3f 1a 59 82 5f 8b 0c 8c 70 a2 0c 4c e2 |...?.Y._...p..L.| +00000280 8d 23 8b 1e 38 ba 69 2f 91 37 ac 35 04 15 b3 07 |.#..8.i/.7.5....| +00000290 00 c6 12 11 e2 70 d1 62 54 2d 61 2f 0c 16 12 d3 |.....p.bT-a/....| +000002a0 be a1 32 88 4c 23 9d 3e 6e 8a 72 7c 7c a9 7d da |..2.L#.>n.r||.}.| +000002b0 d3 54 89 70 1d 23 70 02 ba 4c 36 e8 03 a3 e4 31 |.T.p.#p..L6....1| +000002c0 d7 2c 46 c4 44 09 c6 7f f8 ff c0 cc d8 a1 51 d7 |.,F.D.........Q.| +000002d0 c5 53 17 03 03 00 35 0b be ba e4 3f 2c 0d c4 fb |.S....5....?,...| +000002e0 d3 4a 30 7e 04 15 6b 61 78 3d de a7 45 1c 3b c3 |.J0~..kax=..E.;.| +000002f0 d6 70 a5 3d ca e3 d6 5f c0 6e ac e2 00 91 09 b3 |.p.=..._.n......| +00000300 2c a7 71 96 52 7d 00 e6 f6 ad 84 c8 17 03 03 00 |,.q.R}..........| +00000310 17 1e d7 22 41 ad 3f 7c da 0c 2c d1 cc 6d 14 e7 |..."A.?|..,..m..| +00000320 11 2f 15 89 17 d2 92 02 17 03 03 00 13 4a 66 1e |./...........Jf.| +00000330 a9 4f f0 9c 0c fc d0 5c 7a cc 7f 12 ce 32 a2 d8 |.O.....\z....2..| diff --git a/src/crypto/tls/testdata/Client-TLSv13-ClientCert-Ed25519 b/src/crypto/tls/testdata/Client-TLSv13-ClientCert-Ed25519 index 04693757318..e2f78be5692 100644 --- a/src/crypto/tls/testdata/Client-TLSv13-ClientCert-Ed25519 +++ b/src/crypto/tls/testdata/Client-TLSv13-ClientCert-Ed25519 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,117 +7,138 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 7a 02 00 00 76 03 03 1d 35 29 3f 29 |....z...v...5)?)| -00000010 15 cf 03 6f 3a 70 c5 9b 89 9f 11 fc b4 aa f4 75 |...o:p.........u| -00000020 65 08 1f 53 68 92 d6 ae 95 36 08 20 00 00 00 00 |e..Sh....6. ....| +00000000 16 03 03 00 7a 02 00 00 76 03 03 33 34 6e 2e fd |....z...v..34n..| +00000010 66 e4 f8 86 e7 bf ba c6 be d5 8d 44 60 07 6f 11 |f..........D`.o.| +00000020 83 5a 77 c2 e4 f1 2a 3b dd e0 fa 20 00 00 00 00 |.Zw...*;... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 01 00 00 |................| -00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 f5 |..+.....3.$... .| -00000060 46 35 62 47 e6 77 71 c9 73 b4 a8 e6 45 5b e4 bb |F5bG.wq.s...E[..| -00000070 b3 6c 03 73 2c ac 64 81 3b f1 a1 a5 f6 c6 60 14 |.l.s,.d.;.....`.| -00000080 03 03 00 01 01 17 03 03 00 17 14 63 9d 4b be 4f |...........c.K.O| -00000090 c3 73 65 0f 78 6b 41 ea 39 07 99 9a 27 5d 7e c0 |.se.xkA.9...']~.| -000000a0 f5 17 03 03 00 42 5f d4 52 84 17 91 e6 a1 7b 43 |.....B_.R.....{C| -000000b0 38 c0 34 83 07 34 0f 01 e0 23 f2 d1 67 68 78 ef |8.4..4...#..ghx.| -000000c0 22 57 d5 f4 40 ef 4a c9 5f 14 12 ef 1c 59 05 2b |"W..@.J._....Y.+| -000000d0 57 66 75 ae 10 37 5b 33 60 3d fc af a5 0a 62 22 |Wfu..7[3`=....b"| -000000e0 6a 01 cb 3d 30 df 84 a7 17 03 03 02 6d 0b 70 3a |j..=0.......m.p:| -000000f0 26 91 f5 4f 2c 7d 24 0c f5 68 e5 e6 b4 9e a6 9b |&..O,}$..h......| -00000100 dd b8 a0 51 87 d1 6a ca b3 c0 f2 2d a0 95 59 11 |...Q..j....-..Y.| -00000110 21 1b 1f 13 51 7a 9f 3e 79 b7 b5 b8 13 8f 70 b7 |!...Qz.>y.....p.| -00000120 94 e2 27 0b 22 29 20 da a4 18 b8 ab e8 a9 64 78 |..'.") .......dx| -00000130 c9 75 3b f4 48 a2 21 92 e6 b2 c1 86 cb bd 11 57 |.u;.H.!........W| -00000140 47 c5 24 ef c8 71 ab fe e9 07 b8 3c 95 30 e2 a6 |G.$..q.....<.0..| -00000150 03 ce 6b 71 af 87 57 2f 0d 51 bd 0c ed 5c 7e 8b |..kq..W/.Q...\~.| -00000160 9d ca 9d 3a bb b7 7d dd 33 81 c1 15 9b 2c 00 a9 |...:..}.3....,..| -00000170 c7 6a 25 76 f0 ee 87 87 bb ef 70 2f f0 77 11 6e |.j%v......p/.w.n| -00000180 1c 6d 69 b0 bf 1f 48 82 38 b4 bc c1 da c3 f8 f0 |.mi...H.8.......| -00000190 e5 a5 bf 90 03 e3 5b d5 41 fa 4f 2c af 87 bf e5 |......[.A.O,....| -000001a0 59 38 54 d3 5e bd 60 ea 73 03 88 42 36 e4 fc f5 |Y8T.^.`.s..B6...| -000001b0 5b 39 00 5e 41 c9 6d c3 9a e6 e2 ed 7a 97 b9 df |[9.^A.m.....z...| -000001c0 7b 28 d1 20 c5 ff 5f 74 aa 9f 60 69 0d b3 11 bb |{(. .._t..`i....| -000001d0 d5 87 8d df c9 5b 25 2d ae 43 7b ae 36 a5 aa ec |.....[%-.C{.6...| -000001e0 85 53 93 f2 96 e1 ad 4d 0e 7a f4 cd 04 5a f5 7d |.S.....M.z...Z.}| -000001f0 4a 8f 07 52 35 dc 05 b2 d6 0e c6 1b 81 48 47 a1 |J..R5........HG.| -00000200 b6 cd 16 aa b9 c6 7a 4d d2 47 57 60 b0 aa 4a 1c |......zM.GW`..J.| -00000210 9a 02 3e 08 91 89 8d ac 02 16 7c 1e 43 d6 11 54 |..>.......|.C..T| -00000220 61 0c 9a ec 36 2a 58 a7 0c 54 fd ea af 9a 78 a1 |a...6*X..T....x.| -00000230 a6 2a e9 55 ad ca 37 f2 73 8b 8f 71 ae 45 f2 52 |.*.U..7.s..q.E.R| -00000240 e6 80 d8 ab 44 91 04 95 fb 86 2e 36 d8 e7 d2 f2 |....D......6....| -00000250 fe 16 7a b2 32 22 ac 6c 8d 29 6b f6 37 cb 5d b1 |..z.2".l.)k.7.].| -00000260 1a 5b ba 24 21 53 a3 77 e4 68 29 42 81 ff 19 c3 |.[.$!S.w.h)B....| -00000270 40 67 a4 f9 b3 b2 c5 6b 3f 1b 7f 48 04 af c5 b1 |@g.....k?..H....| -00000280 87 07 f9 be 7b 7b 3a a9 44 20 f5 de 76 b2 2a 12 |....{{:.D ..v.*.| -00000290 6c 57 31 9b 5d e1 0a a8 f1 3f 89 9f f7 c6 4c 63 |lW1.]....?....Lc| -000002a0 b3 2d a7 1a 9d f3 64 f2 ed c5 ac 33 d6 27 ee ab |.-....d....3.'..| -000002b0 ff ca 02 b5 f4 a0 d3 7d 0c 09 7d f6 66 41 d8 bf |.......}..}.fA..| -000002c0 6b b0 a7 57 5b c2 c4 21 0c da d6 85 69 8d a9 66 |k..W[..!....i..f| -000002d0 f7 4d a9 42 56 c6 52 11 dc 5a 95 84 db 7f d7 eb |.M.BV.R..Z......| -000002e0 ce 3d ee 4d 1e 49 b7 01 cc 1e 92 60 43 7b 75 61 |.=.M.I.....`C{ua| -000002f0 5a 1a b2 98 21 06 dc 61 34 c1 35 f3 e2 3c 04 7f |Z...!..a4.5..<..| -00000300 9e 3c 41 45 52 79 ef 37 d8 d7 6d c9 cb be de 1d |.587$......`..E.| -00000340 3f 28 44 c4 8d b7 dd f9 70 5e 2e 3d b9 9f 76 47 |?(D.....p^.=..vG| -00000350 61 0f ed 3b e5 a7 f6 33 2d 59 17 03 03 00 99 b8 |a..;...3-Y......| -00000360 81 cb 7e ad f3 cf df b5 93 dc f7 55 ad 62 2a 20 |..~........U.b* | -00000370 1b 9a 07 c1 cf f2 65 55 35 c9 3f dd bb 9b 23 de |......eU5.?...#.| -00000380 a9 89 71 e7 43 26 aa d4 5d d9 7e 81 28 37 8a 84 |..q.C&..].~.(7..| -00000390 b1 11 20 f5 57 a5 03 fc f7 c0 b1 f3 8b d3 a1 7f |.. .W...........| -000003a0 ed 05 72 99 a3 33 3f 5b 73 b7 3d 43 8a 3c 6f e6 |..r..3?[s.=C...*.8P| -000003c0 07 f0 c1 33 e8 9a a7 73 21 55 ce 5b e8 cd dd cf |...3...s!U.[....| -000003d0 e7 21 0e 8e 41 2e bd e6 48 be 54 a3 08 a9 f2 b2 |.!..A...H.T.....| -000003e0 ef bb 29 0b 76 eb 66 41 64 77 79 e1 ba 05 ac fa |..).v.fAdwy.....| -000003f0 3e 03 50 22 88 65 64 40 17 03 03 00 35 0a e3 f9 |>.P".ed@....5...| -00000400 9b f7 bc f7 e5 d1 cb c1 44 d8 16 86 4b d8 a0 29 |........D...K..)| -00000410 15 8b 15 32 98 c2 0e b4 d2 ae cd 82 5e 53 f4 39 |...2........^S.9| -00000420 8c 9c 77 77 56 c4 cb 37 88 05 bc 80 51 9b 2d df |..wwV..7....Q.-.| -00000430 f9 73 |.s| +00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 ef |..+.....3.$... .| +00000060 ec 09 c1 3a d5 b7 b0 b7 69 75 f1 a7 40 bc d4 c3 |...:....iu..@...| +00000070 56 31 ba 0f 05 8d bc 6a 47 4b a3 68 17 1a 1c 14 |V1.....jGK.h....| +00000080 03 03 00 01 01 17 03 03 00 17 1f 80 b1 9c d3 48 |...............H| +00000090 5f f9 57 d6 72 16 98 06 2f 72 54 2a ca ca f1 bd |_.W.r.../rT*....| +000000a0 47 17 03 03 00 42 3a 1e c8 b5 fa 5b 58 95 86 b7 |G....B:....[X...| +000000b0 bc 66 46 0e c7 95 1f 72 32 a4 9c 6c 65 1c c8 00 |.fF....r2..le...| +000000c0 2a c0 35 87 e1 0c 2a 71 b2 67 24 c3 69 ed f5 25 |*.5...*q.g$.i..%| +000000d0 90 70 31 bd 15 0a fe 78 60 1b 5c 8e 7f 44 12 b7 |.p1....x`.\..D..| +000000e0 08 b0 0c 71 de dc a3 4e 17 03 03 02 6d 43 58 02 |...q...N....mCX.| +000000f0 3c 3b 2e 24 78 0e f0 e3 56 2f 16 51 9f b3 0a 6b |<;.$x...V/.Q...k| +00000100 1b ca f3 5b b9 65 f4 af 17 64 42 fa d1 64 bf d9 |...[.e...dB..d..| +00000110 74 a3 e6 b3 bb 30 c8 75 3b a0 f2 9c 39 79 01 16 |t....0.u;...9y..| +00000120 43 92 8d b2 a7 37 0c 9e e7 fd e1 93 d3 18 49 3a |C....7........I:| +00000130 b4 54 42 d5 79 8c fb 8e 92 38 8a ef 45 6e 21 08 |.TB.y....8..En!.| +00000140 db e2 e7 be 80 dd 66 ad 99 68 50 fd 21 76 d5 9e |......f..hP.!v..| +00000150 c4 3a 79 06 26 95 5a d7 7a c5 22 0b 3c bb c9 4f |.:y.&.Z.z.".<..O| +00000160 c7 81 0a 56 10 3b 1e 8c 40 d3 6e fd b4 a0 1e c8 |...V.;..@.n.....| +00000170 03 c2 e1 f9 61 1b 0d 3e 8a b9 b1 7b f0 3c d3 97 |....a..>...{.<..| +00000180 3f 00 62 e0 c8 de f3 6b 95 ee 0e dc 99 36 24 d5 |?.b....k.....6$.| +00000190 19 a0 52 62 97 ec 8a 54 ba 92 1c 7c 9c 35 e8 85 |..Rb...T...|.5..| +000001a0 88 47 b7 29 ab 62 e3 2a a4 aa 94 0e 6b 6d f8 bc |.G.).b.*....km..| +000001b0 8c d3 34 15 29 66 27 97 1e 2a 8c c2 b2 25 09 02 |..4.)f'..*...%..| +000001c0 cc 02 4b 4c 4e e0 59 61 ab 78 b9 d0 76 bf cf 83 |..KLN.Ya.x..v...| +000001d0 ac d8 13 05 e0 e6 64 73 bd 51 6e f9 60 43 7c 4a |......ds.Qn.`C|J| +000001e0 e6 2e 87 0d d0 b4 ac 97 83 81 76 6a 34 66 2d 0e |..........vj4f-.| +000001f0 d4 2e 40 c3 dc fb 82 a6 a8 a6 ff 20 be d6 4e 08 |..@........ ..N.| +00000200 05 7d e9 f3 4c 6f 2c 9f 8f c6 5b 8e 41 84 5a 4d |.}..Lo,...[.A.ZM| +00000210 8e b0 9e 91 98 15 e3 13 aa 6e 09 82 2c 36 5b 8a |.........n..,6[.| +00000220 8a 4c 7f 8d c7 74 37 fc 25 1c 69 13 0b 61 41 6e |.L...t7.%.i..aAn| +00000230 e4 9e 70 2c 44 f7 14 1a 38 0f 3b e7 04 4d 1b dc |..p,D...8.;..M..| +00000240 16 e2 cb 0b 26 77 1d 85 10 f8 d2 d8 68 1b 39 01 |....&w......h.9.| +00000250 2a d7 16 ec 11 6e 13 53 d9 e0 3b e6 ae 8a bb 64 |*....n.S..;....d| +00000260 8f 81 c6 8a 57 88 7a d4 04 85 a8 4a 06 db 0f 03 |....W.z....J....| +00000270 5d 19 b8 72 c1 5a df b4 ff 48 29 61 c0 ec 06 69 |]..r.Z...H)a...i| +00000280 72 0f 0b 99 7a 32 5a 4f 06 7d 33 01 4a c6 da e8 |r...z2ZO.}3.J...| +00000290 d7 77 67 68 ac 47 03 94 98 ee f5 b8 5c 7c 22 ba |.wgh.G......\|".| +000002a0 fb 22 2d db fc 2e 9e 9e 0f 6c c3 bf 9f f2 2b fa |."-......l....+.| +000002b0 01 19 97 e5 5e 87 24 c5 b8 9d 99 0a 47 2e 4b 61 |....^.$.....G.Ka| +000002c0 fa bc d1 fb 08 5f 65 76 32 4b 28 4c 24 a7 b3 dd |....._ev2K(L$...| +000002d0 28 1f 16 59 c8 a3 9d a8 81 e2 e3 ad 3a a1 38 a1 |(..Y........:.8.| +000002e0 1d c4 39 7e e4 60 40 d2 29 d7 32 21 60 a4 f3 6a |..9~.`@.).2!`..j| +000002f0 ba 1b 58 14 10 06 a4 32 8b 36 4e c1 60 89 67 09 |..X....2.6N.`.g.| +00000300 a9 98 3f bb 60 d3 4a b5 e5 4d 6d a8 6a 03 52 33 |..?.`.J..Mm.j.R3| +00000310 6d 49 5c 21 c7 9f c1 49 2c db 34 d0 1b cb b6 71 |mI\!...I,.4....q| +00000320 20 50 a0 a3 e4 73 96 9b bc b1 ce 8a 7b b0 17 06 | P...s......{...| +00000330 01 ae c9 36 d5 92 22 c8 b5 d3 e4 2a 8e 5b 76 db |...6.."....*.[v.| +00000340 fa 38 ef 0c a9 0a 7c 4b 5f 58 af af a2 d1 34 9d |.8....|K_X....4.| +00000350 b9 e9 33 27 d6 06 12 b0 e7 f8 17 03 03 00 99 60 |..3'...........`| +00000360 62 70 ec 25 84 31 65 16 32 b6 51 1c 93 6a 70 d7 |bp.%.1e.2.Q..jp.| +00000370 41 46 ec 51 7b e9 d4 75 14 c3 68 7a 68 d3 f0 3a |AF.Q{..u..hzh..:| +00000380 c1 4e 42 e7 6d ea 21 a3 99 fa 69 9e c1 84 43 66 |.NB.m.!...i...Cf| +00000390 64 f8 af ac b8 c5 6a 10 78 db 1e 23 2b 97 9e af |d.....j.x..#+...| +000003a0 2c 23 7a de 9d b2 47 64 b2 df 90 ba b2 91 b7 8b |,#z...Gd........| +000003b0 91 23 d0 bc 6e a5 60 e9 01 d0 65 e9 47 10 04 05 |.#..n.`...e.G...| +000003c0 81 7f 41 17 a4 68 0b e0 ef 4f 5c f4 53 09 7f 30 |..A..h...O\.S..0| +000003d0 d3 88 ba 03 f9 6b a9 d0 b0 84 9d cb de cf 26 bb |.....k........&.| +000003e0 66 d7 ba 84 e3 0f 9b 31 1d 04 50 7f 23 f2 54 3e |f......1..P.#.T>| +000003f0 a6 f8 e8 33 a0 77 ef 9e 17 03 03 00 35 c1 f3 29 |...3.w......5..)| +00000400 59 0d 76 5e e6 29 69 63 be 62 cc a1 b9 58 4a 22 |Y.v^.)ic.b...XJ"| +00000410 e5 95 03 cb e2 2f 54 f8 ed 4e 66 fc 9b 8a 97 9e |...../T..Nf.....| +00000420 a5 f6 94 98 ef c6 72 17 93 d4 cb 48 21 34 1c 9b |......r....H!4..| +00000430 ca 85 |..| >>> Flow 3 (client to server) -00000000 14 03 03 00 01 01 17 03 03 01 50 50 f9 6c 95 af |..........PP.l..| -00000010 c6 25 ea 76 6e 5d d2 11 df d0 3f d2 36 9d d2 1a |.%.vn]....?.6...| -00000020 3e 0c 6d 53 23 5c 21 b7 c2 bc 82 76 b2 30 ec f8 |>.mS#\!....v.0..| -00000030 a6 45 d2 3b cf 64 61 cc 59 53 4c 6d 37 4a ec e7 |.E.;.da.YSLm7J..| -00000040 79 3c bd 99 cf 72 fa d5 a7 43 bd c4 e1 5f 94 81 |y<...r...C..._..| -00000050 3b ec 6b ff fa a2 e7 54 1c 72 37 2d ab de 0b 21 |;.k....T.r7-...!| -00000060 60 f1 9a b0 e3 00 60 99 37 f7 a9 38 3b 12 73 e4 |`.....`.7..8;.s.| -00000070 b5 5d 72 d7 db ee 45 ae 70 94 98 08 29 a4 39 e5 |.]r...E.p...).9.| -00000080 32 78 ac 88 ec e2 71 46 ae 67 e3 bd 2e 3b 67 64 |2x....qF.g...;gd| -00000090 34 b5 af e2 06 82 98 46 e9 53 9d 54 9e 1c 19 dd |4......F.S.T....| -000000a0 fe 54 7d ad c5 97 59 2e ad 1b b7 73 1c 03 d6 47 |.T}...Y....s...G| -000000b0 1e ef 4d 8d 4b ff 3b 11 9e bf 87 c8 3d 4e 97 98 |..M.K.;.....=N..| -000000c0 8b 9e 7c 4a dd 98 2c d6 00 52 b6 fd 9f af a8 af |..|J..,..R......| -000000d0 5d 36 00 ca 75 f2 e8 4a 38 69 11 54 af ae 61 36 |]6..u..J8i.T..a6| -000000e0 43 e4 85 75 a4 6b c2 24 6c 91 e4 e8 f8 f1 03 a6 |C..u.k.$l.......| -000000f0 9c 7d c4 f3 6f 01 d8 a5 4e 56 e5 ad 6e 6b 18 e7 |.}..o...NV..nk..| -00000100 f7 04 26 09 70 f2 9d a1 14 7d 2d c7 f2 a7 95 fd |..&.p....}-.....| -00000110 1d 4e 2d 6f 43 99 b4 13 93 1c eb ad e4 05 ab 46 |.N-oC..........F| -00000120 bc 8f c7 c8 5a 40 d6 71 47 f6 19 78 65 bf 8a 68 |....Z@.qG..xe..h| -00000130 c5 70 d8 c5 f8 69 9d 94 d9 55 50 70 de b3 16 60 |.p...i...UPp...`| -00000140 84 5c 6f 6d c4 08 4a 4f cc 18 9d 9a d7 53 e5 5e |.\om..JO.....S.^| -00000150 40 2e d0 fe 32 31 55 e2 22 ff 34 17 03 03 00 59 |@...21U.".4....Y| -00000160 32 c1 ca 4d 47 ed e1 ef 37 ff 8d c6 ff 61 68 6d |2..MG...7....ahm| -00000170 49 37 04 41 b0 69 86 a6 9a a1 f0 0a 7d 94 8e 3e |I7.A.i......}..>| -00000180 32 86 6a 50 e1 af cb c4 71 c4 f0 89 1d 9e e4 4d |2.jP....q......M| -00000190 d3 b7 ed 6d 7b 89 f1 ac a3 44 a2 66 2f 28 bc 1a |...m{....D.f/(..| -000001a0 08 7a 09 47 f0 9e 77 28 ca ae 02 de a2 79 2f c2 |.z.G..w(.....y/.| -000001b0 5e e5 f8 ef 42 05 06 70 ed 17 03 03 00 35 0c 37 |^...B..p.....5.7| -000001c0 10 85 58 24 12 9d 2d aa a0 23 54 8a d6 3e 6e ab |..X$..-..#T..>n.| -000001d0 b4 ce 25 08 46 69 f5 0e 95 cd 3f d1 be ab fb 71 |..%.Fi....?....q| -000001e0 b4 05 73 bf cc 59 6b dc 60 18 ce 06 24 ff fd 06 |..s..Yk.`...$...| -000001f0 3c da 23 17 03 03 00 17 a8 c4 7e dc b8 6f 73 7a |<.#.......~..osz| -00000200 40 0c 7d 82 78 49 9f c4 30 8e 5c b0 ea 35 6b 17 |@.}.xI..0.\..5k.| -00000210 03 03 00 13 28 9c 61 b1 cf 7b 88 05 95 bd 07 13 |....(.a..{......| -00000220 1c ab 7d 4a 8c c9 fc |..}J...| +00000000 14 03 03 00 01 01 17 03 03 01 50 ab 0c 02 53 56 |..........P...SV| +00000010 2f 2b 11 b9 31 77 eb 90 f9 21 d2 3d 7c b9 c3 bf |/+..1w...!.=|...| +00000020 7f 12 26 93 42 95 13 99 be b2 e5 c5 2c bf cd 6d |..&.B.......,..m| +00000030 11 d2 bd 2f 24 22 f6 f4 ad e1 76 13 c7 9a 10 25 |.../$"....v....%| +00000040 0b 7a dd c2 a0 0f 03 a8 5d fb 59 fa 96 e9 ce fa |.z......].Y.....| +00000050 fc e9 16 c0 85 32 7b de ea e5 cb 32 53 7d 9d 7b |.....2{....2S}.{| +00000060 1d 4b b0 48 60 e8 e5 10 ec 3a 63 93 56 d3 37 04 |.K.H`....:c.V.7.| +00000070 65 30 10 32 c4 96 82 63 26 66 05 04 5e a0 6c 4e |e0.2...c&f..^.lN| +00000080 2a c0 20 d2 08 d8 d0 74 b8 d1 a9 08 6b 99 ab f8 |*. ....t....k...| +00000090 05 37 68 83 af e0 33 0c cd 4b 3e 3d d6 f2 54 c6 |.7h...3..K>=..T.| +000000a0 e8 58 48 4d 45 37 a5 e7 60 96 cf ab 4a b6 50 90 |.XHME7..`...J.P.| +000000b0 92 e9 68 aa 60 27 39 39 b2 41 04 25 2e 1a 83 9f |..h.`'99.A.%....| +000000c0 eb 4f 40 37 e4 fd 1f 3a 7f 94 25 3d 65 bc 49 af |.O@7...:..%=e.I.| +000000d0 ee 23 98 56 5b fc 98 17 40 c8 63 34 72 a4 1f 60 |.#.V[...@.c4r..`| +000000e0 9b 38 01 67 f9 be 1d 9c e2 d3 91 7a b2 c1 2b 4c |.8.g.......z..+L| +000000f0 09 b7 f3 cd b2 3c 5a a0 5f 0c 5c 19 7d 34 f3 f1 |.....>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,129 +7,150 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 7a 02 00 00 76 03 03 37 9b 46 e7 dd |....z...v..7.F..| -00000010 f5 40 2a 90 fe 7a 14 69 bb 83 4a 28 e3 20 c8 2a |.@*..z.i..J(. .*| -00000020 74 b8 66 66 ad 1c e6 71 0a 80 c8 20 00 00 00 00 |t.ff...q... ....| +00000000 16 03 03 00 7a 02 00 00 76 03 03 93 f1 ea 6d 01 |....z...v.....m.| +00000010 f5 09 09 6c dc 8d 5e 36 64 48 69 80 bb 11 2c fd |...l..^6dHi...,.| +00000020 01 02 18 a7 6f 01 67 5b 11 3b 99 20 00 00 00 00 |....o.g[.;. ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 01 00 00 |................| -00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 02 |..+.....3.$... .| -00000060 0a 02 9a 6c 4a 8b 5b 46 c2 a8 83 dd c5 6a a3 90 |...lJ.[F.....j..| -00000070 ef 5f 63 e7 bb 16 1c fe 34 05 2e 5b 8b 12 38 14 |._c.....4..[..8.| -00000080 03 03 00 01 01 17 03 03 00 17 4b 11 4d f2 be bc |..........K.M...| -00000090 ae ae d9 84 d2 0a af 79 bb b2 b1 c5 20 dc d9 a9 |.......y.... ...| -000000a0 16 17 03 03 00 42 9f 77 3e da db c1 56 b9 ff c1 |.....B.w>...V...| -000000b0 8a 58 01 f6 8b 0d 0f 69 10 b6 fb 4e c7 8e 24 b7 |.X.....i...N..$.| -000000c0 fa 4c 71 7d d2 b9 1d 7b dc 1b a8 cc 82 65 1c b9 |.Lq}...{.....e..| -000000d0 1b c0 5f 5c 5e 42 b7 eb dc 24 22 10 62 a9 9b 4e |.._\^B...$".b..N| -000000e0 39 ca 96 d2 75 91 a4 11 17 03 03 02 22 4e a9 eb |9...u......."N..| -000000f0 ad 38 c7 ff c7 7a 60 2b b9 f3 7f d4 ed 3a 0a 86 |.8...z`+.....:..| -00000100 89 70 67 32 d4 45 a3 ae 27 06 e7 89 15 e3 7d 4f |.pg2.E..'.....}O| -00000110 77 b6 45 e4 3d ed 9f dc 75 24 90 f3 0d ff cd c3 |w.E.=...u$......| -00000120 23 82 14 4a b1 1c 74 c5 0f e7 0e cd fe 35 63 8d |#..J..t......5c.| -00000130 7e c0 5f 35 2d 72 b3 2e be ba e4 51 60 aa 6c 1c |~._5-r.....Q`.l.| -00000140 61 27 f8 6c 96 37 ae da f6 8b be 8e 66 59 70 4a |a'.l.7......fYpJ| -00000150 14 7f 54 cd 50 58 d7 ef c1 47 cc ed 48 ea 40 ad |..T.PX...G..H.@.| -00000160 4b a5 df 4b 98 d8 be 4a 70 15 04 81 21 59 df 01 |K..K...Jp...!Y..| -00000170 b5 f6 d7 8f be a4 35 1c 89 6e 45 7a cc 4b 85 7f |......5..nEz.K..| -00000180 bf e9 d7 b8 94 99 03 44 3d a2 85 e4 66 72 51 db |.......D=...frQ.| -00000190 89 fc 05 87 af 18 a8 d6 58 39 c6 b6 47 70 6d 41 |........X9..GpmA| -000001a0 e7 18 52 d4 c2 97 19 6e eb bf ba 89 c0 cf 7a 74 |..R....n......zt| -000001b0 c6 17 07 85 83 9f 73 3a 44 c7 91 d2 44 23 f9 bf |......s:D...D#..| -000001c0 4e 47 5e 3d 49 2b 4c 11 4c 8f 38 c8 7a 59 39 9f |NG^=I+L.L.8.zY9.| -000001d0 fc 34 2a 2b 82 13 19 18 60 d0 bf 53 d7 71 af f3 |.4*+....`..S.q..| -000001e0 64 c2 c9 fd 39 af 5e a7 e1 7e 2a 5b 1d e7 af 23 |d...9.^..~*[...#| -000001f0 54 d3 b7 01 fd 07 b4 a5 b1 53 25 dd 86 ef 60 fd |T........S%...`.| -00000200 19 6f 2f ef e6 61 af 44 b8 c2 40 80 71 7b fa db |.o/..a.D..@.q{..| -00000210 db ec 52 01 36 d2 df ca 4a 21 b0 32 a5 08 f2 30 |..R.6...J!.2...0| -00000220 4d 2a fa b1 2a bc d3 2a 3b 25 a0 38 82 b8 ce c1 |M*..*..*;%.8....| -00000230 75 7f cc d3 10 4e 1b 0f 2a 93 3b f0 6c 2f 42 b2 |u....N..*.;.l/B.| -00000240 69 63 64 3f 9e 32 40 d6 be 35 34 38 0d fc e5 ef |icd?.2@..548....| -00000250 83 76 72 41 c6 55 59 00 4b 5a a8 8e 5c 6a 4e b0 |.vrA.UY.KZ..\jN.| -00000260 22 32 85 8d ca bb 60 53 65 bd 1d 3a 59 ec d0 59 |"2....`Se..:Y..Y| -00000270 ec 7d 5c 5b 05 6d 9c 3a bd ab e4 85 45 2c 28 84 |.}\[.m.:....E,(.| -00000280 2c 4e 64 58 94 e7 1c d8 f3 c0 d2 87 af 4f c8 0a |,NdX.........O..| -00000290 74 35 45 b5 5a 36 7d ba 40 cd 16 83 9c 09 e1 0f |t5E.Z6}.@.......| -000002a0 2f 79 67 e1 11 27 65 c0 c6 90 e5 53 d0 ec c2 5f |/yg..'e....S..._| -000002b0 62 a1 73 98 56 8a ec 96 ab 3e 5f f9 9d 5a ea e3 |b.s.V....>_..Z..| -000002c0 d8 4a 2d 3c cf 8c 99 f8 76 2c 3c ae 33 ee 50 ae |.J-<....v,<.3.P.| -000002d0 e1 93 e5 fe 31 37 db 1a 0a 92 06 e5 d9 d4 7d b7 |....17........}.| -000002e0 1a 78 88 3f 75 4a 12 c6 65 9d cf ec fc 34 a9 38 |.x.?uJ..e....4.8| -000002f0 99 f8 11 ea 54 f4 95 64 f8 17 0a 88 3d 60 ce bd |....T..d....=`..| -00000300 9d 94 f7 5d 4f 68 54 35 c5 67 f2 90 73 92 91 17 |...]OhT5.g..s...| -00000310 03 03 00 a3 fd c4 e0 ec 81 2f 77 b9 73 be ec fd |........./w.s...| -00000320 fd 93 13 37 d7 2e 86 2a d5 ee 05 45 e6 07 e8 8b |...7...*...E....| -00000330 d2 3e 16 fa d3 56 02 51 44 e2 d5 ee 83 e0 b9 c5 |.>...V.QD.......| -00000340 41 82 ed fc 71 ad 86 33 59 f5 c9 3f d9 62 b3 3b |A...q..3Y..?.b.;| -00000350 be 21 1b ac 9f 3e 94 d1 fe 80 fa e0 73 a6 53 80 |.!...>......s.S.| -00000360 f7 2c 49 ca a9 b4 d2 43 17 3a a9 5c 91 88 f3 a4 |.,I....C.:.\....| -00000370 86 a5 2b f9 58 35 94 3e b0 fe ad 6a bc 30 58 2d |..+.X5.>...j.0X-| -00000380 58 fa 23 17 0d ca f9 ff 36 d3 19 ba 28 b2 08 fa |X.#.....6...(...| -00000390 f2 2e d9 18 62 85 c7 15 30 1c 92 b6 a0 a3 b1 02 |....b...0.......| -000003a0 5a a5 a4 86 ac d5 ff 2e 50 08 b0 c4 10 40 36 ee |Z.......P....@6.| -000003b0 44 75 fb a0 ab 4a ac 17 03 03 00 35 7c af de 0c |Du...J.....5|...| -000003c0 7c 32 17 f1 4d 40 3d 8b 60 80 12 5a c9 5d ac d9 ||2..M@=.`..Z.]..| -000003d0 83 17 33 cb e4 df 89 5d 68 a1 52 a7 5b 1e 50 e9 |..3....]h.R.[.P.| -000003e0 e3 dc c6 48 13 97 42 ec 50 da e0 10 b7 64 7b 84 |...H..B.P....d{.| -000003f0 5e |^| +00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 20 |..+.....3.$... | +00000060 2c 40 9b 1d 29 08 61 b0 61 fe 38 5c 38 5d ae 1f |,@..).a.a.8\8]..| +00000070 eb ee 36 65 1d 5b b0 a6 29 70 5b 83 83 c7 42 14 |..6e.[..)p[...B.| +00000080 03 03 00 01 01 17 03 03 00 17 8a dc 21 08 76 99 |............!.v.| +00000090 85 e8 5a 65 3f c2 e8 dc 41 12 4d 04 2f 9c f4 26 |..Ze?...A.M./..&| +000000a0 d2 17 03 03 00 42 63 3c 01 b4 32 52 7d 92 3f 0b |.....Bc<..2R}.?.| +000000b0 e8 94 fe fe ce 37 1c c0 23 12 0b eb e7 97 30 68 |.....7..#.....0h| +000000c0 a0 94 53 e5 7c 8a b6 98 4f 6d 37 4e 7b 39 85 91 |..S.|...Om7N{9..| +000000d0 1d db 6e 2f c7 74 e4 a8 85 d7 91 17 ef 9a af 4a |..n/.t.........J| +000000e0 12 0b 01 85 82 e0 68 38 17 03 03 02 22 cc 4e b4 |......h8....".N.| +000000f0 aa e4 3a 63 57 cf f9 8b 50 12 3f 10 b2 4e 87 e4 |..:cW...P.?..N..| +00000100 44 6a c6 ac 7f e2 07 ba ed f1 59 c3 09 8b 31 e1 |Dj........Y...1.| +00000110 7a 65 2b af 5a ca 60 b0 6b 75 85 e6 73 fd d6 ce |ze+.Z.`.ku..s...| +00000120 37 99 82 da 38 8e 48 a1 84 81 ae e5 8e b1 9f 9c |7...8.H.........| +00000130 1f 2b e6 5a 18 1f f8 2e bf f4 10 ed ca f8 e2 9d |.+.Z............| +00000140 75 04 f6 92 bd 1e 78 7a 08 0d f9 e1 cf 19 55 36 |u.....xz......U6| +00000150 11 2d 2c 48 89 e9 7d d3 65 a5 c9 46 5c 55 81 e1 |.-,H..}.e..F\U..| +00000160 40 db f7 71 84 ec 0c 1c da 18 bd a7 14 dd 61 60 |@..q..........a`| +00000170 51 ca 94 49 aa a2 51 26 b2 3e 17 4b df 64 42 cf |Q..I..Q&.>.K.dB.| +00000180 52 4e b3 76 d3 3f 36 4b de 86 50 62 28 91 8a 4c |RN.v.?6K..Pb(..L| +00000190 f7 02 bc a9 1a b1 46 8f 7e 03 62 b0 f6 18 14 bc |......F.~.b.....| +000001a0 a6 ed b2 37 31 0e d3 1c 08 c4 60 ac 23 a7 38 02 |...71.....`.#.8.| +000001b0 23 d8 18 23 37 90 c7 91 2b 9d 03 4f 5d bb 9c c9 |#..#7...+..O]...| +000001c0 59 cb 15 f5 5a 31 88 cd c8 df c9 f1 e9 06 fb 77 |Y...Z1.........w| +000001d0 5e 94 c3 20 2c ea cd 1c 48 43 38 7f ba 0f f8 69 |^.. ,...HC8....i| +000001e0 a0 2b e7 9d 28 44 28 bf 1d eb 30 ba 5a d9 50 f6 |.+..(D(...0.Z.P.| +000001f0 a3 9a fe 3e 1e 99 98 fa 22 4f 7b b9 89 40 56 12 |...>...."O{..@V.| +00000200 3e 47 1e 5f 5c 30 35 b9 41 33 f3 35 23 6a be 4c |>G._\05.A3.5#j.L| +00000210 db c3 15 85 2d a3 df 19 c1 1b 7a 16 b9 78 d3 c8 |....-.....z..x..| +00000220 68 50 a0 be 32 12 86 cb 3e 94 08 f3 9e 4a 70 44 |hP..2...>....JpD| +00000230 b2 54 6c b1 79 13 f5 24 e3 a2 69 06 b5 78 15 43 |.Tl.y..$..i..x.C| +00000240 e2 da 30 bf a1 71 b6 ef 1f c5 65 09 b9 4b 6e aa |..0..q....e..Kn.| +00000250 44 86 9c b7 3a 22 a6 ed 36 b3 8c c7 ac f1 35 45 |D...:"..6.....5E| +00000260 33 55 a2 20 c4 42 3b bb 66 28 b6 a6 41 f0 d0 03 |3U. .B;.f(..A...| +00000270 4f ea 7e 4e 72 0f 91 43 c1 29 39 bb 41 ea 4b fb |O.~Nr..C.)9.A.K.| +00000280 26 3e da c3 94 b6 7d c3 b6 2a 7a db 2b 28 96 f8 |&>....}..*z.+(..| +00000290 2f 4e 5b 86 60 74 11 f2 18 4b 0f 68 44 12 bc 6f |/N[.`t...K.hD..o| +000002a0 d5 b8 81 bb fe 5f ad c2 83 d0 a6 0b 9c ca e8 be |....._..........| +000002b0 65 fc 74 4e 9e 16 9e c2 49 b6 1e 54 be f2 99 e9 |e.tN....I..T....| +000002c0 53 7f fa 04 49 b6 d6 cc cd a2 78 c7 e8 c6 3e 53 |S...I.....x...>S| +000002d0 dc 8e af 37 6a 58 a2 db 24 60 7d db bc 8c ac 49 |...7jX..$`}....I| +000002e0 bc 7c 49 6c 8b 00 a6 cb c9 0b 44 81 b5 99 aa b8 |.|Il......D.....| +000002f0 99 24 fe 83 91 81 c0 b7 7c 05 0c 1c f6 e5 23 07 |.$......|.....#.| +00000300 d5 98 82 46 b7 33 52 17 85 45 eb f7 d9 a6 f5 17 |...F.3R..E......| +00000310 03 03 00 a4 be 52 87 32 92 ec 7e b3 79 8d cf 87 |.....R.2..~.y...| +00000320 53 de 70 c7 4c c1 7e 0e 60 a2 e3 ff ea 58 26 95 |S.p.L.~.`....X&.| +00000330 8c 1d ac 79 ed c3 bc ac a5 cd 53 6a 3e f3 47 29 |...y......Sj>.G)| +00000340 8b 65 be 48 8e 10 4b bc 43 38 e8 a3 00 c7 94 1f |.e.H..K.C8......| +00000350 03 fa 30 52 41 a9 31 62 0c ab e9 da 92 74 c8 53 |..0RA.1b.....t.S| +00000360 0a 54 d7 6f 4a e1 a3 56 e2 49 46 39 3b 08 68 af |.T.oJ..V.IF9;.h.| +00000370 cb 88 3d 28 97 53 b2 d4 6f 63 9d 41 f6 2d 39 d4 |..=(.S..oc.A.-9.| +00000380 60 f2 8b b7 36 3a 74 09 e7 45 e4 ec 7c eb 39 0d |`...6:t..E..|.9.| +00000390 bf 00 d0 d7 75 f1 22 47 3a 23 b6 38 10 b7 36 d2 |....u."G:#.8..6.| +000003a0 f4 8c 33 bb 8d e0 e6 3a 2c e5 63 1f f5 c8 41 ce |..3....:,.c...A.| +000003b0 6d 26 25 2b 03 0a f2 75 17 03 03 00 35 2e 6b 0d |m&%+...u....5.k.| +000003c0 1c 90 36 c0 d9 b4 c9 f5 66 2a 67 66 2e cd 95 27 |..6.....f*gf...'| +000003d0 3d 4b 0e 95 83 b1 28 06 d7 a2 1c 01 cd 97 b3 8f |=K....(.........| +000003e0 44 09 1a 65 99 c6 f3 28 37 84 f0 32 92 88 d8 86 |D..e...(7..2....| +000003f0 6d 2f |m/| >>> Flow 3 (client to server) -00000000 14 03 03 00 01 01 17 03 03 02 11 9b 42 07 e0 4c |............B..L| -00000010 3c b2 f7 34 dc 15 43 74 a1 67 2e ac 39 0c 6c 9a |<..4..Ct.g..9.l.| -00000020 59 34 f6 39 cf 77 d9 36 19 67 29 d0 d2 a7 b6 73 |Y4.9.w.6.g)....s| -00000030 00 9b 3f 13 d6 2e 3f ba 23 45 c8 5e 49 20 9d f2 |..?...?.#E.^I ..| -00000040 37 ee 9c ef cf 1e b4 62 43 89 7b 10 d7 18 3a a6 |7......bC.{...:.| -00000050 07 be 11 f1 b0 0f 0f fe ac 18 20 17 5d 83 50 e3 |.......... .].P.| -00000060 97 60 4b f5 2b 16 65 5e d4 4f c6 f4 9c 8f 99 75 |.`K.+.e^.O.....u| -00000070 7a b3 c7 55 bf ee 23 01 87 91 b5 70 5c 74 30 6c |z..U..#....p\t0l| -00000080 35 02 77 ff da d0 f3 1c dc c1 e3 63 e1 f8 9a 1d |5.w........c....| -00000090 5b 3f 0f c4 95 c3 52 f6 a5 cc 21 49 fc 89 bd 6f |[?....R...!I...o| -000000a0 50 50 f2 a4 42 07 6e cd ed 4d 6a 58 09 0d c5 82 |PP..B.n..MjX....| -000000b0 f5 9f 1e ce 9c 57 3c 50 bc 63 bb 06 91 ad 7b 99 |.....W...| -000000e0 54 ee 7f 9c ad 88 bf 50 85 85 e0 39 1f 5b b6 4f |T......P...9.[.O| -000000f0 1c 75 47 8d f9 ce 31 c1 98 f3 a8 c2 09 98 ac dd |.uG...1.........| -00000100 23 f2 1d 76 b6 2a f6 ae 39 54 15 33 05 81 3f 27 |#..v.*..9T.3..?'| -00000110 2b 57 3c 08 9c 1d b7 8f 1c 4b aa 8c f8 5f ac 2e |+W<......K..._..| -00000120 5f 74 7f f6 10 2c c4 0f 8e 3f f2 c7 05 5f 62 2b |_t...,...?..._b+| -00000130 29 5a 51 89 46 57 8e 93 e9 b8 13 2c cc 41 60 83 |)ZQ.FW.....,.A`.| -00000140 66 61 1a 20 fb 23 74 6f 14 d0 d0 62 4f f8 cf 37 |fa. .#to...bO..7| -00000150 2e cf e6 7f e4 3a 28 c8 5d df c1 ce 5d f5 a4 b3 |.....:(.]...]...| -00000160 8c 72 7e 25 df 83 fb e0 fa 83 78 6d 71 73 01 11 |.r~%......xmqs..| -00000170 40 3a 99 20 5d 7c fc 77 30 cc b8 57 74 50 9e 3b |@:. ]|.w0..WtP.;| -00000180 6b d2 9c ce 90 3b 4f db ee 36 38 c1 d5 cd fc 3f |k....;O..68....?| -00000190 fe fa 6f 2f 4c b5 23 1a 68 24 47 33 1f cd a6 f8 |..o/L.#.h$G3....| -000001a0 94 01 52 a3 24 80 d3 3d 10 82 82 d6 fa ac 14 77 |..R.$..=.......w| -000001b0 84 5c fe 49 03 05 ff f8 0d 47 0b f4 18 70 91 d5 |.\.I.....G...p..| -000001c0 f3 97 2a 0d 38 8b eb 54 7b b4 01 0c 69 10 24 b0 |..*.8..T{...i.$.| -000001d0 6c 7f 31 94 06 53 36 02 ee 37 9a d0 25 66 f2 19 |l.1..S6..7..%f..| -000001e0 36 17 1a e4 9c 8b 4e b4 06 81 17 69 49 9b 5a 62 |6.....N....iI.Zb| -000001f0 41 8b 0d 47 92 73 3f d9 41 2e 65 02 cb 26 e0 15 |A..G.s?.A.e..&..| -00000200 eb 9f a2 42 28 f2 0f ff ad 16 0d 71 c1 f4 12 ff |...B(......q....| -00000210 82 a5 9d 7f 8f d1 1a f2 67 47 aa 17 17 03 03 00 |........gG......| -00000220 99 81 88 d5 c7 17 a4 9e 65 02 58 d5 ac 52 28 04 |........e.X..R(.| -00000230 f6 d5 f4 e5 5b 51 41 29 2f b2 20 85 ac 39 be 4d |....[QA)/. ..9.M| -00000240 44 38 d2 ee a8 01 34 e9 e4 3f 7c 9f bc 30 ab 1a |D8....4..?|..0..| -00000250 84 cb 66 9d b7 07 5d d6 0e 0f 2e 3c 48 3d 16 ef |..f...]....=.d.z.| +00000110 de 1f af 27 b2 3e 8e c3 c2 40 50 a3 f3 e3 25 1e |...'.>...@P...%.| +00000120 8d 17 ac 66 2a 9b 6c 08 29 cb 64 f8 14 1b 70 69 |...f*.l.).d...pi| +00000130 fc 91 6b d8 88 d5 a5 93 dc e5 d7 b0 ee 2f f2 4c |..k........../.L| +00000140 34 a1 0e f5 9f 69 fc b6 36 d3 03 56 d1 a7 b3 71 |4....i..6..V...q| +00000150 72 7a 49 e9 79 ce c2 88 03 75 81 b0 c7 ed d5 21 |rzI.y....u.....!| +00000160 c7 85 17 84 33 0c 6e 8f b5 78 e9 82 62 67 db c6 |....3.n..x..bg..| +00000170 75 39 02 ed f4 30 20 79 a8 c8 b7 8d 6b 74 41 6f |u9...0 y....ktAo| +00000180 2f 4b 8d 8c 14 a2 a1 0b 46 07 3c 75 d3 6b c9 f7 |/K......F..:3..5..E| +000001a0 9d 5e 60 5b d8 50 ab 5a 9f c6 26 3a b2 75 c1 9d |.^`[.P.Z..&:.u..| +000001b0 ed d3 72 2e 39 a8 3d c1 51 73 25 78 14 bd 6b d9 |..r.9.=.Qs%x..k.| +000001c0 b3 29 9a a1 0c 19 10 a2 a1 de 28 be 32 7a 94 8c |.)........(.2z..| +000001d0 fb fe b4 36 1b e2 64 36 9b c4 90 11 4b 72 67 3c |...6..d6....Krg<| +000001e0 c1 cb e3 8d ec 41 0a 6e e3 71 17 50 0e b6 5d 6f |.....A.n.q.P..]o| +000001f0 21 66 69 64 3d bf 84 13 ce 07 a1 3e 9d f3 23 a0 |!fid=......>..#.| +00000200 5f eb 03 bf ff c2 ac e6 76 5e 10 74 f6 20 e5 3d |_.......v^.t. .=| +00000210 e9 54 cf 44 f9 49 0c db 53 51 e5 9c 17 03 03 00 |.T.D.I..SQ......| +00000220 99 ad 76 b8 d7 d2 ff a7 3c aa 03 07 2a 24 33 47 |..v.....<...*$3G| +00000230 81 da a9 05 1c c1 bb 5a 39 d8 cf fe d2 ce dd 9b |.......Z9.......| +00000240 5e 60 1c 31 b2 8f d4 be 58 79 bd ea b8 c7 0d 0b |^`.1....Xy......| +00000250 1f 91 89 7a 14 33 03 55 a7 1d 12 03 5f cb 65 91 |...z.3.U...._.e.| +00000260 8b 7c ed d9 7e bf 91 5b 48 4b 41 c0 02 31 bf 08 |.|..~..[HKA..1..| +00000270 3c b8 89 7d dd 3a f0 28 6f 22 a7 bb a7 9d 3e 08 |<..}.:.(o"....>.| +00000280 5f d4 86 b6 06 2d 84 71 81 ee c5 c7 e4 ef 6f 99 |_....-.q......o.| +00000290 ab 3e fb 34 91 2d 48 90 86 45 c3 59 0d 82 b7 43 |.>.4.-H..E.Y...C| +000002a0 86 a4 17 35 fe 53 3d 76 2a 2d 6c 69 4a 74 92 f2 |...5.S=v*-liJt..| +000002b0 24 a4 e2 eb 9f 3b d4 3a 62 ea 17 03 03 00 35 6b |$....;.:b.....5k| +000002c0 f5 d7 b7 86 07 b0 bd 69 7f d8 37 8b 01 12 92 65 |.......i..7....e| +000002d0 9d b3 70 0c ea db 10 7c 0c ae 4d 43 9e d6 9b bc |..p....|..MC....| +000002e0 34 a5 ab 5b fc 00 32 f6 60 7f 7e 98 33 fc 8a d1 |4..[..2.`.~.3...| +000002f0 5d 16 14 cd 17 03 03 00 17 5c 26 19 8a 8e a0 47 |]........\&....G| +00000300 fd c8 46 09 c8 6d 93 3d ee 2e 97 80 10 eb c5 58 |..F..m.=.......X| +00000310 17 03 03 00 13 d2 ae c9 a8 cf 50 f3 cc 4d a8 cd |..........P..M..| +00000320 00 c0 37 77 50 d6 78 a2 |..7wP.x.| diff --git a/src/crypto/tls/testdata/Client-TLSv13-ClientCert-RSA-RSAPSS b/src/crypto/tls/testdata/Client-TLSv13-ClientCert-RSA-RSAPSS index 3ad958d3a8d..3398a7f888a 100644 --- a/src/crypto/tls/testdata/Client-TLSv13-ClientCert-RSA-RSAPSS +++ b/src/crypto/tls/testdata/Client-TLSv13-ClientCert-RSA-RSAPSS @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,138 +7,159 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 7a 02 00 00 76 03 03 a4 4a 7e a5 0d |....z...v...J~..| -00000010 13 6e 8d 02 1c 00 14 2d 8d f5 79 bb 7c 41 e0 85 |.n.....-..y.|A..| -00000020 fe a6 b5 3c b3 d3 fe ca da ec a6 20 00 00 00 00 |...<....... ....| +00000000 16 03 03 00 7a 02 00 00 76 03 03 39 c7 10 c4 96 |....z...v..9....| +00000010 76 24 df 1a 24 30 b1 44 e3 3a 1e fb a7 40 00 61 |v$..$0.D.:...@.a| +00000020 f1 a4 73 c0 f2 95 1e c3 9b 3f c5 20 00 00 00 00 |..s......?. ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 01 00 00 |................| -00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 1e |..+.....3.$... .| -00000060 23 40 76 e7 5c 80 a2 89 74 36 92 5b 2f e9 0c 88 |#@v.\...t6.[/...| -00000070 13 6d e2 d4 f5 96 26 dc f6 ec 11 4a e0 61 40 14 |.m....&....J.a@.| -00000080 03 03 00 01 01 17 03 03 00 17 d0 8e 72 5e 93 f3 |............r^..| -00000090 8f 0d 73 31 3a 29 41 71 b3 88 74 6d 55 95 58 a1 |..s1:)Aq..tmU.X.| -000000a0 3b 17 03 03 00 20 ac 05 3f 28 2d d2 44 73 65 a6 |;.... ..?(-.Dse.| -000000b0 dc 6e cc cf b2 2f 6a 01 bf 9f 97 cc 7a 9f f5 16 |.n.../j.....z...| -000000c0 48 b4 93 3b 84 d4 17 03 03 02 7a 5c 53 bd fc 51 |H..;......z\S..Q| -000000d0 e3 1c 64 48 03 9a 77 25 0e 61 c2 84 a5 05 a6 ee |..dH..w%.a......| -000000e0 e7 83 43 33 01 50 8f 5d 5c f1 5b 72 d9 d8 89 60 |..C3.P.]\.[r...`| -000000f0 6a c5 e2 72 cb d8 53 df 55 58 04 b4 c2 67 95 3c |j..r..S.UX...g.<| -00000100 87 a2 82 bf 0f 1d 74 96 c2 3f 87 f2 46 fa c5 46 |......t..?..F..F| -00000110 c0 47 32 69 d6 2b c9 37 6f 5c cc 4a 6e 65 30 d0 |.G2i.+.7o\.Jne0.| -00000120 91 81 57 98 7a 45 bc 37 a7 52 bd 6b da e0 dd 3a |..W.zE.7.R.k...:| -00000130 65 35 dd 60 ac b8 49 17 3c 1c 8e 80 cc 7d cd ec |e5.`..I.<....}..| -00000140 d6 e2 60 bf c3 59 8f 85 82 02 b1 24 93 1e ae 02 |..`..Y.....$....| -00000150 5d 27 e2 b1 57 7e e6 c6 77 68 03 42 f0 bd 12 dc |]'..W~..wh.B....| -00000160 a7 3f 6e 1f 5a c0 a5 c7 e5 74 49 1d a7 1b 25 ee |.?n.Z....tI...%.| -00000170 69 3f a0 bd 87 35 30 0c 9c 6e 40 59 68 2f 22 08 |i?...50..n@Yh/".| -00000180 04 65 9d 61 d9 47 3c fc e0 57 d0 0a c0 63 10 b8 |.e.a.G<..W...c..| -00000190 01 cb 5b 5e 41 39 cd a0 a1 ae f6 4e 0f 98 c6 fe |..[^A9.....N....| -000001a0 5f 49 68 00 c5 7e 6b 9e 47 ce 64 3b 64 04 2e e6 |_Ih..~k.G.d;d...| -000001b0 1f 0f fc b2 c1 9a 04 b1 9c f7 f3 34 59 bc 55 45 |...........4Y.UE| -000001c0 4c 1e 2d b6 56 5e ab 01 e6 08 f4 e6 46 56 49 31 |L.-.V^......FVI1| -000001d0 9d 3d 3a a1 9a a5 9e bc d3 54 ee fc 1c 5c f1 b4 |.=:......T...\..| -000001e0 60 2f e1 a7 e8 95 e5 95 d8 04 c5 02 b5 81 fa 89 |`/..............| -000001f0 29 44 96 6d 37 07 8f 1e fe c0 2c 55 8e c3 c9 b5 |)D.m7.....,U....| -00000200 3b 13 2f bb 84 14 47 b5 1c 32 8e 57 16 cf f0 c5 |;./...G..2.W....| -00000210 02 4b 0d 4f e0 16 2c dd 05 f0 75 19 f5 41 09 db |.K.O..,...u..A..| -00000220 cf 54 96 09 44 c6 d3 cd b3 85 e5 2a 88 cd 21 24 |.T..D......*..!$| -00000230 52 6f 9f bd 8a 45 af 09 14 34 cd 34 a5 84 a8 dd |Ro...E...4.4....| -00000240 23 46 5b d1 41 b8 9e c1 56 93 50 c4 09 58 13 95 |#F[.A...V.P..X..| -00000250 11 61 66 df f9 16 e0 8e 80 fe d9 43 42 23 50 ae |.af........CB#P.| -00000260 40 8a 39 dc 14 47 b9 a4 68 33 6b a8 5a a4 1f 40 |@.9..G..h3k.Z..@| -00000270 53 d7 0d ce e5 a4 60 ec ea 2c 66 b2 8e 94 72 e7 |S.....`..,f...r.| -00000280 fc f7 a7 03 38 28 64 20 34 f1 66 b7 23 44 53 75 |....8(d 4.f.#DSu| -00000290 53 86 c4 b6 5c 62 df a0 99 18 4a 86 3e cd cc e1 |S...\b....J.>...| -000002a0 2f 14 b0 fe 63 46 f8 e9 2f 57 c8 c1 d7 92 ea c9 |/...cF../W......| -000002b0 81 25 34 38 a4 ff ba 52 7f bf de da e2 11 78 d5 |.%48...R......x.| -000002c0 95 df 20 6d bf 34 b1 4e 96 61 af 76 e4 c2 ae 51 |.. m.4.N.a.v...Q| -000002d0 9e 69 8d a2 cd c1 47 a8 70 25 07 69 aa 90 1c 6e |.i....G.p%.i...n| -000002e0 64 b1 1c 47 0c 47 c1 86 59 21 bf f9 ee 7f e6 c7 |d..G.G..Y!......| -000002f0 31 2e 50 d8 25 2b d0 df e3 0a 4a da 54 1a 14 a7 |1.P.%+....J.T...| -00000300 48 cb 4c d9 67 fe 9a 12 36 fd 31 cf 1c 8a c2 68 |H.L.g...6.1....h| -00000310 3b f7 cc c1 4b dc 1f c2 0f bd aa 40 02 a2 08 4f |;...K......@...O| -00000320 9f 7b e7 66 3f cf c7 6c b2 86 fb e5 d4 8b f9 78 |.{.f?..l.......x| -00000330 2a cc cc e1 30 63 ff 48 1c 70 f6 57 48 fb 69 39 |*...0c.H.p.WH.i9| -00000340 ca bd 16 41 62 17 03 03 00 99 3a 9a 39 09 d4 b9 |...Ab.....:.9...| -00000350 49 62 8d 88 79 61 c1 ba e1 76 d5 95 26 aa 0f 91 |Ib..ya...v..&...| -00000360 43 07 1d a2 3e b5 29 84 60 07 9a 67 a7 4c d0 4e |C...>.).`..g.L.N| -00000370 c7 9f 1e 53 38 15 fe bd 84 f2 d4 bb 60 8f cf 4a |...S8.......`..J| -00000380 8b fa 34 a6 fe 08 5a 7f d1 a2 12 95 9e b4 5c 41 |..4...Z.......\A| -00000390 95 cd b8 60 d8 c3 80 5d ba f3 a8 0d e0 36 0c 3f |...`...].....6.?| -000003a0 5f 7e 04 81 7a 6a 6a 88 1b 3b e6 30 c7 79 57 e8 |_~..zjj..;.0.yW.| -000003b0 35 90 d8 06 53 00 9d 0b a3 8a 32 94 9f 13 7d 53 |5...S.....2...}S| -000003c0 7d 57 f4 14 d8 55 f3 97 36 a1 d1 89 a0 bf 79 ab |}W...U..6.....y.| -000003d0 b3 1c bf bd 6a ae 44 73 ed 5a 01 f2 dc 30 13 0a |....j.Ds.Z...0..| -000003e0 7a 4c 06 17 03 03 00 35 51 b3 88 c5 56 8d c2 c9 |zL.....5Q...V...| -000003f0 31 7a 16 c5 ee 10 e1 52 e2 6d 26 31 52 08 22 b1 |1z.....R.m&1R.".| -00000400 94 c8 b5 15 d7 0d d9 b1 a6 91 57 53 a1 96 15 87 |..........WS....| -00000410 a7 b0 d8 a5 b1 aa 98 1e 61 c7 c1 fd e0 |........a....| +00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 89 |..+.....3.$... .| +00000060 05 3f b2 64 14 69 18 2c 55 ba 43 00 30 65 5a a5 |.?.d.i.,U.C.0eZ.| +00000070 3c 7e 89 cb b8 0e bf a6 1a 6e a8 c6 47 25 2b 14 |<~.......n..G%+.| +00000080 03 03 00 01 01 17 03 03 00 17 c2 be 8b 82 82 44 |...............D| +00000090 c4 54 d5 c5 ab 55 cb 45 c9 48 4d ac 79 34 16 f3 |.T...U.E.HM.y4..| +000000a0 3a 17 03 03 00 20 32 26 20 ef d0 2f 98 f9 d8 a7 |:.... 2& ../....| +000000b0 48 f9 eb 00 39 a7 3e ea 13 bd 2f 88 81 c9 d7 e7 |H...9.>.../.....| +000000c0 48 23 d1 ac e7 46 17 03 03 02 7a 37 38 2c ae 0c |H#...F....z78,..| +000000d0 15 a6 e1 70 f4 3e 3e 13 a5 21 2d d9 c2 dd 14 ee |...p.>>..!-.....| +000000e0 31 58 d4 6e 3b 38 64 1e f8 b8 b9 2f 8e 86 5a a0 |1X.n;8d..../..Z.| +000000f0 c8 41 ae 67 4f 64 e6 9c c3 3c ce 29 42 09 9e ff |.A.gOd...<.)B...| +00000100 f5 09 ec b1 4e 62 a5 35 4c 82 fb c4 af 3b 18 6f |....Nb.5L....;.o| +00000110 80 d3 bb 8f 62 43 be a9 54 fe 55 19 50 9c c0 8b |....bC..T.U.P...| +00000120 9e 4f 49 32 bb b6 ba 48 e6 76 4a cd 42 47 d8 22 |.OI2...H.vJ.BG."| +00000130 21 0a 80 57 1e 4e 56 30 8c 1e ac 5c 77 76 b8 40 |!..W.NV0...\wv.@| +00000140 33 c4 33 30 a9 10 a0 8a b8 67 68 77 9e ff 01 fd |3.30.....ghw....| +00000150 4c 24 56 5d 55 bc 96 8a 4c 5f 25 db de ba 72 53 |L$V]U...L_%...rS| +00000160 5a 86 07 e3 0b 75 2a 18 d4 62 c8 1a c4 cc ed 56 |Z....u*..b.....V| +00000170 5f 15 97 84 ba 9d cc 76 f5 24 41 dd 08 88 fc d3 |_......v.$A.....| +00000180 34 fe cd fe 42 08 af 4b a2 27 d8 d7 b2 b9 d0 6e |4...B..K.'.....n| +00000190 14 16 7c 5d b1 25 88 c5 af a8 74 93 16 9c 63 33 |..|].%....t...c3| +000001a0 57 dc 6d 39 8d 8e c1 cb 11 8c 22 ae ae fb ac 52 |W.m9......"....R| +000001b0 47 b2 e0 8c f7 d5 95 f6 5b a3 56 0f 10 c6 9d d8 |G.......[.V.....| +000001c0 e8 40 df a6 b2 c4 e2 ec 4b 01 b4 6e 93 6a e5 d3 |.@......K..n.j..| +000001d0 a9 4a a7 7a b6 1e fc 76 3b b3 dc 3f e2 ac 16 fd |.J.z...v;..?....| +000001e0 be 8d 90 69 84 f7 f8 c2 6b 3c e7 a8 52 19 b9 4e |...i....k<..R..N| +000001f0 c4 e8 00 5f ee 75 66 7a cd f1 04 f4 4e b0 ca 90 |..._.ufz....N...| +00000200 8e 0e fa 52 4a 2d 5e d6 b7 e9 10 37 e5 1a f0 93 |...RJ-^....7....| +00000210 11 b4 d2 e2 8c 27 26 c1 9a ae 7b ce 5a 1b c9 78 |.....'&...{.Z..x| +00000220 e6 63 3a 1c af 4e 96 ed 21 e5 76 be fc ec bd c6 |.c:..N..!.v.....| +00000230 1f bc 11 51 bb da 7c 75 bf 1b f9 54 a5 1a 94 83 |...Q..|u...T....| +00000240 f1 31 d5 d0 30 7a cf 9d a8 5e 4e de 84 aa bc 80 |.1..0z...^N.....| +00000250 b3 3a c5 e6 42 7c ae 60 32 8b 0e 44 61 a3 ce cc |.:..B|.`2..Da...| +00000260 57 23 b1 95 69 d7 8c c7 4a ad e4 77 f3 cc f1 d0 |W#..i...J..w....| +00000270 5a db 48 f7 9e 37 26 2e c3 0d 69 d4 9d b9 bd 06 |Z.H..7&...i.....| +00000280 57 b0 42 cc 08 c7 22 7f 7c 39 95 b7 85 0d 05 cc |W.B...".|9......| +00000290 eb a6 e3 19 f3 3f 71 fc 7e 89 09 ba 25 14 56 e5 |.....?q.~...%.V.| +000002a0 3b e3 24 ef 2a ac 4d 3b d7 5e a7 4e 01 89 ba 8c |;.$.*.M;.^.N....| +000002b0 dc 3c 8f 51 f9 20 2c d8 d0 cd 8d c4 a2 03 68 8a |.<.Q. ,.......h.| +000002c0 1f 69 11 fc 04 92 c7 7a 68 3e 80 46 bf a7 40 e9 |.i.....zh>.F..@.| +000002d0 0b dc 80 81 2a 33 a0 1e 72 19 3b 4b ea 47 d2 9f |....*3..r.;K.G..| +000002e0 04 d0 8c 40 ff dc 64 01 ee 7f 48 ff 10 d7 93 2c |...@..d...H....,| +000002f0 f7 ee 35 2c de bc c4 0f 5d dd 24 19 9c fc e9 51 |..5,....].$....Q| +00000300 e5 83 3c d7 25 35 77 88 97 95 c0 3b 05 cf 0f 9c |..<.%5w....;....| +00000310 e7 b5 44 b5 70 00 49 07 94 06 c1 97 92 f1 95 e1 |..D.p.I.........| +00000320 55 45 93 4d 25 3b 44 53 14 13 c2 30 49 f8 bc a2 |UE.M%;DS...0I...| +00000330 e8 bd d1 86 8a 06 a8 9c 44 2a b7 c0 98 31 1c ee |........D*...1..| +00000340 1f 98 54 9d 0d 17 03 03 00 99 b5 22 06 3f e5 ac |..T........".?..| +00000350 c6 f3 20 61 a3 bb 15 24 70 6e b9 f1 c3 c6 3b b9 |.. a...$pn....;.| +00000360 c5 43 8e 76 ae 00 a2 f3 b8 f4 c7 4d a1 fd b0 e9 |.C.v.......M....| +00000370 bf 02 42 92 88 ed 52 35 31 fb e0 ac 20 17 5c ec |..B...R51... .\.| +00000380 c6 d0 9a 19 bf d9 d2 73 7a 87 f5 48 3b dc d8 76 |.......sz..H;..v| +00000390 92 4a c4 45 22 18 04 24 02 32 89 ac 04 88 c0 a8 |.J.E"..$.2......| +000003a0 d9 a9 b8 23 97 03 93 0e 13 c9 50 94 0a 5e c2 cd |...#......P..^..| +000003b0 84 37 84 82 e7 1c 49 31 1f 60 99 0e 85 aa cf bc |.7....I1.`......| +000003c0 4a 49 13 d8 56 ee ca 06 20 fd e2 cb 32 88 02 e6 |JI..V... ...2...| +000003d0 58 d4 7f 21 5b d9 36 31 75 e4 e3 31 05 08 bf 00 |X..![.61u..1....| +000003e0 12 9f 08 17 03 03 00 35 60 a2 07 31 e3 dd 9d f3 |.......5`..1....| +000003f0 45 a6 42 a9 dd a8 b1 29 f8 f0 f6 b8 0b 14 2c f4 |E.B....)......,.| +00000400 0a c7 e0 78 90 f8 c4 c1 43 fa 10 26 42 e5 ef ba |...x....C..&B...| +00000410 aa 98 e9 40 d9 4e e2 c1 46 32 c3 03 00 |...@.N..F2...| >>> Flow 3 (client to server) -00000000 14 03 03 00 01 01 17 03 03 02 7a 1e 9c ad e5 89 |..........z.....| -00000010 12 35 0b 13 fa 45 6c 8a fe fd c1 aa 7b 9f 12 67 |.5...El.....{..g| -00000020 9b 24 a7 c2 fc 54 0f f7 66 3e 37 d7 6c d5 d9 00 |.$...T..f>7.l...| -00000030 a0 5d 5b 99 4d 41 fa 20 ec f0 8c 7b e7 02 fe 83 |.][.MA. ...{....| -00000040 77 af e0 c2 d2 24 e3 95 2c e6 f4 2f e9 1f 9d a7 |w....$..,../....| -00000050 76 de bb 2d f7 64 e6 12 d3 ce b4 53 ed 33 85 9d |v..-.d.....S.3..| -00000060 0b 6f 52 c4 4f 40 b1 73 d9 57 5a be 2b bc 16 c9 |.oR.O@.s.WZ.+...| -00000070 4b 69 eb 8b 5a 4c 75 90 a9 50 a0 78 aa 80 78 2c |Ki..ZLu..P.x..x,| -00000080 2d a0 19 3c 16 91 74 06 1d f4 2c ae 7a b9 7b 57 |-..<..t...,.z.{W| -00000090 b8 af 2b 44 99 e5 cc 05 85 a0 22 25 cc 50 aa 56 |..+D......"%.P.V| -000000a0 2c 40 ac 6d 8e e9 a1 d4 13 9c b0 d7 d2 71 dc 05 |,@.m.........q..| -000000b0 4e 07 b6 88 9a 8b e2 6d fd 0e 99 56 c2 64 b8 eb |N......m...V.d..| -000000c0 8d 5d e7 76 94 cf 8c 6f 3e cf ac b2 dc 18 77 5b |.].v...o>.....w[| -000000d0 63 26 12 9b 91 62 00 9d dc 6f 1c e9 00 2e bd 05 |c&...b...o......| -000000e0 8c 6f 69 84 0b 7d a6 9d ee b1 b7 2e 68 49 29 68 |.oi..}......hI)h| -000000f0 ea a9 76 07 46 b6 be ba d5 db ba b4 87 35 e9 c7 |..v.F........5..| -00000100 07 38 bd e1 74 39 58 7c 3f ae ee a1 1f 74 24 62 |.8..t9X|?....t$b| -00000110 92 d6 34 dc d6 a7 5c 18 92 23 ba 1b 84 92 e9 75 |..4...\..#.....u| -00000120 c7 b3 bf f0 2e 43 73 09 6a e4 f2 8c d8 1b 70 32 |.....Cs.j.....p2| -00000130 ac 14 a6 39 84 07 a4 4d e8 d2 b8 f7 1e c7 0a e8 |...9...M........| -00000140 7a a9 73 58 54 43 74 8f 35 e3 98 aa 77 03 e0 b9 |z.sXTCt.5...w...| -00000150 9a 06 e6 90 3a 4c 19 72 56 0f ab 8e c3 38 cf 35 |....:L.rV....8.5| -00000160 84 33 2a b7 56 14 ee 7d 5e 2b 0b 27 e1 0d 1f 03 |.3*.V..}^+.'....| -00000170 f1 70 be 24 50 e3 69 40 54 04 1e d8 50 8d 74 5e |.p.$P.i@T...P.t^| -00000180 cd c1 97 cd aa 16 9a 68 52 e5 91 88 2b d4 48 09 |.......hR...+.H.| -00000190 e6 eb 5f 8e 14 35 1d 27 90 d2 6d cc 62 b8 2f 36 |.._..5.'..m.b./6| -000001a0 1e 4f f5 98 17 ac 78 a0 32 e0 27 97 3e 86 a2 53 |.O....x.2.'.>..S| -000001b0 0c 1e 5f a0 02 fd 65 97 11 98 54 c9 4d b0 08 56 |.._...e...T.M..V| -000001c0 b2 1d e8 4a b0 8d 80 1c d1 d6 bc 59 29 ab 9c c0 |...J.......Y)...| -000001d0 69 01 ae ea 87 a4 93 84 d9 46 f5 93 dd f1 c5 b3 |i........F......| -000001e0 19 13 bc f8 96 ea 8c c9 84 03 3b ab c3 3a 2e a8 |..........;..:..| -000001f0 c7 cb c1 6f 99 a6 32 1f 8a e8 3c c9 21 22 58 f8 |...o..2...<.!"X.| -00000200 18 88 22 8d eb a6 ee ef 5b 4b a3 84 06 64 73 59 |..".....[K...dsY| -00000210 67 40 05 52 67 f2 73 17 50 0e f5 9d fd f1 69 c9 |g@.Rg.s.P.....i.| -00000220 14 48 6c b4 d6 a7 ae 74 d4 34 59 08 ef 7c 6e 7e |.Hl....t.4Y..|n~| -00000230 4e ce 32 a2 31 46 9c 50 b8 55 3c 36 cb db f9 1f |N.2.1F.P.U<6....| -00000240 90 60 ca b2 66 37 c4 fc f8 3f 91 ec 95 49 17 d7 |.`..f7...?...I..| -00000250 5b de 06 95 3d 2c 75 87 07 ae 29 e5 42 e4 42 c3 |[...=,u...).B.B.| -00000260 bc 36 77 8c c8 fc 01 30 73 af a1 44 52 66 6d 63 |.6w....0s..DRfmc| -00000270 71 23 ec 38 30 99 41 b6 13 9c 63 34 b0 37 c7 72 |q#.80.A...c4.7.r| -00000280 11 38 5f 90 71 17 03 03 00 99 dc ec c9 4d 23 b4 |.8_.q........M#.| -00000290 bf 91 5c c1 a3 10 fb 72 2a c4 f5 14 27 28 47 4b |..\....r*...'(GK| -000002a0 78 ae f9 3d a3 15 da 94 f8 ea 90 43 fc 34 e6 3c |x..=.......C.4.<| -000002b0 6f 6f 30 db 48 ac a1 a9 8c e6 72 2e 71 21 4d ed |oo0.H.....r.q!M.| -000002c0 2f 5a 2a 78 b4 f4 51 69 af 79 f2 af a6 15 5e 63 |/Z*x..Qi.y....^c| -000002d0 a7 92 d1 4a 5a 60 e1 ab 3f fc 4a 4d ac 7b 9d f3 |...JZ`..?.JM.{..| -000002e0 aa bb f4 c0 f2 a9 a2 1a 71 6a 5d fd 1b e5 d7 05 |........qj].....| -000002f0 1b 89 55 8f de f8 9f aa 68 8e 9c 90 ce ef 3c 85 |..U.....h.....<.| -00000300 b8 74 aa f0 c1 ef c7 e9 2a a1 96 e8 20 84 f0 f1 |.t......*... ...| -00000310 ae 39 ac 6c ac 10 b6 05 81 60 61 0c 0e 2a 48 e3 |.9.l.....`a..*H.| -00000320 6d cb 8e 17 03 03 00 35 cc b7 6b 7e e3 63 1a a8 |m......5..k~.c..| -00000330 f0 ab cf d5 8f 6d e6 df 9d 51 cb 12 56 ff ad 2b |.....m...Q..V..+| -00000340 6b 83 36 6a 82 f5 50 9a 94 22 70 dc 12 51 fc bc |k.6j..P.."p..Q..| -00000350 08 07 68 38 ce 4e 35 4e 05 ab a5 16 d5 17 03 03 |..h8.N5N........| -00000360 00 17 11 a6 8f 42 e6 6f cc 42 09 f9 83 39 79 0e |.....B.o.B...9y.| -00000370 69 6c 60 f9 9a c8 f0 50 e6 17 03 03 00 13 6c e6 |il`....P......l.| -00000380 84 5f 18 ae c1 d9 e2 03 43 1e ae ab fb e7 d4 12 |._......C.......| -00000390 bb |.| +00000000 14 03 03 00 01 01 17 03 03 02 7a f8 d8 75 d0 8d |..........z..u..| +00000010 33 fd 00 ae 06 49 0b 26 a4 a9 4d ac 56 65 20 dd |3....I.&..M.Ve .| +00000020 71 7f 57 31 7a f8 6f 02 8d 2c 98 c2 82 c4 29 ac |q.W1z.o..,....).| +00000030 4d 19 e9 da 23 36 ee 5d 64 1e 62 43 88 a6 0f e3 |M...#6.]d.bC....| +00000040 55 9a 68 97 9e 63 5c 49 af 00 52 79 6d cc 1d 4f |U.h..c\I..Rym..O| +00000050 96 ea 53 66 eb 5d af 16 d9 b3 3e 7e bf 3b d2 b8 |..Sf.]....>~.;..| +00000060 e1 65 bf 92 29 dc 02 26 28 12 f5 14 ec 28 1e 92 |.e..)..&(....(..| +00000070 28 f2 4b 04 d3 94 3e 40 93 52 02 93 e1 17 f2 76 |(.K...>@.R.....v| +00000080 b9 7d 3d 77 c5 41 ef 62 96 a0 ae 06 82 50 0a c6 |.}=w.A.b.....P..| +00000090 53 9a 43 53 2f 7a 69 32 2e 3a 2b 0c 1e 2c 2c ca |S.CS/zi2.:+..,,.| +000000a0 d4 81 ad 70 ef b5 24 36 0a 49 58 e3 8f dd ae 6d |...p..$6.IX....m| +000000b0 41 18 ca 81 70 0c 0a 54 8b 2b 11 fc 6a ac 55 9c |A...p..T.+..j.U.| +000000c0 ee 56 74 cd 6d 67 7f 4f a7 c4 43 87 06 bd fe a3 |.Vt.mg.O..C.....| +000000d0 ef e1 c7 dd 67 11 97 4d 18 03 0f d6 26 72 b9 8a |....g..M....&r..| +000000e0 06 7f 1f b5 4d 6b 4e 61 89 07 5c 92 f4 a8 f9 ad |....MkNa..\.....| +000000f0 43 31 1c 25 97 ff cb 17 ba 2b 9a e4 a9 9f 93 6f |C1.%.....+.....o| +00000100 b4 46 3c 6c aa 08 39 8d e9 74 d1 42 b8 6e 55 74 |.F.B-r.(.| +00000330 09 f5 8f 7c 7b aa 7a 3d 60 ec 9e e3 17 4c 7e 04 |...|{.z=`....L~.| +00000340 8f 44 7c 7e 6c f1 94 88 66 49 4f 07 8f 67 12 8a |.D|~l...fIO..g..| +00000350 6d 06 1e 3b 80 12 98 bc 07 fe c9 17 5e 17 03 03 |m..;........^...| +00000360 00 17 e3 f9 af cc c0 5b b7 2e 77 33 79 74 d1 09 |.......[..w3yt..| +00000370 d8 29 ab 26 f8 f3 14 80 1d 17 03 03 00 13 a3 23 |.).&...........#| +00000380 70 80 27 a1 07 61 10 9c 64 c9 ed 64 20 21 e1 5f |p.'..a..d..d !._| +00000390 3f |?| diff --git a/src/crypto/tls/testdata/Client-TLSv13-ECDSA b/src/crypto/tls/testdata/Client-TLSv13-ECDSA index 4d59ba38603..136f25cd586 100644 --- a/src/crypto/tls/testdata/Client-TLSv13-ECDSA +++ b/src/crypto/tls/testdata/Client-TLSv13-ECDSA @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,81 +7,102 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 7a 02 00 00 76 03 03 9c 2d 3f 8d 7d |....z...v...-?.}| -00000010 57 0a df 59 e4 62 e9 b5 0a 45 de 99 78 20 aa 4e |W..Y.b...E..x .N| -00000020 9e df 0b 4a 14 81 2e 54 17 de 05 20 00 00 00 00 |...J...T... ....| +00000000 16 03 03 00 7a 02 00 00 76 03 03 4d fd e0 49 0a |....z...v..M..I.| +00000010 fc 14 b9 dd 2c ee 3f 3e e0 2d cb 13 4f 72 63 46 |....,.?>.-..OrcF| +00000020 a2 49 83 41 78 fa 9d d4 c0 a3 bb 20 00 00 00 00 |.I.Ax...... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 01 00 00 |................| -00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 d9 |..+.....3.$... .| -00000060 eb 59 97 a3 3f 71 cd 1d a2 1d ff 1f b2 81 a1 fa |.Y..?q..........| -00000070 97 35 f8 89 50 2c ff f4 d0 eb 47 84 79 84 45 14 |.5..P,....G.y.E.| -00000080 03 03 00 01 01 17 03 03 00 17 be c1 7c 9b 05 ca |............|...| -00000090 8a d3 2c 00 0c 42 6c 56 25 6a 6b 36 a6 d7 b1 cf |..,..BlV%jk6....| -000000a0 84 17 03 03 02 22 a6 0f ae d8 01 c0 b4 f4 e1 73 |.....".........s| -000000b0 f5 79 b8 04 24 14 b4 72 8a d2 40 74 9b d4 33 28 |.y..$..r..@t..3(| -000000c0 ef 0d bd 8b 82 c4 76 c4 2d 6a 87 64 bc 53 bc 41 |......v.-j.d.S.A| -000000d0 ac 46 f5 72 c4 2f 7a d7 34 36 15 c0 df 7c 2c cf |.F.r./z.46...|,.| -000000e0 fb f4 5b da d0 5b 18 4c d0 d7 44 de f2 d2 dd 53 |..[..[.L..D....S| -000000f0 9c 44 07 fc 04 ec 1f f0 c7 88 56 89 6e 2c ac a9 |.D........V.n,..| -00000100 2d 90 cf 65 4f e9 74 75 73 90 3b 51 0f b2 6a 32 |-..eO.tus.;Q..j2| -00000110 a1 61 37 9a b0 75 e6 b0 ca b7 ff cb 72 32 20 5b |.a7..u......r2 [| -00000120 67 a1 af 58 af bc f3 aa 32 fe d4 9e 00 9a 00 8a |g..X....2.......| -00000130 c0 bd fb b6 6a bd df 4c 4a 5e 5b b9 af f6 8b e0 |....j..LJ^[.....| -00000140 1d 1c fa bf b3 a1 88 bb 41 06 3e 2b a5 ae 67 e7 |........A.>+..g.| -00000150 98 61 0d d0 e3 44 52 44 ab c2 22 53 26 15 2d cb |.a...DRD.."S&.-.| -00000160 bb af c3 ae ee 5d da 04 86 1c bb 41 54 56 0c 76 |.....].....ATV.v| -00000170 f4 ec da b6 db 6f ca 61 78 b2 22 a7 ff 95 0d 62 |.....o.ax."....b| -00000180 b3 05 de e2 5e 89 ce 05 9e 02 ea 62 52 73 c2 87 |....^......bRs..| -00000190 dd b2 00 2e 75 1d 4f e7 79 c2 1f 9c 1d cc 8c 11 |....u.O.y.......| -000001a0 68 ad 4c 1c 75 4a 12 cf 7d 90 7e 04 55 10 c7 d2 |h.L.uJ..}.~.U...| -000001b0 31 53 fb a5 ac 21 c2 e7 71 54 b7 42 b0 22 d4 eb |1S...!..qT.B."..| -000001c0 06 50 ab 5c 93 23 c3 87 b1 ff fd 1e f7 5e bf 37 |.P.\.#.......^.7| -000001d0 d7 26 7b 2c 9d b8 65 a3 ea 7d fc 48 7c 6a 77 0b |.&{,..e..}.H|jw.| -000001e0 78 8a c1 16 72 6b 05 38 ef 37 f7 3f e2 f9 b9 07 |x...rk.8.7.?....| -000001f0 d6 04 69 9f 33 3e b4 8c fa eb 9a 0a a7 3d ee f2 |..i.3>.......=..| -00000200 d5 d3 1e b2 20 0d c7 b3 88 ee c9 03 53 41 09 35 |.... .......SA.5| -00000210 63 4e 1d b3 0b 9e 1a 7e 2d 0c 0e 42 93 6e 3a 1c |cN.....~-..B.n:.| -00000220 45 3e 22 aa 63 1b 72 3d a3 3e 70 0a bb fa 55 3a |E>".c.r=.>p...U:| -00000230 d0 03 d7 fb ac 12 41 2f 9e 42 f1 d0 b4 91 3c d4 |......A/.B....<.| -00000240 2f d5 81 c2 c9 a2 90 9d 1a 9f fd 08 4c 1e ac 67 |/...........L..g| -00000250 95 e1 75 2d d3 4e 24 ea 01 28 f8 b0 ba a4 67 11 |..u-.N$..(....g.| -00000260 92 66 9f 45 e8 66 ef b7 67 77 ad ed 0c 65 b8 27 |.f.E.f..gw...e.'| -00000270 67 e2 18 53 22 6f 25 f4 f0 a2 5c 8c 72 63 cf 32 |g..S"o%...\.rc.2| -00000280 36 84 92 7f c1 6b d4 38 78 4c ba 43 eb 90 7b 95 |6....k.8xL.C..{.| -00000290 8f f2 fb 7d de f6 ac 3b 15 c9 f7 f0 d7 c8 6d 68 |...}...;......mh| -000002a0 1e 74 99 9e c3 86 fe a6 48 83 3b 7a 97 00 04 e6 |.t......H.;z....| -000002b0 f8 d8 3f 40 dc c0 03 3a a3 84 d4 76 a7 fb 27 a5 |..?@...:...v..'.| -000002c0 83 f9 52 84 23 6a e3 20 17 03 03 00 a4 47 3d c3 |..R.#j. .....G=.| -000002d0 49 a2 67 8e f0 4f df 4c 70 03 f4 ef 21 26 ef f8 |I.g..O.Lp...!&..| -000002e0 f7 99 28 9b a5 dc c0 0b 25 72 43 8a 32 0a fa 79 |..(.....%rC.2..y| -000002f0 f1 7d 18 f3 c9 ed 8a cf 52 97 9b bc 4c c1 a5 46 |.}......R...L..F| -00000300 14 67 d4 47 93 73 50 01 5f 05 1c d4 e2 05 a2 26 |.g.G.sP._......&| -00000310 c3 dd 0d ab 18 98 b4 97 45 d3 85 32 24 eb cc 54 |........E..2$..T| -00000320 80 39 c8 2a 61 cb 1e 53 0b 08 13 db 81 05 7d 52 |.9.*a..S......}R| -00000330 85 a4 8c 62 a9 03 a5 ee 2a 78 7a 26 5e 14 fc 32 |...b....*xz&^..2| -00000340 25 a7 21 7a 52 44 b2 c1 d0 02 3c ff c9 10 16 e1 |%.!zRD....<.....| -00000350 65 19 81 7f 13 b2 c3 51 63 2c 9d f4 5c ce ab 18 |e......Qc,..\...| -00000360 7a 2c 30 60 72 44 8e 2a ee c0 d8 b7 4c 64 0b 45 |z,0`rD.*....Ld.E| -00000370 7b 17 03 03 00 35 4e a4 17 a0 ca be 84 7a 75 7a |{....5N......zuz| -00000380 1d a6 b1 b3 d3 f7 9b 8d 05 be 31 22 99 0d 5e dd |..........1"..^.| -00000390 ac 7e 5e d9 d9 20 dd e7 f9 b5 26 fc 1e 8b d2 18 |.~^.. ....&.....| -000003a0 07 de 46 c4 e6 5d 63 ce 3d 92 88 |..F..]c.=..| +00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 ec |..+.....3.$... .| +00000060 71 c1 9e 02 1e 78 1d c7 44 ff bd 96 69 6c ed 10 |q....x..D...il..| +00000070 2d da bc 85 fc 6b f4 d3 e3 a9 96 0d 47 ad 5a 14 |-....k......G.Z.| +00000080 03 03 00 01 01 17 03 03 00 17 5f 58 08 58 c3 f6 |.........._X.X..| +00000090 a8 3e 6e c3 bc d8 d1 e4 4a c9 a5 c6 f5 c1 6c 32 |.>n.....J.....l2| +000000a0 51 17 03 03 02 22 b2 66 af ee 62 d5 53 a6 ab 7c |Q....".f..b.S..|| +000000b0 ef be d7 b1 60 0e cf 54 06 c1 22 ba e9 15 68 fb |....`..T.."...h.| +000000c0 f6 5f 06 6c 11 a2 f8 bb 5f ae 1b 3c 92 d5 e3 f1 |._.l...._..<....| +000000d0 81 0a 7c 5c 18 6d 53 44 cf 42 b9 1c d5 16 55 70 |..|\.mSD.B....Up| +000000e0 1f fa 33 ea c0 41 da a1 82 09 ce db e4 2d 3f 60 |..3..A.......-?`| +000000f0 fc d7 77 ad 08 fd 48 dc 36 3b 07 d3 5c a0 62 51 |..w...H.6;..\.bQ| +00000100 8a 80 95 96 8b 59 d3 b1 b4 76 a3 be cf 9a d4 fb |.....Y...v......| +00000110 d3 b0 3b 1d 6c 13 a6 71 5a e0 05 18 46 1d fb 1d |..;.l..qZ...F...| +00000120 ee 62 60 55 2e 5d 64 98 73 ee d2 9b 06 80 21 60 |.b`U.]d.s.....!`| +00000130 88 49 31 f8 59 87 57 7a 2f db b5 4f bc 4d db 6b |.I1.Y.Wz/..O.M.k| +00000140 c5 f2 9c 1b 67 33 f1 15 09 53 10 57 c8 6b d9 90 |....g3...S.W.k..| +00000150 1a 69 7a 76 98 78 7f f1 84 e1 6c f3 3f 39 93 e5 |.izv.x....l.?9..| +00000160 2b 74 e2 7d 67 23 e0 05 2a 03 3a 5e 27 42 05 59 |+t.}g#..*.:^'B.Y| +00000170 d2 7c 0d ee a4 c6 dc 36 f1 2a 03 73 db 43 2d f4 |.|.....6.*.s.C-.| +00000180 9a c0 86 61 74 90 be 63 9f a1 08 f3 77 a9 cc 4a |...at..c....w..J| +00000190 8a fd 31 40 a7 6d 8f 77 f0 1b 97 82 3f 29 5f 3a |..1@.m.w....?)_:| +000001a0 52 9e d1 b3 71 3b 96 d1 5c 08 65 f2 d9 43 be f0 |R...q;..\.e..C..| +000001b0 88 38 c7 95 4a 19 28 5d ec 42 f8 8d 5b df 96 70 |.8..J.(].B..[..p| +000001c0 16 28 07 96 22 38 38 96 d3 fe cc ff 4a e7 8a 9b |.(.."88.....J...| +000001d0 46 80 4e 48 b9 e2 c5 20 2b 47 4b e6 f3 00 09 af |F.NH... +GK.....| +000001e0 c3 18 24 10 e9 b7 75 54 f3 23 3b 61 68 2b b1 62 |..$...uT.#;ah+.b| +000001f0 ba 10 d7 4a 37 a0 7f 2e 5b c3 b2 d6 f1 2c 0b a5 |...J7...[....,..| +00000200 11 36 a7 97 1f dc 06 ac 50 4c d3 cc 01 f4 4a 47 |.6......PL....JG| +00000210 52 81 d0 01 e0 ec 7f 4c 55 14 42 5c 05 b2 ca 00 |R......LU.B\....| +00000220 8d e7 53 3f 6f f2 20 87 50 85 6d d2 94 d2 1f a4 |..S?o. .P.m.....| +00000230 79 c8 8c 79 f8 ea 86 3d 3e 7e 21 72 12 fd c7 a7 |y..y...=>~!r....| +00000240 b0 d1 03 01 e3 7b 32 cb b4 70 3c 5b c0 32 55 98 |.....{2..p<[.2U.| +00000250 dc f5 14 3d 51 cb 6f 3c d8 5d 0e d2 63 47 cc e2 |...=Q.o<.]..cG..| +00000260 9e 84 19 4a f2 4e 63 74 ce 47 37 48 fe 80 8c 3e |...J.Nct.G7H...>| +00000270 46 09 33 df 4b d6 ae 1c 31 84 49 ae 43 c1 fe 06 |F.3.K...1.I.C...| +00000280 33 dd e0 a1 5a 1a 3b 1f 0a 7f ad bd c3 99 bb df |3...Z.;.........| +00000290 93 7a 6a 10 55 ca e8 0e ef 67 a3 86 c7 f7 fd 48 |.zj.U....g.....H| +000002a0 a7 1b 7f d5 0f 65 51 ab 2c d7 5b 98 4c d3 70 38 |.....eQ.,.[.L.p8| +000002b0 04 59 a6 a6 9b ab 40 f8 e7 28 30 d6 66 d5 d7 57 |.Y....@..(0.f..W| +000002c0 38 5a e9 32 a5 65 72 19 17 03 03 00 a3 01 c8 10 |8Z.2.er.........| +000002d0 74 98 c1 c2 20 13 24 37 48 ba 81 bc 30 dd dd 2c |t... .$7H...0..,| +000002e0 7e 72 2d 02 63 4a 00 3e db cf d6 37 33 98 cc 4f |~r-.cJ.>...73..O| +000002f0 34 ef 43 89 54 34 95 ca 3a 08 93 53 01 2c b5 61 |4.C.T4..:..S.,.a| +00000300 db d6 18 aa f1 63 57 8a 0a 92 b6 44 cf 12 b9 1e |.....cW....D....| +00000310 1f 06 92 ec dc d7 c1 e7 71 79 75 c7 35 5d a2 45 |........qyu.5].E| +00000320 39 d4 af 34 d5 1f d3 5f b4 b3 08 30 ae 28 51 ba |9..4..._...0.(Q.| +00000330 a5 6f c6 56 d6 86 86 de 41 c7 a8 81 7d af c1 86 |.o.V....A...}...| +00000340 ef 84 a7 67 9a 3b 42 f1 b5 ca 3b d4 ea e3 13 4d |...g.;B...;....M| +00000350 b0 20 f2 30 a9 2c b0 65 e4 d3 92 56 f4 30 60 35 |. .0.,.e...V.0`5| +00000360 c8 e9 00 f3 5a 9b 0e 66 6b 32 5b e3 d1 b0 0c 82 |....Z..fk2[.....| +00000370 17 03 03 00 35 1c 2c 6d a4 9b 34 da 3b 38 51 45 |....5.,m..4.;8QE| +00000380 ee b2 09 41 85 b2 34 e9 e2 b6 1f a0 4d 5a e1 e3 |...A..4.....MZ..| +00000390 1d 6d 91 2b 1a d6 cb 07 9c 09 d1 bc 8d 3d 6a d7 |.m.+.........=j.| +000003a0 97 8c 5c 17 cc 34 15 8d 2d be |..\..4..-.| >>> Flow 3 (client to server) -00000000 14 03 03 00 01 01 17 03 03 00 35 d9 c0 4f 94 f1 |..........5..O..| -00000010 eb 19 6d 6e dd f5 a3 84 34 c0 a0 e3 39 68 aa b6 |..mn....4...9h..| -00000020 5f b9 e4 89 16 74 7b 77 ef 43 61 fa 86 5d 40 29 |_....t{w.Ca..]@)| -00000030 30 6b 94 c3 cd a4 48 2e 34 b8 c6 30 17 d4 a8 ff |0k....H.4..0....| -00000040 17 03 03 00 17 1f d3 5a ec 58 ba d5 29 af 5f 9f |.......Z.X..)._.| -00000050 f4 8d 61 c7 6a 14 a7 d6 a0 c5 f9 b8 17 03 03 00 |..a.j...........| -00000060 13 66 78 21 38 f0 b1 6b ae c1 69 26 b8 96 29 98 |.fx!8..k..i&..).| -00000070 33 7a 21 e3 |3z!.| +00000000 14 03 03 00 01 01 17 03 03 00 35 ed ae 18 0b a0 |..........5.....| +00000010 c4 69 dd b7 ea bc 1c 2b b1 fe 0d cf 62 d7 86 72 |.i.....+....b..r| +00000020 e7 10 69 76 d4 30 7f 55 e9 96 fa 84 62 e8 b8 79 |..iv.0.U....b..y| +00000030 4d 7c 6f ac d2 bb a2 4c 3b 28 b5 06 d8 47 f2 51 |M|o....L;(...G.Q| +00000040 17 03 03 00 17 24 77 ec 7a 86 05 13 d0 33 f1 95 |.....$w.z....3..| +00000050 f3 73 80 07 cd c2 a9 e6 2c de ee 79 17 03 03 00 |.s......,..y....| +00000060 13 79 4b 1c c3 42 32 ea 0a 1c 27 b7 8c 39 fb 1b |.yK..B2...'..9..| +00000070 4e 74 da 0e |Nt..| diff --git a/src/crypto/tls/testdata/Client-TLSv13-Ed25519 b/src/crypto/tls/testdata/Client-TLSv13-Ed25519 index 7be579ed025..d98d2909c07 100644 --- a/src/crypto/tls/testdata/Client-TLSv13-Ed25519 +++ b/src/crypto/tls/testdata/Client-TLSv13-Ed25519 @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,63 +7,84 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 7a 02 00 00 76 03 03 e9 b6 5e 51 86 |....z...v....^Q.| -00000010 9a a7 7b cf 16 9e d8 1b 05 04 cb f3 8d 70 62 af |..{..........pb.| -00000020 cc 91 5f 16 74 ab 5a 47 7f ef 95 20 00 00 00 00 |.._.t.ZG... ....| +00000000 16 03 03 00 7a 02 00 00 76 03 03 6f 9d e9 27 41 |....z...v..o..'A| +00000010 f3 ba f1 7b e7 8b b8 bb 6b 7e 54 c9 3f 0c cb 76 |...{....k~T.?..v| +00000020 b0 ff 4e f1 a7 56 ef d8 67 02 56 20 00 00 00 00 |..N..V..g.V ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 01 00 00 |................| -00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 b1 |..+.....3.$... .| -00000060 4a 7c 94 ae a4 17 1f 8f b0 2c 5e 00 ea 9c d6 b9 |J|.......,^.....| -00000070 c6 cc b4 3f 01 ed 38 94 c5 fd d5 04 73 d6 5d 14 |...?..8.....s.].| -00000080 03 03 00 01 01 17 03 03 00 17 e5 d8 0b 47 d9 c5 |.............G..| -00000090 55 14 af e0 95 2f 52 1a 4d eb 1c cf 8a 82 5c 20 |U..../R.M.....\ | -000000a0 61 17 03 03 01 50 bb bb 3d 0a 68 f2 ad 39 3e 98 |a....P..=.h..9>.| -000000b0 0e f0 f6 15 e8 6d ec 4a b4 9c be 25 fa eb 09 4b |.....m.J...%...K| -000000c0 fd e4 03 a3 62 74 d0 d1 3b 02 1c f6 86 f1 3e ec |....bt..;.....>.| -000000d0 c9 45 24 a4 4e 6b d8 c4 7e 24 4e fb eb 12 01 3b |.E$.Nk..~$N....;| -000000e0 ca 44 ec 5b 1e a7 1b d0 1a c4 86 b5 f9 19 91 0a |.D.[............| -000000f0 a8 4e 3b bd 76 26 a0 6f 4e da cf 07 98 90 38 bb |.N;.v&.oN.....8.| -00000100 fe 53 cd 24 59 08 c5 06 12 2c 5b 99 cf 09 c9 a4 |.S.$Y....,[.....| -00000110 1e ed 01 cc af 39 5b 08 b3 45 bd 67 99 e9 d9 59 |.....9[..E.g...Y| -00000120 72 e9 a6 d4 ae 71 c2 a2 e9 ed 49 52 ab 4f 69 0e |r....q....IR.Oi.| -00000130 0a 0b a1 27 19 69 88 75 bc b8 37 ad c1 db ed 36 |...'.i.u..7....6| -00000140 c2 1c 17 06 d9 d9 1f c3 11 89 cb 7f fb 67 ac 11 |.............g..| -00000150 b4 9b cf 4d 64 65 39 3a 64 3f 25 39 5e 93 e4 3c |...Mde9:d?%9^..<| -00000160 0e 33 9d 8c ee e6 a2 fe 12 51 47 a6 81 d2 af 63 |.3.......QG....c| -00000170 42 2a 1d 4b fe e0 09 e5 f6 86 16 c7 82 47 10 af |B*.K.........G..| -00000180 0a 14 58 ed 62 cc 5e 07 af 9f 86 f0 ee 17 81 bc |..X.b.^.........| -00000190 e4 55 1d 50 9a ea e5 5e c4 6e 23 c0 65 c2 53 53 |.U.P...^.n#.e.SS| -000001a0 cc 54 12 aa c7 f9 66 62 84 b4 9f d0 bb 99 0c 0b |.T....fb........| -000001b0 88 8f 8b e2 e7 25 a0 96 c8 da a8 52 d5 7a 5e f0 |.....%.....R.z^.| -000001c0 77 13 44 79 e4 3d f8 3e d0 27 f7 0a 6f 7b fb f9 |w.Dy.=.>.'..o{..| -000001d0 e9 49 b6 ce 4c 5d e3 00 c7 4b e5 dd e5 02 02 a2 |.I..L]...K......| -000001e0 dc e5 aa 7c 76 ea 0d 7e 86 14 3b e4 88 f8 12 27 |...|v..~..;....'| -000001f0 40 86 f6 43 f1 39 17 03 03 00 59 21 4f d3 62 81 |@..C.9....Y!O.b.| -00000200 d8 c5 60 0f e4 ab 8a 68 af d9 d3 ae cb 5e c2 3c |..`....h.....^.<| -00000210 d2 42 12 4d 44 e1 2c fb 80 a1 7d c2 97 62 74 12 |.B.MD.,...}..bt.| -00000220 31 8d 46 16 59 7e cf 96 18 5e 0d c1 2c 05 d3 06 |1.F.Y~...^..,...| -00000230 8c c8 2f 5f 99 f1 62 0a e3 05 1f 72 12 a4 90 c3 |../_..b....r....| -00000240 59 92 6e e4 90 2c 39 8a fb 31 9b 89 8e 56 6c f4 |Y.n..,9..1...Vl.| -00000250 e3 e9 58 f4 17 03 03 00 35 7e 1b cf 69 8e 10 33 |..X.....5~..i..3| -00000260 65 f4 e8 69 b5 37 a6 39 2d e7 0d 70 81 b8 a3 74 |e..i.7.9-..p...t| -00000270 90 d7 ad 9b bb bc 16 ba 9a e2 22 40 ae 4d 57 37 |.........."@.MW7| -00000280 09 60 7f c4 3d 5c 34 5c ae ae 0d 9c 52 12 |.`..=\4\....R.| +00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 03 |..+.....3.$... .| +00000060 e5 f9 11 cd 8f e4 f3 7d cb ba 6c 60 1d 60 8d 6d |.......}..l`.`.m| +00000070 80 7d 9e cf 85 72 d8 85 54 93 64 50 1c 86 17 14 |.}...r..T.dP....| +00000080 03 03 00 01 01 17 03 03 00 17 ce 1e b3 f7 9a 0e |................| +00000090 6a ec 99 bc 3b 06 22 40 95 10 52 6d cd b6 48 d0 |j...;."@..Rm..H.| +000000a0 b9 17 03 03 01 50 6f 12 2a c6 6f cc e4 8d d9 31 |.....Po.*.o....1| +000000b0 b1 4f fd 30 bc a7 89 f2 de 52 f6 2a de 58 e2 8c |.O.0.....R.*.X..| +000000c0 b6 0b bf 4e d1 f7 86 bb 85 19 64 2b 99 52 5d 29 |...N......d+.R])| +000000d0 97 00 91 bd c8 ad 5e f7 bc 6c a5 82 81 89 26 b4 |......^..l....&.| +000000e0 df 7b 19 c9 9f a3 ec 03 01 ef e3 74 48 db a3 77 |.{.........tH..w| +000000f0 8e c0 2b 53 1b 5a ca d6 f0 aa 6a 0c 40 36 5b 03 |..+S.Z....j.@6[.| +00000100 bb c0 48 fd 62 85 d6 e3 49 9d 88 f8 00 92 fe 83 |..H.b...I.......| +00000110 8e 5d f5 a9 9e c9 3d 30 12 4a 78 8f be ab b9 64 |.]....=0.Jx....d| +00000120 e3 2e f1 96 a4 91 d3 dd 55 ed 49 5d 78 a6 2e 5d |........U.I]x..]| +00000130 6f 7c 2d 29 b1 d2 d9 d3 57 11 9b f1 7c c9 d3 21 |o|-)....W...|..!| +00000140 79 8e 6a 3e af 6e dc 4b 54 f7 62 23 b1 c5 30 4c |y.j>.n.KT.b#..0L| +00000150 53 05 f2 fe e8 7e 57 87 28 48 b9 27 dc 43 7d 12 |S....~W.(H.'.C}.| +00000160 71 8e ff 58 a1 f5 1b 2d 13 25 91 62 51 4b c2 85 |q..X...-.%.bQK..| +00000170 da 1d b4 21 73 e8 31 fb b5 92 6c fa a9 41 ab a0 |...!s.1...l..A..| +00000180 4e 22 69 98 2f c5 ed db 01 6e 82 fd 4a a2 1d 42 |N"i./....n..J..B| +00000190 bd ab e6 b8 c1 b1 70 bf 43 68 7a 30 a4 3a a9 cb |......p.Chz0.:..| +000001a0 e5 6c f9 c9 69 d6 8e 60 d4 59 1d c6 2f 38 3c ea |.l..i..`.Y../8<.| +000001b0 79 e9 cf 87 03 67 82 7b 9b e6 b1 93 2e 23 75 ee |y....g.{.....#u.| +000001c0 2f 24 55 25 46 42 41 7c c2 7f 3a a5 b0 23 ff e7 |/$U%FBA|..:..#..| +000001d0 54 37 09 07 e6 9e fb e5 3e f7 b6 f9 2f 52 6b d4 |T7......>.../Rk.| +000001e0 d3 1c 5b 42 a5 9d b3 a3 eb 7b d8 8e 45 6a c1 01 |..[B.....{..Ej..| +000001f0 e6 a2 19 00 ab 92 17 03 03 00 59 58 25 df b6 cc |..........YX%...| +00000200 72 66 8c ae 6c 73 c4 c3 73 5e 58 b1 b7 a7 87 78 |rf..ls..s^X....x| +00000210 91 ce 42 43 41 a8 19 18 a1 60 5b 82 bc ee 36 b3 |..BCA....`[...6.| +00000220 b4 ad ed 57 93 14 c8 74 7f f2 d8 17 7a 7a 6f ce |...W...t....zzo.| +00000230 69 b0 41 dd 3d 5b 56 2d 05 3f ba df 2e be 9d f2 |i.A.=[V-.?......| +00000240 b0 1a ce 58 57 09 48 b8 63 97 4b 09 b9 d4 f5 66 |...XW.H.c.K....f| +00000250 52 6d 1c 6a 17 03 03 00 35 db f1 e7 32 df c1 e1 |Rm.j....5...2...| +00000260 a1 5f d7 5a 61 a2 13 6e a0 47 1f e1 df bc d4 0e |._.Za..n.G......| +00000270 48 e7 3f 64 21 c1 ae 03 fe 1f d3 55 cc 30 dd 98 |H.?d!......U.0..| +00000280 5c 9d 45 8f 76 c3 14 92 f6 07 c4 ad c5 26 |\.E.v........&| >>> Flow 3 (client to server) -00000000 14 03 03 00 01 01 17 03 03 00 35 ee a8 61 80 38 |..........5..a.8| -00000010 22 86 e2 21 e0 8b e7 77 90 3d d4 93 20 9b 04 30 |"..!...w.=.. ..0| -00000020 ac d4 62 b8 4c d1 76 8a 1c b1 14 7c a0 7a cb a5 |..b.L.v....|.z..| -00000030 b9 46 d4 c8 aa 0b 09 b9 02 29 39 92 99 dd 99 4d |.F.......)9....M| -00000040 17 03 03 00 17 a0 84 78 f8 81 73 eb 0a e1 59 01 |.......x..s...Y.| -00000050 8a 4e 42 b9 f5 15 c8 7c 1b 73 08 ca 17 03 03 00 |.NB....|.s......| -00000060 13 a6 5a 12 6b ab ca 6a 1d 05 75 63 3b 44 03 e4 |..Z.k..j..uc;D..| -00000070 24 7d d1 38 |$}.8| +00000000 14 03 03 00 01 01 17 03 03 00 35 c7 fc 09 4b 4a |..........5...KJ| +00000010 9c 2e e7 ce 50 57 5b b7 54 0a 51 20 dc d5 ca 6e |....PW[.T.Q ...n| +00000020 e2 c5 fc bf ec c1 83 74 9c 94 65 dc f8 0e 2e 76 |.......t..e....v| +00000030 22 82 67 72 37 54 19 68 5c 16 af f6 ef 21 46 10 |".gr7T.h\....!F.| +00000040 17 03 03 00 17 9d 1f 38 47 62 bd a2 4c fb 5f e7 |.......8Gb..L._.| +00000050 dd f0 3b 50 09 15 4a 6e 6d b7 e6 b1 17 03 03 00 |..;P..Jnm.......| +00000060 13 05 51 53 9e 7c 06 fc b0 cb 35 70 2f 45 00 c3 |..QS.|....5p/E..| +00000070 59 74 59 e5 |YtY.| diff --git a/src/crypto/tls/testdata/Client-TLSv13-ExportKeyingMaterial b/src/crypto/tls/testdata/Client-TLSv13-ExportKeyingMaterial index 46efc74ca86..a1d84958b45 100644 --- a/src/crypto/tls/testdata/Client-TLSv13-ExportKeyingMaterial +++ b/src/crypto/tls/testdata/Client-TLSv13-ExportKeyingMaterial @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,85 +7,106 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 7a 02 00 00 76 03 03 64 19 48 51 38 |....z...v..d.HQ8| -00000010 9d 7d 1e 0e c0 66 44 0e e8 b4 b0 61 49 c2 47 31 |.}...fD....aI.G1| -00000020 31 10 c9 1b b0 5d e4 13 fb 82 bb 20 00 00 00 00 |1....]..... ....| +00000000 16 03 03 00 7a 02 00 00 76 03 03 ba 48 6d 92 e7 |....z...v...Hm..| +00000010 27 4e c0 49 9c 0d d4 e5 1f 85 f1 0e 83 56 90 11 |'N.I.........V..| +00000020 bf 2e 7e 2b 5f c8 7f 5e ed dd 02 20 00 00 00 00 |..~+_..^... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 01 00 00 |................| -00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 4c |..+.....3.$... L| -00000060 a6 3b d4 6c db d3 e6 c5 dd 14 ff c3 de e1 9e 72 |.;.l...........r| -00000070 c7 f1 e1 02 fa 07 9e 10 f7 95 0d 9e d3 2c 7c 14 |.............,|.| -00000080 03 03 00 01 01 17 03 03 00 17 bf de f8 97 c4 1e |................| -00000090 18 e6 ea aa 36 bf fd 52 37 d3 6a c4 63 b8 ea 15 |....6..R7.j.c...| -000000a0 53 17 03 03 02 6d 94 73 4e 29 bf c5 05 85 b9 73 |S....m.sN).....s| -000000b0 df 08 53 85 d7 b9 01 89 a8 8b 61 8c 76 40 50 60 |..S.......a.v@P`| -000000c0 c7 24 ca a5 4a 95 3d 75 44 f4 9c 4a 48 26 79 bd |.$..J.=uD..JH&y.| -000000d0 6b 3c 88 a9 ce c3 ec 5e 79 79 49 a7 3e 1e dd 72 |k<.....^yyI.>..r| -000000e0 fb 15 a5 0d 9e 03 43 8c b4 2d 5c 6e 68 4b 90 a0 |......C..-\nhK..| -000000f0 c3 20 8c ce 59 98 c8 d2 a7 67 88 5a cc 37 ad a7 |. ..Y....g.Z.7..| -00000100 09 9b e9 76 0d a7 58 44 91 4f f1 c6 6b e1 86 06 |...v..XD.O..k...| -00000110 b3 62 68 66 59 14 a8 e1 ae 2e 9c e6 37 7a da 6b |.bhfY.......7z.k| -00000120 50 c4 15 e2 5d 2e 26 c9 bc 5e 24 25 6c 7d 2c 32 |P...].&..^$%l},2| -00000130 42 ca 02 1a 31 08 4d 66 ee a3 36 34 a4 11 ab 0b |B...1.Mf..64....| -00000140 5f 7f fb f3 00 60 34 18 51 c6 98 ad b2 11 30 2a |_....`4.Q.....0*| -00000150 c0 e5 d3 b2 1e a0 56 de 7b 69 a7 5a 2e fd a5 89 |......V.{i.Z....| -00000160 6d 63 41 58 5d f7 24 71 e7 ad 50 58 9c 26 50 80 |mcAX].$q..PX.&P.| -00000170 90 28 c3 d7 be c4 51 a3 f7 ce b6 6f 0d c5 a1 d5 |.(....Q....o....| -00000180 6e 25 96 75 22 ce 01 7f 0c bf 36 55 bb 4d b6 62 |n%.u".....6U.M.b| -00000190 01 da 89 b1 6a 59 8a 2b 63 4b 94 f6 63 06 4f f3 |....jY.+cK..c.O.| -000001a0 8c 4f 4e ac 95 c3 c1 53 10 66 31 78 91 f6 60 2f |.ON....S.f1x..`/| -000001b0 db 6b e4 bf 0a 8b f4 20 41 58 b5 6c 85 16 89 ab |.k..... AX.l....| -000001c0 ce 43 12 ee 64 17 0f 09 57 ba f7 00 c6 92 6b 45 |.C..d...W.....kE| -000001d0 fd 71 ab 76 c9 ba e3 dd 5b 92 dc 40 95 9c 74 41 |.q.v....[..@..tA| -000001e0 32 38 05 01 03 5d 19 30 a7 c9 72 53 5e 8f 00 71 |28...].0..rS^..q| -000001f0 f6 44 81 4f 0c e2 72 35 01 1d 2d c7 52 1c 38 a8 |.D.O..r5..-.R.8.| -00000200 10 2e 66 81 13 3f be 15 ff ef 11 65 f0 8d b1 89 |..f..?.....e....| -00000210 a9 99 21 15 0f ad 03 a6 39 1c a5 ab b2 78 d5 24 |..!.....9....x.$| -00000220 50 7d 68 51 2e 94 32 85 1e 7a 88 d9 99 40 c8 1d |P}hQ..2..z...@..| -00000230 9e 71 35 3d e2 13 44 ab 96 31 48 92 6a 6a c8 ea |.q5=..D..1H.jj..| -00000240 a8 f2 c5 18 b5 21 b6 53 9d b0 51 b9 93 b3 aa dc |.....!.S..Q.....| -00000250 85 89 96 3f 4e 7d b4 c6 27 da 7c 3e 53 09 6e fb |...?N}..'.|>S.n.| -00000260 ac a1 c9 90 ff 45 e7 3d 18 bb 1d 98 75 23 99 7d |.....E.=....u#.}| -00000270 ba 80 38 39 ba 8c 70 30 af e7 32 ca be 53 7b 2a |..89..p0..2..S{*| -00000280 19 b5 a6 d0 62 0c f4 3f 9b ad 57 af b6 b3 70 15 |....b..?..W...p.| -00000290 8b b8 6b 65 87 07 d7 05 73 3d 41 ab 03 ba 71 c1 |..ke....s=A...q.| -000002a0 c1 6e d1 b6 d8 15 30 fe 3c b5 48 2e e5 95 ec 24 |.n....0.<.H....$| -000002b0 44 75 06 8e 4a d5 c2 82 5c 3b 35 47 0b 34 ee 1d |Du..J...\;5G.4..| -000002c0 a5 cc 75 b0 e2 86 1f 0b de f7 24 87 1c ca d6 31 |..u.......$....1| -000002d0 12 5a 7d d9 04 b1 ab 63 55 f2 22 49 5c 00 ea 10 |.Z}....cU."I\...| -000002e0 84 9f 35 c2 e9 eb 10 fb 36 45 4b 21 ec e2 01 60 |..5.....6EK!...`| -000002f0 0b 1c 6b 7e a7 3a 40 16 e1 79 5a 22 48 57 f1 fd |..k~.:@..yZ"HW..| -00000300 d2 5d d5 83 ec ff 0e 17 f2 cd 2e 7e 13 63 5a f7 |.].........~.cZ.| -00000310 c4 47 a0 17 03 03 00 99 7d de 61 14 17 49 b2 b1 |.G......}.a..I..| -00000320 e6 f3 ef 5b 71 86 30 68 71 4e 22 ab 8d c2 d4 29 |...[q.0hqN"....)| -00000330 c1 28 3d 38 6f a9 74 fc e4 8d 40 ab d5 70 c2 98 |.(=8o.t...@..p..| -00000340 4f 8d 3b a3 12 0c 95 dd 4d fb 85 f8 7f e7 ad 92 |O.;.....M.......| -00000350 6f 06 df 1c 65 16 b0 c3 ad 7e 70 9b 79 3f aa b4 |o...e....~p.y?..| -00000360 79 55 57 8c 75 0e cb 7b 6f 33 63 01 95 28 a3 2a |yUW.u..{o3c..(.*| -00000370 65 81 d2 59 e1 4e 6a 74 05 93 4d 88 16 cf 82 a9 |e..Y.Njt..M.....| -00000380 6b 55 6a 16 f8 e4 3b 89 73 c7 14 6b b6 60 dd 0f |kUj...;.s..k.`..| -00000390 74 4b d2 6a 60 93 13 1e 45 a8 83 9f 43 47 ab 88 |tK.j`...E...CG..| -000003a0 58 b6 78 7b e7 6b 1e c6 32 4d 47 15 1d 1e f3 2d |X.x{.k..2MG....-| -000003b0 26 17 03 03 00 35 d0 cd 48 6e e8 cf d0 f2 0a 60 |&....5..Hn.....`| -000003c0 4a a8 aa 27 f1 f1 cf eb e0 c6 cc 62 18 ec 51 ca |J..'.......b..Q.| -000003d0 2b f6 5b 50 d2 6e aa da c2 c6 99 49 89 81 7f 64 |+.[P.n.....I...d| -000003e0 81 88 c1 a2 ec b7 41 67 af a6 61 |......Ag..a| +00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 2d |..+.....3.$... -| +00000060 16 8f c2 1d e6 59 a0 66 c9 c5 17 8b 2e 15 3f 98 |.....Y.f......?.| +00000070 07 94 90 0e 51 51 bd 65 d7 1a 33 9f 69 e2 50 14 |....QQ.e..3.i.P.| +00000080 03 03 00 01 01 17 03 03 00 17 19 93 ab 24 c5 53 |.............$.S| +00000090 76 df 95 cd 7d 1e 39 4d c1 1e 2b 29 9a 54 70 56 |v...}.9M..+).TpV| +000000a0 19 17 03 03 02 6d 32 38 79 05 5e ae 5e 3b 59 24 |.....m28y.^.^;Y$| +000000b0 22 d9 eb 4d 75 65 e0 cf 72 2d d6 d0 2c ab b4 83 |"..Mue..r-..,...| +000000c0 38 1f 54 04 36 92 74 0f 6e a2 2d 0c 6f ca 71 c2 |8.T.6.t.n.-.o.q.| +000000d0 28 b4 5e a7 6f 2f 60 42 9b 8c ba 71 83 c3 bc 9f |(.^.o/`B...q....| +000000e0 ce d8 bb 83 fc e1 c1 1e df 1a 14 97 b7 ec 72 9b |..............r.| +000000f0 65 fd 36 b5 ec 72 80 7e 88 8c 72 04 53 77 20 72 |e.6..r.~..r.Sw r| +00000100 c1 53 d1 8f 43 c1 b1 db 7d 68 05 7e 30 a3 dc 7f |.S..C...}h.~0...| +00000110 e7 a0 0a c4 64 27 62 da 5f 4b 22 09 d8 69 50 72 |....d'b._K"..iPr| +00000120 35 b3 6d 4f 98 3b 05 00 24 69 7f 41 f0 da 52 45 |5.mO.;..$i.A..RE| +00000130 64 3f 18 7f d3 20 64 04 82 d9 60 f9 3d e5 1d 24 |d?... d...`.=..$| +00000140 4e a4 fa 9f d2 11 66 ba 7e 43 9d 4a 51 16 ae f5 |N.....f.~C.JQ...| +00000150 62 2b f9 9e 3c 44 26 58 bc 87 83 0e b7 ab 58 a5 |b+...| +00000320 8a c0 3c 1d 0d e0 4f e9 43 21 00 dd 3f 05 30 42 |..<...O.C!..?.0B| +00000330 14 44 a3 52 11 08 8a 9f 21 fa e4 b7 74 18 ba c4 |.D.R....!...t...| +00000340 cf 25 ed 56 cb 13 53 89 2a 16 60 d6 55 e4 47 b0 |.%.V..S.*.`.U.G.| +00000350 73 08 e1 fe 4c c1 28 f1 10 f2 21 b8 34 b8 04 a3 |s...L.(...!.4...| +00000360 55 19 cb 87 65 ab 3e b9 59 e8 97 3d f9 89 a9 04 |U...e.>.Y..=....| +00000370 4e 44 a5 df 9b 36 f6 22 7b 7f ec 00 2c d0 27 f0 |ND...6."{...,.'.| +00000380 c9 2d 7b 07 43 25 17 c3 da c5 05 cf 3d 4c e2 8c |.-{.C%......=L..| +00000390 fd b9 15 b7 3d 02 27 58 d2 b4 2f 50 81 26 8a b4 |....=.'X../P.&..| +000003a0 a0 b8 ba 5a 4c 99 e5 4c b1 07 dc 30 5f 26 c8 a1 |...ZL..L...0_&..| +000003b0 c2 17 03 03 00 35 7d 0c 4f 42 d9 10 a7 8e 2b 87 |.....5}.OB....+.| +000003c0 40 a7 38 32 6f 00 96 22 e2 e4 89 00 85 23 13 41 |@.82o..".....#.A| +000003d0 11 43 a8 31 af 65 4d 8f 7b c6 c5 8f 8b 8c 13 f4 |.C.1.eM.{.......| +000003e0 2f a5 3c c5 ac 5c aa f9 0b 1e a5 |/.<..\.....| >>> Flow 3 (client to server) -00000000 14 03 03 00 01 01 17 03 03 00 35 2b 91 e7 a4 77 |..........5+...w| -00000010 d9 f3 31 60 e0 c8 6c 04 d6 bb 44 f6 8e 54 f8 4d |..1`..l...D..T.M| -00000020 31 e7 75 21 19 44 3e 26 9b 38 86 34 29 86 cc ed |1.u!.D>&.8.4)...| -00000030 e5 68 d5 77 cb 2f 1a 82 80 f7 57 5d 18 14 68 53 |.h.w./....W]..hS| -00000040 17 03 03 00 17 28 8a c1 b6 64 b7 54 91 52 5f c9 |.....(...d.T.R_.| -00000050 be 7b b8 ec d1 5f 80 65 0e a6 c9 37 17 03 03 00 |.{..._.e...7....| -00000060 13 13 1e 62 5a d7 4f c1 cd b9 f6 c6 fc 0a a2 88 |...bZ.O.........| -00000070 81 20 fd 8a |. ..| +00000000 14 03 03 00 01 01 17 03 03 00 35 72 ae 77 69 6c |..........5r.wil| +00000010 e5 e7 54 f1 b0 9c 43 18 a9 ff a0 6b 49 23 a5 c6 |..T...C....kI#..| +00000020 44 f2 ec f8 5f 83 24 64 74 93 e3 f1 37 0d e7 14 |D..._.$dt...7...| +00000030 0c 08 27 6f c4 5f 0f 4f 49 65 8c ab 75 a6 a6 eb |..'o._.OIe..u...| +00000040 17 03 03 00 17 2f 59 9d 98 e1 18 dd 4d cc 14 a0 |...../Y.....M...| +00000050 ea 04 d5 0d 2f c3 cc ca ae 95 3a 2d 17 03 03 00 |..../.....:-....| +00000060 13 3b 7a e6 18 72 3e 21 8c b1 64 25 1b 80 93 3c |.;z..r>!..d%...<| +00000070 32 c7 9c 57 |2..W| diff --git a/src/crypto/tls/testdata/Client-TLSv13-KeyUpdate b/src/crypto/tls/testdata/Client-TLSv13-KeyUpdate index b7c9105fd82..2383aeb5806 100644 --- a/src/crypto/tls/testdata/Client-TLSv13-KeyUpdate +++ b/src/crypto/tls/testdata/Client-TLSv13-KeyUpdate @@ -1,5 +1,5 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 fc 01 00 00 f8 03 03 00 00 00 00 00 |................| +00000000 16 03 01 02 4e 01 00 02 4a 03 03 00 00 00 00 00 |....N...J.......| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| @@ -7,97 +7,118 @@ 00000050 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000060 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| 00000070 c0 12 00 0a 00 05 c0 11 c0 07 13 01 13 03 13 02 |................| -00000080 01 00 00 7d 00 05 00 05 01 00 00 00 00 00 0a 00 |...}............| -00000090 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -000000a0 00 00 0d 00 1c 00 1a 08 04 04 03 08 07 08 05 08 |................| -000000b0 06 04 01 05 01 06 01 05 03 06 03 02 01 02 03 fe |................| -000000c0 61 ff 01 00 01 00 00 12 00 00 00 2b 00 09 08 03 |a..........+....| -000000d0 04 03 03 03 02 03 01 00 33 00 26 00 24 00 1d 00 |........3.&.$...| -000000e0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| -000000f0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -00000100 74 |t| +00000080 01 00 01 cf 00 05 00 05 01 00 00 00 00 00 0a 00 |................| +00000090 0e 00 0c 01 fd 01 fc 00 1d 00 17 00 18 00 19 00 |................| +000000a0 0b 00 02 01 00 00 0d 00 1c 00 1a 08 04 04 03 08 |................| +000000b0 07 08 05 08 06 04 01 05 01 06 01 05 03 06 03 02 |................| +000000c0 01 02 03 fe 61 ff 01 00 01 00 00 12 00 00 00 2b |....a..........+| +000000d0 00 09 08 03 04 03 03 03 02 03 01 00 33 01 74 01 |............3.t.| +000000e0 72 01 fd 01 4a 13 9b 9f d0 43 df e9 45 3c 33 0b |r...J....C..E<3.| +000000f0 94 15 7b 9f b4 42 c0 d5 bb aa 8d 92 b4 ca a6 73 |..{..B.........s| +00000100 b5 f2 a6 30 1a 73 3b 30 a1 fe e2 55 0a ea 96 8f |...0.s;0...U....| +00000110 0c 22 82 6e 8b 72 64 02 cb 59 bb 01 99 19 38 88 |.".n.rd..Y....8.| +00000120 c7 4b 8e 40 89 4f 70 9e ee e6 17 bc 92 fa 60 69 |.K.@.Op.......`i| +00000130 cb ec ee b1 5a eb ed 58 1d 93 a0 06 33 b5 f5 79 |....Z..X....3..y| +00000140 71 96 cb f2 e4 3e ec 29 4b ce 5c 96 ea 22 14 d1 |q....>.)K.\.."..| +00000150 f2 0e 01 50 5f 7e ee 61 18 8e f5 ac d0 90 4f 84 |...P_~.a......O.| +00000160 ab 98 08 dc ed f6 2a ef 23 f7 c7 64 f0 78 52 c4 |......*.#..d.xR.| +00000170 ba 96 a3 e4 72 d9 df f3 54 77 f4 78 99 0a 53 43 |....r...Tw.x..SC| +00000180 9a 95 b2 f5 b9 e4 0f ed 1c 01 4e ea da f0 79 67 |..........N...yg| +00000190 bc 50 d2 32 23 6f b2 08 b7 bf b3 54 06 54 c7 d7 |.P.2#o.....T.T..| +000001a0 75 85 8d 1a 6f 00 93 67 aa 14 2b 26 e5 13 a5 88 |u...o..g..+&....| +000001b0 00 88 ae f6 d2 78 3d 76 68 e4 34 3c 73 35 b7 1e |.....x=vh.4>> Flow 2 (server to client) -00000000 16 03 03 00 7a 02 00 00 76 03 03 c1 62 59 6e a3 |....z...v...bYn.| -00000010 b6 1b 3a 60 d7 7e c5 a5 3c d4 08 4e b5 d6 5b 53 |..:`.~..<..N..[S| -00000020 5c 3d 8d d8 fc 0f 8f fd fb 51 b6 20 00 00 00 00 |\=.......Q. ....| +00000000 16 03 03 00 7a 02 00 00 76 03 03 e4 e8 0b 8b 05 |....z...v.......| +00000010 95 bf b3 96 18 7d db f6 97 29 82 20 3c 7e 63 a9 |.....}...). <~c.| +00000020 71 4e a8 13 a7 6d 52 65 9f 14 e4 20 00 00 00 00 |qN...mRe... ....| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 01 00 00 |................| -00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 b2 |..+.....3.$... .| -00000060 5b e3 15 6f fb 1e 85 9a d3 82 7b 64 e8 08 11 d3 |[..o......{d....| -00000070 62 3e a0 f9 38 a4 66 e3 ae a7 68 61 d1 c9 64 14 |b>..8.f...ha..d.| -00000080 03 03 00 01 01 17 03 03 00 17 2e 2c 80 02 eb 08 |...........,....| -00000090 f1 c5 e4 24 96 5f e4 71 17 ac 51 ba a9 1f a7 88 |...$._.q..Q.....| -000000a0 7b 17 03 03 02 6d cb e2 3e 17 9d e0 c5 92 cb b2 |{....m..>.......| -000000b0 e5 7d 55 6c b6 a2 e0 54 66 78 50 79 d4 4f 1e 86 |.}Ul...TfxPy.O..| -000000c0 5d ba f2 ef 66 33 3a 3f df 71 f8 86 69 11 87 97 |]...f3:?.q..i...| -000000d0 3a 66 a1 19 c5 e0 48 8c df 96 25 22 26 a7 ff 8b |:f....H...%"&...| -000000e0 ee 77 c2 45 8e b6 b2 6a 3f f4 02 29 f4 16 8c 45 |.w.E...j?..)...E| -000000f0 7c cb 9a 5b d6 7f ea c6 1a 74 cd 15 ca 00 e9 73 ||..[.....t.....s| -00000100 4f d6 17 b9 f7 f8 1e 14 1e 5e 1a 9a 61 97 bb c6 |O........^..a...| -00000110 f2 e5 c4 ae cf 76 38 1f d2 cf a9 67 3e c4 b3 56 |.....v8....g>..V| -00000120 37 72 7a 10 4c 4b c9 b7 82 6c dd 14 75 b2 81 ff |7rz.LK...l..u...| -00000130 14 f9 d3 c6 0a 72 25 11 d5 68 88 12 b7 eb 3b 31 |.....r%..h....;1| -00000140 82 88 b9 67 7e ca c2 8c 3b 1b b8 04 af 2f ca 60 |...g~...;..../.`| -00000150 a0 5a bd a7 ae 58 bb 60 d0 80 70 35 7f 94 39 cc |.Z...X.`..p5..9.| -00000160 94 86 9a aa a2 20 38 76 b7 52 43 96 0c c9 ec 9c |..... 8v.RC.....| -00000170 ad 1e 46 e6 5f e4 55 59 dc 0d 8d 9b ce 1e 1d 63 |..F._.UY.......c| -00000180 a6 48 ed e9 9c 48 2a f6 5c c3 d7 c5 4f a0 e4 90 |.H...H*.\...O...| -00000190 0a eb c8 fc a3 44 fc 6d 29 fe f8 8f c2 53 48 4b |.....D.m)....SHK| -000001a0 99 2c dd 75 37 c4 00 56 c5 1b d5 ea a3 14 2e 31 |.,.u7..V.......1| -000001b0 3a 89 b7 4f 3d 13 26 a6 8d fb ba 8c 2f e4 d0 96 |:..O=.&...../...| -000001c0 4f 59 d7 27 01 16 3b 2a 17 af 93 7b 92 a6 04 5e |OY.'..;*...{...^| -000001d0 27 16 6a b9 2d bb f9 fa ee 17 21 55 ed c4 0b 5a |'.j.-.....!U...Z| -000001e0 7a e1 6b 5a e7 2e 57 a1 77 34 c9 59 ef 01 90 59 |z.kZ..W.w4.Y...Y| -000001f0 2d c2 82 3b 5d 2c 28 1a df a8 8a 9e 34 85 28 d0 |-..;],(.....4.(.| -00000200 9d 1f 71 5a 46 a4 06 02 e8 26 7f 1b 7b e9 76 60 |..qZF....&..{.v`| -00000210 23 b1 f8 f1 c0 83 76 90 9d 95 b3 5f 61 66 17 23 |#.....v...._af.#| -00000220 d3 0f 4b 67 51 ae 6d 07 1e 23 8e a3 2d dc 9f 32 |..KgQ.m..#..-..2| -00000230 d2 e7 46 8a 3f 81 b3 d5 23 d9 47 d5 4a 21 b0 96 |..F.?...#.G.J!..| -00000240 e2 da c9 a2 9a 26 60 d0 fa 2d 5d 0b 1f 16 b3 18 |.....&`..-].....| -00000250 c4 4e a1 34 ce 62 6c 7f 33 12 46 bb 45 3b fb 4a |.N.4.bl.3.F.E;.J| -00000260 ee fa 8b 86 ce ed 91 60 71 ac 70 57 2e a9 9c 64 |.......`q.pW...d| -00000270 cc fe de ad b8 f0 1a c1 4d c9 fe 92 01 1c 8a 64 |........M......d| -00000280 8a 7d c2 b1 cb ff ad 34 c8 51 ff 1b 89 9d dc 74 |.}.....4.Q.....t| -00000290 21 2a 62 1f 6c 5a 58 b7 10 d0 91 3f cd 1f 48 66 |!*b.lZX....?..Hf| -000002a0 32 7f 85 ee 35 d4 e8 97 17 6d 33 8c 78 bb 62 20 |2...5....m3.x.b | -000002b0 6a 12 6d 25 42 53 0b e6 23 41 e2 e9 95 30 0d 14 |j.m%BS..#A...0..| -000002c0 15 06 b4 9a 03 24 e9 de b9 f3 88 76 03 bc 1e 63 |.....$.....v...c| -000002d0 5c f0 63 ea 68 37 0f 54 74 9c 0f 4b 1c a8 6b 07 |\.c.h7.Tt..K..k.| -000002e0 af 69 46 29 8f 35 21 13 22 14 9c bf 92 5f b7 89 |.iF).5!."...._..| -000002f0 85 50 09 9a 60 38 0a 5b aa c3 50 c7 5e 47 06 d9 |.P..`8.[..P.^G..| -00000300 14 7a c0 3f fa f8 e5 59 af f5 4d ff 77 31 c4 39 |.z.?...Y..M.w1.9| -00000310 d9 5e c3 17 03 03 00 99 67 60 02 be 60 d1 8e 17 |.^......g`..`...| -00000320 46 e8 74 36 a4 97 99 2e d6 47 f0 d7 ef 08 55 67 |F.t6.....G....Ug| -00000330 03 e2 d9 77 ae 49 7b 29 32 98 2e 23 48 0d 0b 8e |...w.I{)2..#H...| -00000340 8c af 7d f6 67 6c 95 d0 3d 97 cf 05 b6 24 88 dc |..}.gl..=....$..| -00000350 6f a7 4b df e5 6c 62 dc 33 cb d4 fa a4 73 a7 97 |o.K..lb.3....s..| -00000360 d3 f1 4a d3 35 b6 3f 70 d1 da 14 98 b1 73 1a 7a |..J.5.?p.....s.z| -00000370 4a 09 da 12 48 94 07 33 a6 0b 6e 10 de a3 12 39 |J...H..3..n....9| -00000380 06 cf 42 1a b2 19 1a ba 57 31 d4 4c b8 3f 93 29 |..B.....W1.L.?.)| -00000390 ea c7 c9 5c 4e a7 fd 2c 47 18 d8 ed cc d3 57 40 |...\N..,G.....W@| -000003a0 9a 10 a7 4f 66 e0 2a 00 a5 0f df 71 c4 24 19 0b |...Of.*....q.$..| -000003b0 09 17 03 03 00 35 49 e3 dd 8f 80 a6 06 f8 65 07 |.....5I.......e.| -000003c0 0a a8 8e 6e b5 4a 50 12 f6 80 25 ba 19 6b d8 72 |...n.JP...%..k.r| -000003d0 28 ca 5c 09 81 24 99 8c bc 1a 6e 74 26 d9 5b 1c |(.\..$....nt&.[.| -000003e0 5f c3 ac 02 5f ca 37 09 3d 54 1c |_..._.7.=T.| +00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 c7 |..+.....3.$... .| +00000060 b3 f1 42 e6 fe bf 4a 32 bd e7 d8 04 ca 85 95 69 |..B...J2.......i| +00000070 26 9a 0c c4 37 cd 47 54 fd 82 2a 04 89 2d 07 14 |&...7.GT..*..-..| +00000080 03 03 00 01 01 17 03 03 00 17 e1 86 0a 4e 78 e9 |.............Nx.| +00000090 12 5f fb 0c db be 59 cb 22 54 57 96 cd 33 5f 0a |._....Y."TW..3_.| +000000a0 51 17 03 03 02 6d 4a 8e 5f 9e f2 8d b3 87 d6 07 |Q....mJ._.......| +000000b0 2a 03 7e 07 6f c1 72 de c4 39 60 f8 c8 43 20 c2 |*.~.o.r..9`..C .| +000000c0 84 a7 b4 65 28 13 5e c2 7c b9 9f 61 5f 92 8a 0e |...e(.^.|..a_...| +000000d0 d6 88 e3 82 01 09 7d 2c 92 b7 23 d6 65 a2 db cd |......},..#.e...| +000000e0 9e 74 06 af 25 98 20 37 65 26 72 8f 84 9e 7f 73 |.t..%. 7e&r....s| +000000f0 1f f3 db cf b4 67 49 21 b9 c3 3a ca 6c fa 71 69 |.....gI!..:.l.qi| +00000100 35 78 1a 98 46 fe c4 65 2e 99 32 3f 24 ae 65 b1 |5x..F..e..2?$.e.| +00000110 c9 65 72 dd 14 b3 ad fa 12 3d ac 42 88 87 65 e5 |.er......=.B..e.| +00000120 0d 9a d2 b4 bb eb ec 6c cc 54 6a eb 37 4d c9 99 |.......l.Tj.7M..| +00000130 a1 2b 63 74 13 d2 38 17 5c 96 1d 6e bc 3c b0 35 |.+ct..8.\..n.<.5| +00000140 c9 03 82 7c f1 45 31 17 92 55 dc f0 6f 05 d0 2b |...|.E1..U..o..+| +00000150 fb 00 da a0 7d 02 8a f0 4b dc 92 56 d4 e2 9b 72 |....}...K..V...r| +00000160 eb bb 9f c1 94 c7 55 f1 83 5f e4 92 dd 48 63 59 |......U.._...HcY| +00000170 21 07 8d a6 cb 97 0d db d1 9e ef 14 7c 55 b3 b4 |!...........|U..| +00000180 e7 89 b3 b1 e4 84 55 39 58 4f 9e 57 d7 1e 57 ca |......U9XO.W..W.| +00000190 e2 d0 0e a4 a8 d0 af fb 97 ba 9d a7 a8 7a 21 33 |.............z!3| +000001a0 67 35 3f b3 ba 69 1c 6b ca 29 8e 1f 91 20 b9 99 |g5?..i.k.)... ..| +000001b0 8c d2 a2 1f 9f 11 a1 3b 70 62 61 08 fb d5 7a 9c |.......;pba...z.| +000001c0 22 ab 42 45 29 2c d9 ba c9 b7 2b 9b 5c c4 f3 79 |".BE),....+.\..y| +000001d0 fb e9 1d 3d 7d ef 74 c7 d3 40 93 c9 63 46 c4 b6 |...=}.t..@..cF..| +000001e0 43 fc da da 69 8a c8 d5 f5 62 ce 4a 05 71 c8 68 |C...i....b.J.q.h| +000001f0 c1 fb 0e d1 e2 43 9f 37 3c 7f ef 67 f9 10 b5 1d |.....C.7<..g....| +00000200 62 91 62 ad e6 d1 88 48 df 8b c0 c0 6b 64 e1 03 |b.b....H....kd..| +00000210 e7 7e e9 c4 a2 fc 68 e0 94 d9 01 95 35 67 a5 69 |.~....h.....5g.i| +00000220 25 c5 2c a0 90 21 01 35 78 8f 95 9e cc 05 04 5f |%.,..!.5x......_| +00000230 98 a9 6d b1 fb 3d 4e 9e be b1 45 64 64 b0 eb 83 |..m..=N...Edd...| +00000240 ea 25 7c fa 3c 2e 32 14 fb d9 5e 6d 73 bb 09 af |.%|.<.2...^ms...| +00000250 b4 50 ee 4d 7c d1 42 5c ae b5 5b 8a 1c 14 7b df |.P.M|.B\..[...{.| +00000260 5f 44 eb 6d d8 af b5 c9 d6 68 9d 34 37 ad c6 62 |_D.m.....h.47..b| +00000270 3c 81 91 7c 12 39 91 ab 05 2c 0c 11 b6 b0 60 70 |<..|.9...,....`p| +00000280 16 ff 11 cf a0 d8 72 ce 51 f8 a3 f1 7c a3 06 ef |......r.Q...|...| +00000290 5e ee 28 03 dc 30 d1 46 88 4d 72 aa e3 b5 72 02 |^.(..0.F.Mr...r.| +000002a0 8e dc e1 4d b3 b4 6a 80 c4 de cb 00 52 06 aa 95 |...M..j.....R...| +000002b0 f8 ca e1 72 01 e0 f0 7e f0 71 d5 99 b4 2e c7 3a |...r...~.q.....:| +000002c0 21 3c f9 52 74 5a 10 12 16 9d 53 d4 84 ee a6 87 |!<.RtZ....S.....| +000002d0 19 7d ed dc 75 f4 ae 24 d2 e1 69 b3 e4 7f b3 17 |.}..u..$..i.....| +000002e0 05 d6 78 b6 81 8f ed 7f 7c 09 43 a3 b7 5c ba 91 |..x.....|.C..\..| +000002f0 ae 95 16 15 bd 84 15 10 77 a3 59 3b 58 81 e6 91 |........w.Y;X...| +00000300 bf 02 fc c6 34 d4 82 4a 33 13 56 26 9b 0a 4c 5d |....4..J3.V&..L]| +00000310 35 ce 45 17 03 03 00 99 2a 59 09 88 79 a2 74 93 |5.E.....*Y..y.t.| +00000320 ef b1 dd b1 d7 c1 ec 59 73 13 78 38 81 f9 f0 b5 |.......Ys.x8....| +00000330 30 91 ac ac 19 14 6e a0 58 38 47 35 35 0f 9b 4d |0.....n.X8G55..M| +00000340 bb 4b 4b 77 7f 63 ce 3c ad 58 01 ac be 3a fe c2 |.KKw.c.<.X...:..| +00000350 83 0b cf 01 a5 c4 e6 4e 74 b9 df b9 02 32 8f ee |.......Nt....2..| +00000360 bc b7 02 8a 77 5b 05 17 a6 6f 09 60 11 a0 99 c9 |....w[...o.`....| +00000370 7c ec 20 c7 23 6c 03 06 f5 8c 67 03 f0 ef bd 90 ||. .#l....g.....| +00000380 c0 f5 0e 2f e0 52 35 35 b7 3f 2d bd 09 87 55 7f |.../.R55.?-...U.| +00000390 9b 47 7f 56 b5 df 41 93 d7 c0 0d b2 51 60 12 fe |.G.V..A.....Q`..| +000003a0 30 d6 87 ed f1 09 9e 8c f0 90 1b 2b 85 c3 4c a2 |0..........+..L.| +000003b0 0b 17 03 03 00 35 00 ad 5f bc dc f6 69 99 be dc |.....5.._...i...| +000003c0 30 c0 dc 3e b8 09 27 7e df 80 eb e6 5c 1a 2c 35 |0..>..'~....\.,5| +000003d0 42 e6 f3 b0 0a 94 90 f0 a3 49 b8 34 43 7d 46 b2 |B........I.4C}F.| +000003e0 d7 fc ce af 6a 6d 51 23 24 05 c1 |....jmQ#$..| >>> Flow 3 (client to server) -00000000 14 03 03 00 01 01 17 03 03 00 35 b2 31 29 a7 bf |..........5.1)..| -00000010 2f 3e 47 fe 9d 96 ef eb e0 fd ea 16 50 c6 e6 9b |/>G.........P...| -00000020 02 0a d2 60 f4 68 e5 71 23 94 78 44 9a da f6 a6 |...`.h.q#.xD....| -00000030 b5 c2 05 5c 42 34 fa 3c 8a 26 0e ff de 55 65 f1 |...\B4.<.&...Ue.| -00000040 17 03 03 00 17 0d 49 ba 61 c7 75 6f 46 db a1 08 |......I.a.uoF...| -00000050 26 c6 5b 03 77 f7 44 4f 62 14 8c 44 |&.[.w.DOb..D| +00000000 14 03 03 00 01 01 17 03 03 00 35 61 01 40 27 5f |..........5a.@'_| +00000010 1d 91 a6 56 0f ca 3d a7 a6 f7 fc e6 f4 d5 6d b3 |...V..=.......m.| +00000020 10 d9 b3 78 d2 a5 4f f5 5a 80 ad 18 46 86 ad 08 |...x..O.Z...F...| +00000030 63 09 a4 2f 35 ca e6 36 91 41 fa 3b d5 68 84 89 |c../5..6.A.;.h..| +00000040 17 03 03 00 17 78 20 60 3f 81 de 3d a7 16 31 86 |.....x `?..=..1.| +00000050 8c a5 96 dd 77 8e 10 7a 59 84 bd 8f |....w..zY...| >>> Flow 4 (server to client) -00000000 17 03 03 00 16 6d fc a0 5f 7a 30 61 1b b5 76 be |.....m.._z0a..v.| -00000010 1d c5 3f 89 30 8d 00 f2 df e3 75 |..?.0.....u| +00000000 17 03 03 00 16 a7 82 05 92 e8 07 56 a3 a1 e1 a7 |...........V....| +00000010 b3 ee 17 3b 30 17 40 fe cf d9 9f |...;0.@....| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 db c8 50 7e bc 33 ee 4a 29 c8 ea |.......P~.3.J)..| -00000010 92 0b 53 34 60 31 ea c2 dc 27 fa |..S4`1...'.| +00000000 17 03 03 00 16 89 c8 02 4f 18 98 50 14 de f4 37 |........O..P...7| +00000010 a9 67 6c 6e 0a b9 21 bd e1 1c c7 |.gln..!....| >>> Flow 6 (server to client) -00000000 17 03 03 00 1a ba 79 87 59 a3 00 e5 15 e4 6f 2c |......y.Y.....o,| -00000010 4a 77 88 f4 e6 3a 40 02 7e c6 16 5c 9b d7 4c |Jw...:@.~..\..L| +00000000 17 03 03 00 1a 37 5a a5 8a 89 4e 7b 0f 8b a2 db |.....7Z...N{....| +00000010 0b 90 ae 06 18 c3 3b a0 05 15 33 af 80 01 8e |......;...3....| >>> Flow 7 (client to server) -00000000 17 03 03 00 1d c3 6d 2d fb 9e 8b 1c fd f0 e7 62 |......m-.......b| -00000010 50 b7 9a fc 6b e4 f0 cc 7d 8f a3 54 d5 ee ac 65 |P...k...}..T...e| -00000020 a2 6f 17 03 03 00 13 6c 3a f1 2e c3 df 42 25 a5 |.o.....l:....B%.| -00000030 43 18 44 01 4c 2c d3 5d 50 9c |C.D.L,.]P.| +00000000 17 03 03 00 1d 66 31 d7 1b b4 49 69 fa 36 26 e8 |.....f1...Ii.6&.| +00000010 d5 a6 1b 2d 30 73 a2 f3 21 90 ba de f0 d8 d9 9c |...-0s..!.......| +00000020 bd 09 17 03 03 00 13 a2 67 87 40 a1 f2 dd 50 c5 |........g.@...P.| +00000030 74 1d e2 06 4c dc 13 6a f6 b0 |t...L..j..| diff --git a/src/crypto/tls/tls_test.go b/src/crypto/tls/tls_test.go index 1808ea4d407..79f0ae72b39 100644 --- a/src/crypto/tls/tls_test.go +++ b/src/crypto/tls/tls_test.go @@ -1482,3 +1482,43 @@ func TestPKCS1OnlyCert(t *testing.T) { t.Error(err) } } + +func TestKEMEphemeralTLS13(t *testing.T) { + tests := []CurveID{ + SIKEp434, + Kyber512, + } + + for _, kem := range tests { + clientConfig := testConfig.Clone() + clientConfig.CurvePreferences = []CurveID{kem} + clientConfig.MinVersion = VersionTLS13 + clientConfig.MaxVersion = VersionTLS13 + serverConfig := testConfig.Clone() + if _, _, err := testHandshake(t, clientConfig, serverConfig); err != nil { + t.Fatalf("Failed to connect with KEM-only client with kem %d", kem) + } + + clientConfig = testConfig.Clone() + serverConfig = testConfig.Clone() + serverConfig.MinVersion = VersionTLS13 + serverConfig.MaxVersion = VersionTLS13 + serverConfig.CurvePreferences = []CurveID{kem} + if _, _, err := testHandshake(t, clientConfig, serverConfig); err != nil { + t.Fatalf("Failed to connect with KEM-only server with kem %d", kem) + } + + clientConfig.CurvePreferences = []CurveID{X25519} + if _, _, err := testHandshake(t, clientConfig, serverConfig); err == nil { + t.Fatal("Still connected with KEM-only server and no-KEM Client") + } + + clientConfig = testConfig.Clone() + serverConfig = testConfig.Clone() + clientConfig.CurvePreferences = []CurveID{kem} + clientConfig.MaxVersion = VersionTLS12 + if _, _, err := testHandshake(t, clientConfig, serverConfig); err == nil { + t.Fatal("Still connected with KEM-only server and TLS 1.2 Client") + } + } +} diff --git a/src/crypto/x509/x509.go b/src/crypto/x509/x509.go index 03b78e611f3..b163660fa28 100644 --- a/src/crypto/x509/x509.go +++ b/src/crypto/x509/x509.go @@ -12,6 +12,7 @@ import ( "crypto/ecdsa" "crypto/ed25519" "crypto/elliptic" + "crypto/kem" "crypto/rsa" "crypto/sha1" "crypto/x509/pkix" @@ -111,6 +112,9 @@ func marshalPublicKey(pub interface{}) (publicKeyBytes []byte, publicKeyAlgorith } publicKeyBytes, _ = pub.MarshalBinary() publicKeyAlgorithm.Algorithm = scheme.Oid() + case *kem.PublicKey: + publicKeyBytes, _ = pub.MarshalBinary() + publicKeyAlgorithm.Algorithm = oidPublicKeyKEMTLS default: return nil, pkix.AlgorithmIdentifier{}, fmt.Errorf("x509: unsupported public key type: %T", pub) } @@ -240,6 +244,7 @@ const ( ECDSA Ed25519 EdDilithium3 + KEMTLS ) var publicKeyAlgoName = [...]string{ @@ -248,6 +253,7 @@ var publicKeyAlgoName = [...]string{ ECDSA: "ECDSA", Ed25519: "Ed25519", EdDilithium3: "Ed25519-Dilithium3", + KEMTLS: "KEMTLS", } func (algo PublicKeyAlgorithm) String() string { @@ -466,6 +472,7 @@ var ( oidPublicKeyDSA = asn1.ObjectIdentifier{1, 2, 840, 10040, 4, 1} oidPublicKeyECDSA = asn1.ObjectIdentifier{1, 2, 840, 10045, 2, 1} oidPublicKeyEd25519 = oidSignatureEd25519 + oidPublicKeyKEMTLS = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 44363, 46, 1} // Cloudflare OID ) func getPublicKeyAlgorithmFromOID(oid asn1.ObjectIdentifier) PublicKeyAlgorithm { @@ -478,6 +485,8 @@ func getPublicKeyAlgorithmFromOID(oid asn1.ObjectIdentifier) PublicKeyAlgorithm return ECDSA case oid.Equal(oidPublicKeyEd25519): return Ed25519 + case oid.Equal(oidPublicKeyKEMTLS): + return KEMTLS default: scheme := circlPki.SchemeByOid(oid) if scheme == nil { @@ -1046,6 +1055,13 @@ func parsePublicKey(algo PublicKeyAlgorithm, keyData *publicKeyInfo) (interface{ pub := make([]byte, ed25519.PublicKeySize) copy(pub, asn1Data) return ed25519.PublicKey(pub), nil + case KEMTLS: + pub := new(kem.PublicKey) + err := pub.UnmarshalBinary(keyData.PublicKey.Bytes) + if err != nil { + return nil, errors.New("x509: wrong KEM identifier") + } + return pub, nil default: if scheme := CirclSchemeByPublicKeyAlgorithm(algo); scheme != nil { if len(keyData.Algorithm.Parameters.FullBytes) != 0 { diff --git a/src/go/build/deps_test.go b/src/go/build/deps_test.go index f8f91f68fc9..219fbf201f7 100644 --- a/src/go/build/deps_test.go +++ b/src/go/build/deps_test.go @@ -402,6 +402,7 @@ var depsRules = ` < golang.org/x/crypto/curve25519 < crypto/dsa, crypto/elliptic, crypto/rsa < crypto/ecdsa + < crypto/kem < CRYPTO-MATH; CRYPTO < golang.org/x/crypto/sha3;