diff --git a/README.md b/README.md index 7918b877..1f885132 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,10 @@ This is not a problem, if you fully control the server and turn unsupported thin * Parroting could be imperfect, and there is no parroting beyond ClientHello. #### Compatibility risks of available parrots -| Parrot | Ciphers* | Signature* | Unsupported extensions | -| ------------- | -------- | ---------- | ---------------------- | -| Android 5.1 | low | very low | None | -| Android 6.0 | low | very low | None | -| Chrome 58 | no | low | ChannelID | -| Firefox 55 | very low | low | None | +| Parrot | Ciphers* | Signature* | Unsupported extensions | TLS Fingerprint ID | +| ------------- | -------- | ---------- | ---------------------- | --------------------------------------------- | +| Chrome 58 | no | no | ChannelID | [06e3579010335639](https://tlsfingerprint.io/id/06e3579010335639) | +| Firefox 55 | very low | no | None | [c8561687d9ecd83f](https://tlsfingerprint.io/id/c8561687d9ecd83f) | \* Denotes very rough guesstimate of likelihood that unsupported things will get echoed back by the server in the wild, *visibly breaking the connection*. @@ -49,8 +47,6 @@ There sure are. If you found one that approaches practicality at line speed — #### Things to implement in Golang to make parrots better uTLS is fundamentially limited in parroting, because Golang's "crypto/tls" doesn't support many things. Would be nice to have: * ChannelID extension - * Enable sha512 and sha224 hashes by default - * Implement RSA PSS signature algorithms * In general, any modern crypto is likely to be useful going forward. ### Custom Handshake It is possible to create custom handshake by @@ -95,9 +91,9 @@ There are different behaviors you can get, depending on your `clientHelloID`: 3. ```utls.HelloCustom``` will prepare ClientHello with empty uconn.Extensions so you can fill it with TLSExtension's manually. 4. The rest will will parrot given browser. Such parrots include, for example: - * `utls.HelloChrome_Auto`- parrots recommended(latest) Google Chrome version + * `utls.HelloChrome_Auto`- parrots recommended(usually latest) Google Chrome version * `utls.HelloChrome_58` - parrots Google Chrome 58 - * `utls.HelloFirefox_Auto` - parrots recommended(latest) Firefox version + * `utls.HelloFirefox_Auto` - parrots recommended(usually latest) Firefox version * `utls.HelloFirefox_55` - parrots Firefox 55 # Usage @@ -119,7 +115,7 @@ Here's how default "crypto/tls" is typically used: //... ``` To start using using uTLS: -1. Import this library (e.g. `import tls "github.com/Jigsaw-Code/utls"`) +1. Import this library (e.g. `import tls "github.com/refraction-networking/utls"`) 2. Pick the [Client Hello ID](#client-hello-ids) 3. Simply substitute `tlsConn := tls.Client(dialConn, &config)` with `tlsConn := tls.UClient(dialConn, &config, tls.clientHelloID)` diff --git a/cipher_suites.go b/cipher_suites.go index d2ff99c7..d46f3e77 100644 --- a/cipher_suites.go +++ b/cipher_suites.go @@ -364,7 +364,7 @@ func mutualCipherSuite(have []uint16, want uint16) *cipherSuite { // A list of cipher suite IDs that are, or have been, implemented by this // package. // -// Taken from http://www.iana.org/assignments/tls-parameters/tls-parameters.xml +// Taken from https://www.iana.org/assignments/tls-parameters/tls-parameters.xml const ( TLS_RSA_WITH_RC4_128_SHA uint16 = 0x0005 TLS_RSA_WITH_3DES_EDE_CBC_SHA uint16 = 0x000a diff --git a/cipherhw/asm_amd64.s b/cipherhw/asm_amd64.s deleted file mode 100644 index dd1afd4d..00000000 --- a/cipherhw/asm_amd64.s +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2016 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. - -// +build amd64,!gccgo,!appengine - -#include "textflag.h" - -// func hasAESNI() bool -TEXT ·hasAESNI(SB),NOSPLIT,$0 - XORQ AX, AX - INCL AX - CPUID - SHRQ $25, CX - ANDQ $1, CX - MOVB CX, ret+0(FP) - RET diff --git a/cipherhw/asm_s390x.s b/cipherhw/asm_s390x.s deleted file mode 100644 index 51dc1c65..00000000 --- a/cipherhw/asm_s390x.s +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2016 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. - -// +build s390x,!gccgo,!appengine - -#include "textflag.h" - -// func hasHWSupport() bool -TEXT ·hasHWSupport(SB),NOSPLIT,$16-1 - XOR R0, R0 // set function code to 0 (query) - LA mask-16(SP), R1 // 16-byte stack variable for mask - MOVD $(0x38<<40), R3 // mask for bits 18-20 (big endian) - - // check for KM AES functions - WORD $0xB92E0024 // cipher message (KM) - MOVD mask-16(SP), R2 - AND R3, R2 - CMPBNE R2, R3, notfound - - // check for KMC AES functions - WORD $0xB92F0024 // cipher message with chaining (KMC) - MOVD mask-16(SP), R2 - AND R3, R2 - CMPBNE R2, R3, notfound - - // check for KMCTR AES functions - WORD $0xB92D4024 // cipher message with counter (KMCTR) - MOVD mask-16(SP), R2 - AND R3, R2 - CMPBNE R2, R3, notfound - - // check for KIMD GHASH function - WORD $0xB93E0024 // compute intermediate message digest (KIMD) - MOVD mask-8(SP), R2 // bits 64-127 - MOVD $(1<<62), R5 - AND R5, R2 - CMPBNE R2, R5, notfound - - MOVB $1, ret+0(FP) - RET -notfound: - MOVB $0, ret+0(FP) - RET diff --git a/cipherhw/cipherhw_amd64.go b/cipherhw/cipherhw_amd64.go deleted file mode 100644 index be0d490a..00000000 --- a/cipherhw/cipherhw_amd64.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2016 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. - -// +build amd64,!gccgo,!appengine - -package cipherhw - -// defined in asm_amd64.s -func hasAESNI() bool - -// AESGCMSupport returns true if the Go standard library supports AES-GCM in -// hardware. -func AESGCMSupport() bool { - return hasAESNI() -} diff --git a/cipherhw/cipherhw_s390x.go b/cipherhw/cipherhw_s390x.go deleted file mode 100644 index 9cd76795..00000000 --- a/cipherhw/cipherhw_s390x.go +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2016 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. - -// +build s390x,!gccgo,!appengine - -package cipherhw - -// hasHWSupport reports whether the AES-128, AES-192 and AES-256 cipher message -// (KM) function codes are supported. Note that this function is expensive. -// defined in asm_s390x.s -func hasHWSupport() bool - -var hwSupport = hasHWSupport() - -func AESGCMSupport() bool { - return hwSupport -} diff --git a/cipherhw/doc.go b/cipherhw/doc.go deleted file mode 100644 index a75fcf64..00000000 --- a/cipherhw/doc.go +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2016 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 cipherhw exposes common functions for detecting whether hardware -// support for certain ciphers and authenticators is present. -package cipherhw diff --git a/cipherhw/generic.go b/cipherhw/generic.go deleted file mode 100644 index 64d90d3b..00000000 --- a/cipherhw/generic.go +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2016 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. - -// +build !amd64,!s390x gccgo appengine - -package cipherhw - -func AESGCMSupport() bool { - return false -} diff --git a/common.go b/common.go index 1166c93e..61d67b35 100644 --- a/common.go +++ b/common.go @@ -12,13 +12,14 @@ import ( "crypto/x509" "errors" "fmt" - "github.com/Jigsaw-Code/utls/cipherhw" "io" "math/big" "net" "strings" "sync" "time" + + "github.com/refraction-networking/utls/cpu" ) const ( @@ -29,10 +30,11 @@ const ( ) const ( - maxPlaintext = 16384 // maximum plaintext payload length - maxCiphertext = 16384 + 2048 // maximum ciphertext payload length - recordHeaderLen = 5 // record header length - maxHandshake = 65536 // maximum handshake we support (protocol max is 16 MB) + maxPlaintext = 16384 // maximum plaintext payload length + maxCiphertext = 16384 + 2048 // maximum ciphertext payload length + recordHeaderLen = 5 // record header length + maxHandshake = 65536 // maximum handshake we support (protocol max is 16 MB) + maxWarnAlertCount = 5 // maximum number of consecutive warning alerts minVersion = VersionTLS10 maxVersion = VersionTLS12 @@ -90,7 +92,7 @@ const ( ) // CurveID is the type of a TLS identifier for an elliptic curve. See -// http://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-8 +// https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-8 type CurveID uint16 const ( @@ -101,7 +103,7 @@ const ( ) // TLS Elliptic Curve Point Formats -// http://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-9 +// https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-9 const ( pointFormatUncompressed uint8 = 0 ) @@ -126,35 +128,25 @@ const ( // Rest of these are reserved by the TLS spec ) -// Hash functions for TLS 1.2 (See RFC 5246, section A.4.1) -const ( - hashSHA1 uint8 = 2 - hashSHA256 uint8 = 4 - hashSHA384 uint8 = 5 -) - // Signature algorithms for TLS 1.2 (See RFC 5246, section A.4.1) const ( signatureRSA uint8 = 1 signatureECDSA uint8 = 3 ) -// signatureAndHash mirrors the TLS 1.2, SignatureAndHashAlgorithm struct. See -// RFC 5246, section A.4.1. -type signatureAndHash struct { - hash, signature uint8 -} - -// supportedSignatureAlgorithms contains the signature and hash algorithms that +// SupportedSignatureAlgorithms contains the signature and hash algorithms that // the code advertises as supported in a TLS 1.2 ClientHello and in a TLS 1.2 -// CertificateRequest. -var supportedSignatureAlgorithms = []signatureAndHash{ - {hashSHA256, signatureRSA}, - {hashSHA256, signatureECDSA}, - {hashSHA384, signatureRSA}, - {hashSHA384, signatureECDSA}, - {hashSHA1, signatureRSA}, - {hashSHA1, signatureECDSA}, +// CertificateRequest. The two fields are merged to match with TLS 1.3. +// Note that in TLS 1.2, the ECDSA algorithms are not constrained to P-256, etc. +var supportedSignatureAlgorithms = []SignatureScheme{ + PKCS1WithSHA256, + ECDSAWithP256AndSHA256, + PKCS1WithSHA384, + ECDSAWithP384AndSHA384, + PKCS1WithSHA512, + ECDSAWithP521AndSHA512, + PKCS1WithSHA1, + ECDSAWithSHA1, } // ConnectionState records basic TLS details about the connection. @@ -171,6 +163,12 @@ type ConnectionState struct { SignedCertificateTimestamps [][]byte // SCTs from the server, if any OCSPResponse []byte // stapled OCSP response from server, if any + // ExportKeyMaterial returns length bytes of exported key material as + // defined in https://tools.ietf.org/html/rfc5705. If context is nil, it is + // not used as part of the seed. If Config.Renegotiation was set to allow + // renegotiation, this function will always return nil, false. + ExportKeyingMaterial func(label string, context []byte, length int) ([]byte, bool) + // TLSUnique contains the "tls-unique" channel binding value (see RFC // 5929, section 3). For resumed sessions this value will be nil // because resumption does not include enough context (see @@ -234,6 +232,9 @@ const ( ECDSAWithP256AndSHA256 SignatureScheme = 0x0403 ECDSAWithP384AndSHA384 SignatureScheme = 0x0503 ECDSAWithP521AndSHA512 SignatureScheme = 0x0603 + + // Legacy signature and hash algorithms for TLS 1.2. + ECDSAWithSHA1 SignatureScheme = 0x0203 ) // ClientHelloInfo contains information from a ClientHello message in order to @@ -246,19 +247,19 @@ type ClientHelloInfo struct { // ServerName indicates the name of the server requested by the client // in order to support virtual hosting. ServerName is only set if the // client is using SNI (see - // http://tools.ietf.org/html/rfc4366#section-3.1). + // https://tools.ietf.org/html/rfc4366#section-3.1). ServerName string // SupportedCurves lists the elliptic curves supported by the client. // SupportedCurves is set only if the Supported Elliptic Curves // Extension is being used (see - // http://tools.ietf.org/html/rfc4492#section-5.1.1). + // https://tools.ietf.org/html/rfc4492#section-5.1.1). SupportedCurves []CurveID // SupportedPoints lists the point formats supported by the client. // SupportedPoints is set only if the Supported Point Formats Extension // is being used (see - // http://tools.ietf.org/html/rfc4492#section-5.1.2). + // https://tools.ietf.org/html/rfc4492#section-5.1.2). SupportedPoints []uint8 // SignatureSchemes lists the signature and hash schemes that the client @@ -412,8 +413,9 @@ type Config struct { // // If normal verification fails then the handshake will abort before // considering this callback. If normal verification is disabled by - // setting InsecureSkipVerify then this callback will be considered but - // the verifiedChains argument will always be nil. + // setting InsecureSkipVerify, or (for a server) when ClientAuth is + // RequestClientCert or RequireAnyClientCert, then this callback will + // be considered but the verifiedChains argument will always be nil. VerifyPeerCertificate func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error // RootCAs defines the set of root certificate authorities @@ -458,7 +460,8 @@ type Config struct { PreferServerCipherSuites bool // SessionTicketsDisabled may be set to true to disable session ticket - // (resumption) support. + // (resumption) support. Note that on clients, session ticket support is + // also disabled if ClientSessionCache is nil. SessionTicketsDisabled bool // SessionTicketKey is used by TLS servers to provide session @@ -471,8 +474,8 @@ type Config struct { // connections using that key are compromised. SessionTicketKey [32]byte - // SessionCache is a cache of ClientSessionState entries for TLS session - // resumption. + // ClientSessionCache is a cache of ClientSessionState entries for TLS + // session resumption. It is only used by clients. ClientSessionCache ClientSessionCache // MinVersion contains the minimum SSL/TLS version that is acceptable. @@ -916,7 +919,24 @@ func defaultCipherSuites() []uint16 { func initDefaultCipherSuites() { var topCipherSuites []uint16 - if cipherhw.AESGCMSupport() { + + // Check the cpu flags for each platform that has optimized GCM implementations. + // Worst case, these variables will just all be false + hasGCMAsmAMD64 := cpu.X86.HasAES && cpu.X86.HasPCLMULQDQ + + // TODO: enable the arm64 HasAES && HasPMULL feature check after the + // optimized AES-GCM implementation for arm64 is merged (CL 107298). + // This is explicitly set to false for now to prevent misprioritization + // of AES-GCM based cipher suites, which will be slower than chacha20-poly1305 + hasGCMAsmARM64 := false + // hasGCMAsmARM64 := cpu.ARM64.HasAES && cpu.ARM64.HasPMULL + + // Keep in sync with crypto/aes/cipher_s390x.go. + hasGCMAsmS390X := false // [UTLS: couldn't be bothered to make it work, we won't use it] + + hasGCMAsm := hasGCMAsmAMD64 || hasGCMAsmARM64 || hasGCMAsmS390X + + if hasGCMAsm { // If AES-GCM hardware is provided then prioritise AES-GCM // cipher suites. topCipherSuites = []uint16{ @@ -961,11 +981,24 @@ func unexpectedMessageError(wanted, got interface{}) error { return fmt.Errorf("tls: received unexpected handshake message of type %T when waiting for %T", got, wanted) } -func isSupportedSignatureAndHash(sigHash signatureAndHash, sigHashes []signatureAndHash) bool { - for _, s := range sigHashes { - if s == sigHash { +func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool { + for _, s := range supportedSignatureAlgorithms { + if s == sigAlg { return true } } return false } + +// signatureFromSignatureScheme maps a signature algorithm to the underlying +// signature method (without hash function). +func signatureFromSignatureScheme(signatureAlgorithm SignatureScheme) uint8 { + switch signatureAlgorithm { + case PKCS1WithSHA1, PKCS1WithSHA256, PKCS1WithSHA384, PKCS1WithSHA512: + return signatureRSA + case ECDSAWithSHA1, ECDSAWithP256AndSHA256, ECDSAWithP384AndSHA384, ECDSAWithP521AndSHA512: + return signatureECDSA + default: + return 0 + } +} diff --git a/conn.go b/conn.go index e6d85aa2..cdaa7aba 100644 --- a/conn.go +++ b/conn.go @@ -28,15 +28,11 @@ type Conn struct { isClient bool // constant after handshake; protected by handshakeMutex - handshakeMutex sync.Mutex // handshakeMutex < in.Mutex, out.Mutex, errMutex - // handshakeCond, if not nil, indicates that a goroutine is committed - // to running the handshake for this Conn. Other goroutines that need - // to wait for the handshake can wait on this, under handshakeMutex. - handshakeCond *sync.Cond - handshakeErr error // error resulting from handshake - vers uint16 // TLS version - haveVers bool // version has been negotiated - config *Config // configuration passed to constructor + handshakeMutex sync.Mutex + handshakeErr error // error resulting from handshake + vers uint16 // TLS version + haveVers bool // version has been negotiated + config *Config // configuration passed to constructor // handshakeComplete is true if the connection is currently transferring // application data (i.e. is not currently processing a handshake). handshakeComplete bool @@ -58,6 +54,8 @@ type Conn struct { // renegotiation extension. (This is meaningless as a server because // renegotiation is not supported in that case.) secureRenegotiation bool + // ekm is a closure for exporting keying material. + ekm func(label string, context []byte, length int) ([]byte, bool) // clientFinishedIsFirst is true if the client sent the first Finished // message during the most recent handshake. This is recorded because @@ -82,7 +80,7 @@ type Conn struct { clientProtocolFallback bool // input/output - in, out halfConn // in.Mutex < out.Mutex + in, out halfConn rawInput *block // raw input, right off the wire input *block // application data waiting to be read hand bytes.Buffer // handshake data waiting to be read @@ -94,6 +92,10 @@ type Conn struct { bytesSent int64 packetsSent int64 + // warnCount counts the number of consecutive warning alerts received + // by Conn.readRecord. Protected by in.Mutex. + warnCount int + // activeCall is an atomic int32; the low bit is whether Close has // been called. the rest of the bits are the number of goroutines // in Conn.Write. @@ -213,10 +215,11 @@ func extractPadding(payload []byte) (toRemove int, good byte) { // if len(payload) >= (paddingLen - 1) then the MSB of t is zero good = byte(int32(^t) >> 31) - toCheck := 255 // the maximum possible padding length + // The maximum possible padding length plus the actual length field + toCheck := 256 // The length of the padded data is public, so we can use an if here - if toCheck+1 > len(payload) { - toCheck = len(payload) - 1 + if toCheck > len(payload) { + toCheck = len(payload) } for i := 0; i < toCheck; i++ { @@ -559,7 +562,6 @@ func (c *Conn) newRecordHeaderError(msg string) (err RecordHeaderError) { // readRecord reads the next TLS record from the connection // and updates the record layer state. -// c.in.Mutex <= L; c.input == nil. func (c *Conn) readRecord(want recordType) error { // Caller must be in sync with connection: // handshake data if handshake not yet completed, @@ -657,6 +659,11 @@ Again: return c.in.setErrorLocked(err) } + if typ != recordTypeAlert && len(data) > 0 { + // this is a valid non-alert message: reset the count of alerts + c.warnCount = 0 + } + switch typ { default: c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) @@ -674,6 +681,13 @@ Again: case alertLevelWarning: // drop on the floor c.in.freeBlock(b) + + c.warnCount++ + if c.warnCount > maxWarnAlertCount { + c.sendAlert(alertUnexpectedMessage) + return c.in.setErrorLocked(errors.New("tls: too many warn alerts")) + } + goto Again case alertLevelError: c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])}) @@ -686,6 +700,11 @@ Again: c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) break } + // Handshake messages are not allowed to fragment across the CCS + if c.hand.Len() > 0 { + c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage)) + break + } err := c.in.changeCipherSpec() if err != nil { c.in.setErrorLocked(c.sendAlert(err.(alert))) @@ -714,7 +733,6 @@ Again: } // sendAlert sends a TLS alert message. -// c.out.Mutex <= L. func (c *Conn) sendAlertLocked(err alert) error { switch err { case alertNoRenegotiation, alertCloseNotify: @@ -734,7 +752,6 @@ func (c *Conn) sendAlertLocked(err alert) error { } // sendAlert sends a TLS alert message. -// L < c.out.Mutex. func (c *Conn) sendAlert(err alert) error { c.out.Lock() defer c.out.Unlock() @@ -771,8 +788,6 @@ const ( // // In the interests of simplicity and determinism, this code does not attempt // to reset the record size once the connection is idle, however. -// -// c.out.Mutex <= L. func (c *Conn) maxPayloadSizeForWrite(typ recordType, explicitIVLen int) int { if c.config.DynamicRecordSizingDisabled || typ != recordTypeApplicationData { return maxPlaintext @@ -822,7 +837,6 @@ func (c *Conn) maxPayloadSizeForWrite(typ recordType, explicitIVLen int) int { return n } -// c.out.Mutex <= L. func (c *Conn) write(data []byte) (int, error) { if c.buffering { c.sendBuf = append(c.sendBuf, data...) @@ -848,7 +862,6 @@ func (c *Conn) flush() (int, error) { // writeRecordLocked writes a TLS record with the given type and payload to the // connection and updates the record layer state. -// c.out.Mutex <= L. func (c *Conn) writeRecordLocked(typ recordType, data []byte) (int, error) { b := c.out.newBlock() defer c.out.freeBlock(b) @@ -924,7 +937,6 @@ func (c *Conn) writeRecordLocked(typ recordType, data []byte) (int, error) { // writeRecord writes a TLS record with the given type and payload to the // connection and updates the record layer state. -// L < c.out.Mutex. func (c *Conn) writeRecord(typ recordType, data []byte) (int, error) { c.out.Lock() defer c.out.Unlock() @@ -934,7 +946,6 @@ func (c *Conn) writeRecord(typ recordType, data []byte) (int, error) { // readHandshake reads the next handshake message from // the record layer. -// c.in.Mutex < L; c.out.Mutex < L. func (c *Conn) readHandshake() (interface{}, error) { for c.hand.Len() < 4 { if err := c.in.err; err != nil { @@ -1050,9 +1061,9 @@ func (c *Conn) Write(b []byte) (int, error) { // This can be prevented by splitting each Application Data // record into two records, effectively randomizing the IV. // - // http://www.openssl.org/~bodo/tls-cbc.txt + // https://www.openssl.org/~bodo/tls-cbc.txt // https://bugzilla.mozilla.org/show_bug.cgi?id=665814 - // http://www.imperialviolet.org/2012/01/15/beastfollowup.html + // https://www.imperialviolet.org/2012/01/15/beastfollowup.html var m int if len(b) > 1 && c.vers <= VersionTLS10 { @@ -1070,7 +1081,6 @@ func (c *Conn) Write(b []byte) (int, error) { } // handleRenegotiation processes a HelloRequest handshake message. -// c.in.Mutex <= L func (c *Conn) handleRenegotiation() error { msg, err := c.readHandshake() if err != nil { @@ -1248,61 +1258,19 @@ func (c *Conn) closeNotify() error { // Most uses of this package need not call Handshake // explicitly: the first Read or Write will call it automatically. func (c *Conn) Handshake() error { - // c.handshakeErr and c.handshakeComplete are protected by - // c.handshakeMutex. In order to perform a handshake, we need to lock - // c.in also and c.handshakeMutex must be locked after c.in. - // - // However, if a Read() operation is hanging then it'll be holding the - // lock on c.in and so taking it here would cause all operations that - // need to check whether a handshake is pending (such as Write) to - // block. - // - // Thus we first take c.handshakeMutex to check whether a handshake is - // needed. - // - // If so then, previously, this code would unlock handshakeMutex and - // then lock c.in and handshakeMutex in the correct order to run the - // handshake. The problem was that it was possible for a Read to - // complete the handshake once handshakeMutex was unlocked and then - // keep c.in while waiting for network data. Thus a concurrent - // operation could be blocked on c.in. - // - // Thus handshakeCond is used to signal that a goroutine is committed - // to running the handshake and other goroutines can wait on it if they - // need. handshakeCond is protected by handshakeMutex. c.handshakeMutex.Lock() defer c.handshakeMutex.Unlock() - for { - if err := c.handshakeErr; err != nil { - return err - } - if c.handshakeComplete { - return nil - } - if c.handshakeCond == nil { - break - } - - c.handshakeCond.Wait() + if err := c.handshakeErr; err != nil { + return err + } + if c.handshakeComplete { + return nil } - - // Set handshakeCond to indicate that this goroutine is committing to - // running the handshake. - c.handshakeCond = sync.NewCond(&c.handshakeMutex) - c.handshakeMutex.Unlock() c.in.Lock() defer c.in.Unlock() - c.handshakeMutex.Lock() - - // The handshake cannot have completed when handshakeMutex was unlocked - // because this goroutine set handshakeCond. - if c.handshakeErr != nil || c.handshakeComplete { - panic("handshake should not have been able to complete after handshakeCond was set") - } - if c.isClient { c.handshakeErr = c.clientHandshake() } else { @@ -1320,11 +1288,6 @@ func (c *Conn) Handshake() error { panic("handshake should have had a result.") } - // Wake any other goroutines that are waiting for this handshake to - // complete. - c.handshakeCond.Broadcast() - c.handshakeCond = nil - return c.handshakeErr } @@ -1354,6 +1317,11 @@ func (c *Conn) ConnectionState() ConnectionState { state.TLSUnique = c.serverFinished[:] } } + if c.config.Renegotiation != RenegotiateNever { + state.ExportKeyingMaterial = noExportedKeyingMaterial + } else { + state.ExportKeyingMaterial = c.ekm + } } return state diff --git a/conn_test.go b/conn_test.go index e27c5414..5c7f7ce2 100644 --- a/conn_test.go +++ b/conn_test.go @@ -21,6 +21,12 @@ func TestRoundUp(t *testing.T) { } } +// will be initialized with {0, 255, 255, ..., 255} +var padding255Bad = [256]byte{} + +// will be initialized with {255, 255, 255, ..., 255} +var padding255Good = [256]byte{255} + var paddingTests = []struct { in []byte good bool @@ -36,9 +42,15 @@ var paddingTests = []struct { {[]byte{1, 4, 4, 4, 4, 4}, true, 1}, {[]byte{5, 5, 5, 5, 5, 5}, true, 0}, {[]byte{6, 6, 6, 6, 6, 6}, false, 0}, + {padding255Bad[:], false, 0}, + {padding255Good[:], true, 0}, } func TestRemovePadding(t *testing.T) { + for i := 1; i < len(padding255Bad); i++ { + padding255Bad[i] = 255 + padding255Good[i] = 255 + } for i, test := range paddingTests { paddingLen, good := extractPadding(test.in) expectedGood := byte(255) diff --git a/example_test.go b/example_test.go index 02d0f180..fef4efed 100644 --- a/example_test.go +++ b/example_test.go @@ -11,6 +11,7 @@ import ( "net/http" "net/http/httptest" "os" + "time" ) // zeroSource is an io.Reader that returns an unlimited number of zero bytes. @@ -113,3 +114,75 @@ func ExampleConfig_keyLogWriter() { // Output: // CLIENT_RANDOM 0000000000000000000000000000000000000000000000000000000000000000 baca0df460a688e44ce018b025183cc2353ae01f89755ef766eedd3ecc302888ee3b3a22962e45f48c20df15a98c0e80 } + +func ExampleLoadX509KeyPair() { + cert, err := tls.LoadX509KeyPair("testdata/example-cert.pem", "testdata/example-key.pem") + if err != nil { + log.Fatal(err) + } + cfg := &tls.Config{Certificates: []tls.Certificate{cert}} + listener, err := tls.Listen("tcp", ":2000", cfg) + if err != nil { + log.Fatal(err) + } + _ = listener +} + +func ExampleX509KeyPair() { + certPem := []byte(`-----BEGIN CERTIFICATE----- +MIIBhTCCASugAwIBAgIQIRi6zePL6mKjOipn+dNuaTAKBggqhkjOPQQDAjASMRAw +DgYDVQQKEwdBY21lIENvMB4XDTE3MTAyMDE5NDMwNloXDTE4MTAyMDE5NDMwNlow +EjEQMA4GA1UEChMHQWNtZSBDbzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABD0d +7VNhbWvZLWPuj/RtHFjvtJBEwOkhbN/BnnE8rnZR8+sbwnc/KhCk3FhnpHZnQz7B +5aETbbIgmuvewdjvSBSjYzBhMA4GA1UdDwEB/wQEAwICpDATBgNVHSUEDDAKBggr +BgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdEQQiMCCCDmxvY2FsaG9zdDo1 +NDUzgg4xMjcuMC4wLjE6NTQ1MzAKBggqhkjOPQQDAgNIADBFAiEA2zpJEPQyz6/l +Wf86aX6PepsntZv2GYlA5UpabfT2EZICICpJ5h/iI+i341gBmLiAFQOyTDT+/wQc +6MF9+Yw1Yy0t +-----END CERTIFICATE-----`) + keyPem := []byte(`-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIIrYSSNQFaA2Hwf1duRSxKtLYX5CB04fSeQ6tF1aY/PuoAoGCCqGSM49 +AwEHoUQDQgAEPR3tU2Fta9ktY+6P9G0cWO+0kETA6SFs38GecTyudlHz6xvCdz8q +EKTcWGekdmdDPsHloRNtsiCa697B2O9IFA== +-----END EC PRIVATE KEY-----`) + cert, err := tls.X509KeyPair(certPem, keyPem) + if err != nil { + log.Fatal(err) + } + cfg := &tls.Config{Certificates: []tls.Certificate{cert}} + listener, err := tls.Listen("tcp", ":2000", cfg) + if err != nil { + log.Fatal(err) + } + _ = listener +} + +func ExampleX509KeyPair_httpServer() { + certPem := []byte(`-----BEGIN CERTIFICATE----- +MIIBhTCCASugAwIBAgIQIRi6zePL6mKjOipn+dNuaTAKBggqhkjOPQQDAjASMRAw +DgYDVQQKEwdBY21lIENvMB4XDTE3MTAyMDE5NDMwNloXDTE4MTAyMDE5NDMwNlow +EjEQMA4GA1UEChMHQWNtZSBDbzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABD0d +7VNhbWvZLWPuj/RtHFjvtJBEwOkhbN/BnnE8rnZR8+sbwnc/KhCk3FhnpHZnQz7B +5aETbbIgmuvewdjvSBSjYzBhMA4GA1UdDwEB/wQEAwICpDATBgNVHSUEDDAKBggr +BgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdEQQiMCCCDmxvY2FsaG9zdDo1 +NDUzgg4xMjcuMC4wLjE6NTQ1MzAKBggqhkjOPQQDAgNIADBFAiEA2zpJEPQyz6/l +Wf86aX6PepsntZv2GYlA5UpabfT2EZICICpJ5h/iI+i341gBmLiAFQOyTDT+/wQc +6MF9+Yw1Yy0t +-----END CERTIFICATE-----`) + keyPem := []byte(`-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIIrYSSNQFaA2Hwf1duRSxKtLYX5CB04fSeQ6tF1aY/PuoAoGCCqGSM49 +AwEHoUQDQgAEPR3tU2Fta9ktY+6P9G0cWO+0kETA6SFs38GecTyudlHz6xvCdz8q +EKTcWGekdmdDPsHloRNtsiCa697B2O9IFA== +-----END EC PRIVATE KEY-----`) + cert, err := tls.X509KeyPair(certPem, keyPem) + if err != nil { + log.Fatal(err) + } + cfg := &tls.Config{Certificates: []tls.Certificate{cert}} + srv := &http.Server{ + TLSConfig: cfg, + ReadTimeout: time.Minute, + WriteTimeout: time.Minute, + } + log.Fatal(srv.ListenAndServeTLS("", "")) +} diff --git a/examples/examples.go b/examples/examples.go index 7dfe86a7..5b694c73 100644 --- a/examples/examples.go +++ b/examples/examples.go @@ -3,7 +3,7 @@ package main import ( "encoding/hex" "fmt" - tls "github.com/Jigsaw-Code/utls" + tls "github.com/refraction-networking/utls" "net" "strings" "time" diff --git a/generate_cert.go b/generate_cert.go index 8ee2b592..8d012be7 100644 --- a/generate_cert.go +++ b/generate_cert.go @@ -146,16 +146,24 @@ func main() { if err != nil { log.Fatalf("failed to open cert.pem for writing: %s", err) } - pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes}) - certOut.Close() - log.Print("written cert.pem\n") + if err := pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes}); err != nil { + log.Fatalf("failed to write data to cert.pem: %s", err) + } + if err := certOut.Close(); err != nil { + log.Fatalf("error closing cert.pem: %s", err) + } + log.Print("wrote cert.pem\n") keyOut, err := os.OpenFile("key.pem", os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0600) if err != nil { log.Print("failed to open key.pem for writing:", err) return } - pem.Encode(keyOut, pemBlockForKey(priv)) - keyOut.Close() - log.Print("written key.pem\n") + if err := pem.Encode(keyOut, pemBlockForKey(priv)); err != nil { + log.Fatalf("failed to write data to key.pem: %s", err) + } + if err := keyOut.Close(); err != nil { + log.Fatalf("error closing key.pem: %s", err) + } + log.Print("wrote key.pem\n") } diff --git a/handshake_client.go b/handshake_client.go index e5827f65..cb31c980 100644 --- a/handshake_client.go +++ b/handshake_client.go @@ -85,13 +85,12 @@ NextCipherSuite: } if hello.vers >= VersionTLS12 { - hello.signatureAndHashes = supportedSignatureAlgorithms + hello.supportedSignatureAlgorithms = supportedSignatureAlgorithms } return hello, nil } -// c.out.Mutex <= L; c.handshakeMutex <= L. func (c *Conn) clientHandshake() error { if c.config == nil { c.config = defaultConfig() @@ -265,6 +264,7 @@ func (hs *clientHandshakeState) handshake() error { } } + c.ekm = ekmFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.hello.random, hs.serverHello.random) c.didResume = isResume c.handshakeComplete = true @@ -372,26 +372,34 @@ func (hs *clientHandshakeState) doFullHandshake() error { } } - if hs.serverHello.ocspStapling { - msg, err = c.readHandshake() - if err != nil { - return err - } - cs, ok := msg.(*certificateStatusMsg) - if !ok { + msg, err = c.readHandshake() + if err != nil { + return err + } + + cs, ok := msg.(*certificateStatusMsg) + if ok { + // RFC4366 on Certificate Status Request: + // The server MAY return a "certificate_status" message. + + if !hs.serverHello.ocspStapling { + // If a server returns a "CertificateStatus" message, then the + // server MUST have included an extension of type "status_request" + // with empty "extension_data" in the extended server hello. + c.sendAlert(alertUnexpectedMessage) - return unexpectedMessageError(cs, msg) + return errors.New("tls: received unexpected CertificateStatus message") } hs.finishedHash.Write(cs.marshal()) if cs.statusType == statusTypeOCSP { c.ocspResponse = cs.response } - } - msg, err = c.readHandshake() - if err != nil { - return err + msg, err = c.readHandshake() + if err != nil { + return err + } } keyAgreement := hs.suite.ka(c.vers) @@ -482,12 +490,15 @@ func (hs *clientHandshakeState) doFullHandshake() error { return fmt.Errorf("tls: failed to sign handshake with client certificate: unknown client certificate key type: %T", key) } - certVerify.signatureAndHash, err = hs.finishedHash.selectClientCertSignatureAlgorithm(certReq.signatureAndHashes, signatureType) - if err != nil { - c.sendAlert(alertInternalError) - return err + // SignatureAndHashAlgorithm was introduced in TLS 1.2. + if certVerify.hasSignatureAndHash { + certVerify.signatureAlgorithm, err = hs.finishedHash.selectClientCertSignatureAlgorithm(certReq.supportedSignatureAlgorithms, signatureType) + if err != nil { + c.sendAlert(alertInternalError) + return err + } } - digest, hashFunc, err := hs.finishedHash.hashForClientCertificate(certVerify.signatureAndHash, hs.masterSecret) + digest, hashFunc, err := hs.finishedHash.hashForClientCertificate(signatureType, certVerify.signatureAlgorithm, hs.masterSecret) if err != nil { c.sendAlert(alertInternalError) return err @@ -750,10 +761,7 @@ func (hs *clientHandshakeState) getCertificate(certReq *certificateRequestMsg) ( signatureSchemes = signatureSchemes[:len(signatureSchemes)-tls11SignatureSchemesNumRSA] } } else { - signatureSchemes = make([]SignatureScheme, 0, len(certReq.signatureAndHashes)) - for _, sah := range certReq.signatureAndHashes { - signatureSchemes = append(signatureSchemes, SignatureScheme(sah.hash)<<8+SignatureScheme(sah.signature)) - } + signatureSchemes = certReq.supportedSignatureAlgorithms } return c.config.GetClientCertificate(&CertificateRequestInfo{ diff --git a/handshake_client_test.go b/handshake_client_test.go index 5851f897..cc3ab714 100644 --- a/handshake_client_test.go +++ b/handshake_client_test.go @@ -85,7 +85,7 @@ func (o *opensslOutputSink) Write(data []byte) (n int, err error) { o.all = append(o.all, data...) for { - i := bytes.Index(o.line, []byte{'\n'}) + i := bytes.IndexByte(o.line, '\n') if i < 0 { break } @@ -1189,7 +1189,7 @@ func TestVerifyPeerCertificate(t *testing.T) { // callback should still be called but // validatedChains must be empty. if l := len(validatedChains); l != 0 { - return errors.New("got len(validatedChains) = 0, wanted zero") + return fmt.Errorf("got len(validatedChains) = %d, wanted zero", l) } *called = true return nil @@ -1438,19 +1438,23 @@ func TestTLS11SignatureSchemes(t *testing.T) { } var getClientCertificateTests = []struct { - setup func(*Config) + setup func(*Config, *Config) expectedClientError string verify func(*testing.T, int, *ConnectionState) }{ { - func(clientConfig *Config) { + func(clientConfig, serverConfig *Config) { // Returning a Certificate with no certificate data // should result in an empty message being sent to the // server. + serverConfig.ClientCAs = nil clientConfig.GetClientCertificate = func(cri *CertificateRequestInfo) (*Certificate, error) { if len(cri.SignatureSchemes) == 0 { panic("empty SignatureSchemes") } + if len(cri.AcceptableCAs) != 0 { + panic("AcceptableCAs should have been empty") + } return new(Certificate), nil } }, @@ -1462,7 +1466,7 @@ var getClientCertificateTests = []struct { }, }, { - func(clientConfig *Config) { + func(clientConfig, serverConfig *Config) { // With TLS 1.1, the SignatureSchemes should be // synthesised from the supported certificate types. clientConfig.MaxVersion = VersionTLS11 @@ -1481,7 +1485,7 @@ var getClientCertificateTests = []struct { }, }, { - func(clientConfig *Config) { + func(clientConfig, serverConfig *Config) { // Returning an error should abort the handshake with // that error. clientConfig.GetClientCertificate = func(cri *CertificateRequestInfo) (*Certificate, error) { @@ -1493,14 +1497,21 @@ var getClientCertificateTests = []struct { }, }, { - func(clientConfig *Config) { + func(clientConfig, serverConfig *Config) { clientConfig.GetClientCertificate = func(cri *CertificateRequestInfo) (*Certificate, error) { - return &testConfig.Certificates[0], nil + if len(cri.AcceptableCAs) == 0 { + panic("empty AcceptableCAs") + } + cert := &Certificate{ + Certificate: [][]byte{testRSACertificate}, + PrivateKey: testRSAPrivateKey, + } + return cert, nil } }, "", func(t *testing.T, testNum int, cs *ConnectionState) { - if l := len(cs.VerifiedChains); l != 0 { + if len(cs.VerifiedChains) == 0 { t.Errorf("#%d: expected some verified chains, but found none", testNum) } }, @@ -1515,13 +1526,15 @@ func TestGetClientCertificate(t *testing.T) { for i, test := range getClientCertificateTests { serverConfig := testConfig.Clone() - serverConfig.ClientAuth = RequestClientCert + serverConfig.ClientAuth = VerifyClientCertIfGiven serverConfig.RootCAs = x509.NewCertPool() serverConfig.RootCAs.AddCert(issuer) + serverConfig.ClientCAs = serverConfig.RootCAs + serverConfig.Time = func() time.Time { return time.Unix(1476984729, 0) } clientConfig := testConfig.Clone() - test.setup(clientConfig) + test.setup(clientConfig, serverConfig) type serverResult struct { cs ConnectionState @@ -1553,6 +1566,8 @@ func TestGetClientCertificate(t *testing.T) { t.Errorf("#%d: client error: %v", i, clientErr) } else if got := clientErr.Error(); got != test.expectedClientError { t.Errorf("#%d: expected client error %q, but got %q", i, test.expectedClientError, got) + } else { + test.verify(t, i, &result.cs) } } else if len(test.expectedClientError) > 0 { t.Errorf("#%d: expected client error %q, but got no error", i, test.expectedClientError) diff --git a/handshake_messages.go b/handshake_messages.go index 873b989e..059bd718 100644 --- a/handshake_messages.go +++ b/handshake_messages.go @@ -25,7 +25,7 @@ type clientHelloMsg struct { supportedPoints []uint8 ticketSupported bool sessionTicket []uint8 - signatureAndHashes []signatureAndHash + supportedSignatureAlgorithms []SignatureScheme secureRenegotiation []byte secureRenegotiationSupported bool alpnProtocols []string @@ -51,7 +51,7 @@ func (m *clientHelloMsg) equal(i interface{}) bool { bytes.Equal(m.supportedPoints, m1.supportedPoints) && m.ticketSupported == m1.ticketSupported && bytes.Equal(m.sessionTicket, m1.sessionTicket) && - eqSignatureAndHashes(m.signatureAndHashes, m1.signatureAndHashes) && + eqSignatureAlgorithms(m.supportedSignatureAlgorithms, m1.supportedSignatureAlgorithms) && m.secureRenegotiationSupported == m1.secureRenegotiationSupported && bytes.Equal(m.secureRenegotiation, m1.secureRenegotiation) && eqStrings(m.alpnProtocols, m1.alpnProtocols) @@ -88,8 +88,8 @@ func (m *clientHelloMsg) marshal() []byte { extensionsLength += len(m.sessionTicket) numExtensions++ } - if len(m.signatureAndHashes) > 0 { - extensionsLength += 2 + 2*len(m.signatureAndHashes) + if len(m.supportedSignatureAlgorithms) > 0 { + extensionsLength += 2 + 2*len(m.supportedSignatureAlgorithms) numExtensions++ } if m.secureRenegotiationSupported { @@ -193,7 +193,7 @@ func (m *clientHelloMsg) marshal() []byte { z = z[9:] } if len(m.supportedCurves) > 0 { - // http://tools.ietf.org/html/rfc4492#section-5.5.1 + // https://tools.ietf.org/html/rfc4492#section-5.5.1 z[0] = byte(extensionSupportedCurves >> 8) z[1] = byte(extensionSupportedCurves) l := 2 + 2*len(m.supportedCurves) @@ -210,7 +210,7 @@ func (m *clientHelloMsg) marshal() []byte { } } if len(m.supportedPoints) > 0 { - // http://tools.ietf.org/html/rfc4492#section-5.5.2 + // https://tools.ietf.org/html/rfc4492#section-5.5.2 z[0] = byte(extensionSupportedPoints >> 8) z[1] = byte(extensionSupportedPoints) l := 1 + len(m.supportedPoints) @@ -225,7 +225,7 @@ func (m *clientHelloMsg) marshal() []byte { } } if m.ticketSupported { - // http://tools.ietf.org/html/rfc5077#section-3.2 + // https://tools.ietf.org/html/rfc5077#section-3.2 z[0] = byte(extensionSessionTicket >> 8) z[1] = byte(extensionSessionTicket) l := len(m.sessionTicket) @@ -235,11 +235,11 @@ func (m *clientHelloMsg) marshal() []byte { copy(z, m.sessionTicket) z = z[len(m.sessionTicket):] } - if len(m.signatureAndHashes) > 0 { + if len(m.supportedSignatureAlgorithms) > 0 { // https://tools.ietf.org/html/rfc5246#section-7.4.1.4.1 z[0] = byte(extensionSignatureAlgorithms >> 8) z[1] = byte(extensionSignatureAlgorithms) - l := 2 + 2*len(m.signatureAndHashes) + l := 2 + 2*len(m.supportedSignatureAlgorithms) z[2] = byte(l >> 8) z[3] = byte(l) z = z[4:] @@ -248,9 +248,9 @@ func (m *clientHelloMsg) marshal() []byte { z[0] = byte(l >> 8) z[1] = byte(l) z = z[2:] - for _, sigAndHash := range m.signatureAndHashes { - z[0] = sigAndHash.hash - z[1] = sigAndHash.signature + for _, sigAlgo := range m.supportedSignatureAlgorithms { + z[0] = byte(sigAlgo >> 8) + z[1] = byte(sigAlgo) z = z[2:] } } @@ -345,7 +345,7 @@ func (m *clientHelloMsg) unmarshal(data []byte) bool { m.ocspStapling = false m.ticketSupported = false m.sessionTicket = nil - m.signatureAndHashes = nil + m.supportedSignatureAlgorithms = nil m.alpnProtocols = nil m.scts = false @@ -415,7 +415,7 @@ func (m *clientHelloMsg) unmarshal(data []byte) bool { case extensionStatusRequest: m.ocspStapling = length > 0 && data[0] == statusTypeOCSP case extensionSupportedCurves: - // http://tools.ietf.org/html/rfc4492#section-5.5.1 + // https://tools.ietf.org/html/rfc4492#section-5.5.1 if length < 2 { return false } @@ -431,7 +431,7 @@ func (m *clientHelloMsg) unmarshal(data []byte) bool { d = d[2:] } case extensionSupportedPoints: - // http://tools.ietf.org/html/rfc4492#section-5.5.2 + // https://tools.ietf.org/html/rfc4492#section-5.5.2 if length < 1 { return false } @@ -442,7 +442,7 @@ func (m *clientHelloMsg) unmarshal(data []byte) bool { m.supportedPoints = make([]uint8, l) copy(m.supportedPoints, data[1:]) case extensionSessionTicket: - // http://tools.ietf.org/html/rfc5077#section-3.2 + // https://tools.ietf.org/html/rfc5077#section-3.2 m.ticketSupported = true m.sessionTicket = data[:length] case extensionSignatureAlgorithms: @@ -456,10 +456,9 @@ func (m *clientHelloMsg) unmarshal(data []byte) bool { } n := l / 2 d := data[2:] - m.signatureAndHashes = make([]signatureAndHash, n) - for i := range m.signatureAndHashes { - m.signatureAndHashes[i].hash = d[0] - m.signatureAndHashes[i].signature = d[1] + m.supportedSignatureAlgorithms = make([]SignatureScheme, n) + for i := range m.supportedSignatureAlgorithms { + m.supportedSignatureAlgorithms[i] = SignatureScheme(d[0])<<8 | SignatureScheme(d[1]) d = d[2:] } case extensionRenegotiationInfo: @@ -1212,9 +1211,9 @@ type certificateRequestMsg struct { // 1.2. hasSignatureAndHash bool - certificateTypes []byte - signatureAndHashes []signatureAndHash - certificateAuthorities [][]byte + certificateTypes []byte + supportedSignatureAlgorithms []SignatureScheme + certificateAuthorities [][]byte } func (m *certificateRequestMsg) equal(i interface{}) bool { @@ -1226,7 +1225,7 @@ func (m *certificateRequestMsg) equal(i interface{}) bool { return bytes.Equal(m.raw, m1.raw) && bytes.Equal(m.certificateTypes, m1.certificateTypes) && eqByteSlices(m.certificateAuthorities, m1.certificateAuthorities) && - eqSignatureAndHashes(m.signatureAndHashes, m1.signatureAndHashes) + eqSignatureAlgorithms(m.supportedSignatureAlgorithms, m1.supportedSignatureAlgorithms) } func (m *certificateRequestMsg) marshal() (x []byte) { @@ -1234,7 +1233,7 @@ func (m *certificateRequestMsg) marshal() (x []byte) { return m.raw } - // See http://tools.ietf.org/html/rfc4346#section-7.4.4 + // See https://tools.ietf.org/html/rfc4346#section-7.4.4 length := 1 + len(m.certificateTypes) + 2 casLength := 0 for _, ca := range m.certificateAuthorities { @@ -1243,7 +1242,7 @@ func (m *certificateRequestMsg) marshal() (x []byte) { length += casLength if m.hasSignatureAndHash { - length += 2 + 2*len(m.signatureAndHashes) + length += 2 + 2*len(m.supportedSignatureAlgorithms) } x = make([]byte, 4+length) @@ -1258,13 +1257,13 @@ func (m *certificateRequestMsg) marshal() (x []byte) { y := x[5+len(m.certificateTypes):] if m.hasSignatureAndHash { - n := len(m.signatureAndHashes) * 2 + n := len(m.supportedSignatureAlgorithms) * 2 y[0] = uint8(n >> 8) y[1] = uint8(n) y = y[2:] - for _, sigAndHash := range m.signatureAndHashes { - y[0] = sigAndHash.hash - y[1] = sigAndHash.signature + for _, sigAlgo := range m.supportedSignatureAlgorithms { + y[0] = uint8(sigAlgo >> 8) + y[1] = uint8(sigAlgo) y = y[2:] } } @@ -1321,11 +1320,10 @@ func (m *certificateRequestMsg) unmarshal(data []byte) bool { if len(data) < int(sigAndHashLen) { return false } - numSigAndHash := sigAndHashLen / 2 - m.signatureAndHashes = make([]signatureAndHash, numSigAndHash) - for i := range m.signatureAndHashes { - m.signatureAndHashes[i].hash = data[0] - m.signatureAndHashes[i].signature = data[1] + numSigAlgos := sigAndHashLen / 2 + m.supportedSignatureAlgorithms = make([]SignatureScheme, numSigAlgos) + for i := range m.supportedSignatureAlgorithms { + m.supportedSignatureAlgorithms[i] = SignatureScheme(data[0])<<8 | SignatureScheme(data[1]) data = data[2:] } } @@ -1364,7 +1362,7 @@ func (m *certificateRequestMsg) unmarshal(data []byte) bool { type certificateVerifyMsg struct { raw []byte hasSignatureAndHash bool - signatureAndHash signatureAndHash + signatureAlgorithm SignatureScheme signature []byte } @@ -1376,8 +1374,7 @@ func (m *certificateVerifyMsg) equal(i interface{}) bool { return bytes.Equal(m.raw, m1.raw) && m.hasSignatureAndHash == m1.hasSignatureAndHash && - m.signatureAndHash.hash == m1.signatureAndHash.hash && - m.signatureAndHash.signature == m1.signatureAndHash.signature && + m.signatureAlgorithm == m1.signatureAlgorithm && bytes.Equal(m.signature, m1.signature) } @@ -1386,7 +1383,7 @@ func (m *certificateVerifyMsg) marshal() (x []byte) { return m.raw } - // See http://tools.ietf.org/html/rfc4346#section-7.4.8 + // See https://tools.ietf.org/html/rfc4346#section-7.4.8 siglength := len(m.signature) length := 2 + siglength if m.hasSignatureAndHash { @@ -1399,8 +1396,8 @@ func (m *certificateVerifyMsg) marshal() (x []byte) { x[3] = uint8(length) y := x[4:] if m.hasSignatureAndHash { - y[0] = m.signatureAndHash.hash - y[1] = m.signatureAndHash.signature + y[0] = uint8(m.signatureAlgorithm >> 8) + y[1] = uint8(m.signatureAlgorithm) y = y[2:] } y[0] = uint8(siglength >> 8) @@ -1426,8 +1423,7 @@ func (m *certificateVerifyMsg) unmarshal(data []byte) bool { data = data[4:] if m.hasSignatureAndHash { - m.signatureAndHash.hash = data[0] - m.signatureAndHash.signature = data[1] + m.signatureAlgorithm = SignatureScheme(data[0])<<8 | SignatureScheme(data[1]) data = data[2:] } @@ -1465,7 +1461,7 @@ func (m *newSessionTicketMsg) marshal() (x []byte) { return m.raw } - // See http://tools.ietf.org/html/rfc5077#section-3.3 + // See https://tools.ietf.org/html/rfc5077#section-3.3 ticketLen := len(m.ticket) length := 2 + 4 + ticketLen x = make([]byte, 4+length) @@ -1563,13 +1559,12 @@ func eqByteSlices(x, y [][]byte) bool { return true } -func eqSignatureAndHashes(x, y []signatureAndHash) bool { +func eqSignatureAlgorithms(x, y []SignatureScheme) bool { if len(x) != len(y) { return false } for i, v := range x { - v2 := y[i] - if v.hash != v2.hash || v.signature != v2.signature { + if v != y[i] { return false } } diff --git a/handshake_messages_test.go b/handshake_messages_test.go index 7add97c3..37eb748e 100644 --- a/handshake_messages_test.go +++ b/handshake_messages_test.go @@ -98,8 +98,8 @@ func TestFuzz(t *testing.T) { func randomBytes(n int, rand *rand.Rand) []byte { r := make([]byte, n) - for i := 0; i < n; i++ { - r[i] = byte(rand.Int31()) + if _, err := rand.Read(r); err != nil { + panic("rand.Read failed: " + err.Error()) } return r } @@ -116,7 +116,11 @@ func (*clientHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value { m.sessionId = randomBytes(rand.Intn(32), rand) m.cipherSuites = make([]uint16, rand.Intn(63)+1) for i := 0; i < len(m.cipherSuites); i++ { - m.cipherSuites[i] = uint16(rand.Int31()) + cs := uint16(rand.Int31()) + if cs == scsvRenegotiation { + cs += 1 + } + m.cipherSuites[i] = cs } m.compressionMethods = randomBytes(rand.Intn(63)+1, rand) if rand.Intn(10) > 5 { @@ -141,7 +145,7 @@ func (*clientHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value { } } if rand.Intn(10) > 5 { - m.signatureAndHashes = supportedSignatureAlgorithms + m.supportedSignatureAlgorithms = supportedSignatureAlgorithms } m.alpnProtocols = make([]string, rand.Intn(5)) for i := range m.alpnProtocols { diff --git a/handshake_server.go b/handshake_server.go index ae328487..f8dd630a 100644 --- a/handshake_server.go +++ b/handshake_server.go @@ -36,7 +36,6 @@ type serverHandshakeState struct { } // serverHandshake performs a TLS handshake as a server. -// c.out.Mutex <= L; c.handshakeMutex <= L. func (c *Conn) serverHandshake() error { // If this is the first server handshake, we generate a random key to // encrypt the tickets with. @@ -103,6 +102,8 @@ func (c *Conn) serverHandshake() error { return err } } + + c.ekm = ekmFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random) c.handshakeComplete = true return nil @@ -418,7 +419,7 @@ func (hs *serverHandshakeState) doFullHandshake() error { } if c.vers >= VersionTLS12 { certReq.hasSignatureAndHash = true - certReq.signatureAndHashes = supportedSignatureAlgorithms + certReq.supportedSignatureAlgorithms = supportedSignatureAlgorithms } // An empty list of certificateAuthorities signals to @@ -519,27 +520,30 @@ func (hs *serverHandshakeState) doFullHandshake() error { } // Determine the signature type. - var signatureAndHash signatureAndHash + var signatureAlgorithm SignatureScheme + var sigType uint8 if certVerify.hasSignatureAndHash { - signatureAndHash = certVerify.signatureAndHash - if !isSupportedSignatureAndHash(signatureAndHash, supportedSignatureAlgorithms) { + signatureAlgorithm = certVerify.signatureAlgorithm + if !isSupportedSignatureAlgorithm(signatureAlgorithm, supportedSignatureAlgorithms) { return errors.New("tls: unsupported hash function for client certificate") } + sigType = signatureFromSignatureScheme(signatureAlgorithm) } else { // Before TLS 1.2 the signature algorithm was implicit // from the key type, and only one hash per signature - // algorithm was possible. Leave the hash as zero. + // algorithm was possible. Leave signatureAlgorithm + // unset. switch pub.(type) { case *ecdsa.PublicKey: - signatureAndHash.signature = signatureECDSA + sigType = signatureECDSA case *rsa.PublicKey: - signatureAndHash.signature = signatureRSA + sigType = signatureRSA } } switch key := pub.(type) { case *ecdsa.PublicKey: - if signatureAndHash.signature != signatureECDSA { + if sigType != signatureECDSA { err = errors.New("tls: bad signature type for client's ECDSA certificate") break } @@ -552,20 +556,20 @@ func (hs *serverHandshakeState) doFullHandshake() error { break } var digest []byte - if digest, _, err = hs.finishedHash.hashForClientCertificate(signatureAndHash, hs.masterSecret); err != nil { + if digest, _, err = hs.finishedHash.hashForClientCertificate(sigType, signatureAlgorithm, hs.masterSecret); err != nil { break } if !ecdsa.Verify(key, digest, ecdsaSig.R, ecdsaSig.S) { err = errors.New("tls: ECDSA verification failure") } case *rsa.PublicKey: - if signatureAndHash.signature != signatureRSA { + if sigType != signatureRSA { err = errors.New("tls: bad signature type for client's RSA certificate") break } var digest []byte var hashFunc crypto.Hash - if digest, hashFunc, err = hs.finishedHash.hashForClientCertificate(signatureAndHash, hs.masterSecret); err != nil { + if digest, hashFunc, err = hs.finishedHash.hashForClientCertificate(sigType, signatureAlgorithm, hs.masterSecret); err != nil { break } err = rsa.VerifyPKCS1v15(key, hashFunc, digest, certVerify.signature) @@ -818,17 +822,12 @@ func (hs *serverHandshakeState) clientHelloInfo() *ClientHelloInfo { supportedVersions = suppVersArray[VersionTLS12-hs.clientHello.vers:] } - signatureSchemes := make([]SignatureScheme, 0, len(hs.clientHello.signatureAndHashes)) - for _, sah := range hs.clientHello.signatureAndHashes { - signatureSchemes = append(signatureSchemes, SignatureScheme(sah.hash)<<8+SignatureScheme(sah.signature)) - } - hs.cachedClientHelloInfo = &ClientHelloInfo{ CipherSuites: hs.clientHello.cipherSuites, ServerName: hs.clientHello.serverName, SupportedCurves: hs.clientHello.supportedCurves, SupportedPoints: hs.clientHello.supportedPoints, - SignatureSchemes: signatureSchemes, + SignatureSchemes: hs.clientHello.supportedSignatureAlgorithms, SupportedProtos: hs.clientHello.alpnProtocols, SupportedVersions: supportedVersions, Conn: hs.c.conn, diff --git a/handshake_server_test.go b/handshake_server_test.go index 63845c17..67160213 100644 --- a/handshake_server_test.go +++ b/handshake_server_test.go @@ -6,9 +6,11 @@ package tls import ( "bytes" + "crypto" "crypto/ecdsa" "crypto/elliptic" "crypto/rsa" + "crypto/x509" "encoding/hex" "encoding/pem" "errors" @@ -996,6 +998,87 @@ func TestFallbackSCSV(t *testing.T) { runServerTestTLS11(t, test) } +func benchmarkHandshakeServer(b *testing.B, cipherSuite uint16, curve CurveID, cert []byte, key crypto.PrivateKey) { + config := testConfig.Clone() + config.CipherSuites = []uint16{cipherSuite} + config.CurvePreferences = []CurveID{curve} + config.Certificates = make([]Certificate, 1) + config.Certificates[0].Certificate = [][]byte{cert} + config.Certificates[0].PrivateKey = key + config.BuildNameToCertificate() + + clientConn, serverConn := net.Pipe() + serverConn = &recordingConn{Conn: serverConn} + go func() { + client := Client(clientConn, testConfig) + client.Handshake() + }() + server := Server(serverConn, config) + if err := server.Handshake(); err != nil { + b.Fatalf("handshake failed: %v", err) + } + serverConn.Close() + flows := serverConn.(*recordingConn).flows + + feeder := make(chan struct{}) + clientConn, serverConn = net.Pipe() + + go func() { + for range feeder { + for i, f := range flows { + if i%2 == 0 { + clientConn.Write(f) + continue + } + ff := make([]byte, len(f)) + n, err := io.ReadFull(clientConn, ff) + if err != nil { + b.Fatalf("#%d: %s\nRead %d, wanted %d, got %x, wanted %x\n", i+1, err, n, len(ff), ff[:n], f) + } + if !bytes.Equal(f, ff) { + b.Fatalf("#%d: mismatch on read: got:%x want:%x", i+1, ff, f) + } + } + } + }() + + b.ResetTimer() + for i := 0; i < b.N; i++ { + feeder <- struct{}{} + server := Server(serverConn, config) + if err := server.Handshake(); err != nil { + b.Fatalf("handshake failed: %v", err) + } + } + close(feeder) +} + +func BenchmarkHandshakeServer(b *testing.B) { + b.Run("RSA", func(b *testing.B) { + benchmarkHandshakeServer(b, TLS_RSA_WITH_AES_128_GCM_SHA256, + 0, testRSACertificate, testRSAPrivateKey) + }) + b.Run("ECDHE-P256-RSA", func(b *testing.B) { + benchmarkHandshakeServer(b, TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305, + CurveP256, testRSACertificate, testRSAPrivateKey) + }) + b.Run("ECDHE-P256-ECDSA-P256", func(b *testing.B) { + benchmarkHandshakeServer(b, TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, + CurveP256, testP256Certificate, testP256PrivateKey) + }) + b.Run("ECDHE-X25519-ECDSA-P256", func(b *testing.B) { + benchmarkHandshakeServer(b, TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, + X25519, testP256Certificate, testP256PrivateKey) + }) + b.Run("ECDHE-P521-ECDSA-P521", func(b *testing.B) { + if testECDSAPrivateKey.PublicKey.Curve != elliptic.P521() { + b.Fatal("test ECDSA key doesn't use curve P-521") + } + benchmarkHandshakeServer(b, TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, + CurveP521, testECDSACertificate, testECDSAPrivateKey) + }) +} + // clientCertificatePEM and clientKeyPEM were generated with generate_cert.go // Thus, they have no ExtKeyUsage fields and trigger an error when verification // is turned on. @@ -1296,6 +1379,8 @@ var testECDSACertificate = fromHex("3082020030820162020900b8bf2d47a0d2ebf4300906 var testSNICertificate = fromHex("0441883421114c81480804c430820237308201a0a003020102020900e8f09d3fe25beaa6300d06092a864886f70d01010b0500301f310b3009060355040a1302476f3110300e06035504031307476f20526f6f74301e170d3136303130313030303030305a170d3235303130313030303030305a3023310b3009060355040a1302476f311430120603550403130b736e69746573742e636f6d30819f300d06092a864886f70d010101050003818d0030818902818100db467d932e12270648bc062821ab7ec4b6a25dfe1e5245887a3647a5080d92425bc281c0be97799840fb4f6d14fd2b138bc2a52e67d8d4099ed62238b74a0b74732bc234f1d193e596d9747bf3589f6c613cc0b041d4d92b2b2423775b1c3bbd755dce2054cfa163871d1e24c4f31d1a508baab61443ed97a77562f414c852d70203010001a3773075300e0603551d0f0101ff0404030205a0301d0603551d250416301406082b0601050507030106082b06010505070302300c0603551d130101ff0402300030190603551d0e041204109f91161f43433e49a6de6db680d79f60301b0603551d230414301280104813494d137e1631bba301d5acab6e7b300d06092a864886f70d01010b0500038181007beeecff0230dbb2e7a334af65430b7116e09f327c3bbf918107fc9c66cb497493207ae9b4dbb045cb63d605ec1b5dd485bb69124d68fa298dc776699b47632fd6d73cab57042acb26f083c4087459bc5a3bb3ca4d878d7fe31016b7bc9a627438666566e3389bfaeebe6becc9a0093ceed18d0f9ac79d56f3a73f18188988ed") +var testP256Certificate = fromHex("308201693082010ea00302010202105012dc24e1124ade4f3e153326ff27bf300a06082a8648ce3d04030230123110300e060355040a130741636d6520436f301e170d3137303533313232343934375a170d3138303533313232343934375a30123110300e060355040a130741636d6520436f3059301306072a8648ce3d020106082a8648ce3d03010703420004c02c61c9b16283bbcc14956d886d79b358aa614596975f78cece787146abf74c2d5dc578c0992b4f3c631373479ebf3892efe53d21c4f4f1cc9a11c3536b7f75a3463044300e0603551d0f0101ff0404030205a030130603551d25040c300a06082b06010505070301300c0603551d130101ff04023000300f0603551d1104083006820474657374300a06082a8648ce3d0403020349003046022100963712d6226c7b2bef41512d47e1434131aaca3ba585d666c924df71ac0448b3022100f4d05c725064741aef125f243cdbccaa2a5d485927831f221c43023bd5ae471a") + var testRSAPrivateKey = &rsa.PrivateKey{ PublicKey: rsa.PublicKey{ N: bigFromString("153980389784927331788354528594524332344709972855165340650588877572729725338415474372475094155672066328274535240275856844648695200875763869073572078279316458648124537905600131008790701752441155668003033945258023841165089852359980273279085783159654751552359397986180318708491098942831252291841441726305535546071"), @@ -1316,3 +1401,5 @@ var testECDSAPrivateKey = &ecdsa.PrivateKey{ }, D: bigFromString("5477294338614160138026852784385529180817726002953041720191098180813046231640184669647735805135001309477695746518160084669446643325196003346204701381388769751"), } + +var testP256PrivateKey, _ = x509.ParseECPrivateKey(fromHex("30770201010420012f3b52bc54c36ba3577ad45034e2e8efe1e6999851284cb848725cfe029991a00a06082a8648ce3d030107a14403420004c02c61c9b16283bbcc14956d886d79b358aa614596975f78cece787146abf74c2d5dc578c0992b4f3c631373479ebf3892efe53d21c4f4f1cc9a11c3536b7f75")) diff --git a/handshake_test.go b/handshake_test.go index 8e5410a1..4b3fa238 100644 --- a/handshake_test.go +++ b/handshake_test.go @@ -32,10 +32,10 @@ import ( // implementation. // // Tests can be updated by running them with the -update flag. This will cause -// the test files. Generally one should combine the -update flag with -test.run -// to updated a specific test. Since the reference implementation will always -// generate fresh random numbers, large parts of the reference connection will -// always change. +// the test files to be regenerated. Generally one should combine the -update +// flag with -test.run to updated a specific test. Since the reference +// implementation will always generate fresh random numbers, large parts of +// the reference connection will always change. var ( update = flag.Bool("update", false, "update golden files on disk") diff --git a/key_agreement.go b/key_agreement.go index 971e9cbc..a365c58d 100644 --- a/key_agreement.go +++ b/key_agreement.go @@ -110,14 +110,14 @@ func md5SHA1Hash(slices [][]byte) []byte { } // hashForServerKeyExchange hashes the given slices and returns their digest -// and the identifier of the hash function used. The sigAndHash argument is -// only used for >= TLS 1.2 and precisely identifies the hash function to use. -func hashForServerKeyExchange(sigAndHash signatureAndHash, version uint16, slices ...[]byte) ([]byte, crypto.Hash, error) { +// and the identifier of the hash function used. The signatureAlgorithm argument +// is only used for >= TLS 1.2 and identifies the hash function to use. +func hashForServerKeyExchange(sigType uint8, signatureAlgorithm SignatureScheme, version uint16, slices ...[]byte) ([]byte, crypto.Hash, error) { if version >= VersionTLS12 { - if !isSupportedSignatureAndHash(sigAndHash, utlsSupportedSignatureAlgorithms) { // [UTLS] + if !isSupportedSignatureAlgorithm(signatureAlgorithm, supportedSignatureAlgorithms) { // [UTLS] return nil, crypto.Hash(0), errors.New("tls: unsupported hash function used by peer") } - hashFunc, err := lookupTLSHash(sigAndHash.hash) + hashFunc, err := lookupTLSHash(signatureAlgorithm) if err != nil { return nil, crypto.Hash(0), err } @@ -128,7 +128,7 @@ func hashForServerKeyExchange(sigAndHash signatureAndHash, version uint16, slice digest := h.Sum(nil) return digest, hashFunc, nil } - if sigAndHash.signature == signatureECDSA { + if sigType == signatureECDSA { return sha1Hash(slices), crypto.SHA1, nil } return md5SHA1Hash(slices), crypto.MD5SHA1, nil @@ -137,20 +137,27 @@ func hashForServerKeyExchange(sigAndHash signatureAndHash, version uint16, slice // pickTLS12HashForSignature returns a TLS 1.2 hash identifier for signing a // ServerKeyExchange given the signature type being used and the client's // advertised list of supported signature and hash combinations. -func pickTLS12HashForSignature(sigType uint8, clientList []signatureAndHash) (uint8, error) { +func pickTLS12HashForSignature(sigType uint8, clientList []SignatureScheme) (SignatureScheme, error) { if len(clientList) == 0 { // If the client didn't specify any signature_algorithms // extension then we can assume that it supports SHA1. See - // http://tools.ietf.org/html/rfc5246#section-7.4.1.4.1 - return hashSHA1, nil + // https://tools.ietf.org/html/rfc5246#section-7.4.1.4.1 + switch sigType { + case signatureRSA: + return PKCS1WithSHA1, nil + case signatureECDSA: + return ECDSAWithSHA1, nil + default: + return 0, errors.New("tls: unknown signature algorithm") + } } - for _, sigAndHash := range clientList { - if sigAndHash.signature != sigType { + for _, sigAlg := range clientList { + if signatureFromSignatureScheme(sigAlg) != sigType { continue } - if isSupportedSignatureAndHash(sigAndHash, supportedSignatureAlgorithms) { - return sigAndHash.hash, nil + if isSupportedSignatureAlgorithm(sigAlg, supportedSignatureAlgorithms) { + return sigAlg, nil } } @@ -172,7 +179,7 @@ func curveForCurveID(id CurveID) (elliptic.Curve, bool) { } // ecdheRSAKeyAgreement implements a TLS key agreement where the server -// generates a ephemeral EC public/private key pair and signs it. The +// generates an ephemeral EC public/private key pair and signs it. The // pre-master secret is then calculated using ECDH. The signature may // either be ECDSA or RSA. type ecdheKeyAgreement struct { @@ -232,7 +239,7 @@ NextCandidate: ecdhePublic = elliptic.Marshal(curve, x, y) } - // http://tools.ietf.org/html/rfc4492#section-5.4 + // https://tools.ietf.org/html/rfc4492#section-5.4 serverECDHParams := make([]byte, 1+2+1+len(ecdhePublic)) serverECDHParams[0] = 3 // named curve serverECDHParams[1] = byte(ka.curveid >> 8) @@ -240,16 +247,17 @@ NextCandidate: serverECDHParams[3] = byte(len(ecdhePublic)) copy(serverECDHParams[4:], ecdhePublic) - sigAndHash := signatureAndHash{signature: ka.sigType} + var signatureAlgorithm SignatureScheme if ka.version >= VersionTLS12 { var err error - if sigAndHash.hash, err = pickTLS12HashForSignature(ka.sigType, clientHello.signatureAndHashes); err != nil { + signatureAlgorithm, err = pickTLS12HashForSignature(ka.sigType, clientHello.supportedSignatureAlgorithms) + if err != nil { return nil, err } } - digest, hashFunc, err := hashForServerKeyExchange(sigAndHash, ka.version, clientHello.random, hello.random, serverECDHParams) + digest, hashFunc, err := hashForServerKeyExchange(ka.sigType, signatureAlgorithm, ka.version, clientHello.random, hello.random, serverECDHParams) if err != nil { return nil, err } @@ -287,8 +295,8 @@ NextCandidate: copy(skx.key, serverECDHParams) k := skx.key[len(serverECDHParams):] if ka.version >= VersionTLS12 { - k[0] = sigAndHash.hash - k[1] = sigAndHash.signature + k[0] = byte(signatureAlgorithm >> 8) + k[1] = byte(signatureAlgorithm) k = k[2:] } k[0] = byte(len(sig) >> 8) @@ -319,13 +327,10 @@ func (ka *ecdheKeyAgreement) processClientKeyExchange(config *Config, cert *Cert if !ok { panic("internal error") } - x, y := elliptic.Unmarshal(curve, ckx.ciphertext[1:]) + x, y := elliptic.Unmarshal(curve, ckx.ciphertext[1:]) // Unmarshal also checks whether the given point is on the curve if x == nil { return nil, errClientKeyExchange } - if !curve.IsOnCurve(x, y) { - return nil, errClientKeyExchange - } x, _ = curve.ScalarMult(x, y, ka.privateKey) preMasterSecret := make([]byte, (curve.Params().BitSize+7)>>3) xBytes := x.Bytes() @@ -365,21 +370,17 @@ func (ka *ecdheKeyAgreement) processServerKeyExchange(config *Config, clientHell if !ok { return errors.New("tls: server selected unsupported curve") } - - ka.x, ka.y = elliptic.Unmarshal(curve, publicKey) + ka.x, ka.y = elliptic.Unmarshal(curve, publicKey) // Unmarshal also checks whether the given point is on the curve if ka.x == nil { return errServerKeyExchange } - if !curve.IsOnCurve(ka.x, ka.y) { - return errServerKeyExchange - } } - sigAndHash := signatureAndHash{signature: ka.sigType} + var signatureAlgorithm SignatureScheme if ka.version >= VersionTLS12 { // handle SignatureAndHashAlgorithm - sigAndHash = signatureAndHash{hash: sig[0], signature: sig[1]} - if sigAndHash.signature != ka.sigType { + signatureAlgorithm = SignatureScheme(sig[0])<<8 | SignatureScheme(sig[1]) + if signatureFromSignatureScheme(signatureAlgorithm) != ka.sigType { return errServerKeyExchange } sig = sig[2:] @@ -393,7 +394,7 @@ func (ka *ecdheKeyAgreement) processServerKeyExchange(config *Config, clientHell } sig = sig[2:] - digest, hashFunc, err := hashForServerKeyExchange(sigAndHash, ka.version, clientHello.random, serverHello.random, serverECDHParams) + digest, hashFunc, err := hashForServerKeyExchange(ka.sigType, signatureAlgorithm, ka.version, clientHello.random, serverHello.random, serverECDHParams) if err != nil { return err } diff --git a/prf.go b/prf.go index a978616b..367e0842 100644 --- a/prf.go +++ b/prf.go @@ -12,6 +12,7 @@ import ( "crypto/sha256" "crypto/sha512" "errors" + "fmt" "hash" ) @@ -34,12 +35,8 @@ func pHash(result, secret, seed []byte, hash func() hash.Hash) { h.Write(a) h.Write(seed) b := h.Sum(nil) - todo := len(b) - if j+todo > len(result) { - todo = len(result) - j - } - copy(result[j:j+todo], b) - j += todo + copy(result[j:], b) + j += len(b) h.Reset() h.Write(a) @@ -143,7 +140,7 @@ func prfForVersion(version uint16, suite *cipherSuite) func(result, secret, labe } // masterFromPreMasterSecret generates the master secret from the pre-master -// secret. See http://tools.ietf.org/html/rfc5246#section-8.1 +// secret. See https://tools.ietf.org/html/rfc5246#section-8.1 func masterFromPreMasterSecret(version uint16, suite *cipherSuite, preMasterSecret, clientRandom, serverRandom []byte) []byte { seed := make([]byte, 0, len(clientRandom)+len(serverRandom)) seed = append(seed, clientRandom...) @@ -180,19 +177,19 @@ func keysFromMasterSecret(version uint16, suite *cipherSuite, masterSecret, clie } // lookupTLSHash looks up the corresponding crypto.Hash for a given -// TLS hash identifier. -func lookupTLSHash(hash uint8) (crypto.Hash, error) { - switch hash { - case hashSHA1: +// hash from a TLS SignatureScheme. +func lookupTLSHash(signatureAlgorithm SignatureScheme) (crypto.Hash, error) { + switch signatureAlgorithm { + case PKCS1WithSHA1, ECDSAWithSHA1: return crypto.SHA1, nil - case hashSHA256: + case PKCS1WithSHA256, PSSWithSHA256, ECDSAWithP256AndSHA256: return crypto.SHA256, nil - case hashSHA384: + case PKCS1WithSHA384, PSSWithSHA384, ECDSAWithP384AndSHA384: return crypto.SHA384, nil - case disabledHashSHA512: + case PKCS1WithSHA512, PSSWithSHA512, ECDSAWithP521AndSHA512: return crypto.SHA512, nil default: - return 0, errors.New("tls: unsupported hash algorithm") + return 0, fmt.Errorf("tls: unsupported signature algorithm: %#04x", signatureAlgorithm) } } @@ -312,31 +309,26 @@ func (h finishedHash) serverSum(masterSecret []byte) []byte { return out } -// selectClientCertSignatureAlgorithm returns a signatureAndHash to sign a +// selectClientCertSignatureAlgorithm returns a SignatureScheme to sign a // client's CertificateVerify with, or an error if none can be found. -func (h finishedHash) selectClientCertSignatureAlgorithm(serverList []signatureAndHash, sigType uint8) (signatureAndHash, error) { - if h.version < VersionTLS12 { - // Nothing to negotiate before TLS 1.2. - return signatureAndHash{signature: sigType}, nil - } - +func (h finishedHash) selectClientCertSignatureAlgorithm(serverList []SignatureScheme, sigType uint8) (SignatureScheme, error) { for _, v := range serverList { - if v.signature == sigType && isSupportedSignatureAndHash(v, supportedSignatureAlgorithms) { + if signatureFromSignatureScheme(v) == sigType && isSupportedSignatureAlgorithm(v, supportedSignatureAlgorithms) { return v, nil } } - return signatureAndHash{}, errors.New("tls: no supported signature algorithm found for signing client certificate") + return 0, errors.New("tls: no supported signature algorithm found for signing client certificate") } // hashForClientCertificate returns a digest, hash function, and TLS 1.2 hash // id suitable for signing by a TLS client certificate. -func (h finishedHash) hashForClientCertificate(signatureAndHash signatureAndHash, masterSecret []byte) ([]byte, crypto.Hash, error) { +func (h finishedHash) hashForClientCertificate(sigType uint8, signatureAlgorithm SignatureScheme, masterSecret []byte) ([]byte, crypto.Hash, error) { if (h.version == VersionSSL30 || h.version >= VersionTLS12) && h.buffer == nil { panic("a handshake hash for a client-certificate was requested after discarding the handshake buffer") } if h.version == VersionSSL30 { - if signatureAndHash.signature != signatureRSA { + if sigType != signatureRSA { return nil, 0, errors.New("tls: unsupported signature type for client certificate") } @@ -347,7 +339,7 @@ func (h finishedHash) hashForClientCertificate(signatureAndHash signatureAndHash return finishedSum30(md5Hash, sha1Hash, masterSecret, nil), crypto.MD5SHA1, nil } if h.version >= VersionTLS12 { - hashAlg, err := lookupTLSHash(signatureAndHash.hash) + hashAlg, err := lookupTLSHash(signatureAlgorithm) if err != nil { return nil, 0, err } @@ -356,7 +348,7 @@ func (h finishedHash) hashForClientCertificate(signatureAndHash signatureAndHash return hash.Sum(nil), hashAlg, nil } - if signatureAndHash.signature == signatureECDSA { + if sigType == signatureECDSA { return h.server.Sum(nil), crypto.SHA1, nil } @@ -368,3 +360,43 @@ func (h finishedHash) hashForClientCertificate(signatureAndHash signatureAndHash func (h *finishedHash) discardHandshakeBuffer() { h.buffer = nil } + +// noExportedKeyingMaterial is used as a value of +// ConnectionState.ExportKeyingMaterial when renegotation is enabled and thus +// we wish to fail all key-material export requests. +func noExportedKeyingMaterial(label string, context []byte, length int) ([]byte, bool) { + return nil, false +} + +// ekmFromMasterSecret generates exported keying material as defined in +// https://tools.ietf.org/html/rfc5705. +func ekmFromMasterSecret(version uint16, suite *cipherSuite, masterSecret, clientRandom, serverRandom []byte) func(string, []byte, int) ([]byte, bool) { + return func(label string, context []byte, length int) ([]byte, bool) { + switch label { + case "client finished", "server finished", "master secret", "key expansion": + // These values are reserved and may not be used. + return nil, false + } + + seedLen := len(serverRandom) + len(clientRandom) + if context != nil { + seedLen += 2 + len(context) + } + seed := make([]byte, 0, seedLen) + + seed = append(seed, clientRandom...) + seed = append(seed, serverRandom...) + + if context != nil { + if len(context) >= 1<<16 { + return nil, false + } + seed = append(seed, byte(len(context)>>8), byte(len(context))) + seed = append(seed, context...) + } + + keyMaterial := make([]byte, length) + prfForVersion(version, suite)(keyMaterial, masterSecret, []byte(label), seed) + return keyMaterial, true + } +} diff --git a/prf_test.go b/prf_test.go index 0a1b1bcb..80af32c6 100644 --- a/prf_test.go +++ b/prf_test.go @@ -34,14 +34,15 @@ func TestSplitPreMasterSecret(t *testing.T) { } type testKeysFromTest struct { - version uint16 - suite *cipherSuite - preMasterSecret string - clientRandom, serverRandom string - masterSecret string - clientMAC, serverMAC string - clientKey, serverKey string - macLen, keyLen int + version uint16 + suite *cipherSuite + preMasterSecret string + clientRandom, serverRandom string + masterSecret string + clientMAC, serverMAC string + clientKey, serverKey string + macLen, keyLen int + contextKeyingMaterial, noContextKeyingMaterial string } func TestKeysFromPreMasterSecret(t *testing.T) { @@ -67,6 +68,22 @@ func TestKeysFromPreMasterSecret(t *testing.T) { serverKeyString != test.serverKey { t.Errorf("#%d: got: (%s, %s, %s, %s) want: (%s, %s, %s, %s)", i, clientMACString, serverMACString, clientKeyString, serverKeyString, test.clientMAC, test.serverMAC, test.clientKey, test.serverKey) } + + ekm := ekmFromMasterSecret(test.version, test.suite, masterSecret, clientRandom, serverRandom) + contextKeyingMaterial, ok := ekm("label", []byte("context"), 32) + if !ok { + t.Fatalf("ekmFromMasterSecret failed") + } + + noContextKeyingMaterial, ok := ekm("label", nil, 32) + if !ok { + t.Fatalf("ekmFromMasterSecret failed") + } + + if hex.EncodeToString(contextKeyingMaterial) != test.contextKeyingMaterial || + hex.EncodeToString(noContextKeyingMaterial) != test.noContextKeyingMaterial { + t.Errorf("#%d: got keying material: (%s, %s) want: (%s, %s)", i, contextKeyingMaterial, noContextKeyingMaterial, test.contextKeyingMaterial, test.noContextKeyingMaterial) + } } } @@ -94,6 +111,8 @@ var testKeysFromTests = []testKeysFromTest{ "e076e33206b30507a85c32855acd0919", 20, 16, + "4d1bb6fc278c37d27aa6e2a13c2e079095d143272c2aa939da33d88c1c0cec22", + "93fba89599b6321ae538e27c6548ceb8b46821864318f5190d64a375e5d69d41", }, { VersionTLS10, @@ -108,6 +127,8 @@ var testKeysFromTests = []testKeysFromTest{ "df3f94f6e1eacc753b815fe16055cd43", 20, 16, + "2c9f8961a72b97cbe76553b5f954caf8294fc6360ef995ac1256fe9516d0ce7f", + "274f19c10291d188857ad8878e2119f5aa437d4da556601cf1337aff23154016", }, { VersionTLS10, @@ -122,6 +143,8 @@ var testKeysFromTests = []testKeysFromTest{ "ff07edde49682b45466bd2e39464b306", 20, 16, + "678b0d43f607de35241dc7e9d1a7388a52c35033a1a0336d4d740060a6638fe2", + "f3b4ac743f015ef21d79978297a53da3e579ee047133f38c234d829c0f907dab", }, { VersionSSL30, @@ -136,5 +159,7 @@ var testKeysFromTests = []testKeysFromTest{ "2b9d4b4a60cb7f396780ebff50650419", 20, 16, + "d230d8fc4f695be60368635e5268c414ca3ae0995dd93aba9f877272049f35bf", + "6b5e9646e04df8e99482a9b22dbfbe42ddd4725e4b041d02d11e4ef44ad13120", }, } diff --git a/testdata/Client-TLSv10-ClientCert-ECDSA-ECDSA b/testdata/Client-TLSv10-ClientCert-ECDSA-ECDSA index 099cef4b..f7b66122 100644 --- a/testdata/Client-TLSv10-ClientCert-ECDSA-ECDSA +++ b/testdata/Client-TLSv10-ClientCert-ECDSA-ECDSA @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 4f 5d 09 43 37 |....Y...U..O].C7| -00000010 70 c6 d9 8b 07 ca 1a f0 fb a7 05 51 53 67 7a 7e |p..........QSgz~| -00000020 c9 c6 68 10 10 2a 69 bd 47 db 8e 20 f2 13 5b 26 |..h..*i.G.. ..[&| -00000030 e6 8e 19 b0 bc b5 ee 1f ca 44 5d 32 11 37 b0 78 |.........D]2.7.x| -00000040 49 16 6e c2 44 86 52 3f 9f 05 15 aa c0 09 00 00 |I.n.D.R?........| +00000000 16 03 01 00 59 02 00 00 55 03 01 37 4c 3d 48 47 |....Y...U..7L=HG| +00000010 2c b1 fb 63 1d 94 a6 b7 57 87 72 ec 4d 29 f9 4e |,..c....W.r.M).N| +00000020 81 d1 b6 27 8c 6a 27 c0 d3 c5 32 20 2d 80 95 68 |...'.j'...2 -..h| +00000030 a9 f9 2a 79 af be 9f d3 ce 4f 6a 2c 6b b3 dd 9e |..*y.....Oj,k...| +00000040 62 e2 08 b9 24 a3 fe 23 11 f8 cd ab c0 09 00 00 |b...$..#........| 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....| @@ -49,18 +49,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 01 00 b5 0c 00 00 b1 03 00 1d 20 56 b4 |*............ V.| -00000280 39 d4 8f 18 79 87 89 d0 04 ee 12 54 20 2b be c1 |9...y......T +..| -00000290 94 99 40 a2 73 df 1e 92 66 0b d1 f1 d6 38 00 8b |..@.s...f....8..| -000002a0 30 81 88 02 42 01 38 12 59 bd ea 44 59 f4 6f a9 |0...B.8.Y..DY.o.| -000002b0 8e 9e a0 85 b5 b3 55 3e 76 49 b7 75 98 6e 81 30 |......U>vI.u.n.0| -000002c0 c4 73 bd 54 78 39 f7 e2 22 49 4c 93 0d c1 26 89 |.s.Tx9.."IL...&.| -000002d0 08 b9 9c 8b 86 3e 81 2c a5 50 7c e9 88 ec c0 ad |.....>.,.P|.....| -000002e0 9e e0 40 ac 4e 0a fd 02 42 01 2e 0d 37 73 6a 0d |..@.N...B...7sj.| -000002f0 a4 60 08 a0 2b 32 0f 87 8d f8 9b c7 68 cf 50 79 |.`..+2......h.Py| -00000300 73 f7 cf 93 aa 75 57 20 58 3d 13 c0 f3 66 7d 59 |s....uW X=...f}Y| -00000310 15 73 d4 29 03 34 df 33 00 c0 b5 71 bc 2a 90 ef |.s.).4.3...q.*..| -00000320 3c 02 5e ea 9d 29 93 1c 18 db 04 16 03 01 00 0a |<.^..)..........| +00000270 2a 16 03 01 00 b5 0c 00 00 b1 03 00 1d 20 14 a7 |*............ ..| +00000280 f5 4f 06 cf f6 92 3d 98 59 e2 36 72 2c 45 ce 98 |.O....=.Y.6r,E..| +00000290 a2 97 c3 3c ba 67 b3 6a fe 0a 2c f7 ae 03 00 8b |...<.g.j..,.....| +000002a0 30 81 88 02 42 00 cd a1 a2 cc 81 c9 7a c5 a9 54 |0...B.......z..T| +000002b0 19 61 0a d3 23 7a cb f8 52 54 16 c3 38 b6 9e f2 |.a..#z..RT..8...| +000002c0 a6 7f 5a 5c e7 3f ae c8 85 c1 01 6f 90 94 c4 e1 |..Z\.?.....o....| +000002d0 c3 56 b3 da 4c 92 9c 11 0f 4d 06 31 3f d9 a4 77 |.V..L....M.1?..w| +000002e0 1e 99 f6 3d ef 5e 06 02 42 01 4c f6 ac 3b 87 7b |...=.^..B.L..;.{| +000002f0 a1 3b 59 28 ab 00 dd 06 e7 9c 8a 8b 0e 50 48 49 |.;Y(.........PHI| +00000300 4d b8 56 34 94 6a 7f 7a 6c 17 b0 2a 29 42 18 aa |M.V4.j.zl..*)B..| +00000310 a6 86 ce e0 d7 77 c1 e0 ea 40 96 50 79 ee e0 3c |.....w...@.Py..<| +00000320 6b 4e c1 07 b3 05 f5 9a 71 aa 9d 16 03 01 00 0a |kN......q.......| 00000330 0d 00 00 06 03 01 02 40 00 00 16 03 01 00 04 0e |.......@........| 00000340 00 00 00 |...| >>> Flow 3 (client to server) @@ -99,30 +99,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 53 2c a8 59 57 d2 |....0...B.S,.YW.| -00000250 fc 0b 12 27 6f 9a f7 4e a0 dd 2c af 1b 4c 81 0b |...'o..N..,..L..| -00000260 97 79 7e 6f dd a1 cf cb e2 14 4d af 76 99 d8 06 |.y~o......M.v...| -00000270 4f 8d 4f 86 d3 25 04 ea 80 02 ae 25 10 9d 2d 59 |O.O..%.....%..-Y| -00000280 11 39 65 6b 83 d0 16 7d bf a8 a4 02 42 01 f2 16 |.9ek...}....B...| -00000290 6c f1 e6 3b b1 af fb 3f 99 f0 8a e3 c8 62 ba 71 |l..;...?.....b.q| -000002a0 12 a1 2c 1e 15 74 d5 98 b5 ae 9f 50 a2 15 9b 73 |..,..t.....P...s| -000002b0 9a 5f 2c 90 d4 9d 20 6f 35 b6 32 3e f4 b7 dd 50 |._,... o5.2>...P| -000002c0 64 42 e3 4e 51 f3 11 4b b4 9e a3 92 a2 10 59 14 |dB.NQ..K......Y.| -000002d0 03 01 00 01 01 16 03 01 00 30 78 8c 7c 31 ce 16 |.........0x.|1..| -000002e0 8f 1f 2a b9 ee cb 72 7f 1e 59 5b ad c2 58 32 77 |..*...r..Y[..X2w| -000002f0 fa 46 83 b9 67 0c 5f 41 25 6a 38 ec 20 d2 80 e6 |.F..g._A%j8. ...| -00000300 be 85 ce 94 b1 89 5f 8d 17 9b |......_...| +00000230 c2 ed 90 99 5f 58 cb 3b 74 16 03 01 00 90 0f 00 |...._X.;t.......| +00000240 00 8c 00 8a 30 81 87 02 41 69 90 2d 22 89 47 af |....0...Ai.-".G.| +00000250 7e ab 99 d8 fc 71 00 e0 03 d8 03 36 2c 9f 5d 59 |~....q.....6,.]Y| +00000260 27 2e c8 88 6f ba 7f 61 5a 86 8e 87 fd 3e 92 23 |'...o..aZ....>.#| +00000270 e3 4e 49 af fe 2b 34 80 63 dd e3 e4 6b ca bd 08 |.NI..+4.c...k...| +00000280 31 c8 54 27 d2 31 75 68 56 5d 02 42 01 1c 80 ed |1.T'.1uhV].B....| +00000290 fc 67 1a e1 cd c0 dc 9d 22 2b 7f 9b 0a 6d 3e 3b |.g......"+...m>;| +000002a0 ac 37 90 20 67 50 a1 e0 16 3c 3c 8c a1 46 2b 81 |.7. gP...<<..F+.| +000002b0 48 b3 c3 c7 57 3b 26 17 51 4e d7 30 08 9c 2e d9 |H...W;&.QN.0....| +000002c0 87 41 93 21 94 fe 47 34 16 a1 e3 dc 68 a7 14 03 |.A.!..G4....h...| +000002d0 01 00 01 01 16 03 01 00 30 68 22 41 51 d1 f0 15 |........0h"AQ...| +000002e0 e5 19 86 95 89 c2 a1 65 23 b2 61 44 fa 7e 07 9e |.......e#.aD.~..| +000002f0 f9 91 4b 17 a5 3b 7c 6e e5 ee bf 06 4c 91 00 f5 |..K..;|n....L...| +00000300 be b7 d5 b5 7c 88 21 0d ae |....|.!..| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 95 d6 f2 a2 75 |..........0....u| -00000010 0e f8 c7 7c f9 1d 65 b4 82 08 c9 62 aa 93 24 8f |...|..e....b..$.| -00000020 4d 11 c7 b0 17 04 f1 0a 8b be 64 06 f9 07 20 0b |M.........d... .| -00000030 f0 3b 92 db 62 ba 63 91 a1 58 fe |.;..b.c..X.| +00000000 14 03 01 00 01 01 16 03 01 00 30 22 37 a1 e7 52 |..........0"7..R| +00000010 94 4a e6 d8 e2 0a 96 37 9e 3e f2 a1 96 42 0f c9 |.J.....7.>...B..| +00000020 ba 95 15 27 3e 9c 01 04 0e 41 01 e5 a6 c7 b4 c7 |...'>....A......| +00000030 c6 54 b2 0e 96 52 6c cd 73 11 d3 |.T...Rl.s..| >>> Flow 5 (client to server) -00000000 17 03 01 00 20 3e a4 b5 b5 2f 4f c8 e0 08 cf 8a |.... >.../O.....| -00000010 9c f6 69 94 a9 91 0f 5d c5 06 ee 71 e2 42 11 b4 |..i....]...q.B..| -00000020 a8 17 54 19 3d 17 03 01 00 20 ce d2 8d 8a 78 e4 |..T.=.... ....x.| -00000030 15 a4 ab 83 0d 9c fa 47 1c 8f 2d 87 a8 55 65 9d |.......G..-..Ue.| -00000040 7f 03 75 11 62 83 0b 44 0b f1 15 03 01 00 20 eb |..u.b..D...... .| -00000050 1a 46 95 1e 1b 10 b7 25 a8 c4 5b db 8b 3c 61 c9 |.F.....%..[..>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 32 7c 5c ac bd |....Y...U..2|\..| -00000010 77 70 c2 f8 f0 20 37 e4 e8 45 db be 97 22 e4 f3 |wp... 7..E..."..| -00000020 24 1c c1 29 8f 02 e1 bc ba 4a 1e 20 81 6f b5 12 |$..).....J. .o..| -00000030 c0 9d 9e de 2f b6 04 b2 74 34 da 2b 04 55 2c 4f |..../...t4.+.U,O| -00000040 dd 01 8a 30 d9 67 45 9f f1 31 f1 78 c0 13 00 00 |...0.gE..1.x....| +00000000 16 03 01 00 59 02 00 00 55 03 01 af af 0f 49 f7 |....Y...U.....I.| +00000010 fa 29 30 cb 90 30 b4 70 d2 94 96 db 99 f9 4d 10 |.)0..0.p......M.| +00000020 4c 14 67 a0 2f ac cc e6 7f 89 c2 20 d8 e0 15 ba |L.g./...... ....| +00000030 55 99 b7 20 04 e2 84 e4 5d 97 4b ea 6e d5 6b db |U.. ....].K.n.k.| +00000040 dc 23 2a a1 76 4c fd c0 5f a6 4a e1 c0 13 00 00 |.#*.vL.._.J.....| 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..............| @@ -54,17 +54,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 2f f7 3b 44 1a 47 85 |........ /.;D.G.| -000002d0 d7 db 40 28 4e 6a f1 2f 1e b5 cc b0 58 0d 92 93 |..@(Nj./....X...| -000002e0 30 41 65 08 05 f7 51 23 57 00 80 87 0d c3 22 ff |0Ae...Q#W.....".| -000002f0 aa d1 3f 55 09 cf 98 dc 91 f8 d0 63 58 da dc 52 |..?U.......cX..R| -00000300 03 f0 06 a6 4e 7e 5b 96 a1 3b d7 8e 1e 68 50 ef |....N~[..;...hP.| -00000310 59 3f 78 06 eb 9a 33 c5 01 3c e0 fb c6 f1 b6 bc |Y?x...3..<......| -00000320 5a bc 95 e8 43 d9 ab 36 05 26 13 c5 a6 68 9b e2 |Z...C..6.&...h..| -00000330 b1 42 6e 89 60 5c b3 91 02 c5 8b ab 53 d1 d9 79 |.Bn.`\......S..y| -00000340 d0 37 b5 5e 2c 16 72 29 f8 9c d0 4a 46 87 46 f4 |.7.^,.r)...JF.F.| -00000350 01 2b e8 6a 4f 59 d1 2d 3d de 4b 3b 0e c7 cd 42 |.+.jOY.-=.K;...B| -00000360 ae d2 94 e9 a6 6b 65 ad 3f 77 57 16 03 01 00 0a |.....ke.?wW.....| +000002c0 aa 0c 00 00 a6 03 00 1d 20 b7 12 77 ce bd 55 19 |........ ..w..U.| +000002d0 d6 16 92 11 72 ad dc b4 9c fd 7a cd dc 31 53 0f |....r.....z..1S.| +000002e0 bc bf 12 0a 9f 32 c9 e3 09 00 80 6e 49 99 f1 c2 |.....2.....nI...| +000002f0 6c 4e cd c1 bb cc b1 db fd e5 3a 12 c9 94 dd 11 |lN........:.....| +00000300 84 b3 5f 43 15 7c f5 05 a0 13 90 05 0e bb 13 60 |.._C.|.........`| +00000310 c5 ef 30 e6 cb 5d b2 50 10 99 1f 01 13 43 37 e8 |..0..].P.....C7.| +00000320 6c 95 aa ae 3e f6 53 25 92 48 d1 f6 e1 7d 88 0e |l...>.S%.H...}..| +00000330 23 fb ee 72 e8 84 83 6b bc d6 96 3c 1d 62 98 3e |#..r...k...<.b.>| +00000340 89 c7 19 cc cd 08 d3 cb b2 fe 39 51 f0 62 89 71 |..........9Q.b.q| +00000350 d7 83 78 33 0d de f8 81 5a e4 f3 ea 55 e9 58 41 |..x3....Z...U.XA| +00000360 94 b2 1b b9 1f 3b 52 f1 d3 d0 51 16 03 01 00 0a |.....;R...Q.....| 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) @@ -104,29 +104,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 b3 df 59 06 71 e6 |....0...B...Y.q.| -00000250 74 c9 9d d5 2c b0 a7 f8 1e ac bc f3 5a e2 ed 0b |t...,.......Z...| -00000260 f2 e9 37 82 c6 fe 7c 23 b9 63 6e 88 1d 63 31 ad |..7...|#.cn..c1.| -00000270 d3 29 48 eb f3 5d 52 f5 76 ab fc 16 9e 09 4f 49 |.)H..]R.v.....OI| -00000280 cf b4 03 6a ed db e5 13 ea 67 74 02 42 01 8e 2f |...j.....gt.B../| -00000290 b8 12 38 c9 a6 8c 77 40 85 89 ef d8 ac 08 00 c0 |..8...w@........| -000002a0 ee 70 68 a6 88 1f d1 67 0d 1b 7b 1f be e0 a7 b9 |.ph....g..{.....| -000002b0 c3 7d ff 6a 39 3c b9 aa f6 78 ac 9a ca 67 55 0c |.}.j9<...x...gU.| -000002c0 38 23 cc ab 18 c0 b9 ea 9c 84 61 32 0a 0d f3 14 |8#........a2....| -000002d0 03 01 00 01 01 16 03 01 00 30 73 12 76 94 30 37 |.........0s.v.07| -000002e0 e5 e3 30 59 88 2f 5f e9 f2 7b 3d 02 88 65 09 14 |..0Y./_..{=..e..| -000002f0 68 23 02 d0 ae e5 7f 7f 8d 95 3b 1c 75 f5 1f 24 |h#........;.u..$| -00000300 43 60 29 bb 0e 69 88 36 a9 68 |C`)..i.6.h| +00000240 00 8d 00 8b 30 81 88 02 42 01 8b 84 b3 ac 64 4e |....0...B.....dN| +00000250 77 d2 47 77 13 2f 45 ec 0b 3f 92 ef 55 cc 78 8e |w.Gw./E..?..U.x.| +00000260 d9 c1 ae 4b c5 6f 01 d0 55 ca 0b 12 cf 3c ac c8 |...K.o..U....<..| +00000270 46 7b 6a c4 22 f3 16 85 1a 2a ea 4f f6 65 1c c9 |F{j."....*.O.e..| +00000280 90 7b d1 c5 9f c8 59 73 43 47 bd 02 42 00 93 a3 |.{....YsCG..B...| +00000290 35 0a 1f 14 de 23 fa 92 a4 d6 5e dc fd c0 85 87 |5....#....^.....| +000002a0 fb 23 12 bd 8e d7 f3 98 33 49 fc 88 92 13 8a 7d |.#......3I.....}| +000002b0 ee 12 e5 d6 b3 ff bf 04 7e 48 ff 83 6b 76 70 b8 |........~H..kvp.| +000002c0 8c 1f f5 44 4b a7 fb 48 81 87 a0 6b 66 45 15 14 |...DK..H...kfE..| +000002d0 03 01 00 01 01 16 03 01 00 30 83 d6 1c 9f e9 ef |.........0......| +000002e0 49 45 e4 97 17 2c af 6f 4e 59 0e 4d 43 69 88 fd |IE...,.oNY.MCi..| +000002f0 3d 99 00 9e 02 3c 33 78 d6 37 6e f9 55 43 ac 16 |=....<3x.7n.UC..| +00000300 2e 14 0e 0e 44 a1 f7 1e fc 09 |....D.....| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 a0 5f 7f 59 e0 |..........0._.Y.| -00000010 b1 7e ed ad de 6a 47 94 21 e5 1b 77 a7 d0 88 fd |.~...jG.!..w....| -00000020 9e 4e 48 87 1d cf 40 e4 b9 38 a3 2e e4 00 c3 94 |.NH...@..8......| -00000030 95 20 1c 97 d2 a9 3a 11 86 30 5f |. ....:..0_| +00000000 14 03 01 00 01 01 16 03 01 00 30 75 1b 70 70 73 |..........0u.pps| +00000010 c3 2d d5 7a a5 ca 63 b3 b7 b1 57 a8 bc fd 5c 95 |.-.z..c...W...\.| +00000020 ed e7 88 26 b3 9b a6 8d c7 3f 02 70 a7 98 1c 33 |...&.....?.p...3| +00000030 86 67 f7 ca 76 42 53 99 3b 17 ef |.g..vBS.;..| >>> Flow 5 (client to server) -00000000 17 03 01 00 20 ca 4c f5 cb 81 66 2f 97 e3 5d 8b |.... .L...f/..].| -00000010 dd 7d dd fa fe 8c 98 45 3f 3d 16 17 98 4d b5 15 |.}.....E?=...M..| -00000020 6c 91 8a 79 7a 17 03 01 00 20 96 ec 30 cb d3 78 |l..yz.... ..0..x| -00000030 b9 0a a1 ab fd 12 25 d5 82 7b 7a 3c 17 56 7b b7 |......%..{z<.V{.| -00000040 c4 6e ea a2 5b d7 6b b6 22 a9 15 03 01 00 20 ba |.n..[.k."..... .| -00000050 ff fe 2b 60 83 34 ad 45 75 15 d5 95 b3 27 92 46 |..+`.4.Eu....'.F| -00000060 47 ae f1 d4 a4 9d 63 ef db d9 b5 37 0f f1 74 |G.....c....7..t| +00000000 17 03 01 00 20 61 40 b2 4d fe 8d 3c a1 d2 4b 36 |.... a@.M..<..K6| +00000010 bb 5d 6c 77 65 6e 66 55 57 12 a5 62 9d 56 f6 53 |.]lwenfUW..b.V.S| +00000020 dd a6 38 7c 32 17 03 01 00 20 e5 98 82 47 a0 cc |..8|2.... ...G..| +00000030 a7 02 98 71 01 00 d7 ee 1c 35 16 d6 7a 03 80 95 |...q.....5..z...| +00000040 d0 69 9a e9 bb 4c 9c 0a 92 59 15 03 01 00 20 a2 |.i...L...Y.... .| +00000050 96 8a 21 a9 a4 28 83 f8 fb 3c aa 6e 53 fb 23 7e |..!..(...<.nS.#~| +00000060 a1 08 4f 16 8f 34 02 27 34 e2 c2 71 1e a2 c7 |..O..4.'4..q...| diff --git a/testdata/Client-TLSv10-ClientCert-RSA-ECDSA b/testdata/Client-TLSv10-ClientCert-RSA-ECDSA index 67772e17..65bc2783 100644 --- a/testdata/Client-TLSv10-ClientCert-RSA-ECDSA +++ b/testdata/Client-TLSv10-ClientCert-RSA-ECDSA @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 ed 13 de 15 cc |....Y...U.......| -00000010 90 4f f3 72 5a d4 7a 01 26 fa 7a ae 38 92 a0 d6 |.O.rZ.z.&.z.8...| -00000020 70 4a 20 f6 7e 11 f7 ac e6 94 87 20 9f 37 0f 8f |pJ .~...... .7..| -00000030 55 a6 6a 97 b8 0f 56 aa 2d 69 c5 79 01 d5 c0 01 |U.j...V.-i.y....| -00000040 2c 2b 0e 16 d8 79 a3 f3 44 99 7c 01 c0 09 00 00 |,+...y..D.|.....| +00000000 16 03 01 00 59 02 00 00 55 03 01 3b ff d1 3d 27 |....Y...U..;..='| +00000010 af 29 b4 e8 d8 71 40 08 5c 7b 8b a9 23 8a 70 1a |.)...q@.\{..#.p.| +00000020 c8 a4 19 11 71 7b 92 58 03 af 99 20 c8 18 fc 7d |....q{.X... ...}| +00000030 e6 ed 7b d7 1c 2a 5e d5 5b 22 d9 dc 9e b1 aa 88 |..{..*^.["......| +00000040 0a 9f fb 4a 8a d7 27 d9 65 df 76 3a c0 09 00 00 |...J..'.e.v:....| 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....| @@ -49,18 +49,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 01 00 b4 0c 00 00 b0 03 00 1d 20 ca e8 |*............ ..| -00000280 ef 79 56 cd aa eb 12 8f e1 89 d1 3c 63 1f c8 54 |.yV........>> Flow 3 (client to server) @@ -99,29 +99,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 8f 6f 77 5d d5 99 28 0c 7a |........ow]..(.z| -00000240 36 f2 50 ec 9a e6 eb 88 ac 45 f7 9b 6f 98 84 ba |6.P......E..o...| -00000250 fb 3c b8 d6 54 61 b8 87 25 50 3c 31 5a d2 c1 54 |.<..Ta..%P<1Z..T| -00000260 e8 ed c3 93 cc 98 b1 c3 d4 84 11 d8 a0 c7 ae 67 |...............g| -00000270 67 35 6a 0f 93 18 bb 18 52 f8 25 88 1f d2 19 4d |g5j.....R.%....M| -00000280 3b 4c f2 0f f7 06 68 57 cf 45 20 e0 57 75 37 e9 |;L....hW.E .Wu7.| -00000290 cd 86 1f e5 d2 90 1e cf 3a 18 fd 45 bc a1 84 63 |........:..E...c| -000002a0 36 d8 ac 6b 09 41 da 0a 87 7f ab ce 8e 49 e6 c8 |6..k.A.......I..| -000002b0 bf fb 2c 3b 7b e9 ae 14 03 01 00 01 01 16 03 01 |..,;{...........| -000002c0 00 30 7d 65 9c c1 25 e4 85 d7 39 d4 67 cf eb f1 |.0}e..%...9.g...| -000002d0 b7 c2 4d e6 5d bd 13 74 55 22 f0 8a 7e a6 a2 eb |..M.]..tU"..~...| -000002e0 93 cc b7 fa 86 b1 b5 e0 a3 ef ee 56 f0 cd f7 a5 |...........V....| -000002f0 d8 9e |..| +00000230 86 0f 00 00 82 00 80 35 95 c1 44 9d 66 18 82 91 |.......5..D.f...| +00000240 5b 25 68 80 9c 07 78 c6 ed da 98 25 07 9a c4 08 |[%h...x....%....| +00000250 b3 10 a2 67 b0 5b 0e c2 3d 25 af ea bc e1 5f a7 |...g.[..=%...._.| +00000260 d2 58 e9 a7 0c c8 c4 10 d0 44 a4 a1 a6 07 12 b1 |.X.......D......| +00000270 7f 22 6c 54 4e 97 ad b5 55 a0 58 ed c7 52 7a d6 |."lTN...U.X..Rz.| +00000280 5a 23 4f 6b b2 41 0f 01 2b 97 93 02 6f ce bd 32 |Z#Ok.A..+...o..2| +00000290 12 d3 af 32 09 0c a8 1a 16 58 f3 d8 d6 fe ba 84 |...2.....X......| +000002a0 57 b0 18 5c 86 35 83 54 6e f7 04 21 29 62 1c 76 |W..\.5.Tn..!)b.v| +000002b0 dc 44 03 5c 3a 1a 41 14 03 01 00 01 01 16 03 01 |.D.\:.A.........| +000002c0 00 30 2e 3f d7 4c 32 5f 13 48 47 46 b0 30 c1 00 |.0.?.L2_.HGF.0..| +000002d0 49 5d 6d 58 b6 1c ea f4 f9 1c 48 b9 01 9c 9c 94 |I]mX......H.....| +000002e0 7f 83 5a e7 c3 10 92 ad 9f fa a8 c6 57 49 ae 3a |..Z.........WI.:| +000002f0 3a 2a |:*| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 ff 13 14 c5 ad |..........0.....| -00000010 88 ec a1 cf cc 0d 3f 7b ec 50 4a 25 69 1f 18 dc |......?{.PJ%i...| -00000020 b1 99 1f 3b 78 60 e0 83 c0 cd 9a b3 0d 59 0b f8 |...;x`.......Y..| -00000030 8a b7 7c 2c b4 2c e4 d0 49 82 82 |..|,.,..I..| +00000000 14 03 01 00 01 01 16 03 01 00 30 29 fc da 17 09 |..........0)....| +00000010 5a 69 1b 4f 2e 4f 40 1d 9e 69 6c 62 ee 8b f9 53 |Zi.O.O@..ilb...S| +00000020 48 6a ae b6 85 df ab f3 89 8d f3 6e df f0 8f 14 |Hj.........n....| +00000030 79 a3 d8 d5 e4 3c 6b dd fb 77 24 |y....>> Flow 5 (client to server) -00000000 17 03 01 00 20 51 91 74 f6 31 07 15 6b 9e 0b 28 |.... Q.t.1..k..(| -00000010 02 b8 ec 9d c6 e3 15 24 d3 ea 4b 27 d0 fa 9f c2 |.......$..K'....| -00000020 c4 8d 37 b3 d9 17 03 01 00 20 7d 97 75 fe de 3f |..7...... }.u..?| -00000030 ae ab e6 a8 1d 76 1c 06 9c 02 61 cc f5 1d fe c8 |.....v....a.....| -00000040 a2 dc ae 97 7f 1c 05 19 e5 14 15 03 01 00 20 4a |.............. J| -00000050 bc 45 97 6b 09 8e 47 5f d5 a0 97 78 79 67 09 8d |.E.k..G_...xyg..| -00000060 d3 80 38 58 5c cc ae 8e d4 67 1d 93 2b 20 79 |..8X\....g..+ y| +00000000 17 03 01 00 20 89 6b 03 b2 9d cc f2 6f 8f 27 6c |.... .k.....o.'l| +00000010 d4 49 61 4f 88 c1 6c b6 ef 2e 75 b9 0d d4 06 b0 |.IaO..l...u.....| +00000020 cb 6f 80 70 f6 17 03 01 00 20 ab 92 7f df 5f 38 |.o.p..... ...._8| +00000030 87 d7 7e ff 9c 17 14 cc 41 8d 28 98 7d 6a 59 78 |..~.....A.(.}jYx| +00000040 f0 9f d1 f1 f1 5a 75 27 fa 57 15 03 01 00 20 a3 |.....Zu'.W.... .| +00000050 3b 0c 84 bc d7 5d f6 87 b1 14 bd c4 6e a8 14 ae |;....]......n...| +00000060 e8 fd f2 50 67 b9 fa 6c 86 d8 6d 84 87 5e fe |...Pg..l..m..^.| diff --git a/testdata/Client-TLSv10-ClientCert-RSA-RSA b/testdata/Client-TLSv10-ClientCert-RSA-RSA index e585894d..fef2ac07 100644 --- a/testdata/Client-TLSv10-ClientCert-RSA-RSA +++ b/testdata/Client-TLSv10-ClientCert-RSA-RSA @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 61 6b 2e 41 7f |....Y...U..ak.A.| -00000010 af 26 6f a2 8b 63 ee e4 b1 76 19 3a 6d a3 c2 30 |.&o..c...v.:m..0| -00000020 37 e8 47 c2 90 10 7e e8 c5 b2 eb 20 00 1c 8f 70 |7.G...~.... ...p| -00000030 0d 15 4a c7 7d ab ca 79 a7 d8 c2 01 62 6e 6f aa |..J.}..y....bno.| -00000040 df a2 1c 8f 7c 27 d9 e6 fe e9 c8 ab c0 13 00 00 |....|'..........| +00000000 16 03 01 00 59 02 00 00 55 03 01 58 89 71 77 b1 |....Y...U..X.qw.| +00000010 c2 2a 4e e4 5a 4f bb 76 8a b5 9b f3 b1 c6 fc 30 |.*N.ZO.v.......0| +00000020 a8 ca 7e 5c d6 29 41 7d 17 04 5d 20 86 f6 c6 6f |..~\.)A}..] ...o| +00000030 5f 48 2c 43 07 ea d1 b3 81 da 6d 2f 70 aa 4c 2e |_H,C......m/p.L.| +00000040 d4 87 bb 4c 38 c9 67 bc 80 38 d0 c3 c0 13 00 00 |...L8.g..8......| 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..............| @@ -54,17 +54,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 29 0b ca 37 f3 a1 52 |........ )..7..R| -000002d0 49 1c 84 9a e4 74 6b 4b 2d 1f e6 e9 83 1d 5d 59 |I....tkK-.....]Y| -000002e0 5a 2f 09 9f bc a4 30 af 71 00 80 d9 bb 6d 09 a7 |Z/....0.q....m..| -000002f0 ab 47 6f e8 a6 1a da fb 66 7d a5 f0 c9 c3 24 4c |.Go.....f}....$L| -00000300 99 56 c6 29 71 27 08 0b c1 60 44 cc 6d 42 1b 5e |.V.)q'...`D.mB.^| -00000310 cd 9f 82 24 38 23 ec d9 fa 32 49 2f 16 5d d2 9d |...$8#...2I/.]..| -00000320 e9 13 4e 66 3d f8 bf 30 2e 8c eb 35 4c e8 81 86 |..Nf=..0...5L...| -00000330 c0 de c7 0d a9 60 7e 7c 4a c4 1d a0 89 70 de 82 |.....`~|J....p..| -00000340 1b 37 a0 ea 7f 20 a5 fe d4 20 1d 6f 1a 84 dd a4 |.7... ... .o....| -00000350 13 46 18 c6 31 14 81 4b a4 bb 43 5c c4 49 1c 5a |.F..1..K..C\.I.Z| -00000360 8d 12 57 e0 1d 9a b6 cd f1 39 ff 16 03 01 00 0a |..W......9......| +000002c0 aa 0c 00 00 a6 03 00 1d 20 0c 12 68 b0 30 bb 4b |........ ..h.0.K| +000002d0 b0 c2 38 4d fa 65 f1 43 4a f1 47 dc 6e 6d ae 6b |..8M.e.CJ.G.nm.k| +000002e0 35 f5 4a 3c fa bc a6 6e 27 00 80 38 ef 5d 08 06 |5.J<...n'..8.]..| +000002f0 e5 f9 86 86 2e f3 6d b6 d4 12 94 5d 18 6b 11 67 |......m....].k.g| +00000300 17 65 d3 5c 0b fe 09 2d bb ca a6 2d c4 d7 fc b9 |.e.\...-...-....| +00000310 71 c1 4a 38 bb 14 bf dc 1b 4d 61 38 c6 76 3e 24 |q.J8.....Ma8.v>$| +00000320 ff e6 c5 7e f8 5d 5f 80 3d 8a 4e 5f bb 91 b7 c5 |...~.]_.=.N_....| +00000330 59 f8 b7 a1 7b d5 c3 72 57 83 de 52 40 75 1c ec |Y...{..rW..R@u..| +00000340 77 e9 0e a6 3a ad e4 57 ae d4 92 44 40 00 74 fa |w...:..W...D@.t.| +00000350 ae 16 b9 82 0d 9e 2a 43 12 1b a6 bb a1 89 6a 99 |......*C......j.| +00000360 09 80 d1 ad b6 9c 92 01 60 14 bb 16 03 01 00 0a |........`.......| 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) @@ -103,29 +103,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 76 af 25 e4 e7 ff d6 e4 |........v.%.....| -00000240 27 58 31 0f 6b 1e 84 13 2f d0 60 80 18 c3 f8 c1 |'X1.k.../.`.....| -00000250 f8 04 39 d4 07 05 d3 96 e2 b2 10 de 1f 68 88 67 |..9..........h.g| -00000260 1d dd 0a 11 52 9d 16 0e af 07 de cb f1 7c f4 b4 |....R........|..| -00000270 5d 0f 4f 43 5b 3c 25 07 32 13 f2 ab 9b 2d d0 a8 |].OC[<%.2....-..| -00000280 28 90 cb 04 48 c3 43 bd 2b b4 ef b9 7b cd bd d5 |(...H.C.+...{...| -00000290 bc d1 cc 00 17 46 fa 9b 1f 44 58 b7 6c de 1b 7a |.....F...DX.l..z| -000002a0 e0 d7 12 38 a3 09 f8 7a 9b 26 0b ee 37 bc 79 1b |...8...z.&..7.y.| -000002b0 51 9f 9a 1f f9 a9 51 14 03 01 00 01 01 16 03 01 |Q.....Q.........| -000002c0 00 30 97 df fb 79 78 a8 27 fd 2b 68 6b ec 4d 29 |.0...yx.'.+hk.M)| -000002d0 a1 02 59 ae 18 0b 46 62 af 61 53 2f 95 50 f2 ac |..Y...Fb.aS/.P..| -000002e0 c8 c3 5e 78 ca b0 e2 5d ff d7 1b 9b 00 30 f6 da |..^x...].....0..| -000002f0 d7 91 |..| +00000230 86 0f 00 00 82 00 80 1d 64 73 05 fa f9 5e ef eb |........ds...^..| +00000240 c7 1b 07 99 0e d1 52 83 9e 19 ba 62 11 14 0a c2 |......R....b....| +00000250 11 e0 ff 6e 43 03 85 1d ef 73 f8 c2 4d b0 c6 5a |...nC....s..M..Z| +00000260 ba 14 14 1e 95 d1 f8 1a 3f 7f c3 08 f4 86 e6 2c |........?......,| +00000270 43 2f 00 fd d7 e1 4e 07 45 09 19 98 33 ad 6e e2 |C/....N.E...3.n.| +00000280 17 21 3b 8c a4 5e 50 6c 5a a3 75 68 93 a5 ee 42 |.!;..^PlZ.uh...B| +00000290 a9 88 6d c4 4e 9c 3f ce ee e1 a1 9b c4 c6 8e f7 |..m.N.?.........| +000002a0 65 b8 7f 10 a9 5f b8 07 70 8a 4f 89 2c 59 a1 46 |e...._..p.O.,Y.F| +000002b0 f9 a2 05 bc 01 45 7e 14 03 01 00 01 01 16 03 01 |.....E~.........| +000002c0 00 30 43 ec 90 51 04 0a 70 f7 8b a4 15 63 df 1b |.0C..Q..p....c..| +000002d0 70 eb 59 63 d1 54 41 4e 7e 82 e4 fb fe ca 87 6e |p.Yc.TAN~......n| +000002e0 86 2d c6 d2 ee 1c 7b 9e 72 2d d6 d6 12 15 a8 8b |.-....{.r-......| +000002f0 b2 9d |..| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 f9 e9 d7 8c 4a |..........0....J| -00000010 6b f4 c9 88 d6 98 70 53 13 fc 51 9c 81 14 cf 71 |k.....pS..Q....q| -00000020 d9 30 7a d9 2c 34 96 00 a4 a0 2b 1e 7d ff d0 f2 |.0z.,4....+.}...| -00000030 b7 81 ed 86 c5 e1 09 16 82 47 20 |.........G | +00000000 14 03 01 00 01 01 16 03 01 00 30 d2 8f 01 3c 0e |..........0...<.| +00000010 0d 9e 0d bb 92 0b e8 90 b8 39 53 b8 50 7a b0 c1 |.........9S.Pz..| +00000020 f3 89 3d 5c 1c a0 e8 97 21 c5 30 0f f1 14 11 6b |..=\....!.0....k| +00000030 ec 6e 8f 75 c8 7f 89 dd 3e 19 44 |.n.u....>.D| >>> Flow 5 (client to server) -00000000 17 03 01 00 20 db b5 66 4e fb b1 47 8a 8e 6b a8 |.... ..fN..G..k.| -00000010 03 53 1a 51 22 8e 47 a3 3a 74 ed a4 6a aa 79 fd |.S.Q".G.:t..j.y.| -00000020 55 0f ac 35 a9 17 03 01 00 20 3e 0b 39 f5 5a 03 |U..5..... >.9.Z.| -00000030 43 d9 e2 7d 1c dc 3b 42 82 2a 2d d4 04 0a 76 97 |C..}..;B.*-...v.| -00000040 70 ed ee 99 58 15 40 c1 3a d5 15 03 01 00 20 bf |p...X.@.:..... .| -00000050 ea e8 93 67 a4 91 1a b5 f5 03 a5 94 50 95 41 16 |...g........P.A.| -00000060 b0 2a 74 d9 32 65 94 35 45 b9 0f 2e 80 87 fd |.*t.2e.5E......| +00000000 17 03 01 00 20 19 f5 38 97 ac a5 5a 25 d4 1e 3a |.... ..8...Z%..:| +00000010 8c e6 89 36 88 80 f9 95 09 b2 f5 1d a8 09 02 b6 |...6............| +00000020 ec aa 8e aa c6 17 03 01 00 20 3e ee df 1b 09 ff |......... >.....| +00000030 88 77 4a da 5c 74 cf 64 3d 92 a0 08 1c 7b 12 db |.wJ.\t.d=....{..| +00000040 72 99 0f d4 4e 20 55 17 1d d3 15 03 01 00 20 19 |r...N U....... .| +00000050 ee bc fc da 0b 15 72 da 43 bc 0b 0a 49 4d 67 63 |......r.C...IMgc| +00000060 3d 04 78 00 c3 9d 66 a5 16 96 68 80 88 27 47 |=.x...f...h..'G| diff --git a/testdata/Client-TLSv10-ECDHE-ECDSA-AES b/testdata/Client-TLSv10-ECDHE-ECDSA-AES index 529b7cef..ca39d9b5 100644 --- a/testdata/Client-TLSv10-ECDHE-ECDSA-AES +++ b/testdata/Client-TLSv10-ECDHE-ECDSA-AES @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 b0 ec 4b 2e 9e |....Y...U....K..| -00000010 19 7d 7b 7e 7c 52 8a d2 2e 8a 97 05 8a c6 ae aa |.}{~|R..........| -00000020 c5 62 bd 6f bd 7e fe 6b c6 9f d4 20 74 db 02 b1 |.b.o.~.k... t...| -00000030 65 88 41 bb 9a 55 22 f3 01 c4 5c ca 39 86 b1 77 |e.A..U"...\.9..w| -00000040 c4 b3 45 16 eb 55 d8 15 b8 4d ac 12 c0 09 00 00 |..E..U...M......| +00000000 16 03 01 00 59 02 00 00 55 03 01 b2 70 62 50 ad |....Y...U...pbP.| +00000010 93 c5 c2 a6 66 60 f0 ed 9a 44 56 1a 9a 9c c0 00 |....f`...DV.....| +00000020 a4 5b 59 ee d5 b5 91 c2 04 c8 7d 20 d3 a3 00 df |.[Y.......} ....| +00000030 93 72 69 c9 d6 dd 3b ba 45 5c d2 7a cc 0e 10 3b |.ri...;.E\.z...;| +00000040 6b 6f eb 6a 7a d3 55 d6 eb e9 0a 8a c0 09 00 00 |ko.jz.U.........| 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....| @@ -49,37 +49,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 7d 74 |*............ }t| -00000280 bf aa a8 b6 c0 1f 78 0c 1a ee c5 b7 56 ff 5c aa |......x.....V.\.| -00000290 f4 e3 a5 0c f7 64 31 eb 85 8a c9 bd 05 1b 00 8b |.....d1.........| -000002a0 30 81 88 02 42 00 f8 5d e5 bf 2e 70 79 f4 36 90 |0...B..]...py.6.| -000002b0 fc 6e 9a cc f1 c4 01 50 8c b9 92 4e bd e0 82 2d |.n.....P...N...-| -000002c0 1b ab 30 71 d1 db 76 af 50 75 08 fb cb 50 5b 00 |..0q..v.Pu...P[.| -000002d0 49 72 f5 d7 d9 44 48 94 ac 1d 8d 2e 50 90 ad a3 |Ir...DH.....P...| -000002e0 42 2b 5f 57 48 5e 9e 02 42 00 bb 0b 9a d7 25 53 |B+_WH^..B.....%S| -000002f0 04 5c 58 01 07 8e 3d ee f5 4f 0b 80 bd 02 07 3e |.\X...=..O.....>| -00000300 ff b9 01 ac 7a 49 be 94 fa cf 58 5c 59 91 b5 5d |....zI....X\Y..]| -00000310 cc 61 b9 e3 2f 53 7d 3c 3f 41 c5 31 1a 90 fc fa |.a../S}..| +000002c0 06 ad e6 1e 2f 31 75 90 f1 22 28 39 d3 af 96 73 |..../1u.."(9...s| +000002d0 52 76 34 9b cd 7c 5d 46 6b 48 30 9a d9 b7 63 23 |Rv4..|]FkH0...c#| +000002e0 f8 7f c2 80 22 55 02 41 6c bb 0c 49 c3 a3 57 a7 |...."U.Al..I..W.| +000002f0 cf 2b 3e 96 a1 53 01 72 d0 5a e4 af 54 8f 23 6c |.+>..S.r.Z..T.#l| +00000300 2d 60 91 f2 4a 93 1f 75 0f cc a4 0a 5c 2d 40 7b |-`..J..u....\-@{| +00000310 11 8c a1 96 fb 2b ad 6f eb 07 78 e5 70 26 37 7b |.....+.o..x.p&7{| +00000320 f4 19 1c d7 98 43 11 be 88 16 03 01 00 04 0e 00 |.....C..........| +00000330 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 f5 d0 86 ef 96 7e b9 94 cc 19 62 |....0.....~....b| -00000040 cc 3a 14 f1 74 a2 0d c8 b9 4c 5d 8a c5 80 60 23 |.:..t....L]...`#| -00000050 d5 f5 04 06 16 e2 69 ca 4d 99 1b a0 b5 3b 7d 62 |......i.M....;}b| -00000060 51 62 ee d9 60 |Qb..`| +00000030 16 03 01 00 30 7a cf 24 f7 f6 69 1a ab 34 31 d5 |....0z.$..i..41.| +00000040 af ed 37 9f 1d 8d 3a 6b 72 a3 b0 fc b9 49 fb bc |..7...:kr....I..| +00000050 c5 94 9e 37 ce b0 87 8f ed 52 25 eb 2d 53 b9 39 |...7.....R%.-S.9| +00000060 d2 d3 f0 d6 97 |.....| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 4d f9 c2 63 4f |..........0M..cO| -00000010 98 1b 02 ce df ca d1 15 a2 4f 6f 4c 2c b8 1a 88 |.........OoL,...| -00000020 11 c9 b3 45 e6 1d cf e8 6b dd 8c 89 c6 1d 0b 66 |...E....k......f| -00000030 82 d5 1d c6 55 14 1c 56 59 3e 69 |....U..VY>i| +00000000 14 03 01 00 01 01 16 03 01 00 30 92 72 cc c3 1f |..........0.r...| +00000010 4b a5 c4 d7 6f d1 17 4b 4e 27 b7 f5 72 fd c2 a0 |K...o..KN'..r...| +00000020 30 cb 4c cf 82 1f 0a 49 3d 23 bc 47 f1 e8 a7 b5 |0.L....I=#.G....| +00000030 c7 6a 92 25 55 3a f0 0f b0 30 74 |.j.%U:...0t| >>> Flow 5 (client to server) -00000000 17 03 01 00 20 12 be 42 b4 31 07 55 8e f9 a1 64 |.... ..B.1.U...d| -00000010 96 70 46 68 3e fd 4e 4f 9c af b3 11 de fc 80 f1 |.pFh>.NO........| -00000020 c8 11 84 ba ae 17 03 01 00 20 2f f9 ec dd 50 97 |......... /...P.| -00000030 1e a4 f1 66 fe 28 e3 c1 51 8d c0 f6 c3 d8 b3 ad |...f.(..Q.......| -00000040 7d dc a5 98 87 90 34 71 b4 73 15 03 01 00 20 d1 |}.....4q.s.... .| -00000050 6f 91 91 01 68 c4 11 6a e5 a2 ed 20 3f 3a 3d b7 |o...h..j... ?:=.| -00000060 d9 7f c3 b3 29 c3 df 3e 17 69 76 9f 04 f8 58 |....)..>.iv...X| +00000000 17 03 01 00 20 85 49 7a 58 80 e9 59 63 d0 74 a1 |.... .IzX..Yc.t.| +00000010 b7 d9 1b 46 41 5f 51 c0 66 4a 10 e1 ad dd 9f 9a |...FA_Q.fJ......| +00000020 c3 cf 32 77 72 17 03 01 00 20 05 7d 08 38 3d f0 |..2wr.... .}.8=.| +00000030 02 f7 17 71 b7 1c 29 c3 a6 c8 ff 7a 82 36 1e 42 |...q..)....z.6.B| +00000040 00 1e 6c d8 b1 39 22 ec 62 43 15 03 01 00 20 0d |..l..9".bC.... .| +00000050 80 5b da 89 4d 42 ab 95 17 11 0f 9b 79 2f c8 3f |.[..MB......y/.?| +00000060 f2 fd 54 2e ea 4a f9 de fc 5d 7f 75 51 86 e5 |..T..J...].uQ..| diff --git a/testdata/Client-TLSv10-ECDHE-RSA-AES b/testdata/Client-TLSv10-ECDHE-RSA-AES index 78947ace..2cae0876 100644 --- a/testdata/Client-TLSv10-ECDHE-RSA-AES +++ b/testdata/Client-TLSv10-ECDHE-RSA-AES @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 01 00 59 02 00 00 55 03 01 45 04 14 a2 70 |....Y...U..E...p| -00000010 3e 1e d9 2c d4 bd f3 e8 9c f3 e0 08 d8 0f 7f 82 |>..,............| -00000020 2b 07 a0 bd 47 56 a0 e1 06 0d 36 20 fc 0f 5b 85 |+...GV....6 ..[.| -00000030 8e 17 20 f1 f6 1e 80 c3 79 1a e1 86 c3 ed e9 24 |.. .....y......$| -00000040 6d bb 24 3c 0c 8d 2c 79 f2 03 27 b0 c0 13 00 00 |m.$<..,y..'.....| +00000000 16 03 01 00 59 02 00 00 55 03 01 f8 80 7d dd cc |....Y...U....}..| +00000010 ab 8c 66 56 c7 e9 18 88 87 44 39 67 57 91 e8 ee |..fV.....D9gW...| +00000020 3a c0 bc 2e bf 50 54 5e 8d c2 61 20 da b0 2d 85 |:....PT^..a ..-.| +00000030 e2 ed f5 5f 2b af 14 87 e6 26 6b af a4 4a 24 2d |..._+....&k..J$-| +00000040 1a bc 15 96 11 c8 c0 8b e9 0c 27 91 c0 13 00 00 |..........'.....| 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..............| @@ -54,36 +54,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 85 05 5f e3 a2 b2 12 |........ .._....| -000002d0 c8 82 53 2b c2 38 e1 a8 08 87 a7 d5 b3 98 6f 81 |..S+.8........o.| -000002e0 ce 81 6b 78 3e 3a b7 1d 71 00 80 43 81 fb 47 5e |..kx>:..q..C..G^| -000002f0 08 16 39 35 d3 c2 f3 ea bb 2c 7d bc 01 9b 35 5d |..95.....,}...5]| -00000300 63 7e c3 38 f3 04 96 eb d7 3f d1 df 71 97 ec 22 |c~.8.....?..q.."| -00000310 1b 4a 89 14 4d e5 44 08 87 52 69 ea 28 f8 6a ea |.J..M.D..Ri.(.j.| -00000320 3e ff 17 de 4d 20 95 e3 6e 3f af 05 20 9b a3 ac |>...M ..n?.. ...| -00000330 70 1b 1c bf f9 52 d6 11 6d d9 85 90 08 4d 64 1f |p....R..m....Md.| -00000340 c5 35 34 37 11 b8 44 a3 ef 93 a6 b6 87 58 0b c4 |.547..D......X..| -00000350 8e 94 d8 67 4d 09 7a 2a aa 95 db e6 af 29 21 a2 |...gM.z*.....)!.| -00000360 ee c3 90 ef c6 53 46 12 fb 87 06 16 03 01 00 04 |.....SF.........| +000002c0 aa 0c 00 00 a6 03 00 1d 20 0a d4 a1 84 63 ba 2d |........ ....c.-| +000002d0 23 89 b1 37 eb 97 d3 a7 09 36 3d ac 2a 30 7c f9 |#..7.....6=.*0|.| +000002e0 f6 87 67 86 22 fa f5 f9 06 00 80 c9 ea 8a 76 f2 |..g.".........v.| +000002f0 a5 1b e8 14 2c 2a 2f 2e a0 78 ac 06 9b 48 a8 d9 |....,*/..x...H..| +00000300 03 91 e7 c1 e5 e6 a3 9e 5e 33 73 0a f4 b3 d7 64 |........^3s....d| +00000310 5f 86 d6 36 e5 88 25 90 3c a2 d6 3f d6 07 7a 5c |_..6..%.<..?..z\| +00000320 64 c4 0f ac a9 3e c9 f6 b6 35 2a df a3 a3 79 8f |d....>...5*...y.| +00000330 b3 a6 f4 d8 e4 0a 4f 5f 11 3a 85 9a 0c 48 7b 3b |......O_.:...H{;| +00000340 a2 24 ec c0 44 7e eb b5 f3 f8 52 e6 83 bf 45 91 |.$..D~....R...E.| +00000350 9a 7c a4 e3 29 97 ea 9c 94 28 66 73 45 ed 52 2f |.|..)....(fsE.R/| +00000360 df a8 44 8b a5 0b 7a 31 92 eb 72 16 03 01 00 04 |..D...z1..r.....| 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 50 f5 a9 34 25 ed a2 fb c8 7f 35 |....0P..4%.....5| -00000040 08 57 59 da 54 c1 8d 92 ec 23 73 af f3 92 8d 19 |.WY.T....#s.....| -00000050 03 ce ab 5b eb dc 5b 81 3f 51 a1 20 31 3f 33 da |...[..[.?Q. 1?3.| -00000060 27 c5 c3 9c fd |'....| +00000030 16 03 01 00 30 19 34 cf 68 d1 8f ea be 56 24 71 |....0.4.h....V$q| +00000040 e4 ad ad f8 b3 dd 57 43 46 d5 8d f3 1c 0c df 4f |......WCF......O| +00000050 1c af 3b 2a 24 e4 8a 98 b5 b7 61 6f 5f 48 68 20 |..;*$.....ao_Hh | +00000060 b7 6a 9c ee 80 |.j...| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 30 b1 61 9b 63 4e |..........0.a.cN| -00000010 43 96 80 49 ac 2d 93 7d b9 f2 bb 81 79 5e 94 bf |C..I.-.}....y^..| -00000020 06 d0 a6 14 46 91 cd 90 b0 8a 85 ee fe 41 a7 4d |....F........A.M| -00000030 97 d7 4d 40 5e f4 5b bd d3 0c db |..M@^.[....| +00000000 14 03 01 00 01 01 16 03 01 00 30 fc 42 2b 0f 86 |..........0.B+..| +00000010 73 e1 a1 1a 09 1e 78 7d 61 f1 7c a4 94 14 26 53 |s.....x}a.|...&S| +00000020 de 28 f3 63 63 c3 65 7b e4 fd 10 2d 66 ed f7 dd |.(.cc.e{...-f...| +00000030 f9 9e 13 5c c1 e8 94 6a 32 c0 db |...\...j2..| >>> Flow 5 (client to server) -00000000 17 03 01 00 20 49 21 bc a5 4c 96 41 3f 22 87 0a |.... I!..L.A?"..| -00000010 c0 4e 0e 54 cb c2 27 8a 4f b0 37 fb b4 1f c1 4e |.N.T..'.O.7....N| -00000020 77 e1 09 57 23 17 03 01 00 20 f0 f0 3b 78 a8 ae |w..W#.... ..;x..| -00000030 ef b1 e0 f4 29 0f 90 4a 0f e5 48 34 84 5e 4f d8 |....)..J..H4.^O.| -00000040 53 46 f8 29 64 2b 8e 87 79 0a 15 03 01 00 20 71 |SF.)d+..y..... q| -00000050 32 6c 08 2a f7 18 c8 d5 48 a8 c7 d1 68 7a 65 ec |2l.*....H...hze.| -00000060 3e fa 4b fe ff 76 1a 57 64 22 61 27 a0 5d b6 |>.K..v.Wd"a'.].| +00000000 17 03 01 00 20 36 9a 1b 7f 79 a7 ff 31 92 36 5f |.... 6...y..1.6_| +00000010 7c d2 21 69 01 b6 24 da ea b4 b2 42 81 b5 55 94 ||.!i..$....B..U.| +00000020 8e b8 25 83 35 17 03 01 00 20 27 28 1c 8a fa 21 |..%.5.... '(...!| +00000030 57 39 77 57 5b bd ef 05 5b 39 e2 07 1b c9 3c f7 |W9wW[...[9....<.| +00000040 b9 ac be ce 7e 16 87 6d 5b a7 15 03 01 00 20 c0 |....~..m[..... .| +00000050 9b 05 b5 eb ac 65 08 ae 12 c7 18 be 00 a4 d6 30 |.....e.........0| +00000060 15 dd 90 5d d7 25 89 37 be 3d 56 d3 8c a9 3d |...].%.7.=V...=| diff --git a/testdata/Client-TLSv10-RSA-RC4 b/testdata/Client-TLSv10-RSA-RC4 index 7ecfbde8..2e105379 100644 --- a/testdata/Client-TLSv10-RSA-RC4 +++ b/testdata/Client-TLSv10-RSA-RC4 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 01 00 51 02 00 00 4d 03 01 4c 98 ce a5 80 |....Q...M..L....| -00000010 84 dc d3 70 de 75 bf 26 5c 15 8b b7 2c 78 30 a7 |...p.u.&\...,x0.| -00000020 65 1a 0c f7 1a e5 51 91 7c cb ca 20 83 2c 90 3b |e.....Q.|.. .,.;| -00000030 cf dd 4e 51 8b 27 98 95 aa d9 1d da 4d 3d e1 18 |..NQ.'......M=..| -00000040 f5 58 fd 85 c5 ed c9 5f 12 2f 4b b3 00 05 00 00 |.X....._./K.....| +00000000 16 03 01 00 51 02 00 00 4d 03 01 ba 66 88 b5 b3 |....Q...M...f...| +00000010 17 e1 9a c1 b6 27 e0 3f 1c 80 73 b6 6c 16 c9 4e |.....'.?..s.l..N| +00000020 33 c4 8c 75 26 46 01 1b 31 dc a3 20 e3 57 4f 91 |3..u&F..1.. .WO.| +00000030 3e 5b 91 cf 75 77 71 66 2f be 84 20 1c 7f 02 dd |>[..uwqf/.. ....| +00000040 8b 63 43 6c 4d 1d a4 7a da 89 35 5a 00 05 00 00 |.cClM..z..5Z....| 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..| @@ -64,15 +64,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 0e 4d ff 2c 39 80 ba a5 96 18 |.....$.M.,9.....| -000000a0 56 15 94 9f e2 1e 7d 13 62 51 d5 e1 05 f8 d8 b3 |V.....}.bQ......| -000000b0 bd 77 58 38 95 b4 7d 37 66 8a |.wX8..}7f.| +00000090 01 16 03 01 00 24 b6 4b 4c 75 2d d9 8d 1c 85 df |.....$.KLu-.....| +000000a0 f1 8d ff 7a 24 6b 02 3f fa 80 d7 f4 71 76 77 97 |...z$k.?....qvw.| +000000b0 fd b3 59 d7 91 9f 3a e9 ec 3b |..Y...:..;| >>> Flow 4 (server to client) -00000000 14 03 01 00 01 01 16 03 01 00 24 dc 6f da 57 0d |..........$.o.W.| -00000010 f8 b8 aa d5 e5 0a 2e 81 ed 2a b7 f8 0e 2a f1 05 |.........*...*..| -00000020 76 8d 4f b0 0e db 16 c5 d7 c8 5e f9 fb 9e e0 |v.O.......^....| +00000000 14 03 01 00 01 01 16 03 01 00 24 b6 51 7e 95 65 |..........$.Q~.e| +00000010 c5 85 08 c3 31 5c ae 2e e9 9e 6e bb 3d e8 68 c5 |....1\....n.=.h.| +00000020 26 a0 8c 61 a8 96 09 3c ec c7 9a 80 ff a2 5d |&..a...<......]| >>> Flow 5 (client to server) -00000000 17 03 01 00 1a 47 97 4d e6 59 d4 2f bb 60 56 69 |.....G.M.Y./.`Vi| -00000010 d8 bc 8d 91 44 7c cd 85 7e c5 18 5f 57 8e 08 15 |....D|..~.._W...| -00000020 03 01 00 16 f7 79 56 72 e6 77 8d af 94 55 d7 0e |.....yVr.w...U..| -00000030 96 c8 3b 35 52 ea f7 e7 b8 d6 |..;5R.....| +00000000 17 03 01 00 1a 0b 83 3a 24 a0 b4 7f cc 86 6c 4f |.......:$.....lO| +00000010 db 19 1b 09 23 77 a6 91 c6 09 db aa 3c 1a f3 15 |....#w......<...| +00000020 03 01 00 16 80 dc 14 9b a7 ff 08 af 25 5e 67 8c |............%^g.| +00000030 2d 2a 8e c9 bc 17 5a 29 48 99 |-*....Z)H.| diff --git a/testdata/Client-TLSv11-ECDHE-ECDSA-AES b/testdata/Client-TLSv11-ECDHE-ECDSA-AES index 5232ad57..2ef4407b 100644 --- a/testdata/Client-TLSv11-ECDHE-ECDSA-AES +++ b/testdata/Client-TLSv11-ECDHE-ECDSA-AES @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 02 00 59 02 00 00 55 03 02 30 f8 f6 b2 af |....Y...U..0....| -00000010 99 b0 e0 f6 9a eb 47 6f 2f ad 2f 45 18 56 b3 dd |......Go/./E.V..| -00000020 b6 b9 20 fb af 97 43 1f 0e 51 c0 20 fe 6c 12 64 |.. ...C..Q. .l.d| -00000030 8e cc a4 24 d6 e6 80 cf f2 9e 74 3f a7 1e 8b da |...$......t?....| -00000040 0e 3c 58 74 f4 8f be 1f 60 86 57 c6 c0 09 00 00 |.....P.&...64...| -000002a0 30 81 86 02 41 24 90 6f 3e 1a 2c a5 7f 08 dc b2 |0...A$.o>.,.....| -000002b0 d3 46 27 5e cb 1f 2a 6d 92 ba 1b fe e3 c5 64 79 |.F'^..*m......dy| -000002c0 31 50 8c 43 4b b1 ee 0d 6f 53 ad 6f e9 db 86 e7 |1P.CK...oS.o....| -000002d0 1f e3 77 f1 8d a8 ab 81 2a d6 fa e7 98 d5 bc 0d |..w.....*.......| -000002e0 ec af ea 84 c4 f8 02 41 6a d2 66 32 e1 d7 46 1a |.......Aj.f2..F.| -000002f0 95 5a 91 c3 76 82 20 c2 a3 a2 32 f5 fd eb a2 0e |.Z..v. ...2.....| -00000300 0f d8 a9 31 7a ef a8 05 6c 5d bf 27 d0 2d 94 ca |...1z...l].'.-..| -00000310 fb d6 62 7a 1c 6a 46 20 fe ed a6 60 a3 db b1 bd |..bz.jF ...`....| -00000320 11 82 05 c3 db 0c 4a 2d 6c 16 03 02 00 04 0e 00 |......J-l.......| +00000270 2a 16 03 02 00 b3 0c 00 00 af 03 00 1d 20 63 d9 |*............ c.| +00000280 4a 4e 6b ef 1c 95 89 ab f8 93 20 46 3f 51 40 a3 |JNk....... F?Q@.| +00000290 2a d5 e7 6b 18 04 01 55 6f d7 3f de 6f 20 00 89 |*..k...Uo.?.o ..| +000002a0 30 81 86 02 41 72 0a a5 28 94 81 35 17 04 6b 6c |0...Ar..(..5..kl| +000002b0 9b 66 0f 31 2e 83 55 bb af 97 87 8b 41 cd eb 2c |.f.1..U.....A..,| +000002c0 d0 71 87 4f d8 80 33 ec d2 57 6e 16 20 7a a7 aa |.q.O..3..Wn. z..| +000002d0 93 9a 14 5b 56 cb df ff b6 bc 5f 98 64 3c e2 cb |...[V....._.d<..| +000002e0 e3 45 0c ac 94 a5 02 41 41 97 c8 5e 64 74 93 ee |.E.....AA..^dt..| +000002f0 2e 56 fb 8a 0b ca f8 e7 5e 80 c7 8c 78 89 37 1b |.V......^...x.7.| +00000300 f2 ff de a0 df 54 9b 58 32 26 c7 cf ad af 5d 06 |.....T.X2&....].| +00000310 d9 7e 0b 96 a0 e0 64 64 e7 f4 04 08 40 b2 d6 a5 |.~....dd....@...| +00000320 bd 75 f4 7c 33 cd 3f 34 02 16 03 02 00 04 0e 00 |.u.|3.?4........| 00000330 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 22 71 28 3d 07 73 61 5e 84 72 36 |....."q(=.sa^.r6| -00000050 c0 87 37 4a 5b c2 d9 40 96 a2 01 20 b2 04 23 2f |..7J[..@... ..#/| -00000060 c1 6f 1e 7c a1 77 20 0f 87 46 98 a2 5c aa 35 37 |.o.|.w ..F..\.57| -00000070 37 87 5a 75 33 |7.Zu3| +00000040 00 00 00 00 00 e8 63 07 7b aa d4 3b ce 03 91 f7 |......c.{..;....| +00000050 4e 28 74 df 52 5f 3e 80 81 30 9d 4e e3 a5 f5 11 |N(t.R_>..0.N....| +00000060 57 80 db 52 1d 4c c4 f3 38 c0 62 3d 84 57 1b 5d |W..R.L..8.b=.W.]| +00000070 1a 51 b3 bb c3 |.Q...| >>> Flow 4 (server to client) -00000000 14 03 02 00 01 01 16 03 02 00 40 21 b5 1f 8d 4b |..........@!...K| -00000010 1c a7 28 4e 73 3e d7 c5 75 6e eb e4 b3 95 02 4e |..(Ns>..un.....N| -00000020 a3 47 03 44 97 69 c9 89 f5 ac e2 29 5e 22 e7 2c |.G.D.i.....)^".,| -00000030 a2 2d e3 ac 64 45 ae 9d 07 9e fe f8 c6 85 47 4d |.-..dE........GM| -00000040 59 be 72 8d e6 50 da c7 83 91 14 |Y.r..P.....| +00000000 14 03 02 00 01 01 16 03 02 00 40 25 b2 b4 08 64 |..........@%...d| +00000010 e0 09 4f 9a 25 35 7a 29 d8 0f 6d c6 39 3e 9e 17 |..O.%5z)..m.9>..| +00000020 9f bb a2 cc e5 17 5c 76 36 b2 10 13 a2 c5 e9 ba |......\v6.......| +00000030 08 5b f5 ff 8e 64 cc 3a 72 54 22 84 e9 d5 15 8e |.[...d.:rT".....| +00000040 85 44 f4 d3 e2 a8 48 46 32 9d b5 |.D....HF2..| >>> 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 57 45 25 4c 1b 90 d3 28 e1 69 43 |.....WE%L...(.iC| -00000020 c5 28 d9 d5 15 35 cf 41 bb 38 f2 12 c6 18 a5 a2 |.(...5.A.8......| -00000030 f5 e4 64 1d 59 15 03 02 00 30 00 00 00 00 00 00 |..d.Y....0......| -00000040 00 00 00 00 00 00 00 00 00 00 35 06 5f e3 ff e7 |..........5._...| -00000050 f0 f1 0c d5 b1 59 42 80 19 8d 67 1b 18 18 5c 18 |.....YB...g...\.| -00000060 42 38 67 85 c3 ab e2 dc 60 d4 |B8g.....`.| +00000010 00 00 00 00 00 29 6a 84 08 a0 1e eb 43 8e c2 c7 |.....)j.....C...| +00000020 db 45 cc ee 39 0d a7 17 5f da e4 f5 70 d4 10 73 |.E..9..._...p..s| +00000030 40 94 f4 81 4c 15 03 02 00 30 00 00 00 00 00 00 |@...L....0......| +00000040 00 00 00 00 00 00 00 00 00 00 17 41 90 a8 d4 70 |...........A...p| +00000050 c2 5e 89 b6 4e d9 49 83 31 58 c1 ca 59 ec 55 a7 |.^..N.I.1X..Y.U.| +00000060 78 83 63 d0 97 32 a0 78 f5 61 |x.c..2.x.a| diff --git a/testdata/Client-TLSv11-ECDHE-RSA-AES b/testdata/Client-TLSv11-ECDHE-RSA-AES index 48ff7bce..ccf30011 100644 --- a/testdata/Client-TLSv11-ECDHE-RSA-AES +++ b/testdata/Client-TLSv11-ECDHE-RSA-AES @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 02 00 59 02 00 00 55 03 02 10 ca d9 1b 83 |....Y...U.......| -00000010 59 c8 a5 a5 6a 89 65 6e 1c 0a 49 98 69 05 49 27 |Y...j.en..I.i.I'| -00000020 96 72 74 5f 6e 5b 66 26 3b fd f8 20 23 b5 d6 c5 |.rt_n[f&;.. #...| -00000030 09 f1 66 02 27 5c 5a 15 17 83 c5 11 a4 32 cf d8 |..f.'\Z......2..| -00000040 1e a0 e7 93 83 35 6e aa 61 ae 97 77 c0 13 00 00 |.....5n.a..w....| +00000000 16 03 02 00 59 02 00 00 55 03 02 25 c4 bc bf ab |....Y...U..%....| +00000010 16 38 05 55 b8 78 a8 b6 e4 0c cb 70 f9 72 a9 5f |.8.U.x.....p.r._| +00000020 f3 59 86 32 ca 92 b6 dd 66 83 42 20 e8 b9 6d 35 |.Y.2....f.B ..m5| +00000030 25 ec e2 37 91 f1 9e 8b 0b 7f 15 cf fd 34 16 9e |%..7.........4..| +00000040 ff 44 67 72 df bd 95 75 d3 fd 89 a5 c0 13 00 00 |.Dgr...u........| 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..............| @@ -54,38 +54,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 97 a4 91 6b cd ca 44 |........ ...k..D| -000002d0 7e ac fd a5 b1 c0 ce 88 07 f3 a2 d9 93 2b a8 d9 |~............+..| -000002e0 0b 65 0b 47 c0 2e 4f 3b 26 00 80 00 18 01 a1 29 |.e.G..O;&......)| -000002f0 0b 84 c9 09 5e 8c 58 5f 62 b6 22 8b 94 6e 72 26 |....^.X_b."..nr&| -00000300 44 27 32 b9 22 12 67 58 34 a1 ce 6f 87 19 a0 5c |D'2.".gX4..o...\| -00000310 5d 58 dc 91 fb c7 e6 31 33 76 6d 1f 8e 4f 46 55 |]X.....13vm..OFU| -00000320 f1 08 57 9b bb fe 8d c7 6c 0b cd 8b ad b7 51 28 |..W.....l.....Q(| -00000330 f8 5b 75 97 fe a0 d4 a1 2e 9a d3 d5 45 62 f8 19 |.[u.........Eb..| -00000340 f6 73 d0 f6 6d e8 43 49 a2 f5 71 66 c5 29 1a 99 |.s..m.CI..qf.)..| -00000350 e6 c0 cc f9 a5 cd a5 b7 58 08 4d cc 17 46 91 4c |........X.M..F.L| -00000360 29 99 b4 05 78 af e7 b0 d1 2d 38 16 03 02 00 04 |)...x....-8.....| +000002c0 aa 0c 00 00 a6 03 00 1d 20 07 e7 bf ce 93 eb a9 |........ .......| +000002d0 c7 5d 78 3f bc 62 d4 d3 88 10 98 5e 6e 90 3e b5 |.]x?.b.....^n.>.| +000002e0 11 cb 3d ed 42 1a d8 ac 2b 00 80 17 fa bd aa a4 |..=.B...+.......| +000002f0 9c 14 78 9f d8 e7 65 3f 1f 54 b8 37 fc 2f a4 61 |..x...e?.T.7./.a| +00000300 aa 47 ce ca 0f 59 f0 22 8c 5a e6 c8 ed 4e aa 91 |.G...Y.".Z...N..| +00000310 c3 ce a8 08 21 7d d7 ef 88 c6 fc 04 6b b2 c8 d6 |....!}......k...| +00000320 f0 3e aa dc 25 8c bd e7 fd 35 ea 44 7f 6d 2f bb |.>..%....5.D.m/.| +00000330 f4 8d a2 39 f9 a1 69 9e 8e bc 08 50 1b 3d fe a9 |...9..i....P.=..| +00000340 91 bd ab 67 2f 7a 71 a2 85 b2 3e ef 3f a5 45 c7 |...g/zq...>.?.E.| +00000350 b1 2c 69 a0 ae 50 f8 12 73 c2 26 6a f0 7d 1f 28 |.,i..P..s.&j.}.(| +00000360 49 1b c0 96 45 d8 e9 19 bd 47 af 16 03 02 00 04 |I...E....G......| 00000370 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 f2 fb 8f ab ae 46 f2 6a 18 1b 77 |..........F.j..w| -00000050 f3 ce 0c b6 83 9c d6 34 54 82 76 db 5c 79 5d cf |.......4T.v.\y].| -00000060 24 f3 26 6d 9d f0 af d3 fc e0 96 69 0a 04 f7 ba |$.&m.......i....| -00000070 78 54 af 37 a5 |xT.7.| +00000040 00 00 00 00 00 f4 1e 67 b5 2c 02 b9 fc 49 44 f1 |.......g.,...ID.| +00000050 85 9f df bd 47 03 f5 68 a4 54 68 ea 13 c8 4c f8 |....G..h.Th...L.| +00000060 81 5e 06 c3 df 2c bb f9 9c a6 99 36 26 60 e0 ac |.^...,.....6&`..| +00000070 5f 82 0a c1 ea |_....| >>> Flow 4 (server to client) -00000000 14 03 02 00 01 01 16 03 02 00 40 e7 d9 0e af 0c |..........@.....| -00000010 06 55 85 ab b0 0a 5e d9 11 81 7a 53 c0 f6 3f 84 |.U....^...zS..?.| -00000020 06 7d 9c 20 05 e9 0d 1d df 9b 48 11 d9 df 0c e6 |.}. ......H.....| -00000030 6b c2 a8 8f f4 d9 e8 8e f6 1a 3e db 7c e5 97 ac |k.........>.|...| -00000040 5d 63 08 b2 3a 54 91 62 fc 2e a5 |]c..:T.b...| +00000000 14 03 02 00 01 01 16 03 02 00 40 82 b5 a3 75 27 |..........@...u'| +00000010 3d 41 d0 00 f7 7d 1a e8 97 98 f6 f1 df f7 00 37 |=A...}.........7| +00000020 a7 2e 29 e6 5a 26 ca ef 94 2c 05 06 c4 94 66 01 |..).Z&...,....f.| +00000030 94 65 e3 45 50 7d 7a f4 78 ab 24 f6 9b 84 4b 7d |.e.EP}z.x.$...K}| +00000040 a7 02 9c 32 f7 90 39 ac a6 61 47 |...2..9..aG| >>> 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 3f ef e9 bc 10 07 75 99 67 8f 99 |.....?.....u.g..| -00000020 bb c0 15 94 86 a2 80 cc 15 97 54 f8 4e 1a d1 9a |..........T.N...| -00000030 33 80 aa da ec 15 03 02 00 30 00 00 00 00 00 00 |3........0......| -00000040 00 00 00 00 00 00 00 00 00 00 6f 78 7b d2 80 62 |..........ox{..b| -00000050 5c cf 34 d6 5a 72 d8 63 95 24 c6 ff 69 d0 6d 90 |\.4.Zr.c.$..i.m.| -00000060 8d a2 9f 37 e8 7b b1 d4 68 04 |...7.{..h.| +00000010 00 00 00 00 00 76 c0 94 ff b2 5a f4 4a 17 47 43 |.....v....Z.J.GC| +00000020 94 d0 b3 7a 77 c0 e6 5d 0e 92 6d 6b 72 b9 d4 58 |...zw..]..mkr..X| +00000030 d3 d5 be 50 95 15 03 02 00 30 00 00 00 00 00 00 |...P.....0......| +00000040 00 00 00 00 00 00 00 00 00 00 25 f0 64 c9 b4 f7 |..........%.d...| +00000050 3c 36 ea e2 df 8c 47 aa 1d a9 ba 5e d0 ce 10 6b |<6....G....^...k| +00000060 a3 4b 08 04 10 60 ce 75 a1 5b |.K...`.u.[| diff --git a/testdata/Client-TLSv11-RSA-RC4 b/testdata/Client-TLSv11-RSA-RC4 index 2e9c49e2..0c8ae351 100644 --- a/testdata/Client-TLSv11-RSA-RC4 +++ b/testdata/Client-TLSv11-RSA-RC4 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 02 00 51 02 00 00 4d 03 02 36 8f 18 79 0f |....Q...M..6..y.| -00000010 99 6b 3d 1d f4 19 aa ff 79 7c 50 15 52 db 9d c5 |.k=.....y|P.R...| -00000020 62 40 2d 5b de 45 0c 66 b1 cb be 20 9e 00 c3 00 |b@-[.E.f... ....| -00000030 22 2f b5 c6 79 c1 f7 72 8f 4b 94 f4 ac fe a9 53 |"/..y..r.K.....S| -00000040 97 4e fb 00 df 34 b6 24 8f ff 89 db 00 05 00 00 |.N...4.$........| +00000000 16 03 02 00 51 02 00 00 4d 03 02 17 49 a0 13 8a |....Q...M...I...| +00000010 1d 7a e5 dd dd f3 ba 71 8c 9f b9 16 55 98 4e 56 |.z.....q....U.NV| +00000020 74 da 97 99 09 b7 5a cb 16 17 a8 20 b4 67 96 70 |t.....Z.... .g.p| +00000030 f5 7c 25 f3 5e 47 6b 38 fb 2a 18 67 a7 35 b6 93 |.|%.^Gk8.*.g.5..| +00000040 88 26 c7 da 67 7c d7 d9 4d 23 46 15 00 05 00 00 |.&..g|..M#F.....| 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..| @@ -64,15 +64,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 92 fa 9a bb 9b a3 39 3f 6b 0c |.....$......9?k.| -000000a0 70 b5 48 4a fc cf 79 86 c7 90 e8 db ca 6a ff 95 |p.HJ..y......j..| -000000b0 11 9b 65 b2 07 61 00 a8 dc 14 |..e..a....| +00000090 01 16 03 02 00 24 57 25 f5 73 5b e7 e4 e5 41 29 |.....$W%.s[...A)| +000000a0 0f 6f c5 92 93 17 17 fe 3f 84 cb 62 c0 69 ef ae |.o......?..b.i..| +000000b0 c4 96 c7 32 76 b9 fb 2a 01 03 |...2v..*..| >>> Flow 4 (server to client) -00000000 14 03 02 00 01 01 16 03 02 00 24 47 d5 78 31 32 |..........$G.x12| -00000010 db db 2b f4 2f e6 a4 fa fa 04 31 ba c0 bc 86 38 |..+./.....1....8| -00000020 29 70 53 c6 8c 28 e5 75 90 ed 0f 4f 3e cb 06 |)pS..(.u...O>..| +00000000 14 03 02 00 01 01 16 03 02 00 24 74 40 46 d2 01 |..........$t@F..| +00000010 85 de 99 2e 04 b7 c4 a6 50 61 22 01 23 fd 77 be |........Pa".#.w.| +00000020 55 6a 6d 1a 79 17 c7 3d 75 64 99 fc bb 42 a7 |Ujm.y..=ud...B.| >>> Flow 5 (client to server) -00000000 17 03 02 00 1a f3 e7 6c 01 c5 70 c6 69 dd 4f 40 |.......l..p.i.O@| -00000010 38 c1 b2 d2 28 69 2f 99 b1 bd 71 d0 c2 00 08 15 |8...(i/...q.....| -00000020 03 02 00 16 4c 44 14 02 8e 46 f8 84 40 f1 3d 6d |....LD...F..@.=m| -00000030 f2 01 f6 9d 7a 0b 18 ee 9d 41 |....z....A| +00000000 17 03 02 00 1a d0 cc 3e 2e f5 09 1d 14 b6 ec f4 |.......>........| +00000010 19 64 30 40 eb 86 31 8b 61 fd 94 b5 3a 0c d5 15 |.d0@..1.a...:...| +00000020 03 02 00 16 f2 d9 24 a4 f7 65 0e 26 1e c0 c9 7d |......$..e.&...}| +00000030 5c 57 59 fb 80 fd ab ab 83 e4 |\WY.......| diff --git a/testdata/Client-TLSv12-AES128-GCM-SHA256 b/testdata/Client-TLSv12-AES128-GCM-SHA256 index c20dcc65..c63e71a4 100644 --- a/testdata/Client-TLSv12-AES128-GCM-SHA256 +++ b/testdata/Client-TLSv12-AES128-GCM-SHA256 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 51 02 00 00 4d 03 03 65 9c b1 7a 5c |....Q...M..e..z\| -00000010 84 e5 a5 12 ba 54 1f 4c ec 95 0b 8f ea 5c cc 3b |.....T.L.....\.;| -00000020 de b8 18 23 8e c4 95 59 d7 7f 8f 20 36 fe ec 27 |...#...Y... 6..'| -00000030 10 85 43 fb 9c 68 3f 69 d0 08 a6 57 10 a6 29 a4 |..C..h?i...W..).| -00000040 f6 0c 2e 05 6e 0d e5 44 61 e1 2e 07 00 9c 00 00 |....n..Da.......| +00000000 16 03 03 00 51 02 00 00 4d 03 03 49 4c e7 e2 d1 |....Q...M..IL...| +00000010 f6 48 5a 9c 53 86 a7 b4 43 a2 35 a1 6a cd 40 8d |.HZ.S...C.5.j.@.| +00000020 db 5a 93 d2 66 1a 9e b3 cd ab 8b 20 52 21 cc 8d |.Z..f...... R!..| +00000030 24 23 ed 26 f1 c0 44 17 74 1a ef 01 5c c5 8e 79 |$#.&..D.t...\..y| +00000040 f6 e5 00 e8 b3 71 72 99 a5 2d 4d cf 00 9c 00 00 |.....qr..-M.....| 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..| @@ -64,17 +64,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 97 f1 |.....(..........| -000000a0 fe 34 f7 de 76 9b 56 27 e6 9f 36 48 30 a6 de 78 |.4..v.V'..6H0..x| -000000b0 10 6a ef bf 92 8a 6e 99 21 2f 1b 7b 48 80 |.j....n.!/.{H.| +00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 c5 41 |.....(.........A| +000000a0 79 78 69 d0 e6 8f 11 e0 19 7a a2 51 0f b4 1f 8f |yxi......z.Q....| +000000b0 8a a5 d9 48 1a b8 cd 2f ea e2 04 9b e8 9f |...H.../......| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 23 9d a2 ae a1 |..........(#....| -00000010 7d dd 92 1f 42 18 68 f6 fb 31 56 7b e4 58 a4 e9 |}...B.h..1V{.X..| -00000020 c2 1c e7 67 1b 40 b1 b9 63 9d 05 fb c7 44 9e f6 |...g.@..c....D..| -00000030 7a 14 bb |z..| +00000000 14 03 03 00 01 01 16 03 03 00 28 f3 72 0c 34 0f |..........(.r.4.| +00000010 59 fa 8d 0f d1 37 6d 3b 9c e6 41 66 8b 30 4a d0 |Y....7m;..Af.0J.| +00000020 ef 21 f1 42 79 f0 55 0e a1 43 d5 d7 b1 d6 45 aa |.!.By.U..C....E.| +00000030 5a 3a 69 |Z:i| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 d7 31 70 |..............1p| -00000010 c8 11 3f bd 83 fc 6e f8 3b e0 ee 45 c5 1a c8 41 |..?...n.;..E...A| -00000020 80 22 d4 15 03 03 00 1a 00 00 00 00 00 00 00 02 |."..............| -00000030 7a fe 3a 11 7c c0 26 30 55 24 85 0b 43 cb 7c ac |z.:.|.&0U$..C.|.| -00000040 ef 2c |.,| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 7d bd ac |.............}..| +00000010 69 1a 3c b3 4d 0f 1b 25 40 95 34 f0 b1 97 60 39 |i.<.M..%@.4...`9| +00000020 93 42 10 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.B..............| +00000030 a0 65 f5 b0 94 a5 2e 1a c4 a5 97 76 12 8f 82 70 |.e.........v...p| +00000040 49 0c |I.| diff --git a/testdata/Client-TLSv12-AES128-SHA256 b/testdata/Client-TLSv12-AES128-SHA256 index 774481e8..17826d30 100644 --- a/testdata/Client-TLSv12-AES128-SHA256 +++ b/testdata/Client-TLSv12-AES128-SHA256 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 51 02 00 00 4d 03 03 26 31 ba 4a 56 |....Q...M..&1.JV| -00000010 16 83 15 47 b9 c4 7e 10 ca 92 31 4d 77 af cc cd |...G..~...1Mw...| -00000020 70 f4 cc 82 6e b9 ac 1b 0d 17 25 20 e9 08 ec 95 |p...n.....% ....| -00000030 ea 84 a4 bd 8f 9d 8e d3 58 a7 5e 72 42 e4 19 8f |........X.^rB...| -00000040 46 c3 d9 be 16 3c d4 53 5a 02 8f a1 00 3c 00 00 |F....<.SZ....<..| +00000000 16 03 03 00 51 02 00 00 4d 03 03 89 90 c7 c5 d0 |....Q...M.......| +00000010 21 e2 50 ac 35 a7 b1 10 8a 32 45 b8 48 02 0e 19 |!.P.5....2E.H...| +00000020 45 58 31 81 a4 db 0f 19 21 53 80 20 ca a7 7f 02 |EX1.....!S. ....| +00000030 5a f4 9b cc 70 72 fa e8 ed 4f 0c 1b c7 7a b2 58 |Z...pr...O...z.X| +00000040 e1 c1 b3 c8 3e a1 82 8e 78 3b c6 02 00 3c 00 00 |....>...x;...<..| 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..| @@ -65,25 +65,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 46 91 40 e2 65 40 fe 42 c3 34 |......F.@.e@.B.4| -000000b0 98 65 89 d0 96 7e 7b 67 8e c4 d5 e6 37 f5 96 04 |.e...~{g....7...| -000000c0 b7 c8 63 83 76 5c ca 9d 89 18 d4 97 8b 3f f6 75 |..c.v\.......?.u| -000000d0 1d 51 0b b9 90 1c 85 8f 83 20 9e 9a 21 d9 db 14 |.Q....... ..!...| -000000e0 1e 02 d4 ab aa c4 |......| +000000a0 00 00 00 00 00 00 e0 31 66 d7 3b a5 a2 cd 61 c5 |.......1f.;...a.| +000000b0 76 26 ce b4 a7 a3 86 8b 68 98 8a 0c 14 df 71 39 |v&......h.....q9| +000000c0 29 b0 29 05 97 87 2f d5 81 25 0b 46 e7 91 2a fc |).).../..%.F..*.| +000000d0 bb 76 d3 19 31 37 ad 8b 01 f0 66 1f 0f 7f 7a 0f |.v..17....f...z.| +000000e0 bd 2b 76 3f 84 2b |.+v?.+| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 50 6d 34 72 de 79 |..........Pm4r.y| -00000010 ad 96 d0 92 5f d7 01 de 90 f4 5d 0f de 02 ae 19 |...._.....].....| -00000020 61 a3 ee 29 ab 18 f1 09 2e 5b bc e0 73 9a 68 19 |a..).....[..s.h.| -00000030 17 dd c8 d9 63 b4 28 c8 da 1a 81 40 ca d3 5a 99 |....c.(....@..Z.| -00000040 17 67 fe e9 dd 1a 52 c4 6e 70 0a 0e cf e8 c0 f8 |.g....R.np......| -00000050 6c 1f ee d2 70 97 dc ee b8 95 35 |l...p.....5| +00000000 14 03 03 00 01 01 16 03 03 00 50 b7 1d 0b ad 4a |..........P....J| +00000010 05 27 59 4e 95 11 58 6e 90 02 12 52 40 b2 0e 1d |.'YN..Xn...R@...| +00000020 ca 82 a6 85 2f 01 ad 9c 29 41 f9 a0 3d b2 39 be |..../...)A..=.9.| +00000030 9f 76 72 3e de db 17 de d7 9e 4e 0a 89 be 27 9c |.vr>......N...'.| +00000040 37 88 46 87 8c a9 a9 41 70 01 72 60 18 4a 3b ac |7.F....Ap.r`.J;.| +00000050 97 8e 4f 2c 4b 4e 87 0b bd e4 89 |..O,KN.....| >>> 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 ee 03 cc 04 97 17 f0 04 85 02 b7 |................| -00000020 5c 24 ca 9f c2 25 e0 76 f4 72 e5 71 2b ac f4 a5 |\$...%.v.r.q+...| -00000030 c4 62 08 9a da b7 ab 30 2f 34 b0 70 20 a3 b9 b3 |.b.....0/4.p ...| -00000040 df 90 9b 01 0b 15 03 03 00 40 00 00 00 00 00 00 |.........@......| -00000050 00 00 00 00 00 00 00 00 00 00 3b ca fc 0e 08 f2 |..........;.....| -00000060 c8 b7 22 61 43 24 b3 54 1b ca 58 c6 bd 27 f3 3d |.."aC$.T..X..'.=| -00000070 ac a0 d8 fe 0e b5 15 7c 1f 98 32 f0 6b 28 bc 61 |.......|..2.k(.a| -00000080 6c c7 ba 66 54 19 92 a9 6f 43 |l..fT...oC| +00000010 00 00 00 00 00 b6 0c c1 ab 01 1a 69 8f 48 80 5e |...........i.H.^| +00000020 f8 d6 b7 b9 7c 9e 30 01 ff 4d 27 94 ef 3e 05 c3 |....|.0..M'..>..| +00000030 64 fd 38 f9 b9 29 fe 49 bf 6a fc 6f ac 1e 6d ee |d.8..).I.j.o..m.| +00000040 42 a2 2f 05 e5 15 03 03 00 40 00 00 00 00 00 00 |B./......@......| +00000050 00 00 00 00 00 00 00 00 00 00 37 ca 1c 12 fd 31 |..........7....1| +00000060 2b 9e 56 51 a7 f5 3e 37 48 fe 08 b9 a3 8d 4c 26 |+.VQ..>7H.....L&| +00000070 7d c2 9d 04 f8 7f b9 47 00 87 bd 86 51 36 83 a7 |}......G....Q6..| +00000080 98 cf de ac 76 d6 78 ac bd 95 |....v.x...| diff --git a/testdata/Client-TLSv12-AES256-GCM-SHA384 b/testdata/Client-TLSv12-AES256-GCM-SHA384 index 6d267463..598430da 100644 --- a/testdata/Client-TLSv12-AES256-GCM-SHA384 +++ b/testdata/Client-TLSv12-AES256-GCM-SHA384 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 51 02 00 00 4d 03 03 98 b0 4a 9a c8 |....Q...M....J..| -00000010 8f f9 1f f9 70 03 d9 1a ee 7c 29 30 6a 71 7c 6c |....p....|)0jq|l| -00000020 ea 2c de 84 f9 ee 4d 2c d7 58 12 20 a4 e2 1b f3 |.,....M,.X. ....| -00000030 42 b8 9a 0b 71 8c 27 57 61 98 c5 c5 1b 04 01 5b |B...q.'Wa......[| -00000040 a0 bc 88 64 d9 ce 5a a1 b2 7b 6c 4e 00 9d 00 00 |...d..Z..{lN....| +00000000 16 03 03 00 51 02 00 00 4d 03 03 de 31 eb 89 cf |....Q...M...1...| +00000010 06 df 45 b2 68 3c 70 8e ef ec 11 14 d1 f3 8c 95 |..E.h>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 42 49 9c 67 4f |..........(BI.gO| -00000010 36 75 b8 34 0e ee 00 98 1a ba 52 d5 96 7b 91 d7 |6u.4......R..{..| -00000020 ba ec e4 5e 2e 42 e3 72 a0 ea 60 24 31 30 3d a2 |...^.B.r..`$10=.| -00000030 c5 6c 8f |.l.| +00000000 14 03 03 00 01 01 16 03 03 00 28 f0 52 59 4b c1 |..........(.RYK.| +00000010 54 7c 0d 0c 4a 82 96 0a 50 d2 6d ce 7c 2f e9 3c |T|..J...P.m.|/.<| +00000020 55 ea da ea 8a 1a 6f 1d fe 96 01 0f 42 61 61 45 |U.....o.....BaaE| +00000030 ef 31 97 |.1.| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 42 9f da |.............B..| -00000010 a1 e6 98 48 a8 6c 78 a0 f7 fd e7 0f bc df 97 ef |...H.lx.........| -00000020 b8 62 4c 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.bL.............| -00000030 99 ac 35 a4 d9 1f 58 26 51 c6 6a b9 1f 53 ec 19 |..5...X&Q.j..S..| -00000040 90 78 |.x| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 cb 28 8f |..............(.| +00000010 dd 5d cf 29 ef 92 72 71 43 85 c1 1b fe 41 a4 f8 |.].)..rqC....A..| +00000020 07 f7 96 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 25 52 2c d6 5a f4 95 ea 21 bb 35 70 d1 78 cc 15 |%R,.Z...!.5p.x..| +00000040 d5 79 |.y| diff --git a/testdata/Client-TLSv12-ALPN b/testdata/Client-TLSv12-ALPN index 9f90ff26..05c4afb1 100644 --- a/testdata/Client-TLSv12-ALPN +++ b/testdata/Client-TLSv12-ALPN @@ -1,21 +1,22 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 a9 01 00 00 a5 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 ad 01 00 00 a9 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 50 33 74 |.............P3t| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 54 33 74 |.............T3t| 00000060 00 00 00 05 00 05 01 00 00 00 00 00 0a 00 0a 00 |................| 00000070 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 00 00 |................| -00000080 0d 00 0e 00 0c 04 01 04 03 05 01 05 03 02 01 02 |................| -00000090 03 ff 01 00 01 00 00 10 00 10 00 0e 06 70 72 6f |.............pro| -000000a0 74 6f 32 06 70 72 6f 74 6f 31 00 12 00 00 |to2.proto1....| +00000080 0d 00 12 00 10 04 01 04 03 05 01 05 03 06 01 06 |................| +00000090 03 02 01 02 03 ff 01 00 01 00 00 10 00 10 00 0e |................| +000000a0 06 70 72 6f 74 6f 32 06 70 72 6f 74 6f 31 00 12 |.proto2.proto1..| +000000b0 00 00 |..| >>> Flow 2 (server to client) -00000000 16 03 03 00 66 02 00 00 62 03 03 8d 70 c6 03 ad |....f...b...p...| -00000010 2f 20 b3 c2 ab e0 fc 80 74 c4 23 9e 82 65 61 a1 |/ ......t.#..ea.| -00000020 26 97 14 a0 9b 9c d5 e0 92 43 ee 20 ec 84 cf 78 |&........C. ...x| -00000030 44 16 7d f3 ad 94 a9 f8 c3 e0 c6 e1 b6 c5 e3 3d |D.}............=| -00000040 77 ea 76 1d 58 cc 94 3a ad 1a 1a 6c cc a8 00 00 |w.v.X..:...l....| +00000000 16 03 03 00 66 02 00 00 62 03 03 cb 8e 3f a0 07 |....f...b....?..| +00000010 c3 0e b3 b2 07 39 e2 2d b9 5f 03 31 05 b0 0d b6 |.....9.-._.1....| +00000020 c7 c5 4d 39 2b 3f 1a d7 38 43 69 20 f5 35 e2 93 |..M9+?..8Ci .5..| +00000030 75 c4 eb b3 eb a3 ad cd 9f e3 c6 dc b8 ea 20 7c |u............. || +00000040 94 1b 9c 73 bd 2e af f1 4d 97 6d eb cc a8 00 00 |...s....M.m.....| 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.| @@ -56,31 +57,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 84 de 31 92 b6 a5 d8 a4 88 a2 |..... ..1.......| -000002e0 54 67 e6 61 40 f2 5a 87 0f ce 15 b1 d6 af f3 5d |Tg.a@.Z........]| -000002f0 99 71 d6 04 f5 52 04 01 00 80 a8 1d 8b 8c e9 a3 |.q...R..........| -00000300 af 2d 31 e4 0f f0 26 74 c2 e5 1b ae ac 47 9c 6e |.-1...&t.....G.n| -00000310 6c 5f 45 7d b1 b3 2a af 36 68 42 13 95 0d 33 1c |l_E}..*.6hB...3.| -00000320 8d 6c 72 48 4a 94 f0 fb 82 20 cc 76 21 7f 62 e7 |.lrHJ.... .v!.b.| -00000330 23 a3 c8 4e 3a ce f1 5c c3 60 73 26 59 4c 94 f3 |#..N:..\.`s&YL..| -00000340 07 36 f6 a0 b3 60 03 d5 72 1e bf c8 d9 1d 61 01 |.6...`..r.....a.| -00000350 9a 18 57 a3 b4 de 36 1f e1 7d dc 69 c0 fb c0 71 |..W...6..}.i...q| -00000360 45 1f 73 0d 50 69 d3 18 97 23 60 1c 5a 9a 93 b4 |E.s.Pi...#`.Z...| -00000370 67 cc e5 80 3b 25 d0 6c 50 c8 16 03 03 00 04 0e |g...;%.lP.......| +000002d0 00 a8 03 00 1d 20 4c d6 65 c1 74 2c 78 ab 45 87 |..... L.e.t,x.E.| +000002e0 bc 6e 9a cd 6c d4 2f 1e ed 1b ed 68 e0 20 3b 13 |.n..l./....h. ;.| +000002f0 7b b9 45 a1 38 78 04 01 00 80 31 26 2b b6 f8 fe |{.E.8x....1&+...| +00000300 bf 3c c6 8e ec 30 87 09 18 87 27 ec 9f 4f 93 74 |.<...0....'..O.t| +00000310 6b 65 94 12 3e 4d 5e a8 f7 0f ec 9e 60 c5 d5 a0 |ke..>M^.....`...| +00000320 c1 53 10 1d 8a 5b 82 2e 64 07 59 2e 0c b8 e3 90 |.S...[..d.Y.....| +00000330 20 a5 0a 88 3e 7e d6 b9 85 58 78 f1 58 56 a6 d8 | ...>~...Xx.XV..| +00000340 ee 60 52 59 d1 5b 16 58 de ce bc 09 79 99 65 e0 |.`RY.[.X....y.e.| +00000350 6b 0b 4e 3d fb 80 35 6b 56 48 33 b3 17 4e 61 cf |k.N=..5kVH3..Na.| +00000360 88 78 41 14 c8 fa 41 32 f9 2b 87 27 40 d7 2b 51 |.xA...A2.+.'@.+Q| +00000370 bd 16 54 cd f3 79 3a 7d c9 f0 16 03 03 00 04 0e |..T..y:}........| 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 5c c5 3e 7a 14 97 1b 55 88 25 08 |.... \.>z...U.%.| -00000040 ad 86 48 ac f0 43 8c 17 5b 58 93 6c 7a 95 69 a8 |..H..C..[X.lz.i.| -00000050 ad 0c b3 61 4d |...aM| +00000030 16 03 03 00 20 40 b0 f2 80 ce 38 b3 98 fd 34 ba |.... @....8...4.| +00000040 84 d3 f7 30 dc 9f 09 4b 0e 44 0b 79 b1 28 39 53 |...0...K.D.y.(9S| +00000050 94 03 db c8 2b |....+| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 dd 1b 80 da d9 |.......... .....| -00000010 73 da 7d 15 9b 92 82 01 a7 8f fe 4a 75 97 8f f4 |s.}........Ju...| -00000020 64 1b bf cf c3 40 78 f2 52 f5 7a |d....@x.R.z| +00000000 14 03 03 00 01 01 16 03 03 00 20 6f 6c ec 1a 29 |.......... ol..)| +00000010 d8 29 6c 10 67 12 4f 45 d3 64 85 e4 bc 28 5b 52 |.)l.g.OE.d...([R| +00000020 d0 46 45 3c ac bc fa 51 c1 00 84 |.FE<...Q...| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 4e fa 7c 37 80 48 19 a6 03 25 7c |.....N.|7.H...%|| -00000010 65 56 43 af 9a e8 e2 aa e5 79 98 15 03 03 00 12 |eVC......y......| -00000020 f9 b7 01 e8 2e 85 33 89 60 44 84 93 26 4c ec ac |......3.`D..&L..| -00000030 2e 6f |.o| +00000000 17 03 03 00 16 7d 3e 49 f0 a6 61 18 fc 10 f4 7f |.....}>I..a.....| +00000010 e2 df b7 58 7d ad 31 84 de 60 e0 15 03 03 00 12 |...X}.1..`......| +00000020 08 cd 3f b6 58 d8 72 12 e0 f5 c6 8f f7 76 d5 29 |..?.X.r......v.)| +00000030 4f b2 |O.| diff --git a/testdata/Client-TLSv12-ClientCert-ECDSA-ECDSA b/testdata/Client-TLSv12-ClientCert-ECDSA-ECDSA index 336e10da..6fc1b1bd 100644 --- a/testdata/Client-TLSv12-ClientCert-ECDSA-ECDSA +++ b/testdata/Client-TLSv12-ClientCert-ECDSA-ECDSA @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 cf 28 2c 3e 4f |....Y...U...(,>O| -00000010 da 6b ae 24 74 a9 91 c3 c5 55 4b ab ec 07 f8 cd |.k.$t....UK.....| -00000020 65 f8 fe 08 f6 9a 23 da 99 6c 5d 20 af 4a 1e 32 |e.....#..l] .J.2| -00000030 7b bd 3c 0b b1 14 66 a3 b7 2f a4 2a c3 43 c4 e0 |{.<...f../.*.C..| -00000040 c2 ad 78 b1 28 ab 51 06 1b 87 d2 75 c0 09 00 00 |..x.(.Q....u....| +00000000 16 03 03 00 59 02 00 00 55 03 03 3d c4 44 53 fd |....Y...U..=.DS.| +00000010 1d ce 32 ba 0a ba 77 43 7a ba d1 e1 5b 7d 78 d4 |..2...wCz...[}x.| +00000020 d3 29 5f e2 2b ab a1 e0 20 70 bd 20 4c 6b 28 a6 |.)_.+... p. Lk(.| +00000030 f0 d0 51 92 3d ed 65 5c bd 26 8f 81 93 14 b0 93 |..Q.=.e\.&......| +00000040 80 af ae f6 3c 59 1f 1c 65 45 f0 13 c0 09 00 00 |.....| -000002c0 f7 e0 5d 64 47 5a d1 d9 ed d2 1c 6b 13 3e e7 83 |..]dGZ.....k.>..| -000002d0 6e bb 53 33 03 7d 69 c6 8f 9d 98 d7 96 9c 73 e3 |n.S3.}i.......s.| -000002e0 12 bd 69 1f b1 d3 f4 25 d7 02 42 01 11 6d c8 53 |..i....%..B..m.S| -000002f0 9b bf f4 db ff 8a 00 82 93 f7 b5 bf c9 bb cd ec |................| -00000300 64 f8 d9 6d 36 0d f8 db ce 9d 65 a0 5e 5a e0 13 |d..m6.....e.^Z..| -00000310 ec 08 73 2c 3f 8c c6 5b 08 cc 0f 4a 7d 6b 5e 89 |..s,?..[...J}k^.| -00000320 bf 4a 4e db 51 5a 9f 51 3e 9d 9a c5 84 16 03 03 |.JN.QZ.Q>.......| +00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 b4 47 |*............ .G| +00000280 68 85 aa c9 1b 4f ac c6 c6 08 39 e2 91 a8 0f a7 |h....O....9.....| +00000290 26 d0 60 1a 68 62 7d 22 61 d2 66 1f 42 71 04 03 |&.`.hb}"a.f.Bq..| +000002a0 00 8b 30 81 88 02 42 00 86 22 15 eb 04 d8 98 69 |..0...B..".....i| +000002b0 71 75 c9 d7 17 61 d2 dc a7 2f 21 22 fd b9 da 6e |qu...a.../!"...n| +000002c0 b2 36 65 22 1a 20 c8 49 3e a6 2a e4 4e a1 93 8d |.6e". .I>.*.N...| +000002d0 47 59 42 4f 54 51 3f dd fc b9 b0 b4 fe d2 77 28 |GYBOTQ?.......w(| +000002e0 15 58 4f b5 f5 56 da b2 02 02 42 00 cb 0b 69 b7 |.XO..V....B...i.| +000002f0 1b 48 85 7e e3 bf be 27 64 c7 38 4d dc a1 49 73 |.H.~...'d.8M..Is| +00000300 ba f9 45 6b cc 95 d1 72 d8 45 9c 39 3d 3a 93 85 |..Ek...r.E.9=:..| +00000310 a7 22 20 c3 ce 48 e3 0d 31 9c f4 cf 2c dc d7 9d |." ..H..1...,...| +00000320 d3 b4 6a fe 98 31 d9 32 dc 37 1a c0 fa 16 03 03 |..j..1.2.7......| 00000330 00 2a 0d 00 00 26 03 01 02 40 00 1e 06 01 06 02 |.*...&...@......| 00000340 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................| 00000350 03 02 03 03 02 01 02 02 02 03 00 00 16 03 03 00 |................| @@ -101,32 +101,32 @@ 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 93 0f 00 |...._X.;t.......| -00000240 00 8f 05 03 00 8b 30 81 88 02 42 01 32 6d 32 38 |......0...B.2m28| -00000250 d6 bd 1b b6 c5 80 f2 ea 60 b8 bf 3f b6 76 68 1b |........`..?.vh.| -00000260 66 fb 5d 69 0b 25 09 7f 2d 73 ad 7e cd 98 cb b5 |f.]i.%..-s.~....| -00000270 93 4e 4f 1c 4e 3f a1 39 cf a0 70 a6 3d 29 36 27 |.NO.N?.9..p.=)6'| -00000280 51 e0 55 95 11 df 00 88 6c 38 d6 de 36 02 42 01 |Q.U.....l8..6.B.| -00000290 67 50 81 90 a7 ae b5 e2 34 75 81 41 c2 71 8d 0c |gP......4u.A.q..| -000002a0 9a 20 e7 33 af 0e 61 48 85 51 a1 f7 90 17 d1 ad |. .3..aH.Q......| -000002b0 b3 e1 cf 3e 12 fc ce 39 16 a8 78 3b 69 0d 79 76 |...>...9..x;i.yv| -000002c0 03 17 75 c2 a0 63 5e dc 0a a7 c9 aa 15 2a 83 65 |..u..c^......*.e| -000002d0 df 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 27 da 48 f6 |............'.H.| -000002f0 d3 00 98 b9 a6 b7 41 0b eb e6 d1 d7 82 9a 0c 59 |......A........Y| -00000300 8a 42 1c 99 59 af da a7 5b 88 ab b6 7d 01 bc 0f |.B..Y...[...}...| -00000310 45 08 c4 05 0d 2a 4a 83 bf eb b1 b6 |E....*J.....| +00000230 c2 ed 90 99 5f 58 cb 3b 74 16 03 03 00 92 0f 00 |...._X.;t.......| +00000240 00 8e 06 03 00 8a 30 81 87 02 42 00 cb 61 7d bc |......0...B..a}.| +00000250 af 48 88 32 98 9b 34 a0 71 0e 3a 33 bd da 73 16 |.H.2..4.q.:3..s.| +00000260 05 f4 8e d8 30 11 c8 da dd 7a 84 80 57 a1 76 d8 |....0....z..W.v.| +00000270 af 3d 90 d7 e2 44 85 78 c4 12 ed 8d dc 4e 82 08 |.=...D.x.....N..| +00000280 51 20 59 d7 38 26 29 c9 2b 5b 77 fc d2 02 41 3b |Q Y.8&).+[w...A;| +00000290 70 99 7c 46 bf 8e 85 40 d7 75 c5 43 36 f8 e3 30 |p.|F...@.u.C6..0| +000002a0 28 ac 20 1e 79 43 b2 f3 6d b1 ae 6e cf 41 b5 ed |(. .yC..m..n.A..| +000002b0 76 2b d5 17 78 2c fa 91 75 ba 63 8f e9 1c c8 c0 |v+..x,..u.c.....| +000002c0 1e 02 63 70 53 41 e0 98 77 a5 ae 54 6a 74 c0 91 |..cpSA..w..Tjt..| +000002d0 14 03 03 00 01 01 16 03 03 00 40 00 00 00 00 00 |..........@.....| +000002e0 00 00 00 00 00 00 00 00 00 00 00 7d 12 bc ba f4 |...........}....| +000002f0 34 59 b7 c2 a9 5d 11 88 38 cc bc cc 1c 14 b7 5a |4Y...]..8......Z| +00000300 ae d8 0a 45 bc 61 b5 bc d6 8e c4 69 80 10 7a ea |...E.a.....i..z.| +00000310 07 f4 dc 1a c9 dc b8 90 66 6c bc |........fl.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 40 73 7c e6 43 b9 |..........@s|.C.| -00000010 47 85 1c 50 f1 cb a1 29 79 02 dd 13 85 2a d9 a2 |G..P...)y....*..| -00000020 07 50 e4 80 c4 7e 66 ee f2 1a 21 1d cd e4 ff 4a |.P...~f...!....J| -00000030 a4 61 9d b4 a1 26 88 72 20 2b 06 77 c3 8b 3b 21 |.a...&.r +.w..;!| -00000040 53 33 02 3d a2 06 77 3b a5 a6 0b |S3.=..w;...| +00000000 14 03 03 00 01 01 16 03 03 00 40 df ff fd 43 0b |..........@...C.| +00000010 d1 28 4b db ce 29 8b 01 56 e7 44 9d 69 92 e7 11 |.(K..)..V.D.i...| +00000020 7c 57 f2 a1 cf 35 d4 3a 8f 90 69 ce 80 4e 8b 6c ||W...5.:..i..N.l| +00000030 e9 eb 90 65 0e 89 49 20 41 ae 32 62 66 f4 aa 85 |...e..I A.2bf...| +00000040 cd ca f7 a2 37 8f ef 22 ab b6 7b |....7.."..{| >>> 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 1a 45 68 03 9b f0 42 e4 21 5e d8 |......Eh...B.!^.| -00000020 98 d6 46 67 2b 93 80 92 1f 91 60 a3 05 04 1c a0 |..Fg+.....`.....| -00000030 1b a9 ce 45 03 15 03 03 00 30 00 00 00 00 00 00 |...E.....0......| -00000040 00 00 00 00 00 00 00 00 00 00 6b 23 42 c8 5c 29 |..........k#B.\)| -00000050 f5 1f 7c d5 80 c4 9f 6f 12 77 95 71 8f 82 f9 63 |..|....o.w.q...c| -00000060 07 2c 6d ed 6d c6 4f 90 50 a3 |.,m.m.O.P.| +00000010 00 00 00 00 00 76 a4 88 f6 fb 0a 0f 8d a6 1f e0 |.....v..........| +00000020 96 4d d0 93 30 c9 b6 27 1e 3c 87 d7 98 f9 d6 e9 |.M..0..'.<......| +00000030 96 f7 e0 af b6 15 03 03 00 30 00 00 00 00 00 00 |.........0......| +00000040 00 00 00 00 00 00 00 00 00 00 82 01 3b 93 6f 78 |............;.ox| +00000050 1b e8 b6 ed 45 11 85 26 0f 40 63 2a a6 c9 f8 7b |....E..&.@c*...{| +00000060 7f 01 42 6b c1 8b 4f c0 a6 b5 |..Bk..O...| diff --git a/testdata/Client-TLSv12-ClientCert-ECDSA-RSA b/testdata/Client-TLSv12-ClientCert-ECDSA-RSA index fb6c940a..47c083e4 100644 --- a/testdata/Client-TLSv12-ClientCert-ECDSA-RSA +++ b/testdata/Client-TLSv12-ClientCert-ECDSA-RSA @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 2e d2 1c 3f f8 |....Y...U.....?.| -00000010 3a dc be 78 0b fa 03 00 e0 9a b9 62 34 45 f8 34 |:..x.......b4E.4| -00000020 54 21 4c c0 76 a6 e1 5a a1 67 c2 20 1b 98 25 34 |T!L.v..Z.g. ..%4| -00000030 79 ac 59 b5 39 c8 93 10 a9 ea 9d 25 3d 2c d8 69 |y.Y.9......%=,.i| -00000040 da d8 33 75 ef 44 4c 76 92 2b 3b b4 c0 2f 00 00 |..3u.DLv.+;../..| +00000000 16 03 03 00 59 02 00 00 55 03 03 b1 01 db c2 3f |....Y...U......?| +00000010 11 0c d0 d2 fd 1d 5f 54 f6 62 4a 47 f9 62 e6 88 |......_T.bJG.b..| +00000020 72 d7 f5 91 78 73 99 94 72 26 ed 20 51 91 b2 bf |r...xs..r&. Q...| +00000030 78 94 0c 1f bb 7b ff a2 b6 8f 57 5d 03 f2 97 b8 |x....{....W]....| +00000040 c2 20 99 cd 48 f3 14 fc 63 38 97 44 c0 2f 00 00 |. ..H...c8.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..............| @@ -54,17 +54,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 06 be 1b 0b d8 95 59 |........ ......Y| -000002d0 b2 13 1c 4a 06 b8 36 3e 4f 98 3f 81 11 3e 7d 21 |...J..6>O.?..>}!| -000002e0 fa d9 f0 db 1b 41 4a d0 14 04 01 00 80 ca 57 f5 |.....AJ.......W.| -000002f0 e7 b6 72 7e 3f b0 67 f2 a2 d0 84 d5 7f 7d 83 ff |..r~?.g......}..| -00000300 92 73 4f 19 f7 94 b6 d7 95 f4 1b 56 2a fc fa 24 |.sO........V*..$| -00000310 3e fe 00 65 52 76 c8 30 8a bf ae fe b5 c9 f2 47 |>..eRv.0.......G| -00000320 0a 71 ad c1 6a 61 8c b5 ab 59 09 12 92 b2 b4 ad |.q..ja...Y......| -00000330 cb cc ac c4 30 e9 a4 8a 82 4e 2e d6 1d 16 46 dd |....0....N....F.| -00000340 60 37 50 b8 ae 83 c1 e6 1d ba 8c c7 18 f7 5e d7 |`7P...........^.| -00000350 23 e5 8a 14 ba e4 8e a1 77 8a b6 41 03 61 8a 25 |#.......w..A.a.%| -00000360 8a 27 f8 cb 2e 4a e0 07 aa bf 03 32 98 16 03 03 |.'...J.....2....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 22 78 15 4f d2 33 df |........ "x.O.3.| +000002d0 3e 82 b7 10 ca 8b 5c d6 f2 84 8f e7 cb cf 3e 2f |>.....\.......>/| +000002e0 65 dd 5b 5c 0a 48 f4 f6 1e 04 01 00 80 40 08 09 |e.[\.H.......@..| +000002f0 e5 bc a2 e3 27 a9 7e 2d e2 1d 47 7c 8c 95 44 28 |....'.~-..G|..D(| +00000300 f8 3d 00 5d f7 38 26 31 8f f3 61 27 f6 c0 a0 12 |.=.].8&1..a'....| +00000310 ed 3b 59 18 ed aa 4c 4a 54 8a 23 0a 13 7a 7d 1c |.;Y...LJT.#..z}.| +00000320 26 5e 7a f1 55 d5 68 dc f9 97 ef 6d 98 0f 87 41 |&^z.U.h....m...A| +00000330 31 e5 a0 f1 84 19 3a 19 cf b3 f7 9d 34 13 05 ab |1.....:.....4...| +00000340 85 2e 6f 4e 8f fd c3 37 63 3e c9 3d 48 87 6a 9b |..oN...7c>.=H.j.| +00000350 c1 21 d1 4f 89 7d a1 dc 23 bb cf d8 b1 d9 91 e0 |.!.O.}..#.......| +00000360 f6 48 f0 20 64 8b f8 f1 86 5c b3 6c 70 16 03 03 |.H. d....\.lp...| 00000370 00 2a 0d 00 00 26 03 01 02 40 00 1e 06 01 06 02 |.*...&...@......| 00000380 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................| 00000390 03 02 03 03 02 01 02 02 02 03 00 00 16 03 03 00 |................| @@ -105,28 +105,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 05 03 00 8a 30 81 87 02 41 19 c6 1e f0 f4 |......0...A.....| -00000250 ca 79 d7 8c 36 0f 56 9a 9d 07 55 31 fe 63 f1 ec |.y..6.V...U1.c..| -00000260 20 80 6f 12 ed 7f bb c0 87 0a 0d 68 81 89 bd 8b | .o........h....| -00000270 19 04 5e c0 19 8a d2 0f 6d 71 83 59 ee a7 be be |..^.....mq.Y....| -00000280 1d bb 2f 12 53 9b ca 58 0e a6 8d ae 02 42 00 d0 |../.S..X.....B..| -00000290 4c 69 75 30 86 d1 da 73 1b 8e 3e e1 82 9b f3 58 |Liu0...s..>....X| -000002a0 8f 6d 0a 10 86 72 5f 90 17 d1 ac 34 8a b5 60 d0 |.m...r_....4..`.| -000002b0 b8 54 0f 05 7f cd 6a c0 62 b5 04 d9 3a 98 95 b6 |.T....j.b...:...| -000002c0 b3 00 1d 94 6e 79 35 57 d2 78 a4 7a 4a 45 89 d1 |....ny5W.x.zJE..| -000002d0 14 03 03 00 01 01 16 03 03 00 28 00 00 00 00 00 |..........(.....| -000002e0 00 00 00 cf b5 3c cf 0a b7 6b 51 cb fe 06 4c df |.....<...kQ...L.| -000002f0 2c 79 a6 5e a8 75 8b 4c 44 7b ae ff 64 d7 67 dc |,y.^.u.LD{..d.g.| -00000300 af ef 54 |..T| +00000230 c2 ed 90 99 5f 58 cb 3b 74 16 03 03 00 93 0f 00 |...._X.;t.......| +00000240 00 8f 06 03 00 8b 30 81 88 02 42 01 9e be 18 6a |......0...B....j| +00000250 b3 8d c4 2f b9 ed db b9 89 cf 2f e5 d6 13 64 68 |.../....../...dh| +00000260 72 e4 51 01 12 a9 83 08 d7 2e fa cc 64 09 80 79 |r.Q.........d..y| +00000270 ce 3d 51 a1 e1 f7 3c 5c 2c dd 97 a2 f9 61 c3 7a |.=Q...<\,....a.z| +00000280 bc 25 ad c1 04 a1 cf bf 06 f5 e2 b5 15 02 42 00 |.%............B.| +00000290 bf 72 20 6f 0e 49 f2 07 bd 07 ef f3 e8 9c 1a 61 |.r o.I.........a| +000002a0 b0 7a 6c b0 14 71 4a aa 76 05 9f d1 ef 5b 41 be |.zl..qJ.v....[A.| +000002b0 4c 20 7b 5c 31 86 da e3 3b 54 0f af 79 6b 54 84 |L {\1...;T..ykT.| +000002c0 72 0b 0a e4 ea 33 48 a2 1a e8 8d dd 16 45 80 d1 |r....3H......E..| +000002d0 88 14 03 03 00 01 01 16 03 03 00 28 00 00 00 00 |...........(....| +000002e0 00 00 00 00 4d 58 00 50 6d 12 ea c2 6c f8 1c 51 |....MX.Pm...l..Q| +000002f0 e8 91 8c 24 dd c2 28 af c7 c7 ed 28 29 34 62 2c |...$..(....()4b,| +00000300 c0 d3 06 7d |...}| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 1c 12 5e 29 ba |..........(..^).| -00000010 34 b3 d8 ae f7 2a 83 0d 3e 21 ec 91 c9 fa 7f d1 |4....*..>!......| -00000020 42 7e 8d d9 e5 ed 4e f9 ae 95 66 27 85 cc 44 2d |B~....N...f'..D-| -00000030 cd a3 26 |..&| +00000000 14 03 03 00 01 01 16 03 03 00 28 b3 71 11 c5 31 |..........(.q..1| +00000010 7b 22 87 23 7b 71 05 ca 95 fc d1 7d 0e fd 68 d3 |{".#{q.....}..h.| +00000020 7f 08 af 41 16 ff cf 87 a4 5a 6b fb b1 5e 89 e0 |...A.....Zk..^..| +00000030 8e 0c 88 |...| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 8b 4c 36 |..............L6| -00000010 6f b8 69 16 0a 40 67 05 5e a8 e6 48 cc ad 7b 29 |o.i..@g.^..H..{)| -00000020 95 3d 02 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.=..............| -00000030 58 e3 b5 8e 30 e7 5d 02 cd e5 c0 11 95 3a ef a9 |X...0.]......:..| -00000040 d7 86 |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 3b 83 10 |.............;..| +00000010 ee 6d c5 a9 6a 9e 61 7f df 00 c4 03 39 6a b8 4a |.m..j.a.....9j.J| +00000020 0f 0c e6 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 35 b9 7d a7 29 d0 ba e1 5e 4e f1 67 4a 81 12 e7 |5.}.)...^N.gJ...| +00000040 62 72 |br| diff --git a/testdata/Client-TLSv12-ClientCert-RSA-AES256-GCM-SHA384 b/testdata/Client-TLSv12-ClientCert-RSA-AES256-GCM-SHA384 index 17fc8f8e..892db8ac 100644 --- a/testdata/Client-TLSv12-ClientCert-RSA-AES256-GCM-SHA384 +++ b/testdata/Client-TLSv12-ClientCert-RSA-AES256-GCM-SHA384 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 31 df 35 e4 36 |....Y...U..1.5.6| -00000010 c5 f1 b4 9f e7 5d fa e1 e0 23 04 54 bd 2b fb ab |.....]...#.T.+..| -00000020 a2 37 8f 35 eb 79 47 e6 f8 2b cb 20 ba d8 db 26 |.7.5.yG..+. ...&| -00000030 ce 6b 4a e9 1e 0c 46 9f 4d 85 cb d7 b0 e2 3d 20 |.kJ...F.M.....= | -00000040 58 43 83 37 e1 53 ac 3b d9 b3 fd 0a c0 30 00 00 |XC.7.S.;.....0..| +00000000 16 03 03 00 59 02 00 00 55 03 03 76 09 a7 74 97 |....Y...U..v..t.| +00000010 df 92 1b 14 fb 0f 5c 82 a9 04 22 5f 32 1f 04 50 |......\..."_2..P| +00000020 52 8c ec 30 c1 5e 73 51 8a 0d 22 20 12 f5 11 b3 |R..0.^sQ.." ....| +00000030 3b 8e 49 9a 0b 79 3e 0a a8 7f a8 01 eb b0 ea 4e |;.I..y>........N| +00000040 d5 19 0d 4e c5 7d d7 a0 ff 6e 75 a1 c0 30 00 00 |...N.}...nu..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..............| @@ -54,17 +54,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 9a 18 f9 2e 33 f7 bb |........ ....3..| -000002d0 ca 60 0b 51 ad 5c 01 e2 61 82 0b 3f 09 8f 78 9d |.`.Q.\..a..?..x.| -000002e0 3b 11 8b e0 4a 35 2e d5 54 04 01 00 80 90 94 0e |;...J5..T.......| -000002f0 bf 3a b7 95 d3 58 cc 65 c3 79 5e 1e bb d9 21 56 |.:...X.e.y^...!V| -00000300 06 93 6c 2b 6e 26 55 ee 26 c3 02 44 7e db 35 9b |..l+n&U.&..D~.5.| -00000310 d4 d4 1a a0 65 35 41 a4 6c ce de 1f 94 ff b4 1b |....e5A.l.......| -00000320 1e 9c 28 0b 4c 8d 55 d0 d8 be f1 df e0 d1 1a b5 |..(.L.U.........| -00000330 c8 be 2c 5a 2c c3 3f ea 4f e6 d5 b4 6b e1 ff eb |..,Z,.?.O...k...| -00000340 f3 f3 40 54 d5 62 1f a0 fc b2 34 66 ee c5 27 a6 |..@T.b....4f..'.| -00000350 2b 2a b9 5d 3f 36 28 eb 39 99 25 e5 04 d2 18 13 |+*.]?6(.9.%.....| -00000360 3c 23 93 d0 04 37 85 b0 4d 6e 9b 32 9a 16 03 03 |<#...7..Mn.2....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 24 0d ab 23 1c 61 5d |........ $..#.a]| +000002d0 26 01 04 dd ea 32 2d e4 a1 95 28 fc a7 17 93 6f |&....2-...(....o| +000002e0 ce b8 ef 0a 74 cf 28 ca 33 04 01 00 80 1e e1 03 |....t.(.3.......| +000002f0 e6 a7 bd 38 7b 32 52 01 47 b3 fa 0a 8f 29 2c 98 |...8{2R.G....),.| +00000300 58 37 21 3d 9e 78 48 dc 74 a9 ec d2 9a cb 56 8e |X7!=.xH.t.....V.| +00000310 4a 90 d6 b6 87 82 03 b8 60 04 bf 73 b2 61 e6 ab |J.......`..s.a..| +00000320 7d cd eb ba cf e8 16 86 db 38 7e 96 6b 14 c4 4f |}........8~.k..O| +00000330 05 fb 2b b5 6e 50 9a f5 02 f3 a2 84 95 8d a6 91 |..+.nP..........| +00000340 d2 16 33 98 16 c0 61 55 fe a8 70 02 d1 db 86 d1 |..3...aU..p.....| +00000350 37 0c 02 36 cf b2 10 6d 63 94 f6 18 29 a7 6b 1b |7..6...mc...).k.| +00000360 8f 7c 51 8e 8f e4 ef a8 2b 99 0b ae 1b 16 03 03 |.|Q.....+.......| 00000370 00 2a 0d 00 00 26 03 01 02 40 00 1e 06 01 06 02 |.*...&...@......| 00000380 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................| 00000390 03 02 03 03 02 01 02 02 02 03 00 00 16 03 03 00 |................| @@ -105,26 +105,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 05 01 00 80 ad f7 ff a0 cb d0 6e |...............n| -00000240 8f 19 0c 40 2a 1f bb dd 11 52 81 84 f1 7b 3f cf |...@*....R...{?.| -00000250 75 72 83 a4 4c 0a 9c 70 95 98 d5 51 a2 28 0c 8c |ur..L..p...Q.(..| -00000260 20 08 d7 2a a5 3e 0c cf 6c a2 1d 32 bd cc a1 b4 | ..*.>..l..2....| -00000270 61 e0 6d 9a 61 16 03 5c 7a b8 fa 15 ea cd e4 de |a.m.a..\z.......| -00000280 d6 16 93 b2 e0 d2 55 b9 03 e0 67 04 27 64 8c e2 |......U...g.'d..| -00000290 01 ee 8f f7 59 3e 12 16 51 f2 07 20 fe 03 e2 3e |....Y>..Q.. ...>| -000002a0 09 1f 96 24 c5 73 0e 69 ac 57 ff 43 2b 6a c6 20 |...$.s.i.W.C+j. | -000002b0 2f e4 ef 7e bc b3 38 57 06 14 03 03 00 01 01 16 |/..~..8W........| -000002c0 03 03 00 28 00 00 00 00 00 00 00 00 fd 71 f5 ca |...(.........q..| -000002d0 91 26 67 54 a5 e6 f3 06 c8 40 24 9d a9 bd b1 9a |.&gT.....@$.....| -000002e0 63 c4 c2 53 56 ba af c0 16 bc 06 5c |c..SV......\| +00000230 88 0f 00 00 84 06 01 00 80 9f 32 29 c2 47 12 3b |..........2).G.;| +00000240 c1 2a f5 02 2b be 51 88 68 ed d6 f6 06 72 b8 02 |.*..+.Q.h....r..| +00000250 32 5f f6 c6 a0 72 d1 df d4 01 8c f7 37 ca 3a 8f |2_...r......7.:.| +00000260 cb ee d8 1d 7b 8a 80 0b 21 30 14 55 32 19 ba 8e |....{...!0.U2...| +00000270 a0 6a 0a 8b 53 01 71 09 d2 1c 19 b2 50 4f a4 35 |.j..S.q.....PO.5| +00000280 4d 22 71 74 62 fb 24 8d d1 b2 0e d7 60 ae 9e a9 |M"qtb.$.....`...| +00000290 07 60 84 99 da c9 a4 04 09 35 da c3 98 4e ab fe |.`.......5...N..| +000002a0 41 68 f2 0c 8a 94 b3 26 af 2c 19 52 48 08 8d 00 |Ah.....&.,.RH...| +000002b0 05 69 d8 9f 35 b5 9e 00 2e 14 03 03 00 01 01 16 |.i..5...........| +000002c0 03 03 00 28 00 00 00 00 00 00 00 00 bf fd 71 87 |...(..........q.| +000002d0 c2 8c 1e 69 59 95 8a 75 da 56 7e db e6 5c fd 6c |...iY..u.V~..\.l| +000002e0 74 97 46 66 37 23 3f 39 91 23 c0 d1 |t.Ff7#?9.#..| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 92 8f bd c5 97 |..........(.....| -00000010 94 76 70 f4 0a f9 9a 79 69 31 27 0e c0 c5 0b 3c |.vp....yi1'....<| -00000020 9f 4f c2 2f cb 6c 56 62 80 3b e5 72 6a 05 9e 4b |.O./.lVb.;.rj..K| -00000030 34 b9 66 |4.f| +00000000 14 03 03 00 01 01 16 03 03 00 28 16 d9 d6 d4 2f |..........(..../| +00000010 8c 6f 50 8d e6 6f ea eb 6a 55 6a 12 10 d2 dc aa |.oP..o..jUj.....| +00000020 83 7a 38 6a bc 10 aa da 62 ab 94 7b ac f2 03 1a |.z8j....b..{....| +00000030 2f 95 6d |/.m| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 43 fb 43 |.............C.C| -00000010 3d 96 63 dd 25 94 9d 7a fb 9e 15 6f 62 5e ed 34 |=.c.%..z...ob^.4| -00000020 19 89 b8 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| -00000030 53 c2 2d 6c b7 91 6c 62 84 09 a2 1c 9b 3d 9e 89 |S.-l..lb.....=..| -00000040 6a 3d |j=| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 36 84 d7 |.............6..| +00000010 5c ef b0 3e 11 86 a9 a1 2c 0c 05 2f fa 86 3b dc |\..>....,../..;.| +00000020 fb 8c 94 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 86 fb 4d dd 33 11 53 9c c2 9f e6 48 79 19 69 f3 |..M.3.S....Hy.i.| +00000040 db 3b |.;| diff --git a/testdata/Client-TLSv12-ClientCert-RSA-ECDSA b/testdata/Client-TLSv12-ClientCert-RSA-ECDSA index 1ff91986..9f717b15 100644 --- a/testdata/Client-TLSv12-ClientCert-RSA-ECDSA +++ b/testdata/Client-TLSv12-ClientCert-RSA-ECDSA @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 84 4b ff a4 2a |....Y...U...K..*| -00000010 a4 76 c0 26 f6 05 72 94 01 15 44 f2 c6 7d b0 4b |.v.&..r...D..}.K| -00000020 1b fa da 51 54 45 78 66 e6 0a dd 20 17 df d2 0c |...QTExf... ....| -00000030 2f d6 55 b9 ae 82 ce 2f 2f 07 67 54 5e 02 bd 2f |/.U....//.gT^../| -00000040 48 f6 fb 3d 9c fa 4f a8 66 15 08 da c0 09 00 00 |H..=..O.f.......| +00000000 16 03 03 00 59 02 00 00 55 03 03 63 c7 66 ed 90 |....Y...U..c.f..| +00000010 6f f2 a3 65 32 55 e2 00 ce 15 46 33 22 ad 1a 6f |o..e2U....F3"..o| +00000020 ac 21 89 0e b0 66 a8 04 98 f2 99 20 02 7c 4f 57 |.!...f..... .|OW| +00000030 f4 69 17 6f 23 f5 a6 db 8f a6 ef eb 83 70 53 5d |.i.o#........pS]| +00000040 0e 85 b9 d7 53 01 10 9b 65 97 c0 c1 c0 09 00 00 |....S...e.......| 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....| @@ -49,22 +49,22 @@ 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 5d 4e |*............ ]N| -00000280 0c 9e ad 7b f1 48 0c db 03 96 26 2e 16 87 2c e2 |...{.H....&...,.| -00000290 ce a2 47 5a 57 30 e8 e1 7e b2 53 5b c6 7b 04 03 |..GZW0..~.S[.{..| -000002a0 00 8b 30 81 88 02 42 00 e8 8e 68 a8 e3 b5 b4 fe |..0...B...h.....| -000002b0 b9 91 aa 4f 96 3d 97 8d b2 ef 23 a4 3d 16 db 2b |...O.=....#.=..+| -000002c0 50 6d 52 cd a5 e7 79 ae 65 10 d6 36 e0 ba c3 6b |PmR...y.e..6...k| -000002d0 53 61 14 bb 05 47 5a df 26 2f cb 3a 95 c6 6b dc |Sa...GZ.&/.:..k.| -000002e0 88 fd 2e 22 b5 ef ff 31 0e 02 42 01 be ce 6e 53 |..."...1..B...nS| -000002f0 42 43 1c 1c d8 83 7f 45 c4 16 ee d2 7b 66 a0 f4 |BC.....E....{f..| -00000300 f3 14 da 5c 14 e8 fc bc 86 7d 18 43 b9 7b 90 8c |...\.....}.C.{..| -00000310 af f1 05 95 c6 53 0b 0b 0d 10 a1 e9 bb 89 35 c2 |.....S........5.| -00000320 b2 e1 d7 dd 99 7c bf 85 19 3c 4e 8e 8f 16 03 03 |.....|...>> Flow 3 (client to server) 00000000 16 03 03 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.......\.| @@ -101,31 +101,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 05 01 00 80 98 58 a8 77 3d db 0b |..........X.w=..| -00000240 04 36 78 51 8b 23 48 fc 70 2b c9 94 1f ee 32 ae |.6xQ.#H.p+....2.| -00000250 41 c0 42 20 19 51 67 e7 fa c0 fd 15 a1 5f 55 4f |A.B .Qg......_UO| -00000260 aa be 29 77 f5 47 71 b9 6c 51 89 18 df 25 98 fd |..)w.Gq.lQ...%..| -00000270 c8 6e ae e3 fd 99 63 ca 2c d2 fb ca bc 57 b7 7f |.n....c.,....W..| -00000280 a2 90 a6 6f b7 2e b7 2a 52 29 e6 75 57 86 cc b1 |...o...*R).uW...| -00000290 d8 6c f3 4e 49 ab 4b 66 0a 72 aa ec c2 f7 6e 57 |.l.NI.Kf.r....nW| -000002a0 15 26 79 1a a4 24 c2 ba 76 9e dd b9 f9 d4 da 1b |.&y..$..v.......| -000002b0 c9 29 66 eb 64 1b 68 66 66 14 03 03 00 01 01 16 |.)f.d.hff.......| +00000230 88 0f 00 00 84 06 01 00 80 0a d6 0d 0a 0f 6b 18 |..............k.| +00000240 f4 e3 3a b7 84 cd 56 53 ae 81 3f e8 50 a4 6a ab |..:...VS..?.P.j.| +00000250 4e f7 f5 8f e6 c5 6f e1 88 47 a9 ba 35 07 a3 5d |N.....o..G..5..]| +00000260 d0 e3 f3 b9 2a 33 33 1c af d5 91 4b 92 3d da eb |....*33....K.=..| +00000270 96 3f 4c 0e ac 55 3e 32 8c 56 f9 3e 64 d1 51 03 |.?L..U>2.V.>d.Q.| +00000280 a1 46 2a 47 0b d6 fd 0c 94 15 de 66 22 24 11 06 |.F*G.......f"$..| +00000290 ed 17 ab f0 c5 5b 39 7d f2 ce 02 3f 3a 16 b4 14 |.....[9}...?:...| +000002a0 81 f7 4f 38 a9 46 ee 09 bf ed 14 b5 d8 3c d6 32 |..O8.F.......<.2| +000002b0 26 48 6d 9d 49 70 12 a0 f3 14 03 03 00 01 01 16 |&Hm.Ip..........| 000002c0 03 03 00 40 00 00 00 00 00 00 00 00 00 00 00 00 |...@............| -000002d0 00 00 00 00 70 2b 69 27 05 9a 96 e6 e8 52 ea 0f |....p+i'.....R..| -000002e0 3a d6 40 b5 e2 89 5b bf aa 95 6c c1 7d 53 09 89 |:.@...[...l.}S..| -000002f0 23 38 6b 83 85 84 fa f4 2e fb cd b3 57 4e 79 8a |#8k.........WNy.| -00000300 92 74 03 22 |.t."| +000002d0 00 00 00 00 d5 b2 cc f7 6b 74 c0 77 c3 05 7f 09 |........kt.w....| +000002e0 28 54 fe 44 ef b1 4c 40 ff 47 00 59 ae 22 96 53 |(T.D..L@.G.Y.".S| +000002f0 6d db b1 5b fd af 24 10 ca 0d f6 8b 24 7a c0 38 |m..[..$.....$z.8| +00000300 d7 92 7c c2 |..|.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 40 8f 91 f1 f5 6b |..........@....k| -00000010 cc 52 9d db 35 1f db b4 64 fe 33 a5 83 08 24 2f |.R..5...d.3...$/| -00000020 57 18 0e 60 4e 18 54 bb 80 31 37 fe 26 14 b8 c8 |W..`N.T..17.&...| -00000030 dd c4 8c 07 42 0b 80 0b 41 82 40 f6 9b b8 60 4f |....B...A.@...`O| -00000040 cb 7b 43 ea 1a 6e 31 8d 9f 82 f7 |.{C..n1....| +00000000 14 03 03 00 01 01 16 03 03 00 40 c3 48 00 56 17 |..........@.H.V.| +00000010 16 d1 dd 17 a2 c7 48 c9 d6 3e 6a 1e 4c cc 0a a2 |......H..>j.L...| +00000020 40 3e 31 2e 50 69 d6 06 15 48 87 45 2f f0 a1 04 |@>1.Pi...H.E/...| +00000030 38 b2 81 15 b9 0d ac f4 9e 51 9f b0 9c 79 20 57 |8........Q...y W| +00000040 ab 8a 56 08 97 2b d0 62 12 7d b3 |..V..+.b.}.| >>> 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 70 e7 c8 03 9c e2 58 73 68 ab 9b |.....p.....Xsh..| -00000020 5c bf 32 57 f8 f1 13 97 02 59 de 99 d3 3e 16 3d |\.2W.....Y...>.=| -00000030 87 11 d4 b4 63 15 03 03 00 30 00 00 00 00 00 00 |....c....0......| -00000040 00 00 00 00 00 00 00 00 00 00 9b 99 45 f3 0d f1 |............E...| -00000050 c5 36 07 8c 81 94 b7 0a dc 7c ee 0c 22 1b 36 fd |.6.......|..".6.| -00000060 d4 fc 7d f1 98 8b 87 be 5f c6 |..}....._.| +00000010 00 00 00 00 00 27 df 11 a5 71 1a f9 c9 fb d3 a8 |.....'...q......| +00000020 cd f1 5f 88 e4 db ca 2f ec c7 26 e2 c9 69 11 c5 |.._..../..&..i..| +00000030 a4 ba 6f 58 69 15 03 03 00 30 00 00 00 00 00 00 |..oXi....0......| +00000040 00 00 00 00 00 00 00 00 00 00 e8 9d f0 1d f8 4b |...............K| +00000050 fc d1 7e ac 10 b2 5d af ea 87 b9 d8 4b 0d 24 d6 |..~...].....K.$.| +00000060 ff 44 9f 93 bf 51 9d 21 9d 1d |.D...Q.!..| diff --git a/testdata/Client-TLSv12-ClientCert-RSA-RSA b/testdata/Client-TLSv12-ClientCert-RSA-RSA index 76f0c251..656281cf 100644 --- a/testdata/Client-TLSv12-ClientCert-RSA-RSA +++ b/testdata/Client-TLSv12-ClientCert-RSA-RSA @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 92 93 45 4c f9 |....Y...U....EL.| -00000010 93 bf ee 78 58 e0 42 b6 df 32 c2 63 6d ec 89 66 |...xX.B..2.cm..f| -00000020 5a 11 7c 0d 31 2f b5 90 22 ab 3d 20 65 f3 40 c4 |Z.|.1/..".= e.@.| -00000030 f8 31 fa 80 f3 fb a7 f6 9e dc 0c 94 67 48 d9 2b |.1..........gH.+| -00000040 cb 94 82 5f 4e 8b 41 5e c6 63 27 da c0 2f 00 00 |..._N.A^.c'../..| +00000000 16 03 03 00 59 02 00 00 55 03 03 cd 8e 54 03 73 |....Y...U....T.s| +00000010 80 fb 7a 0a 38 a0 cd d3 5c 1a 84 a2 66 43 47 68 |..z.8...\...fCGh| +00000020 7b d9 c0 5b c3 14 2f 51 45 12 62 20 9e 32 b0 17 |{..[../QE.b .2..| +00000030 85 6e 8a de ae 7a f7 09 76 79 5f 74 eb b1 3c e9 |.n...z..vy_t..<.| +00000040 4f 36 09 ef b2 f9 8f 25 c1 db 37 46 c0 2f 00 00 |O6.....%..7F./..| 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..............| @@ -54,17 +54,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 66 49 44 2b 04 fe f5 |........ fID+...| -000002d0 41 68 60 09 81 0e 24 c4 46 68 33 87 41 dd 48 69 |Ah`...$.Fh3.A.Hi| -000002e0 4c be c8 22 2d 4e ff 80 20 04 01 00 80 30 85 40 |L.."-N.. ....0.@| -000002f0 30 56 d5 1d 41 14 9d e8 27 39 a2 18 d5 eb 92 27 |0V..A...'9.....'| -00000300 63 4b 05 85 1a 9e 5f 60 2c 80 a3 20 9f 9c 57 29 |cK...._`,.. ..W)| -00000310 ba 5f ac 0a aa 89 98 fc ca 8e 37 6b 44 bc 0f 33 |._........7kD..3| -00000320 5d 47 91 46 55 d4 f9 4f 76 73 51 c4 f6 a9 90 e4 |]G.FU..OvsQ.....| -00000330 95 10 92 94 f1 33 11 3d 83 0a eb 5d ff e6 9d 9c |.....3.=...]....| -00000340 19 ec e1 65 11 ad d7 7b 6a a4 f9 d8 b6 0c 53 8a |...e...{j.....S.| -00000350 16 d5 1f a7 0b 80 6f c5 d8 6a 57 11 2f b1 84 65 |......o..jW./..e| -00000360 24 8a 02 de aa 10 40 bd 9b 68 a2 b7 b6 16 03 03 |$.....@..h......| +000002c0 ac 0c 00 00 a8 03 00 1d 20 57 b6 34 6b 1c 97 1f |........ W.4k...| +000002d0 51 f1 d5 38 68 a2 2f 69 fb 9e 94 cf 7e c3 25 97 |Q..8h./i....~.%.| +000002e0 82 e9 32 c0 0e 99 0c 7c 50 04 01 00 80 2d 08 85 |..2....|P....-..| +000002f0 c5 bc d6 3b 94 c5 7e 26 80 bc 0d 63 50 84 d0 77 |...;..~&...cP..w| +00000300 f8 4b cd 2c d4 cb e0 f2 7c 63 dc 9e 42 4e 3f 3c |.K.,....|c..BN?<| +00000310 a3 b7 c7 41 e6 e9 2c da ff 06 6d ec b5 f3 57 22 |...A..,...m...W"| +00000320 3a 6b cc 6b 00 d0 53 6e b1 89 7c 09 cc db 8e f1 |:k.k..Sn..|.....| +00000330 00 32 d1 68 2f ae 7a 83 00 71 a8 81 e6 66 c2 e7 |.2.h/.z..q...f..| +00000340 13 94 bf 9b 30 84 23 3d 95 03 11 4d 3a e7 4c 0a |....0.#=...M:.L.| +00000350 43 c7 6d 31 c1 92 b1 ab 7d 11 a1 2f 4a 2d bd fe |C.m1....}../J-..| +00000360 f5 d4 b1 ab ef 2d e3 79 ee 2f 6b 44 29 16 03 03 |.....-.y./kD)...| 00000370 00 2a 0d 00 00 26 03 01 02 40 00 1e 06 01 06 02 |.*...&...@......| 00000380 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................| 00000390 03 02 03 03 02 01 02 02 02 03 00 00 16 03 03 00 |................| @@ -105,26 +105,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 05 01 00 80 05 9b 97 90 30 0b 21 |.............0.!| -00000240 ed 52 16 19 e0 54 7d 59 42 17 94 81 9b 2c b6 5b |.R...T}YB....,.[| -00000250 7f 7c 8e a5 bf 27 a9 25 14 74 f0 37 fa 6e 2b 84 |.|...'.%.t.7.n+.| -00000260 80 a4 cd ae a6 8a 1b 62 2d 5e 03 ff 70 55 d7 99 |.......b-^..pU..| -00000270 68 3c b3 0e 03 41 ae af c6 3e 09 d4 16 8e 06 71 |h<...A...>.....q| -00000280 14 f8 90 97 cd f6 eb 7d 90 3c d1 f3 95 db 35 3c |.......}.<....5<| -00000290 c9 7d dc 30 55 e1 a0 66 8e 26 20 4f 43 89 08 6f |.}.0U..f.& OC..o| -000002a0 95 58 42 ae e8 6c b6 77 45 c6 8c c7 ad e5 ed ff |.XB..l.wE.......| -000002b0 09 6f 2e 7e b0 e4 5c f2 db 14 03 03 00 01 01 16 |.o.~..\.........| -000002c0 03 03 00 28 00 00 00 00 00 00 00 00 c0 2c cc 32 |...(.........,.2| -000002d0 78 5e 6c 3e e9 a3 83 65 b4 bb 4e 79 b2 04 08 30 |x^l>...e..Ny...0| -000002e0 09 e9 04 99 70 48 44 95 26 b0 37 c9 |....pHD.&.7.| +00000230 88 0f 00 00 84 06 01 00 80 72 5e f2 3f d2 7d 33 |.........r^.?.}3| +00000240 ec 01 70 e5 91 5b 71 ac 48 88 99 5a af ad 40 82 |..p..[q.H..Z..@.| +00000250 a7 de 2f 25 16 67 e1 e3 7d e6 d5 0f 79 63 63 56 |../%.g..}...yccV| +00000260 1b 45 da 38 f7 99 4d a2 8e 6f 70 02 92 21 da 69 |.E.8..M..op..!.i| +00000270 ba 2d 95 ea e5 5a f1 be 23 bb d2 8c 8b 36 b8 bf |.-...Z..#....6..| +00000280 c3 b5 c8 48 3c 27 26 c8 52 9c a4 53 d0 4e a6 7e |...H<'&.R..S.N.~| +00000290 cf 95 01 20 62 e1 47 59 82 b0 f1 64 e7 8e f4 f4 |... b.GY...d....| +000002a0 c7 50 67 83 ec 56 10 9d 0b 54 60 5a 1a 0f 0d 31 |.Pg..V...T`Z...1| +000002b0 31 c6 2d 12 e6 e4 22 77 6a 14 03 03 00 01 01 16 |1.-..."wj.......| +000002c0 03 03 00 28 00 00 00 00 00 00 00 00 91 d6 08 d4 |...(............| +000002d0 74 3f 02 78 ed c3 9d 0b a7 f0 10 c7 e8 4a a3 a7 |t?.x.........J..| +000002e0 d7 b7 c1 ca d4 fc e9 dc b5 ca 35 39 |..........59| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 5f 80 e2 f1 78 |..........(_...x| -00000010 0f cb 58 5c 3c 50 4c 1e 33 8a 1f b7 89 92 37 11 |..X\>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 75 dc 54 |.............u.T| -00000010 d9 c5 b1 c2 c9 64 9a ea 20 e5 76 61 6c 05 af 33 |.....d.. .val..3| -00000020 6b bc d7 15 03 03 00 1a 00 00 00 00 00 00 00 02 |k...............| -00000030 24 6b 03 76 d3 da d0 ee a6 32 c3 58 a1 5e a5 21 |$k.v.....2.X.^.!| -00000040 b8 3a |.:| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 3e 3d cd |.............>=.| +00000010 9b 8c 53 b7 86 e1 60 bc 3c 3a 7b b1 cf a5 d1 c8 |..S...`.<:{.....| +00000020 1b d1 92 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 83 58 15 c4 87 a3 bf 7b cf e6 e0 b4 10 37 ad 3b |.X.....{.....7.;| +00000040 d9 9a |..| diff --git a/testdata/Client-TLSv12-ECDHE-ECDSA-AES b/testdata/Client-TLSv12-ECDHE-ECDSA-AES index 5d795e79..3403023b 100644 --- a/testdata/Client-TLSv12-ECDHE-ECDSA-AES +++ b/testdata/Client-TLSv12-ECDHE-ECDSA-AES @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 c3 2f 08 30 ba |....Y...U.../.0.| -00000010 5d 9e 55 ef 23 f9 8a 0d 2f b4 25 02 5f c0 d2 c2 |].U.#.../.%._...| -00000020 50 7c da db a4 ee 7c 18 df af aa 20 f3 a5 02 de |P|....|.... ....| -00000030 54 9f ce b9 6d 69 66 5d 57 76 ff 18 91 d3 93 ab |T...mif]Wv......| -00000040 39 13 29 4c b9 a7 3c db 7f 4d 97 fc c0 09 00 00 |9.)L..<..M......| +00000000 16 03 03 00 59 02 00 00 55 03 03 78 e9 9b 0c e1 |....Y...U..x....| +00000010 45 f0 55 05 58 ef 80 4f 22 88 e4 7d eb af a5 b2 |E.U.X..O"..}....| +00000020 75 36 9f a2 cc 6d 51 27 ca 7e 38 20 c8 89 89 e7 |u6...mQ'.~8 ....| +00000030 95 70 01 01 67 b0 9a 1a 7a 54 d8 bb 22 72 c6 9c |.p..g...zT.."r..| +00000040 09 ff d4 2c 0a 94 86 bc 51 cb 56 7d c0 09 00 00 |...,....Q.V}....| 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....| @@ -49,39 +49,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 b6 0c 00 00 b2 03 00 1d 20 46 07 |*............ F.| -00000280 78 fd 3b 0c e0 2c 96 f8 44 b9 e9 06 e9 66 17 35 |x.;..,..D....f.5| -00000290 c0 92 87 51 f6 e3 d7 f5 09 50 56 c6 e9 3b 04 03 |...Q.....PV..;..| -000002a0 00 8a 30 81 87 02 41 5d 88 4b fe eb 45 ee 5e 9f |..0...A].K..E.^.| -000002b0 ec 20 90 1f 41 aa 47 87 f7 ae 46 71 dc 55 8b 2c |. ..A.G...Fq.U.,| -000002c0 ce 70 5f ad 3e fa 3c c3 cb 77 d2 69 67 25 27 08 |.p_.>.<..w.ig%'.| -000002d0 23 de 52 3c 0e 6c ca 8f 86 8f 61 cd 5b cf d8 42 |#.R<.l....a.[..B| -000002e0 aa 5a 95 aa 4b d4 d9 f3 02 42 01 81 78 53 9c bd |.Z..K....B..xS..| -000002f0 af 7e d9 be 26 07 24 11 ca 4b 1d dd 2b 49 ec 35 |.~..&.$..K..+I.5| -00000300 25 8d 58 87 ad 80 4f 90 c7 f8 a4 b9 c2 75 b5 12 |%.X...O......u..| -00000310 a7 2c 49 82 76 e8 ce c4 a7 23 68 75 fc 88 82 13 |.,I.v....#hu....| -00000320 27 55 a7 50 3c d6 d0 ae e3 88 94 b4 16 03 03 00 |'U.P<...........| +00000270 2a 16 03 03 00 b6 0c 00 00 b2 03 00 1d 20 0f 61 |*............ .a| +00000280 6e 56 ec 74 54 e2 24 09 61 64 45 89 44 aa cb 79 |nV.tT.$.adE.D..y| +00000290 18 37 12 42 07 f8 d7 a3 42 b8 d7 06 21 28 04 03 |.7.B....B...!(..| +000002a0 00 8a 30 81 87 02 42 00 af 5c 33 04 e8 e1 fa b7 |..0...B..\3.....| +000002b0 98 38 96 ea c1 ee 7d 2c 45 85 ab 41 bd d8 88 af |.8....},E..A....| +000002c0 a6 0b e4 22 56 7d 3a e6 a6 8e 0d b5 81 cb 38 43 |..."V}:.......8C| +000002d0 e7 b6 94 ee 20 e7 61 89 00 99 69 18 b3 06 d0 15 |.... .a...i.....| +000002e0 0e f4 10 e9 5a dd 74 10 d1 02 41 27 4c dc 89 d4 |....Z.t...A'L...| +000002f0 75 56 d4 c2 82 7d 53 a0 61 c5 ba 6a 9a ca fa 36 |uV...}S.a..j...6| +00000300 16 db 82 5d 5e b7 9b 6a b8 13 0b 69 2f b5 c9 8e |...]^..j...i/...| +00000310 53 18 03 24 b3 31 b1 48 8c b9 e0 16 96 cc e2 5d |S..$.1.H.......]| +00000320 71 6a 1d 70 8c 1b 57 8e 5d 9a f2 e1 16 03 03 00 |qj.p..W.].......| 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 04 f4 cc a8 9f 48 44 ca 19 e6 4c |..........HD...L| -00000050 3d 51 f2 29 40 0b 70 06 09 f0 69 5c 51 78 51 1e |=Q.)@.p...i\QxQ.| -00000060 2b d1 47 22 8d d6 fb f5 41 bd e4 fd 3d f4 1b 48 |+.G"....A...=..H| -00000070 44 96 2d 97 b9 |D.-..| +00000040 00 00 00 00 00 c1 47 dc 05 80 89 9f 04 e8 88 58 |......G........X| +00000050 bc 59 78 df ce bb d4 f7 cf 45 e2 2a ff ce 09 9c |.Yx......E.*....| +00000060 07 f3 90 49 ad 4d 07 b4 21 46 e3 37 e9 54 82 4d |...I.M..!F.7.T.M| +00000070 a2 05 ad 83 fa |.....| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 40 f1 a2 70 ba 50 |..........@..p.P| -00000010 9d 7a 9f 8f c6 fb 7e 83 75 bd 94 cf e6 c1 4a f0 |.z....~.u.....J.| -00000020 e6 54 e9 2c 30 23 a2 5c c2 09 32 d4 06 f7 54 e7 |.T.,0#.\..2...T.| -00000030 ab 27 a6 66 ab 86 e6 2c 20 12 cf 61 4d ef 12 20 |.'.f..., ..aM.. | -00000040 ba b6 42 39 b7 76 b9 1b fc f4 44 |..B9.v....D| +00000000 14 03 03 00 01 01 16 03 03 00 40 a6 27 61 cd 85 |..........@.'a..| +00000010 3a 7c 35 bb 33 61 ed 4b 0f 0c 42 bd 25 a5 5a a8 |:|5.3a.K..B.%.Z.| +00000020 ef 27 b3 d7 d2 38 64 c7 46 51 5c f2 4b 32 a1 eb |.'...8d.FQ\.K2..| +00000030 b2 6a ba af fc d0 2d 7a 9d 72 d5 23 ae 15 2a fc |.j....-z.r.#..*.| +00000040 1c 03 cd 99 dd ac b0 31 83 0a 1e |.......1...| >>> 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 0b 5b d0 ab 14 3f ae 1f 4b 12 25 |......[...?..K.%| -00000020 05 2a 67 11 0c 17 42 1b b6 d2 af 16 40 26 fd 7b |.*g...B.....@&.{| -00000030 d7 57 10 2a f8 15 03 03 00 30 00 00 00 00 00 00 |.W.*.....0......| -00000040 00 00 00 00 00 00 00 00 00 00 83 54 64 d6 31 32 |...........Td.12| -00000050 55 62 32 49 b9 54 7b e3 34 02 1c 75 e3 1b 5a 41 |Ub2I.T{.4..u..ZA| -00000060 a2 cd 47 26 f0 ed c2 d5 41 34 |..G&....A4| +00000010 00 00 00 00 00 a7 0f 50 52 17 a2 5b 19 33 4e 97 |.......PR..[.3N.| +00000020 33 4e 56 2e 1e bf 93 ca ae fa 4c ca ff 47 08 7b |3NV.......L..G.{| +00000030 d2 f8 e1 29 29 15 03 03 00 30 00 00 00 00 00 00 |...))....0......| +00000040 00 00 00 00 00 00 00 00 00 00 a5 ac 57 1c ca 5f |............W.._| +00000050 f2 39 b2 85 a5 4a 06 11 a2 8f e5 1d 55 1d 4f 89 |.9...J......U.O.| +00000060 6c d9 47 bd a2 8b d3 d0 eb d6 |l.G.......| diff --git a/testdata/Client-TLSv12-ECDHE-ECDSA-AES-GCM b/testdata/Client-TLSv12-ECDHE-ECDSA-AES-GCM index 28a9ef7c..3ae5fac3 100644 --- a/testdata/Client-TLSv12-ECDHE-ECDSA-AES-GCM +++ b/testdata/Client-TLSv12-ECDHE-ECDSA-AES-GCM @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 72 81 c3 91 37 |....Y...U..r...7| -00000010 54 37 fb 0f 2b 16 3b 7b bc a6 d9 2e e2 83 23 83 |T7..+.;{......#.| -00000020 b3 67 cf 36 dc 65 8d a6 3d cb 72 20 ac b9 b9 48 |.g.6.e..=.r ...H| -00000030 30 9d fe 67 09 39 f5 47 d2 9a c8 3e 22 02 50 5e |0..g.9.G...>".P^| -00000040 fd 02 c9 ff c1 84 2e 2e ab 78 ef c6 c0 2b 00 00 |.........x...+..| +00000000 16 03 03 00 59 02 00 00 55 03 03 e1 a8 35 92 15 |....Y...U....5..| +00000010 b2 f2 02 ae 4f 1b c5 1c 46 04 d1 bf 60 d6 bd 66 |....O...F...`..f| +00000020 d0 c4 d5 18 26 10 6d 53 19 35 d2 20 15 d3 4b 3f |....&.mS.5. ..K?| +00000030 de 5a f3 8d f7 02 c4 71 8b 4f c2 b6 69 49 f1 2a |.Z.....q.O..iI.*| +00000040 79 66 40 45 ee 9d 1b d8 72 7e b0 23 c0 2b 00 00 |yf@E....r~.#.+..| 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....| @@ -49,34 +49,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 b7 1c |*............ ..| -00000280 2f 05 5e c8 ae 68 6b 54 c5 88 19 cf 7c 04 b2 ed |/.^..hkT....|...| -00000290 8d 5a e9 7e 6b 50 8a ee 12 66 2d 6f e4 7a 04 03 |.Z.~kP...f-o.z..| -000002a0 00 8a 30 81 87 02 42 01 8d 7e 23 bc d7 a7 ad 73 |..0...B..~#....s| -000002b0 5f 45 9e 04 da 6e c0 34 a8 09 59 e3 bc ab 80 e1 |_E...n.4..Y.....| -000002c0 d4 84 79 7d de 90 c1 f2 ea 95 ed fc 7e d3 f0 31 |..y}........~..1| -000002d0 4c 9b da 82 a0 97 ed e6 c9 f2 b9 2a 0a 1e 0a 2c |L..........*...,| -000002e0 7f 1d 62 ea 11 a9 77 5e 2f 02 41 09 88 2b eb 84 |..b...w^/.A..+..| -000002f0 4f 62 9a c9 8a 0b a2 c6 88 0e 3e d9 29 f0 2b ba |Ob........>.).+.| -00000300 08 40 b0 9c 17 70 d9 84 1e d3 39 ad 70 fc df 63 |.@...p....9.p..c| -00000310 a0 f6 69 3c 19 ce 0b a5 95 d2 6a b1 46 b1 e5 ba |..i<......j.F...| -00000320 fd d2 67 4b 76 e3 eb b9 21 d0 7c 85 16 03 03 00 |..gKv...!.|.....| +00000270 2a 16 03 03 00 b6 0c 00 00 b2 03 00 1d 20 2e b4 |*............ ..| +00000280 dd 41 46 08 4d c2 c9 37 b8 50 0b 50 6f c7 bd 13 |.AF.M..7.P.Po...| +00000290 de 59 d4 9f d0 2b 44 2a 8c 6f 2a f9 67 7a 04 03 |.Y...+D*.o*.gz..| +000002a0 00 8a 30 81 87 02 41 7c 9a e0 93 cc 65 a2 af 0e |..0...A|....e...| +000002b0 32 9c 37 b7 39 9a 45 95 fb 2e b2 a9 34 f8 ab 47 |2.7.9.E.....4..G| +000002c0 d8 3b 6f 7d b8 03 32 a9 d0 30 1a 37 cc fd 4a 16 |.;o}..2..0.7..J.| +000002d0 94 f9 23 ce b7 8a e6 91 d7 33 00 25 d3 c7 88 d8 |..#......3.%....| +000002e0 49 2c 81 73 e2 b1 b8 78 02 42 01 c8 58 dc 43 96 |I,.s...x.B..X.C.| +000002f0 40 00 c3 4c 9c a1 ba ef 4a 20 e6 ee 53 28 6e 82 |@..L....J ..S(n.| +00000300 97 ba f3 0b 71 5c f9 4f 05 1e 61 a7 ba 03 60 5c |....q\.O..a...`\| +00000310 f5 61 1e fd 53 c1 74 30 5c 92 b4 4c 6e d2 9f 05 |.a..S.t0\..Ln...| +00000320 6b ad 92 e5 14 b8 a9 07 a0 f3 34 71 16 03 03 00 |k.........4q....| 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 28 00 00 00 00 00 00 00 00 32 49 7e |....(........2I~| -00000040 8f d6 2e 81 d7 03 a6 61 a3 04 98 81 95 84 58 d1 |.......a......X.| -00000050 a2 33 fe 4a 5d cd 96 76 64 1e 1a 62 03 |.3.J]..vd..b.| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 71 c9 39 |....(........q.9| +00000040 50 b8 91 9e eb f6 48 c6 04 d0 ae 99 dc 63 14 1b |P.....H......c..| +00000050 e9 4f 6b c0 18 46 b6 ca 38 bc 58 c3 85 |.Ok..F..8.X..| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 28 14 2d ae 7c |..........((.-.|| -00000010 b8 7d dc 27 b2 18 39 57 c8 be 5c 3d a3 ab fa 5a |.}.'..9W..\=...Z| -00000020 3d 55 1b 3d 31 77 95 af 42 86 af 2b e7 5a 98 40 |=U.=1w..B..+.Z.@| -00000030 18 77 d1 |.w.| +00000000 14 03 03 00 01 01 16 03 03 00 28 e3 f3 fe 51 7c |..........(...Q|| +00000010 7c f9 ad fe 85 6c 37 fd 8f e2 76 2f 10 38 62 b0 ||....l7...v/.8b.| +00000020 37 7c cf 6e e6 65 c6 f4 5e 67 33 03 10 62 14 29 |7|.n.e..^g3..b.)| +00000030 8a ca 2e |...| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 30 50 2f |.............0P/| -00000010 36 4a 7c ee e6 f0 b9 b8 bf 4d e3 63 4d 5e 58 08 |6J|......M.cM^X.| -00000020 ac ac 82 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| -00000030 80 e2 42 ca 91 65 04 4e ca a8 6f 81 7c 30 c0 1f |..B..e.N..o.|0..| -00000040 aa 7b |.{| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 5a 2d fa |.............Z-.| +00000010 9d 55 ff 55 ee 77 9e c0 60 3d 37 aa 82 14 a9 8c |.U.U.w..`=7.....| +00000020 7b d3 92 15 03 03 00 1a 00 00 00 00 00 00 00 02 |{...............| +00000030 8a 69 ad 03 ec 4f 06 55 e6 0c 3a 59 ea 15 26 e7 |.i...O.U..:Y..&.| +00000040 17 de |..| diff --git a/testdata/Client-TLSv12-ECDHE-ECDSA-AES128-SHA256 b/testdata/Client-TLSv12-ECDHE-ECDSA-AES128-SHA256 index 831fa210..9d79b14d 100644 --- a/testdata/Client-TLSv12-ECDHE-ECDSA-AES128-SHA256 +++ b/testdata/Client-TLSv12-ECDHE-ECDSA-AES128-SHA256 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 be c0 b6 d7 fe |....Y...U.......| -00000010 43 9d 21 1f 89 27 bd db 0a 9a 5a 44 dd 79 d1 f2 |C.!..'....ZD.y..| -00000020 18 9a 2a 04 8c eb e6 a9 93 ef ee 20 35 48 44 08 |..*........ 5HD.| -00000030 8c 7a 3e f6 0f d7 5f 33 54 60 0b c9 65 4e 17 8d |.z>..._3T`..eN..| -00000040 d2 69 b7 20 0b c5 ba 9a d4 b7 40 39 c0 23 00 00 |.i. ......@9.#..| +00000000 16 03 03 00 59 02 00 00 55 03 03 c7 69 06 a9 64 |....Y...U...i..d| +00000010 53 1a 6c 7b 39 f3 2e e3 01 5e ef e0 ac 69 a6 2e |S.l{9....^...i..| +00000020 39 59 c4 a8 06 60 9c 5b 0a 93 f2 20 b1 ba 93 61 |9Y...`.[... ...a| +00000030 3f c3 a8 d0 e7 22 60 8a 0b c2 68 14 69 c5 8a 9c |?...."`...h.i...| +00000040 35 b2 ba 8a d2 9b a4 e0 13 d8 fc bb c0 23 00 00 |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....| @@ -49,43 +49,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 0e 53 |*............ .S| -00000280 82 54 1a ba f8 a4 52 1d 6d b8 70 18 41 e8 67 f9 |.T....R.m.p.A.g.| -00000290 38 1e fb fa b8 89 2d d6 4d 1b ae 67 fe 75 04 03 |8.....-.M..g.u..| -000002a0 00 8b 30 81 88 02 42 01 68 0e d4 92 a6 1a d9 66 |..0...B.h......f| -000002b0 ff 0e ca 4c 32 b8 78 d3 52 d1 ad a2 32 83 f0 3c |...L2.x.R...2..<| -000002c0 43 e0 7e 92 94 e9 c6 99 00 d9 f7 06 c0 2c 72 c0 |C.~..........,r.| -000002d0 9b f7 c0 ec 1f 23 8f b5 e5 74 9d ff 89 17 12 b4 |.....#...t......| -000002e0 f1 f5 25 f7 2e 0d 78 f6 1c 02 42 01 fc da dd c8 |..%...x...B.....| -000002f0 65 30 67 a3 ff 42 e3 37 19 ba 7c 04 6b a1 b3 97 |e0g..B.7..|.k...| -00000300 b0 ca 8c 2d fc b0 40 1c a1 d8 c9 64 fe df 48 3b |...-..@....d..H;| -00000310 07 57 1f 81 a2 3e a4 84 96 00 fb 55 29 1c 94 9d |.W...>.....U)...| -00000320 f9 0d a4 71 4f 5f fd c3 22 e2 88 07 21 16 03 03 |...qO_.."...!...| -00000330 00 04 0e 00 00 00 |......| +00000270 2a 16 03 03 00 b6 0c 00 00 b2 03 00 1d 20 bd cd |*............ ..| +00000280 69 00 ff 76 9e 27 f5 4d cb f2 be 87 ec f3 c6 08 |i..v.'.M........| +00000290 79 fa cc 4e a5 db e6 dd 19 cb b1 66 e5 2b 04 03 |y..N.......f.+..| +000002a0 00 8a 30 81 87 02 41 33 72 4b 8e 13 f1 3c 7b 9b |..0...A3rK...<{.| +000002b0 4e 63 e0 28 1c 62 b0 a9 bf 70 96 68 93 52 4b 64 |Nc.(.b...p.h.RKd| +000002c0 02 4b 79 0b 50 7c 16 df 21 8f e4 8b c2 c6 4b cc |.Ky.P|..!.....K.| +000002d0 96 b8 bb 4a cc 89 f6 a5 6d c2 a3 70 b6 5a 25 26 |...J....m..p.Z%&| +000002e0 ad aa 56 95 72 fa d6 13 02 42 01 de 8a 1f 83 51 |..V.r....B.....Q| +000002f0 ce 3e 37 ff 3e ba 0e ed bd f3 95 0c 1b 69 8f f3 |.>7.>........i..| +00000300 f4 a9 26 cb c6 f4 70 79 da 93 5b 25 76 89 e8 3d |..&...py..[%v..=| +00000310 94 7f a9 5b 4f 25 83 63 a2 cb 71 27 41 5e 41 a1 |...[O%.c..q'A^A.| +00000320 5c 65 f2 2d a4 81 91 ca 79 bc 45 d3 16 03 03 00 |\e.-....y.E.....| +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 50 00 00 00 00 00 00 00 00 00 00 00 |....P...........| -00000040 00 00 00 00 00 7c e9 97 4b 98 8a 4c 59 95 3e 31 |.....|..K..LY.>1| -00000050 c4 b6 e2 79 10 de bc 8e aa 1e 52 07 b2 e1 52 bc |...y......R...R.| -00000060 3b da 8d 5f 12 6a 18 d1 0a 5d 93 1c ad bb f9 b7 |;.._.j...]......| -00000070 6b 58 49 39 ea 3a 9e 20 47 69 43 b4 b4 d8 16 d0 |kXI9.:. GiC.....| -00000080 f0 9d 36 74 04 |..6t.| +00000040 00 00 00 00 00 fe 52 a2 0a 9f de 8c 45 36 c5 0e |......R.....E6..| +00000050 a0 b5 f6 06 80 9f 2b 0e 72 4b 86 a7 4c 2a 37 0c |......+.rK..L*7.| +00000060 a0 a3 4c 2c 32 32 cf ed 45 ee e3 a2 1c 17 7d 4f |..L,22..E.....}O| +00000070 d8 60 d6 79 08 01 d7 35 0c 40 c8 85 f1 3e 73 b5 |.`.y...5.@...>s.| +00000080 5d 89 c9 db 03 |]....| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 50 60 d5 ac 39 b6 |..........P`..9.| -00000010 58 50 03 90 9f c9 78 f1 45 43 b1 34 bd c8 29 65 |XP....x.EC.4..)e| -00000020 54 38 7a 88 46 15 e8 a4 fb 9d 80 4e d6 45 e1 8d |T8z.F......N.E..| -00000030 27 d6 09 66 1d ee 46 6d dd 8e 89 34 0f 4a fb fd |'..f..Fm...4.J..| -00000040 bc 85 08 07 f0 5b 1c 24 e2 11 1b e2 a4 94 f5 80 |.....[.$........| -00000050 fa 47 f4 62 0e b9 1c 31 cb 7b bf |.G.b...1.{.| +00000000 14 03 03 00 01 01 16 03 03 00 50 99 8b 66 fc b2 |..........P..f..| +00000010 0c 18 de 47 7b 72 a2 9b 47 64 58 45 00 70 b6 d3 |...G{r..GdXE.p..| +00000020 33 62 c2 c6 41 da 5d 08 37 16 5c 24 50 06 e0 e6 |3b..A.].7.\$P...| +00000030 7c 90 5e 32 5e 3f 2e bc 70 d2 77 b5 29 d8 d4 fb ||.^2^?..p.w.)...| +00000040 38 8c 05 40 e1 42 1a 25 44 79 fa a6 cc f6 50 5a |8..@.B.%Dy....PZ| +00000050 da e0 85 99 30 20 7d ee 04 fe ca |....0 }....| >>> 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 37 b7 23 a2 06 97 f3 60 9a f0 7e |.....7.#....`..~| -00000020 b7 11 6d 0d 66 0e db 38 1a eb cd 72 80 c8 54 ef |..m.f..8...r..T.| -00000030 cf 90 6d 22 68 41 63 03 46 b9 28 4f 2f d6 fe fa |..m"hAc.F.(O/...| -00000040 b2 91 07 36 71 15 03 03 00 40 00 00 00 00 00 00 |...6q....@......| -00000050 00 00 00 00 00 00 00 00 00 00 ca 17 d9 fd 1a 0e |................| -00000060 21 db a4 92 dc 92 e8 89 9d 14 6b 8a d3 ee a7 95 |!.........k.....| -00000070 c0 91 8d 3c af 5a 48 d5 c6 2f 66 b8 b8 d4 ce f9 |...<.ZH../f.....| -00000080 59 e5 e0 e2 df e5 7e ea 94 03 |Y.....~...| +00000010 00 00 00 00 00 cb cb 98 55 3f 17 18 42 7b 52 0c |........U?..B{R.| +00000020 6f 6c 50 87 b1 af ef 25 ac a5 24 4a d2 bc 39 33 |olP....%..$J..93| +00000030 29 81 c0 4f cf 20 8f 0c 4c a8 64 5f 97 4d da f4 |)..O. ..L.d_.M..| +00000040 89 7c 28 f3 d4 15 03 03 00 40 00 00 00 00 00 00 |.|(......@......| +00000050 00 00 00 00 00 00 00 00 00 00 6b c5 03 a6 9b 87 |..........k.....| +00000060 ac df 05 8d 79 3c 46 12 70 3a 1d a0 d0 29 7c 2a |....y>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 e6 0e 27 a7 58 |....Y...U....'.X| -00000010 1d a3 1d 1d 21 64 31 f6 1e bc 28 b4 46 7e 26 be |....!d1...(.F~&.| -00000020 de 0a 65 eb f0 18 dc 7f 3e 1b 55 20 fe 66 50 20 |..e.....>.U .fP | -00000030 f0 f0 48 a8 db 0a ff ee 60 ea 3d 7f 07 5e b9 65 |..H.....`.=..^.e| -00000040 c3 e4 2a 19 9c bd 57 36 ca e3 a7 2d c0 2c 00 00 |..*...W6...-.,..| +00000000 16 03 03 00 59 02 00 00 55 03 03 93 2e 79 54 e7 |....Y...U....yT.| +00000010 e4 ce 82 cd 46 2b d1 99 d2 ba c7 37 1e f5 86 2f |....F+.....7.../| +00000020 6c 7d b1 10 e1 98 03 b1 93 a9 d9 20 c2 b6 55 f9 |l}......... ..U.| +00000030 d0 b3 65 3e 99 33 4c a4 5d a3 58 8b b4 ee c3 91 |..e>.3L.].X.....| +00000040 80 34 1c 07 c2 b9 9c bf e4 c0 bd f2 c0 2c 00 00 |.4...........,..| 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....| @@ -49,34 +49,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 b7 0c 00 00 b3 03 00 1d 20 17 21 |*............ .!| -00000280 a9 b8 65 8b aa 41 d2 d1 45 45 e5 ce 39 60 54 b6 |..e..A..EE..9`T.| -00000290 43 9f c4 19 a4 aa ec 71 08 b0 d1 22 f7 46 04 03 |C......q...".F..| -000002a0 00 8b 30 81 88 02 42 00 8b a5 d9 d3 8f a1 72 48 |..0...B.......rH| -000002b0 06 42 25 c3 f6 c8 46 8d 88 30 36 7d d8 18 a9 cc |.B%...F..06}....| -000002c0 de e4 c8 3f e9 d2 f0 88 18 cc c6 fb 14 e0 05 b1 |...?............| -000002d0 ec 50 3d 57 b4 e9 83 57 55 4b 0d 2c 89 69 ff b1 |.P=W...WUK.,.i..| -000002e0 58 0b 01 89 48 97 ee 88 7e 02 42 01 e1 6f 9c 36 |X...H...~.B..o.6| -000002f0 6a 6c 86 24 d6 b3 45 f1 6c 03 d8 fd da d8 cc 52 |jl.$..E.l......R| -00000300 04 41 7a c5 f9 b5 91 a5 6c d8 5a 03 ad de e3 da |.Az.....l.Z.....| -00000310 de f8 db b0 bc 75 38 03 ab 84 ac 3f b2 c2 7e 6d |.....u8....?..~m| -00000320 a7 2e c0 d9 bd 85 e2 7b 36 11 2b 12 14 16 03 03 |.......{6.+.....| +00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 d2 39 |*............ .9| +00000280 f6 fc 9c 40 cb ba 04 7c 37 ac df 95 5f 46 44 f4 |...@...|7..._FD.| +00000290 2b 0c 63 24 4e 95 1d 35 b3 68 ab 27 d1 5a 04 03 |+.c$N..5.h.'.Z..| +000002a0 00 8b 30 81 88 02 42 01 3e ff 73 74 01 f5 c8 32 |..0...B.>.st...2| +000002b0 31 f1 d5 0b 26 db 0c ef d0 c9 a7 aa 21 c8 0f 50 |1...&.......!..P| +000002c0 2f ce eb 41 ce 1e de 5d 29 8d c1 20 f2 d9 5d 39 |/..A...]).. ..]9| +000002d0 9d 1d c1 10 b1 a8 35 33 cc 58 f3 fd df 5d 7e fc |......53.X...]~.| +000002e0 ee 8b 15 02 03 2e b0 2b b1 02 42 00 e0 f1 cf e9 |.......+..B.....| +000002f0 e7 e2 1a a7 e1 3c 47 40 c4 fb b2 0d 15 47 4e 26 |.....>> 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 4b a3 cc |....(........K..| -00000040 a1 5b 04 d4 1e 6c 2c 26 56 23 62 50 bc d6 90 0b |.[...l,&V#bP....| -00000050 67 41 d9 7c 79 a5 53 54 73 0a 93 e2 73 |gA.|y.STs...s| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 5c 78 1d |....(........\x.| +00000040 a7 00 de 4e 5e 13 6a 1d 1d 82 28 f6 b6 8a 88 fe |...N^.j...(.....| +00000050 00 81 fe 04 95 a0 4e 93 e0 01 19 a3 6d |......N.....m| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 e3 19 7b 8c 8a |..........(..{..| -00000010 52 35 82 cc 70 50 83 22 88 8b 0a 54 bc eb ff 57 |R5..pP."...T...W| -00000020 2c df 0d 50 d6 21 2f d2 d9 e8 15 27 b9 d7 01 a3 |,..P.!/....'....| -00000030 f2 62 0b |.b.| +00000000 14 03 03 00 01 01 16 03 03 00 28 0a 61 1d 77 66 |..........(.a.wf| +00000010 67 ca 17 5a 94 fc bf 36 07 33 f8 7e 34 bc 65 aa |g..Z...6.3.~4.e.| +00000020 0f 28 7d 40 80 6e 33 99 83 09 02 78 b7 d1 cd 56 |.(}@.n3....x...V| +00000030 a7 f7 e5 |...| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 cc cf 92 |................| -00000010 4d 25 58 96 1d dc df fb d9 1f a5 49 87 45 dd 73 |M%X........I.E.s| -00000020 1a 17 ae 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| -00000030 fb b5 c5 e4 aa ea e7 7e ff dd f7 11 63 c0 e4 a3 |.......~....c...| -00000040 86 fc |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 56 48 af |.............VH.| +00000010 45 e1 76 a8 67 ef 80 cc 92 03 aa b5 88 fc 48 84 |E.v.g.........H.| +00000020 1b 81 39 15 03 03 00 1a 00 00 00 00 00 00 00 02 |..9.............| +00000030 5a 53 90 c9 25 a6 99 ce e7 09 74 97 63 68 fe 0c |ZS..%.....t.ch..| +00000040 5e 89 |^.| diff --git a/testdata/Client-TLSv12-ECDHE-ECDSA-CHACHA20-POLY1305 b/testdata/Client-TLSv12-ECDHE-ECDSA-CHACHA20-POLY1305 index 61e66572..4d3fbfe8 100644 --- a/testdata/Client-TLSv12-ECDHE-ECDSA-CHACHA20-POLY1305 +++ b/testdata/Client-TLSv12-ECDHE-ECDSA-CHACHA20-POLY1305 @@ -1,17 +1,17 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 67 01 00 00 63 03 03 00 00 00 00 00 |....g...c.......| +00000000 16 03 01 00 6b 01 00 00 67 03 03 00 00 00 00 00 |....k...g.......| 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 00 00 02 cc a9 |................| -00000030 01 00 00 38 00 05 00 05 01 00 00 00 00 00 0a 00 |...8............| +00000030 01 00 00 3c 00 05 00 05 01 00 00 00 00 00 0a 00 |...<............| 00000040 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -00000050 00 00 0d 00 0e 00 0c 04 01 04 03 05 01 05 03 02 |................| -00000060 01 02 03 ff 01 00 01 00 00 12 00 00 |............| +00000050 00 00 0d 00 12 00 10 04 01 04 03 05 01 05 03 06 |................| +00000060 01 06 03 02 01 02 03 ff 01 00 01 00 00 12 00 00 |................| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 d6 47 27 38 fc |....Y...U...G'8.| -00000010 16 92 2c 1f a6 53 a9 31 85 65 a7 83 0a 8f cb 4d |..,..S.1.e.....M| -00000020 7d 5b df c1 2e b9 b1 08 e3 b9 96 20 16 0c e5 07 |}[......... ....| -00000030 27 cc 4f 7d 11 ef 1a 14 c6 42 bf e9 c1 b7 a5 89 |'.O}.....B......| -00000040 ca 2b 4c 30 4f c7 c8 10 13 b0 b1 6b cc a9 00 00 |.+L0O......k....| +00000000 16 03 03 00 59 02 00 00 55 03 03 3c 9c e9 fb 22 |....Y...U..<..."| +00000010 8b 32 cb 0d 56 1d a7 a2 c7 c5 d4 41 3d 9f 84 1b |.2..V......A=...| +00000020 26 50 b6 a3 fa f2 c5 20 0d f9 a6 20 38 86 ba 26 |&P..... ... 8..&| +00000030 db 6e d9 ab 3c 73 ec d8 34 56 d1 f2 d3 60 42 9a |.n..KjA..=}?Y....| -00000320 f7 c7 7f 63 49 2f e4 4e d9 8f 2d e5 98 16 03 03 |...cI/.N..-.....| -00000330 00 04 0e 00 00 00 |......| +00000270 2a 16 03 03 00 b6 0c 00 00 b2 03 00 1d 20 ef e6 |*............ ..| +00000280 9e e3 b7 29 0e db 15 72 e8 a8 14 db 99 9c 81 05 |...)...r........| +00000290 29 a0 52 3d 4b a8 76 a3 6d 45 9a 19 72 50 04 03 |).R=K.v.mE..rP..| +000002a0 00 8a 30 81 87 02 41 59 79 0e 40 7d ee 88 af a4 |..0...AYy.@}....| +000002b0 23 dd 4e 18 6a 15 20 af 98 d9 f7 4f 0a ff 7a c6 |#.N.j. ....O..z.| +000002c0 a7 36 53 f0 1e 1a a7 90 25 e6 bd 82 69 cc bc aa |.6S.....%...i...| +000002d0 5d dd c5 0d 01 ed f8 75 57 18 3b d9 52 9d e2 3b |]......uW.;.R..;| +000002e0 a2 fb 7a 71 ea 61 7c 34 02 42 01 f3 ed 1f 6d e8 |..zq.a|4.B....m.| +000002f0 15 ce a1 af ff f5 2f fb e4 6f 83 9c ac f4 05 e2 |....../..o......| +00000300 27 15 bb dd 63 9c ea ac 06 a1 08 4c 5f ad 1a 80 |'...c......L_...| +00000310 cd ee d6 b7 d0 96 6d 42 54 ff cb 42 9b 48 24 0c |......mBT..B.H$.| +00000320 fe fa 07 2a 0a 7a d3 c0 58 4b cd 79 16 03 03 00 |...*.z..XK.y....| +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 20 7c 89 36 36 77 8c 09 31 e4 48 01 |.... |.66w..1.H.| -00000040 6f 08 27 a8 bb 1b 1c a6 0c 09 ec 0b f6 a3 be bd |o.'.............| -00000050 76 70 fb f8 e5 |vp...| +00000030 16 03 03 00 20 6e 2a ec f4 3a e8 88 99 f1 77 94 |.... n*..:....w.| +00000040 b3 a2 c5 3a 59 c2 9a f5 4a fb 89 e4 51 1a 54 a4 |...:Y...J...Q.T.| +00000050 72 d9 54 99 c3 |r.T..| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 a0 db 6c df b1 |.......... ..l..| -00000010 87 77 78 ad 22 b2 98 77 e8 57 aa 13 a8 98 35 63 |.wx."..w.W....5c| -00000020 00 c5 13 b9 88 5d ca bf bc c5 c3 |.....].....| +00000000 14 03 03 00 01 01 16 03 03 00 20 be 1a 60 4e 4a |.......... ..`NJ| +00000010 2d 81 19 6b 7c f2 80 15 18 9c 38 70 6d a3 49 88 |-..k|.....8pm.I.| +00000020 93 4b e8 cc 9f b2 0e cc ed 29 64 |.K.......)d| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 16 00 c8 c6 25 ae 11 9d a5 10 75 |.........%.....u| -00000010 e4 4c e3 69 12 2b d9 9e 8e 40 88 15 03 03 00 12 |.L.i.+...@......| -00000020 cf ab ac d4 c4 8e 9c 92 c4 2f 1f c6 96 0b 36 c9 |........./....6.| -00000030 f5 22 |."| +00000000 17 03 03 00 16 bd 4c d9 d3 ea d0 d3 4e db dc ea |......L.....N...| +00000010 ad e7 20 17 ec 36 04 29 a5 7c ab 15 03 03 00 12 |.. ..6.).|......| +00000020 7b e1 b6 9b fc f9 18 83 87 31 b3 02 e7 b2 e3 c6 |{........1......| +00000030 37 d8 |7.| diff --git a/testdata/Client-TLSv12-ECDHE-RSA-AES b/testdata/Client-TLSv12-ECDHE-RSA-AES index 45728cfb..9cc3e8ff 100644 --- a/testdata/Client-TLSv12-ECDHE-RSA-AES +++ b/testdata/Client-TLSv12-ECDHE-RSA-AES @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 2f 51 e0 81 eb |....Y...U../Q...| -00000010 d2 db 4f 22 fa 11 d2 56 f3 06 d6 a0 97 d2 f3 74 |..O"...V.......t| -00000020 fc a9 a7 73 ba a8 ee f2 05 89 15 20 0f 96 70 60 |...s....... ..p`| -00000030 6f 78 aa 56 fa 92 5e e3 bc e7 f0 40 00 48 8b 84 |ox.V..^....@.H..| -00000040 57 b8 49 e9 f9 00 99 ff 73 29 f6 e7 c0 13 00 00 |W.I.....s)......| +00000000 16 03 03 00 59 02 00 00 55 03 03 66 3d ff 45 dc |....Y...U..f=.E.| +00000010 ea f8 4c 56 5d 55 71 63 c1 64 33 9f f5 09 aa 38 |..LV]Uqc.d3....8| +00000020 bd 13 27 d7 85 ed 0a b4 68 83 9a 20 98 69 c4 d9 |..'.....h.. .i..| +00000030 a1 46 f4 30 ed 4d ae 31 7b 3c 18 23 fa b5 b4 a1 |.F.0.M.1{<.#....| +00000040 74 98 34 7f b8 d0 00 e5 22 35 eb 4f c0 13 00 00 |t.4....."5.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..............| @@ -54,38 +54,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 48 77 87 3e 04 c9 14 |........ Hw.>...| -000002d0 56 9d 1b 41 4b d0 eb 65 8d 56 56 97 fd 73 97 cd |V..AK..e.VV..s..| -000002e0 c6 88 8f 8e 79 99 09 65 53 04 01 00 80 98 c2 ff |....y..eS.......| -000002f0 49 aa 41 ce 0e 7b 03 99 39 c0 b5 ac 72 16 1c 5e |I.A..{..9...r..^| -00000300 a0 92 f1 07 0c 93 dc f6 25 2b 5c be e3 65 41 a9 |........%+\..eA.| -00000310 1e 57 6d 9f 28 50 ca 87 2f c7 b0 15 2e 15 d2 cc |.Wm.(P../.......| -00000320 4d 0e 42 4c 0a 01 4d 1b 9c d1 17 e7 22 9a 6a a9 |M.BL..M.....".j.| -00000330 27 0b 7a a7 32 e3 c7 5a d1 7f f2 1c 45 61 91 a8 |'.z.2..Z....Ea..| -00000340 e0 e0 49 de b7 2f a6 89 63 94 ed 0e 63 15 6b 4f |..I../..c...c.kO| -00000350 fb 62 c4 35 cb 98 89 c2 d1 bc f6 e2 2d 8f 9f 72 |.b.5........-..r| -00000360 56 79 50 5f cd 73 00 f1 65 bf a4 3f 87 16 03 03 |VyP_.s..e..?....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 f1 a9 e3 69 c6 9b 08 |........ ...i...| +000002d0 76 5c 45 2f 7d 16 73 79 b2 c5 9f 01 05 13 74 56 |v\E/}.sy......tV| +000002e0 93 4a dd b2 db 97 61 f9 11 04 01 00 80 81 a1 58 |.J....a........X| +000002f0 99 41 95 ab 7b cc ac 46 e8 04 3e c9 2d 9c 66 63 |.A..{..F..>.-.fc| +00000300 0d 80 19 43 85 bc b5 cf d2 a4 db 9d 28 c2 f4 f7 |...C........(...| +00000310 fe a1 f3 8f 6b e3 b5 6e e2 c2 e2 ac b9 0f f8 8d |....k..n........| +00000320 29 d2 ba 46 dc 10 ae c2 f3 0f b0 8f 1c e6 22 54 |)..F.........."T| +00000330 84 9f 10 c9 a5 ae 53 43 15 61 eb 0c ad 49 78 47 |......SC.a...IxG| +00000340 69 f9 52 9e 58 23 dc df d7 92 0d f5 50 b2 43 44 |i.R.X#......P.CD| +00000350 fe 8b 8b b3 ed 69 e7 15 9c 10 20 51 67 bd b9 40 |.....i.... Qg..@| +00000360 0e 0a f9 65 bf e7 bf 5d 33 5c 71 3d 4c 16 03 03 |...e...]3\q=L...| 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 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000040 00 00 00 00 00 93 4b 37 8d 57 43 52 77 56 d2 af |......K7.WCRwV..| -00000050 7c 56 d0 bf 1e 7b 29 55 3e b7 d0 1c 02 2e 0d de ||V...{)U>.......| -00000060 09 66 f2 98 21 57 ab d2 d2 4a 73 c1 c5 fe f1 b8 |.f..!W...Js.....| -00000070 95 d3 fc 70 ce |...p.| +00000040 00 00 00 00 00 8a cb 7f 37 ba e5 13 2b db f4 15 |........7...+...| +00000050 97 6e b5 08 7b 89 16 21 f8 45 1b ef df 17 e0 ad |.n..{..!.E......| +00000060 44 12 39 4a e6 fb 78 9d aa ab 8a 95 2a 02 1d 74 |D.9J..x.....*..t| +00000070 25 f1 3d 38 21 |%.=8!| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 40 b3 e1 81 3e 0a |..........@...>.| -00000010 f8 f3 c6 05 c1 09 f5 73 01 eb 18 1a 05 fa 2f 9b |.......s....../.| -00000020 b2 bc c7 44 23 38 ed b9 99 a0 56 7d 8b e4 a5 4b |...D#8....V}...K| -00000030 f1 89 45 bc 95 ea 06 a8 48 de 07 bf d5 cb 53 bc |..E.....H.....S.| -00000040 50 fa 25 fb d5 79 17 ec 4d be 3d |P.%..y..M.=| +00000000 14 03 03 00 01 01 16 03 03 00 40 1c 73 dd bb 45 |..........@.s..E| +00000010 89 89 e4 a9 05 db 10 5d 22 20 75 c7 b7 82 c5 64 |.......]" u....d| +00000020 2e 30 70 fc 0c a7 a8 c0 cb da ab 60 1e 68 12 bc |.0p........`.h..| +00000030 47 68 87 01 00 96 e1 f4 a1 a3 20 d1 05 31 7f 79 |Gh........ ..1.y| +00000040 28 36 f9 5c 24 a7 ba 68 b0 b6 e2 |(6.\$..h...| >>> 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 3e 90 61 a4 f1 53 ac 7b b2 9f 4e |.....>.a..S.{..N| -00000020 2c 16 5a 77 8b da 5d 68 5c 8b a8 6d 44 52 f3 ad |,.Zw..]h\..mDR..| -00000030 8e ba c8 89 2f 15 03 03 00 30 00 00 00 00 00 00 |..../....0......| -00000040 00 00 00 00 00 00 00 00 00 00 e5 01 5d ef 4c 0c |............].L.| -00000050 07 8f 21 99 60 83 ee 36 13 8e 25 15 32 85 a5 96 |..!.`..6..%.2...| -00000060 36 90 60 49 4f c7 54 99 dd 76 |6.`IO.T..v| +00000010 00 00 00 00 00 5d f7 4e 68 f6 93 58 4d 14 ae 10 |.....].Nh..XM...| +00000020 14 93 a4 01 58 59 b2 cf 18 da 91 13 5d be da 9e |....XY......]...| +00000030 12 a4 2c 02 f9 15 03 03 00 30 00 00 00 00 00 00 |..,......0......| +00000040 00 00 00 00 00 00 00 00 00 00 71 41 f1 68 4e 97 |..........qA.hN.| +00000050 b6 30 45 8b b9 89 4c 95 04 da 3e cb 4c ab 05 41 |.0E...L...>.L..A| +00000060 65 af 4e 60 91 34 8b 07 a3 10 |e.N`.4....| diff --git a/testdata/Client-TLSv12-ECDHE-RSA-AES128-SHA256 b/testdata/Client-TLSv12-ECDHE-RSA-AES128-SHA256 index 6b02249f..480ff422 100644 --- a/testdata/Client-TLSv12-ECDHE-RSA-AES128-SHA256 +++ b/testdata/Client-TLSv12-ECDHE-RSA-AES128-SHA256 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 ab d3 05 5e d0 |....Y...U.....^.| -00000010 80 0b 87 e9 43 26 e2 c9 28 04 3f eb 68 05 54 3d |....C&..(.?.h.T=| -00000020 9b 28 d0 4e d4 d9 25 e5 b0 27 2b 20 89 27 da d5 |.(.N..%..'+ .'..| -00000030 3d 19 38 63 01 34 f6 43 1b a9 f7 09 12 7d 27 e1 |=.8c.4.C.....}'.| -00000040 f6 23 b8 39 24 8b 1e c7 a3 2f 07 16 c0 27 00 00 |.#.9$..../...'..| +00000000 16 03 03 00 59 02 00 00 55 03 03 6a 17 b0 7f 77 |....Y...U..j...w| +00000010 da 35 bb 45 c1 43 37 52 59 4d 8f 61 1f f8 77 dc |.5.E.C7RYM.a..w.| +00000020 fd 9d 55 5d a7 7f 58 4f dd 3d 42 20 cf e2 65 8f |..U]..XO.=B ..e.| +00000030 7a b8 d3 2c 99 cc 31 2f d7 fa b2 0b 34 2c 72 7e |z..,..1/....4,r~| +00000040 86 a1 c6 e7 b7 55 26 1f 9a 69 43 63 c0 27 00 00 |.....U&..iCc.'..| 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..............| @@ -54,42 +54,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 ec 71 cc fb 07 bd 0f |........ .q.....| -000002d0 6b e0 e1 27 7f 62 59 06 09 3c 09 bc b1 c9 09 93 |k..'.bY..<......| -000002e0 e9 b0 a4 5b f3 be 14 d1 3c 04 01 00 80 a9 c7 98 |...[....<.......| -000002f0 ea ac 6a 9b 49 7c 72 45 4d 5c c8 4c d6 56 64 1b |..j.I|rEM\.L.Vd.| -00000300 44 7f 13 4f 2a ed e9 6b c7 c0 a2 25 3b 7a 99 f4 |D..O*..k...%;z..| -00000310 93 84 35 78 72 21 ca f6 29 1b 60 d7 f6 bd 31 5b |..5xr!..).`...1[| -00000320 7a fb 57 20 30 cc e6 90 07 b2 0e 08 82 86 56 a7 |z.W 0.........V.| -00000330 55 00 fd f4 ce f4 b1 74 27 e9 0a 28 1c bc 56 47 |U......t'..(..VG| -00000340 f7 18 3e 9e 9c 45 2d 1d 82 a8 66 51 27 25 be ec |..>..E-...fQ'%..| -00000350 cd 9e 83 89 7e e0 e3 0f 3b 7b 32 f2 26 7b 30 c8 |....~...;{2.&{0.| -00000360 c1 e3 7b 4c f4 14 d5 51 ea b7 45 7a 59 16 03 03 |..{L...Q..EzY...| +000002c0 ac 0c 00 00 a8 03 00 1d 20 35 8c 3a f9 8a 04 e7 |........ 5.:....| +000002d0 2e dd 2c 82 05 62 da 91 3f 60 2b 0d a8 4d ec 50 |..,..b..?`+..M.P| +000002e0 d1 b1 e0 f6 34 38 e5 7c 11 04 01 00 80 97 25 9e |....48.|......%.| +000002f0 22 b3 40 b2 b9 ec 0f 0e 44 92 11 82 06 70 26 23 |".@.....D....p&#| +00000300 38 b5 fe de 08 32 cd 8e e5 d7 19 3a ba 40 76 74 |8....2.....:.@vt| +00000310 22 cf 19 dd cc 33 cf 34 a9 3a d4 82 e8 92 79 23 |"....3.4.:....y#| +00000320 c1 14 10 79 08 65 43 e9 02 93 32 c8 5f a4 68 ed |...y.eC...2._.h.| +00000330 24 b7 aa 4c 71 4e 01 63 74 2a f5 36 1a d0 15 95 |$..LqN.ct*.6....| +00000340 10 9c 46 87 75 16 55 88 b7 38 14 10 1c b8 34 84 |..F.u.U..8....4.| +00000350 4f 4a 99 0f 17 95 26 a4 31 e3 8f 71 5b 92 f3 27 |OJ....&.1..q[..'| +00000360 df d7 c4 6d 34 8d 14 e7 8e 62 ae 27 12 16 03 03 |...m4....b.'....| 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 76 d8 c4 58 a1 94 11 ab 19 4c 7b |.....v..X.....L{| -00000050 7c 34 d1 b6 8b 7f a2 96 41 e6 e9 98 d8 55 62 2b ||4......A....Ub+| -00000060 56 54 2a 65 25 f0 fa 15 ac cb b7 cc 3b 59 8b 99 |VT*e%.......;Y..| -00000070 e9 be 9e fe 56 97 07 ae 39 38 a7 f4 f0 d0 e9 f5 |....V...98......| -00000080 33 de 20 a6 04 |3. ..| +00000040 00 00 00 00 00 6d a8 40 a4 2f 8d ea bb a0 fb f3 |.....m.@./......| +00000050 a7 38 78 1b 25 57 5c 8a c8 e6 e6 be e2 78 78 c1 |.8x.%W\......xx.| +00000060 dc ec ca 48 9a 85 56 6b da 40 bd 0b cc 0a aa 08 |...H..Vk.@......| +00000070 02 31 57 31 c2 57 ff ac 57 7e e5 08 3a 14 b0 11 |.1W1.W..W~..:...| +00000080 fb 46 83 db 37 |.F..7| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 50 8c 0f 2a be cd |..........P..*..| -00000010 30 f7 46 cf 58 5b 38 88 86 5e d1 33 b1 61 d6 95 |0.F.X[8..^.3.a..| -00000020 13 c7 e7 f2 fb bc 37 e5 a3 db ac a7 74 49 00 89 |......7.....tI..| -00000030 db 94 25 aa 00 b6 b2 34 0a dd 97 bf fa cf 33 6e |..%....4......3n| -00000040 6e f7 ab bf 70 a6 85 91 9b 4f f2 86 15 83 60 0d |n...p....O....`.| -00000050 79 9e 11 51 17 a6 6f 06 2f 98 bc |y..Q..o./..| +00000000 14 03 03 00 01 01 16 03 03 00 50 b7 d0 f9 1f 96 |..........P.....| +00000010 64 b8 99 14 da c9 ae d9 40 ff 8f 3f 69 9d bf 56 |d.......@..?i..V| +00000020 ac 9d 15 d7 84 82 bb e9 1e f3 15 1a b3 3a 96 58 |.............:.X| +00000030 9f a7 9e 7a fb 50 5f f2 9d 46 8d ed fc cb 3b 2c |...z.P_..F....;,| +00000040 6e fd 5a fc d5 8f 8b 11 f8 28 3d c7 e2 36 c4 1b |n.Z......(=..6..| +00000050 da ce ec b2 89 f1 80 a5 ec 7f a2 |...........| >>> 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 c3 c9 23 7b bd 57 1a 29 5f ac f6 |.......#{.W.)_..| -00000020 8d bb 90 bb 48 8a 9a 75 65 3b 5b 52 c0 ee 0e 24 |....H..ue;[R...$| -00000030 43 f6 62 1f 1e 51 36 4e 3e a3 e4 96 d8 2b d8 a7 |C.b..Q6N>....+..| -00000040 d0 18 97 d7 1e 15 03 03 00 40 00 00 00 00 00 00 |.........@......| -00000050 00 00 00 00 00 00 00 00 00 00 c0 c8 9f 7d df b1 |.............}..| -00000060 78 72 b5 3d 0d 3e d9 88 38 c2 42 eb 2b 4d e0 b3 |xr.=.>..8.B.+M..| -00000070 d7 69 19 31 57 16 7c 0a bb 24 5b 9c 9b c2 4b b9 |.i.1W.|..$[...K.| -00000080 55 ef ad 2c c1 eb 9b 59 06 5a |U..,...Y.Z| +00000010 00 00 00 00 00 78 0e 09 23 37 5d ad e5 97 da 83 |.....x..#7].....| +00000020 93 90 d8 dc 96 5a 61 85 8c 8b e8 35 46 46 ac ac |.....Za....5FF..| +00000030 42 fa ee e1 88 41 bd 1c 9c 6a 0c 00 29 cc a4 56 |B....A...j..)..V| +00000040 40 27 8f 6c e3 15 03 03 00 40 00 00 00 00 00 00 |@'.l.....@......| +00000050 00 00 00 00 00 00 00 00 00 00 51 8d 6f 62 be c4 |..........Q.ob..| +00000060 aa d0 f1 83 04 67 7e c2 0a 8b 50 32 71 17 87 95 |.....g~...P2q...| +00000070 a6 31 f6 3d 3f a8 14 00 5d e0 5b c1 db b4 fa 79 |.1.=?...].[....y| +00000080 01 0f 63 0b fe 8c c9 e1 b4 6b |..c......k| diff --git a/testdata/Client-TLSv12-ECDHE-RSA-CHACHA20-POLY1305 b/testdata/Client-TLSv12-ECDHE-RSA-CHACHA20-POLY1305 index 64f999a0..0ddfbdc0 100644 --- a/testdata/Client-TLSv12-ECDHE-RSA-CHACHA20-POLY1305 +++ b/testdata/Client-TLSv12-ECDHE-RSA-CHACHA20-POLY1305 @@ -1,17 +1,17 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 67 01 00 00 63 03 03 00 00 00 00 00 |....g...c.......| +00000000 16 03 01 00 6b 01 00 00 67 03 03 00 00 00 00 00 |....k...g.......| 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 00 00 02 cc a8 |................| -00000030 01 00 00 38 00 05 00 05 01 00 00 00 00 00 0a 00 |...8............| +00000030 01 00 00 3c 00 05 00 05 01 00 00 00 00 00 0a 00 |...<............| 00000040 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -00000050 00 00 0d 00 0e 00 0c 04 01 04 03 05 01 05 03 02 |................| -00000060 01 02 03 ff 01 00 01 00 00 12 00 00 |............| +00000050 00 00 0d 00 12 00 10 04 01 04 03 05 01 05 03 06 |................| +00000060 01 06 03 02 01 02 03 ff 01 00 01 00 00 12 00 00 |................| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 45 f5 61 06 a8 |....Y...U..E.a..| -00000010 4e ce c0 32 d6 af fb 12 5e c8 6c 06 ac c9 d7 e4 |N..2....^.l.....| -00000020 02 49 09 b9 42 ee ae fa e4 52 18 20 12 3a 53 7d |.I..B....R. .:S}| -00000030 11 cf 13 13 a3 f8 42 c3 98 bb bc a6 10 3e f4 13 |......B......>..| -00000040 a5 a2 fd ef aa b3 01 3c cb 8a 3a 2c cc a8 00 00 |.......<..:,....| +00000000 16 03 03 00 59 02 00 00 55 03 03 34 5a e3 34 22 |....Y...U..4Z.4"| +00000010 a6 72 28 26 73 2d 3c 9e f1 39 88 13 07 dd 75 7c |.r(&s-<..9....u|| +00000020 00 58 04 bc 18 28 d0 75 4d 80 96 20 46 c7 3c b7 |.X...(.uM.. F.<.| +00000030 05 16 0d ef 32 51 ab 46 47 95 4b 49 e8 cc 8b 47 |....2Q.FG.KI...G| +00000040 d2 41 e8 05 9a de 5a c3 05 7d d4 b2 cc a8 00 00 |.A....Z..}......| 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..............| @@ -51,31 +51,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 57 53 06 53 e5 14 06 |........ WS.S...| -000002d0 df 26 9d 3a 06 dc a9 d5 49 d3 3f 5f 7b c2 ab 77 |.&.:....I.?_{..w| -000002e0 fd a1 fe 28 dc 54 36 06 22 04 01 00 80 da 23 f5 |...(.T6.".....#.| -000002f0 19 de e8 d2 a9 79 b8 37 3d c0 8c ae f6 7c d5 d9 |.....y.7=....|..| -00000300 87 ab 6b 3f 76 7c 5f 94 be 11 55 a3 78 66 1e e3 |..k?v|_...U.xf..| -00000310 f3 11 3d 1a f7 02 26 a4 a6 cd 7c fe 87 0d 68 a1 |..=...&...|...h.| -00000320 50 e8 7e 94 41 bd 5b 74 d0 6d 3b 6c ef ee 88 2d |P.~.A.[t.m;l...-| -00000330 60 0a a9 53 cf 1f f4 03 a3 54 e5 91 36 50 62 54 |`..S.....T..6PbT| -00000340 5f e6 e5 36 63 58 ba 7b bb 3a 79 59 58 08 a8 f2 |_..6cX.{.:yYX...| -00000350 f5 1e 35 f8 f5 0f 7f 19 e7 7f 5f 56 e2 50 6d 8c |..5......._V.Pm.| -00000360 da 45 70 60 0d 58 32 94 e7 a0 f7 da 93 16 03 03 |.Ep`.X2.........| +000002c0 ac 0c 00 00 a8 03 00 1d 20 1a 1c c4 a1 b6 04 70 |........ ......p| +000002d0 b8 b9 cd 26 b1 c0 74 56 6c b5 5c ff e7 20 79 74 |...&..tVl.\.. yt| +000002e0 f7 84 d5 8d 62 57 fa 40 49 04 01 00 80 1b d8 2a |....bW.@I......*| +000002f0 60 af a6 8c 2d 7e 23 be b8 53 c8 8e 32 b2 29 49 |`...-~#..S..2.)I| +00000300 8c 54 c5 fc 7b 2e e4 b9 6c c3 26 21 84 89 2e cd |.T..{...l.&!....| +00000310 7c c1 e0 1e 16 dc 8f 76 1e c2 65 f0 c2 21 6e f7 ||......v..e..!n.| +00000320 cf 91 f9 d5 c5 bf 33 5e 4f bb 8a 85 86 dd 10 c0 |......3^O.......| +00000330 85 22 e6 c0 36 0b 67 48 10 0a 04 49 1d dd aa 97 |."..6.gH...I....| +00000340 11 4f 80 f0 66 cd 82 85 e1 fa 0c b6 3d e7 bd 16 |.O..f.......=...| +00000350 20 82 cd cc 44 bb 67 47 2a db 9f 22 1b 9e cc 13 | ...D.gG*.."....| +00000360 e2 de d1 1d 9f 16 0e 6f 01 5e de f4 72 16 03 03 |.......o.^..r...| 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 9d 2f a6 b7 21 56 ad 38 a8 31 20 |.... ./..!V.8.1 | -00000040 0b 2e dc 3f 8a 34 64 de 81 0e d3 a5 b1 c1 fc 05 |...?.4d.........| -00000050 18 d9 3e 77 35 |..>w5| +00000030 16 03 03 00 20 3a 2e f4 52 80 92 77 cb e3 54 43 |.... :..R..w..TC| +00000040 cb d5 ba c4 62 e4 77 81 eb fe fc f1 88 c6 e6 46 |....b.w........F| +00000050 7f d9 23 38 e4 |..#8.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 a8 82 60 8a ef |.......... ..`..| -00000010 31 55 42 e9 1d 33 0e d8 a9 b1 43 85 1c 04 7b 20 |1UB..3....C...{ | -00000020 81 df 03 e9 fd c0 f7 32 b9 b3 31 |.......2..1| +00000000 14 03 03 00 01 01 16 03 03 00 20 21 4e a1 16 d0 |.......... !N...| +00000010 35 9f 19 c6 cc 64 64 f7 a0 25 13 3b 97 75 81 9f |5....dd..%.;.u..| +00000020 2f d3 30 d9 02 ad c7 72 8d 32 20 |/.0....r.2 | >>> Flow 5 (client to server) -00000000 17 03 03 00 16 ef 72 f7 1b 26 1a 47 99 f9 4c e7 |......r..&.G..L.| -00000010 be 8e ab c5 8e ea 8c c6 60 6c 10 15 03 03 00 12 |........`l......| -00000020 2c f4 39 e3 3a 74 a4 3c 72 63 77 e8 82 cf a9 e2 |,.9.:t.>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 51 02 00 00 4d 03 03 ac bf 85 b8 5f |....Q...M......_| -00000010 56 44 a0 c5 3b 20 77 71 af de 34 bc 79 a0 a4 a7 |VD..; wq..4.y...| -00000020 fa 2e cf b5 ee c5 a7 a2 5e 11 48 20 05 89 5e a6 |........^.H ..^.| -00000030 cd ad 91 e4 be c3 c3 6c 6a 0e 1d ab 27 03 5e 0f |.......lj...'.^.| -00000040 05 9d ef b0 63 8d 2d b6 29 08 66 e3 00 05 00 00 |....c.-.).f.....| +00000000 16 03 03 00 51 02 00 00 4d 03 03 90 26 c2 6e 52 |....Q...M...&.nR| +00000010 59 b2 e8 f1 c5 fc 4d 59 13 76 43 4e a4 ab 0b 33 |Y.....MY.vCN...3| +00000020 96 d0 4e 89 bd 1e bd 89 f6 2b d7 20 39 94 41 68 |..N......+. 9.Ah| +00000030 81 74 78 60 e1 5f f7 7d e3 9d 81 f1 62 bd 45 67 |.tx`._.}....b.Eg| +00000040 51 50 bd 84 76 70 52 c3 ce 32 90 51 00 05 00 00 |QP..vpR..2.Q....| 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..| @@ -64,15 +64,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 e1 ef 77 60 cf 7a 44 79 74 59 |.....$..w`.zDytY| -000000a0 ff 81 72 b9 b5 f5 97 af 60 59 78 f5 01 49 2d bb |..r.....`Yx..I-.| -000000b0 4a ec 98 1f f5 31 f4 00 a2 f3 |J....1....| +00000090 01 16 03 03 00 24 4b 7c 05 1b 5d ed 28 c0 ce db |.....$K|..].(...| +000000a0 c9 1d bb e8 a1 94 d7 30 ac aa 54 08 2a 82 a2 a0 |.......0..T.*...| +000000b0 52 e7 cb 32 0f c2 f8 ad f3 c9 |R..2......| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 24 52 fd a3 51 aa |..........$R..Q.| -00000010 ee 9d 4d be 8c 08 32 f6 f7 4a a5 26 26 6c b2 5a |..M...2..J.&&l.Z| -00000020 49 7f 31 7d 44 b1 83 67 19 4a e3 07 7d 59 34 |I.1}D..g.J..}Y4| +00000000 14 03 03 00 01 01 16 03 03 00 24 ad ef e3 a0 c4 |..........$.....| +00000010 2c a0 ca 82 a6 f0 eb 8f 73 f3 48 11 0f 1f cc 6f |,.......s.H....o| +00000020 6f 63 fa d8 9d 47 6b b2 ab 3e fe bc 0e 44 ce |oc...Gk..>...D.| >>> Flow 5 (client to server) -00000000 17 03 03 00 1a 61 73 4d 86 b2 a1 36 b2 3e b0 1d |.....asM...6.>..| -00000010 6a b9 8a 8b 00 e0 3a d9 7e 23 c7 83 72 97 28 15 |j.....:.~#..r.(.| -00000020 03 03 00 16 4a 8a 04 00 0a b2 75 80 20 ad 76 2a |....J.....u. .v*| -00000030 88 16 56 e6 4a a5 c0 ea c7 0c |..V.J.....| +00000000 17 03 03 00 1a e7 90 92 8b a5 a6 4f 22 97 2f 23 |...........O"./#| +00000010 f1 3c 54 65 2c 14 7e fd 1d 8f c7 76 97 e8 f8 15 |.>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 16 d2 11 2e d6 |....Y...U.......| -00000010 62 0c 5e 5c 9b 1f d2 31 87 b3 43 3e cd 47 4f f1 |b.^\...1..C>.GO.| -00000020 0b a9 d1 4f f1 2a 42 5d 35 e0 ce 20 f2 f3 45 4b |...O.*B]5.. ..EK| -00000030 98 2f 80 06 49 9a c3 4f 3f 70 0d e5 9a 2a 2e ff |./..I..O?p...*..| -00000040 34 1b 0e 30 2c 85 52 e1 84 8c 3c dc cc a8 00 00 |4..0,.R...<.....| +00000000 16 03 03 00 59 02 00 00 55 03 03 f1 85 19 85 1e |....Y...U.......| +00000010 f5 97 e1 e6 08 15 6f a9 05 93 6f b9 41 ad 11 ae |......o...o.A...| +00000020 92 90 5e 00 97 46 42 af 2f b0 5d 20 b7 f3 e7 76 |..^..FB./.] ...v| +00000030 20 e4 c2 99 6e ba 87 79 21 5c 5c 62 d9 1f 08 88 | ...n..y!\\b....| +00000040 e1 1f 05 0c 31 9c d5 b3 65 19 26 4c cc a8 00 00 |....1...e.&L....| 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..............| @@ -54,178 +54,126 @@ 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 63 85 d4 43 2a d6 9f |........ c..C*..| -000002d0 2f 1f 0c 73 fe dc 96 1e 51 50 a5 0d 5e fd b0 5b |/..s....QP..^..[| -000002e0 a5 88 2a cd 1e bf c1 ec 4d 04 01 00 80 90 fc 48 |..*.....M......H| -000002f0 53 eb 1b bc ec 39 be ae 60 4d c9 d1 49 eb 97 cf |S....9..`M..I...| -00000300 94 53 75 30 84 35 ff 0c f6 ad 9f 24 98 70 2b d3 |.Su0.5.....$.p+.| -00000310 45 0a 7f 25 ca a3 eb 37 5a a5 97 f1 78 8b b6 02 |E..%...7Z...x...| -00000320 92 f9 12 9e 90 52 36 0e 40 15 76 de 37 02 c5 22 |.....R6.@.v.7.."| -00000330 44 8f a4 fc f9 ac 88 88 ad 0c 9b f6 0e d6 9f f3 |D...............| -00000340 68 cb f1 41 dd 2d c2 71 b6 43 36 12 d2 35 1c 9a |h..A.-.q.C6..5..| -00000350 a9 72 ea af a9 9e 77 19 16 86 be 3e ec 5f 5a 53 |.r....w....>._ZS| -00000360 f8 38 27 7f 08 2a ae 68 e0 17 31 df 9b 16 03 03 |.8'..*.h..1.....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 f8 4d 81 d8 29 29 e9 |........ .M..)).| +000002d0 2a 96 44 4b e3 d2 95 11 19 7a d5 26 ed 60 f2 d8 |*.DK.....z.&.`..| +000002e0 e7 7d 96 9e 06 9f 37 f8 3e 04 01 00 80 51 70 fb |.}....7.>....Qp.| +000002f0 66 2e 1f 40 97 95 47 34 e5 69 8b a7 f6 d2 d1 71 |f..@..G4.i.....q| +00000300 0a 4c 34 d8 4f 8a 59 fc a0 93 db 10 77 12 a9 52 |.L4.O.Y.....w..R| +00000310 b6 be 1b 48 2c 56 9a ad 89 57 58 30 90 03 bb 46 |...H,V...WX0...F| +00000320 df 8a 4b 81 9a 14 6a a0 c9 60 76 e5 c6 73 da 35 |..K...j..`v..s.5| +00000330 e5 98 81 31 6c c4 ff 41 0c b1 7c 6e fd 82 75 de |...1l..A..|n..u.| +00000340 d8 84 db 3e fa 80 bc a8 6a 77 6f c9 9b 78 1a 0a |...>....jwo..x..| +00000350 dc 7b f0 65 4d 0f 14 b2 78 e8 db fb ee ca 74 83 |.{.eM...x.....t.| +00000360 2c d5 78 1e 48 09 17 0a d8 08 de f9 9d 16 03 03 |,.x.H...........| 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 b1 f2 9a ca 02 d3 ac 26 f5 32 03 |.... .......&.2.| -00000040 4c b6 de cb f2 a3 11 19 eb c3 e0 e9 3b 8e 99 7d |L...........;..}| -00000050 c2 f3 d0 6d 4d |...mM| +00000030 16 03 03 00 20 c9 e3 4a a0 72 57 a2 c6 8d e9 98 |.... ..J.rW.....| +00000040 28 8d 40 22 6e ed 46 50 0d 08 38 b4 b0 6e a6 0b |(.@"n.FP..8..n..| +00000050 16 57 3f 6a 96 |.W?j.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 c5 d4 b1 e2 0f |.......... .....| -00000010 37 ad d5 c1 1a 6c 7f da 5f 25 e3 bd 20 1d 6e 58 |7....l.._%.. .nX| -00000020 27 7a 07 55 76 11 76 72 1b 28 9e |'z.Uv.vr.(.| +00000000 14 03 03 00 01 01 16 03 03 00 20 28 1b b9 e9 46 |.......... (...F| +00000010 3d 61 64 fe 84 b5 ea ff 79 e3 b9 5f 7e 1d 9c e1 |=ad.....y.._~...| +00000020 84 0f 17 9b be 67 0e b7 71 b3 de |.....g..q..| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 3d 89 e4 a6 38 75 31 c2 08 3d 86 |.....=...8u1..=.| -00000010 45 ed 8d c4 49 c4 da 54 3b 8f e3 |E...I..T;..| +00000000 17 03 03 00 16 0d d9 98 93 d7 c2 0e 48 53 34 1c |............HS4.| +00000010 b6 58 70 58 af 24 7c 3e 43 55 8a |.XpX.$|>CU.| >>> Flow 6 (server to client) -00000000 16 03 03 00 14 aa 85 e4 64 46 2f 8e dc 89 3e ef |........dF/...>.| -00000010 6d 9e 1a af 53 3b a0 81 c2 |m...S;...| +00000000 16 03 03 00 14 96 19 2b 56 4c 10 ea 1a c4 6e e3 |.......+VL....n.| +00000010 95 31 61 ed 22 ce 87 b2 bb |.1a."....| >>> Flow 7 (client to server) -00000000 16 03 03 00 ad c3 12 d1 1a b2 88 da c1 0b 5a 32 |..............Z2| -00000010 cf 05 35 53 ce 5d d8 42 cd 99 7e e7 9f 62 b8 35 |..5S.].B..~..b.5| -00000020 9e f5 b5 a6 15 fd 82 26 9b 6a fe 3b 8e c0 43 27 |.......&.j.;..C'| -00000030 1c 56 37 d1 6f d9 2c a6 a8 e8 b4 50 64 80 ae 5c |.V7.o.,....Pd..\| -00000040 ed eb a6 58 58 52 cf 32 de 1d be 80 69 63 38 a6 |...XXR.2....ic8.| -00000050 12 4e 11 9b 50 aa 4b 10 f7 ad 6f 5b 08 c6 cc bd |.N..P.K...o[....| -00000060 94 42 64 90 c7 33 58 65 18 c5 a7 66 ce dd 83 8b |.Bd..3Xe...f....| -00000070 b0 15 8a 61 26 c7 eb 15 4b 6c 0b 15 45 33 2a 01 |...a&...Kl..E3*.| -00000080 ea 13 5a 20 52 16 15 a0 70 8f 86 dc 28 50 bb e4 |..Z R...p...(P..| -00000090 9d 01 f4 c9 7f 27 5a 54 3f 42 34 c9 5c 04 3f a3 |.....'ZT?B4.\.?.| -000000a0 6a 5c a1 3f 03 7c fc 57 94 9b 3e 76 65 bf 78 40 |j\.?.|.W..>ve.x@| -000000b0 b1 4f |.O| +00000000 16 03 03 00 b1 a7 01 a1 b3 16 21 88 5a 74 bd a0 |..........!.Zt..| +00000010 58 fa d2 fa ba e3 a2 21 ae b6 92 28 a4 90 e7 f7 |X......!...(....| +00000020 fc 1b 6e dd 12 19 18 30 5d 6e fe be b7 12 16 fc |..n....0]n......| +00000030 26 27 8d e0 8c 18 25 3e 97 fa 5b 3c 06 c0 ee 49 |&'....%>..[<...I| +00000040 6e 6f 29 28 ac 46 02 92 38 c3 e1 1b d8 cc 6e 23 |no)(.F..8.....n#| +00000050 a1 4e 67 58 3e 33 45 ed 85 da f1 e6 76 0d ab f5 |.NgX>3E.....v...| +00000060 25 a7 a1 ac 67 f5 b7 14 52 04 57 6b e7 7f ac 5e |%...g...R.Wk...^| +00000070 bb c4 3f 0b 3b 54 86 a0 9c 4f 9b b5 1e 9d f5 8a |..?.;T...O......| +00000080 0b 62 fd 89 84 16 ee 13 49 40 32 3d 90 d1 4a 11 |.b......I@2=..J.| +00000090 ea 13 84 b8 18 4c 50 9b 18 54 ab f1 b8 77 e7 b2 |.....LP..T...w..| +000000a0 8b 7a 85 34 47 0a 83 fb 86 f2 94 e6 4a 17 db a8 |.z.4G.......J...| +000000b0 31 61 8e e7 d8 f9 |1a....| >>> Flow 8 (server to client) -00000000 16 03 03 00 81 33 ef 78 c8 2d 94 4b e3 b8 ea eb |.....3.x.-.K....| -00000010 67 1e 6c 10 98 25 5f df ce 46 4c 13 77 ec d1 b1 |g.l..%_..FL.w...| -00000020 e9 e2 c9 b0 de 9c ce 40 d0 d9 6f a5 fb a6 69 1f |.......@..o...i.| -00000030 9f 53 68 6c ab f8 f0 10 4a c9 43 f0 ad 61 59 01 |.Shl....J.C..aY.| -00000040 b2 90 97 9e cf 62 64 a5 46 b2 27 2f 1e b8 33 24 |.....bd.F.'/..3$| -00000050 ed 7e 6b 5a dd 45 4d 00 61 a3 7e 22 5e bc 02 af |.~kZ.EM.a.~"^...| -00000060 5a a0 73 fb c5 1c 0f 11 f6 70 5f cc 9e 1c fa 3c |Z.s......p_....<| -00000070 13 0d 8b 03 4c 3b d5 5a 02 7b 95 64 ae cb 2f 50 |....L;.Z.{.d../P| -00000080 e7 e1 32 13 72 96 16 03 03 02 69 f0 60 6a b8 fb |..2.r.....i.`j..| -00000090 50 6e f9 f2 65 d0 73 90 f7 55 0d bc 3a 66 72 32 |Pn..e.s..U..:fr2| -000000a0 b7 32 ad 1d de 18 04 90 55 70 2d b8 c9 3f 4b 2f |.2......Up-..?K/| -000000b0 37 98 1c 4e c1 78 c1 ed 1f e2 bf 50 78 40 04 10 |7..N.x.....Px@..| -000000c0 b8 55 48 29 26 b0 a4 4d ea aa 45 65 b4 21 93 ed |.UH)&..M..Ee.!..| -000000d0 49 4c 1d d9 77 33 38 2e 14 92 b4 e3 06 ce fe 51 |IL..w38........Q| -000000e0 6a 19 1c aa e9 a6 7d fa 45 86 66 1a 6e bb 01 01 |j.....}.E.f.n...| -000000f0 82 86 89 86 81 ce 0a 93 1a b2 f1 90 71 7a 43 fa |............qzC.| -00000100 b1 03 24 75 a1 48 f8 ee a0 b4 c0 18 ff 81 95 2a |..$u.H.........*| -00000110 aa 74 87 39 da 23 ba ab 33 6b 63 ee df 2b f1 d1 |.t.9.#..3kc..+..| -00000120 1a 9a 4a 0d ef de 68 13 28 81 49 d5 c6 08 57 a9 |..J...h.(.I...W.| -00000130 d7 5e 56 a4 ec 81 42 de 28 39 51 7d 3a 66 cf a7 |.^V...B.(9Q}:f..| -00000140 f7 81 7a b2 a7 09 b3 24 a6 b0 a5 cc 96 24 30 b2 |..z....$.....$0.| -00000150 5b 94 1b ef 70 dd 7f bc 63 2f 7b bc 80 70 9e 9f |[...p...c/{..p..| -00000160 01 c9 20 ab 35 53 7c 3b d6 70 d9 1d 9a f6 e8 76 |.. .5S|;.p.....v| -00000170 f5 46 f8 b1 10 46 a9 eb da 7b 80 cc 74 18 f9 30 |.F...F...{..t..0| -00000180 56 1a cb 4e 60 2a b3 9f 35 fe a9 b8 b8 76 02 a7 |V..N`*..5....v..| -00000190 4e f9 43 c9 52 70 6a fd 9c 3e dd c4 3f 28 08 19 |N.C.Rpj..>..?(..| -000001a0 28 ed f9 44 e3 d1 b9 53 7e b7 cd 1b e9 11 c8 9f |(..D...S~.......| -000001b0 35 ed ab e3 5e 26 e8 49 7a 13 5c 20 9a b7 a0 95 |5...^&.Iz.\ ....| -000001c0 60 0f 54 68 5c a8 c9 1d 37 0b 9f f6 61 3b fe 4c |`.Th\...7...a;.L| -000001d0 dc 4f 11 98 0c 7a b7 32 0b 50 e2 cd a7 59 bf 05 |.O...z.2.P...Y..| -000001e0 a2 8a 51 33 23 ab 99 49 23 97 42 3b 0f 1c 39 b1 |..Q3#..I#.B;..9.| -000001f0 43 c4 01 aa f9 f8 54 d7 2c b4 ef 33 f3 05 13 d0 |C.....T.,..3....| -00000200 8d 81 06 23 d3 38 cb 3a 6b 37 f0 4d 1f be ed 0c |...#.8.:k7.M....| -00000210 b7 58 00 3a bd 74 02 a4 f4 b4 fc fd b8 fa 89 15 |.X.:.t..........| -00000220 01 46 49 52 47 f1 4c 94 ee de 00 a1 25 aa b4 9b |.FIRG.L.....%...| -00000230 f6 b4 23 a1 0d fd 00 5a de 45 38 ee 69 17 6f c3 |..#....Z.E8.i.o.| -00000240 0b ed c5 3b b1 7d b1 2c a4 8f ed 30 44 9a 0b 51 |...;.}.,...0D..Q| -00000250 34 12 cc 6a 09 e4 74 ec 11 94 4b ba ce 72 93 64 |4..j..t...K..r.d| -00000260 07 c8 ff 78 6e 1a bd 5e 26 15 a7 e8 72 90 71 a9 |...xn..^&...r.q.| -00000270 0a bb cf 25 40 1d 20 a7 d7 b3 46 4b 53 6c c2 50 |...%@. ...FKSl.P| -00000280 c7 7b 58 e1 3c df 6d db 28 71 15 f9 84 b7 ad b0 |.{X.<.m.(q......| -00000290 9f e9 7a 08 5d 85 7a dd bc c0 62 2e 6a d0 63 6a |..z.].z...b.j.cj| -000002a0 e2 46 6b 80 68 cf e5 a7 9e 60 42 8a 17 54 9c ec |.Fk.h....`B..T..| -000002b0 80 9b 81 80 7e 6f 33 8c d1 be 95 30 f2 a9 19 f8 |....~o3....0....| -000002c0 36 2c 8e 89 c2 5a b4 04 2e 12 05 21 3b 4f 42 26 |6,...Z.....!;OB&| -000002d0 d1 98 11 f4 17 c2 a3 06 54 37 31 8e ca 9b 07 62 |........T71....b| -000002e0 79 95 b8 fd 49 aa 60 5b 03 7d 60 50 b6 2f 3b 0a |y...I.`[.}`P./;.| -000002f0 5d c2 9f 92 16 03 03 00 bc ba f6 73 85 34 20 c4 |]..........s.4 .| -00000300 b3 a4 15 01 fe 37 b3 b4 57 a5 b5 26 0c 64 2b 3e |.....7..W..&.d+>| -00000310 07 d3 e4 59 a8 64 3f fd 15 24 24 70 61 77 9b 96 |...Y.d?..$$paw..| -00000320 c6 4b 79 2e a8 a7 c4 ac 5e cd 6e 8f 30 e5 3f f8 |.Ky.....^.n.0.?.| -00000330 08 22 cb de 5f 8c b8 dc 07 4b 79 ec 41 41 20 20 |.".._....Ky.AA | -00000340 02 f6 4e 98 a3 5e 38 e2 5a d9 4a 2d 2e 3b 29 13 |..N..^8.Z.J-.;).| -00000350 26 dc 4e eb a5 5e a3 b6 6f 16 75 b3 9e 63 4e 8e |&.N..^..o.u..cN.| -00000360 00 c1 46 30 fc 25 f9 05 86 ed 00 87 f2 6b 5c 18 |..F0.%.......k\.| -00000370 69 e5 5c 32 9e 15 d2 47 9e 0e d8 c1 7a 9d 45 7a |i.\2...G....z.Ez| -00000380 76 4a ef 8d b5 60 7d 4d fa 99 8f c5 58 18 ad a2 |vJ...`}M....X...| -00000390 93 c1 36 85 39 73 e1 7b 46 be 69 de 88 fa 68 8e |..6.9s.{F.i...h.| -000003a0 be d1 48 bc 7b 29 2a 21 ba 60 60 58 51 c2 03 66 |..H.{)*!.``XQ..f| -000003b0 51 9a 4e 70 06 16 03 03 00 3a c5 ed 8d 5d b9 c0 |Q.Np.....:...]..| -000003c0 a2 07 15 c3 ef 76 ff fb ca f6 b6 4b ab a5 7a 80 |.....v.....K..z.| -000003d0 a9 2e 43 d0 d2 f1 d9 96 61 ff 43 59 3d d1 82 57 |..C.....a.CY=..W| -000003e0 68 d7 c8 3a 5f 86 4a 2e 00 8f 3d 0e 73 49 c6 4a |h..:_.J...=.sI.J| -000003f0 81 4e ec e2 16 03 03 00 14 d5 5f c3 d2 9c 13 36 |.N........_....6| -00000400 cb 22 23 3d e4 03 5b b9 26 66 cf 79 7c |."#=..[.&f.y|| +00000000 16 03 03 00 81 8b 09 74 4a 5b 74 ef c4 91 26 84 |.......tJ[t...&.| +00000010 25 33 c2 f7 05 1c 13 cf 00 ba 54 dd 16 e9 f3 4d |%3........T....M| +00000020 80 f5 1f f9 9b 7e a8 a9 60 f1 d6 be f9 c1 75 b0 |.....~..`.....u.| +00000030 1b 98 c4 d2 f0 69 c5 d5 d9 07 dd 19 56 4f cd 6f |.....i......VO.o| +00000040 b0 df 58 a8 da 66 23 e6 8e 20 03 75 33 1a ee 61 |..X..f#.. .u3..a| +00000050 ab 31 f7 2e e0 ea f4 29 26 34 1d 8e 52 0d 1a 6f |.1.....)&4..R..o| +00000060 cc c7 bf 14 dc 1c 47 80 42 b7 d0 ac 26 f5 e1 8e |......G.B...&...| +00000070 08 d7 63 8a 3b c4 d3 e7 15 a1 46 e3 9b c1 4a 5a |..c.;.....F...JZ| +00000080 14 30 da 62 8f 3a 16 03 03 02 69 54 7c 6d 38 37 |.0.b.:....iT|m87| +00000090 01 fe 7c fe 75 30 f1 c0 e8 16 89 b7 d8 7e e0 70 |..|.u0.......~.p| +000000a0 90 4e c5 7d 37 1b 44 57 7b 91 50 cc aa 71 47 9d |.N.}7.DW{.P..qG.| +000000b0 64 67 42 2c b0 01 64 b1 05 6f b3 a9 07 61 f9 99 |dgB,..d..o...a..| +000000c0 f8 2c 59 08 12 80 c5 48 0c 88 67 05 74 da 91 e0 |.,Y....H..g.t...| +000000d0 6d 53 2a ac 02 14 cb f9 f5 c1 dd c2 29 29 e6 7d |mS*.........)).}| +000000e0 78 52 cb 19 74 80 6f 1b ab a9 4c b7 88 09 01 b8 |xR..t.o...L.....| +000000f0 66 a1 8c 1d 1a 06 08 05 7d 60 5d e6 a7 da 36 17 |f.......}`]...6.| +00000100 ef 5c 90 c3 77 d8 34 d4 99 e5 bd 1d 70 15 78 db |.\..w.4.....p.x.| +00000110 71 23 4d 4a 18 bd ac ab 36 86 79 05 70 1c 51 15 |q#MJ....6.y.p.Q.| +00000120 82 c9 a0 c2 cd 80 d0 41 a1 51 10 c5 96 44 1f 97 |.......A.Q...D..| +00000130 a7 20 0a 80 a4 7c fe 6d f3 b4 ae 19 17 17 d4 97 |. ...|.m........| +00000140 37 cf 69 34 8e ad 5a e6 66 fc f3 07 7d a7 5c 0d |7.i4..Z.f...}.\.| +00000150 c2 fd d6 3d 69 dc 41 6f b0 fd 3b db 3a 95 25 52 |...=i.Ao..;.:.%R| +00000160 a0 82 54 7c f3 4d d2 65 8b c6 55 3a 9c 89 19 f1 |..T|.M.e..U:....| +00000170 aa c0 49 7a bf 1c ec 7a 78 d2 11 c0 8f ab 53 2d |..Iz...zx.....S-| +00000180 68 69 9e 12 db ec 77 df 7d 7b 5f 75 76 df 76 1e |hi....w.}{_uv.v.| +00000190 b4 c3 32 3f c9 cb 58 bd c4 b0 45 61 2a dc 14 fb |..2?..X...Ea*...| +000001a0 3a 83 84 e0 ad a0 25 16 e7 1c 3c 4b f6 4e 6d a8 |:.....%...}a.>.b+..| +000001f0 0b 71 d8 1d ae 65 c0 f8 71 98 aa 08 af 10 09 6f |.q...e..q......o| +00000200 9d 79 9b 70 d5 48 5c 96 ac d0 2d ee 61 1f 8a 96 |.y.p.H\...-.a...| +00000210 5e 8b 04 06 80 20 f1 cc 61 93 9f ea c3 3a f0 ba |^.... ..a....:..| +00000220 ed 7c 80 25 4c ba e8 a6 97 62 04 cd 8b 58 00 d6 |.|.%L....b...X..| +00000230 e1 0d 0b f3 c0 73 b9 0d 57 e3 76 8d f8 a9 43 72 |.....s..W.v...Cr| +00000240 c0 37 d9 f5 16 02 0a 0c d1 44 2d e6 fe 57 3d 9f |.7.......D-..W=.| +00000250 64 ef a6 f6 9b 44 7a 16 de f7 64 94 6f 4c c4 57 |d....Dz...d.oL.W| +00000260 f8 ba dd 64 61 87 55 6e ac 96 1c 68 f4 68 b2 90 |...da.Un...h.h..| +00000270 ec 7a a5 f3 7c dd f0 30 af 27 9d c4 dc fe 05 c7 |.z..|..0.'......| +00000280 4b d3 44 63 5c bb e0 e0 eb 0d bc ef ea fa dd 17 |K.Dc\...........| +00000290 1f 27 a6 b7 79 6c 0c 64 25 91 4d a1 cf ae 5b 81 |.'..yl.d%.M...[.| +000002a0 2b d3 18 0b 82 3e 4a 4b 02 6c cb be c7 b7 a7 e0 |+....>JK.l......| +000002b0 2f a7 a0 32 f4 5d b2 5b 6e 9f b4 cd ee 58 e4 bd |/..2.].[n....X..| +000002c0 ac 44 4d 0d 37 31 8b d1 d5 01 83 0a 63 85 14 e3 |.DM.71......c...| +000002d0 55 93 1d 25 61 4b 43 b5 a4 e5 d3 50 e9 01 96 02 |U..%aKC....P....| +000002e0 10 aa 58 6a 9d e0 e4 80 c4 a9 20 c9 b5 0c 79 bb |..Xj...... ...y.| +000002f0 5c 5f 22 43 16 03 03 00 bc 56 b6 aa ae 4c 5f f5 |\_"C.....V...L_.| +00000300 4f 16 84 92 4b d3 be 30 7f ab 74 d2 5e eb 23 de |O...K..0..t.^.#.| +00000310 2f 5b 6e c4 1a b4 e6 39 33 f8 c9 0f a3 b0 d5 bb |/[n....93.......| +00000320 77 21 76 6d 6e 45 b9 75 d1 86 b8 be ad 31 85 db |w!vmnE.u.....1..| +00000330 90 39 92 74 3a fc e1 5c 71 b9 64 b5 ae d8 5b a5 |.9.t:..\q.d...[.| +00000340 ac ca b5 9c 3a ad 58 a3 b3 2d 80 52 47 8f 5c 9b |....:.X..-.RG.\.| +00000350 fd 09 a9 b0 b9 84 e5 01 03 69 ca b3 79 bc 61 da |.........i..y.a.| +00000360 f9 58 0a 0e 86 a3 aa 3a b9 e8 8d 87 a5 0b 62 fa |.X.....:......b.| +00000370 7f de 17 29 ed 75 38 49 4a f9 5f a3 cd 92 f7 bd |...).u8IJ._.....| +00000380 fd 5d d3 0e 2f 49 38 a1 ba b5 87 e2 65 e0 68 c1 |.]../I8.....e.h.| +00000390 c1 3d f2 57 06 25 9e b8 54 6e 9a 33 ee 3f 6a fc |.=.W.%..Tn.3.?j.| +000003a0 53 1c cc 1f ee 6a 0f 43 c5 68 08 02 4e d7 3e 5e |S....j.C.h..N.>^| +000003b0 a6 c9 aa da 0b 16 03 03 00 14 8b 31 f6 f0 2c bf |...........1..,.| +000003c0 d1 fa 59 12 4a 4d 9d 51 d2 79 ff 58 3a fa |..Y.JM.Q.y.X:.| >>> Flow 9 (client to server) -00000000 16 03 03 02 69 15 0b 29 0e 27 a9 4b 52 4d 0a 77 |....i..).'.KRM.w| -00000010 b8 3a 40 95 84 a7 7a 8d b1 6b 90 61 94 3a e4 06 |.:@...z..k.a.:..| -00000020 20 6f 88 40 8a 8c c2 4e dc 3a 01 39 c2 11 5a 9b | o.@...N.:.9..Z.| -00000030 28 92 bc 72 04 a3 60 c3 42 c0 b8 dd f3 41 40 be |(..r..`.B....A@.| -00000040 6d 51 5b b8 db 75 63 3d 4f 2a cf f5 04 3d 53 be |mQ[..uc=O*...=S.| -00000050 47 f1 ae be 0a 97 5d 2c df 55 5d dd 9a f6 0e 40 |G.....],.U]....@| -00000060 59 02 91 d8 55 c9 3b e6 84 9c 8d 40 af 29 77 59 |Y...U.;....@.)wY| -00000070 15 0c 83 dd ec c7 e2 16 85 d8 6e e7 4e c5 a5 b1 |..........n.N...| -00000080 8b 4b 46 3e 62 7c ff 27 1b 37 b7 5c 05 32 30 fb |.KF>b|.'.7.\.20.| -00000090 c1 cc 1d 13 1f 09 db 57 6a 70 2b 9f a7 25 9b 75 |.......Wjp+..%.u| -000000a0 d3 62 20 45 d1 2f 28 c0 d7 84 d6 2e b3 6d 4a c3 |.b E./(......mJ.| -000000b0 46 0d 92 32 87 65 dd b8 98 68 1a 52 0a df be b3 |F..2.e...h.R....| -000000c0 09 bc 63 bb a3 da f7 52 5a 81 53 9a e0 ff bb 06 |..c....RZ.S.....| -000000d0 7f 81 f8 ea 02 bb 3b 96 7b 0f 84 a5 4d 17 3a 2a |......;.{...M.:*| -000000e0 20 e9 21 70 b2 ab 8a 55 31 4b 1b 60 52 7f a8 39 | .!p...U1K.`R..9| -000000f0 5a 0f 0b 00 4e eb 01 0c a6 d8 f0 30 2b a3 6f 7b |Z...N......0+.o{| -00000100 99 82 90 9e 4c c8 03 1c 0e 85 55 bc 2d 42 28 66 |....L.....U.-B(f| -00000110 35 c3 1e 08 70 d0 45 05 5b 2e 00 fc 9a f1 44 0e |5...p.E.[.....D.| -00000120 cb 91 ce b8 0f 2a 9f 5a 18 a8 ca 38 ff 2a ab 11 |.....*.Z...8.*..| -00000130 57 a5 03 2f 3e 92 21 77 df dc 85 e7 fd d4 7e d0 |W../>.!w......~.| -00000140 d9 6e ef 99 66 5d a8 f5 9a d3 c3 0f 0c 98 cd fe |.n..f]..........| -00000150 5a 46 79 77 c9 28 fb 5e 3e c0 d5 b3 db 98 79 9d |ZFyw.(.^>.....y.| -00000160 d4 20 a5 ad 25 d8 3b 39 35 60 fd 21 e0 eb 86 be |. ..%.;95`.!....| -00000170 8f 65 72 a2 d3 91 4c 25 70 31 b1 02 29 17 da e0 |.er...L%p1..)...| -00000180 9f 7d 4e 5f 1a 7b 93 09 4c 84 5b 40 f8 3c 98 36 |.}N_.{..L.[@.<.6| -00000190 9b 14 43 db 43 11 0a e2 9a 8b 73 96 a3 7b 4d 67 |..C.C.....s..{Mg| -000001a0 d7 35 a6 85 40 6d 45 0e 9d 47 43 96 b8 64 d4 d7 |.5..@mE..GC..d..| -000001b0 d1 28 c8 32 7e ab d5 11 ad b4 a7 9c c9 ab c5 96 |.(.2~...........| -000001c0 72 69 1a db 42 06 8e 03 d0 70 f9 7a 75 56 53 49 |ri..B....p.zuVSI| -000001d0 29 e1 60 16 86 99 da 9e d6 c3 95 94 e3 e4 6c 9c |).`...........l.| -000001e0 4f d0 5d e7 a6 23 e1 49 a5 b8 3d 41 a4 e0 8c a2 |O.]..#.I..=A....| -000001f0 f8 35 40 4d 12 f1 0b 70 06 f5 b5 29 f8 5d 74 73 |.5@M...p...).]ts| -00000200 32 35 11 7f 50 a3 22 5b d6 db a5 a8 9f ca db 47 |25..P."[.......G| -00000210 b9 a8 c7 fc 16 40 ae 94 6e 6c 40 30 7a d6 9c 89 |.....@..nl@0z...| -00000220 d7 e9 1b 6b 26 72 1f d7 c9 bc ce 6f 84 03 3d 65 |...k&r.....o..=e| -00000230 34 f9 7b 32 54 e4 b4 72 8c e1 31 9e e5 13 50 2f |4.{2T..r..1...P/| -00000240 ea 16 27 15 cb ec 0f 1b 21 aa dd cb 25 74 b9 4d |..'.....!...%t.M| -00000250 36 c0 0d fe a4 99 2f 86 50 52 d0 83 e2 3f fa e7 |6...../.PR...?..| -00000260 2d 24 b6 7a ca 7f 69 3e 7d 0b 61 df 29 3b 16 03 |-$.z..i>}.a.);..| -00000270 03 00 35 8e 89 3d 7b 39 aa d2 21 01 6a 3d fe 4f |..5..={9..!.j=.O| -00000280 e2 d9 e6 6d 5d 1e d3 a5 1d 3f f8 8e fb 97 3d 06 |...m]....?....=.| -00000290 9b 68 67 45 15 3b a1 e8 e8 39 77 1a 41 77 2b c5 |.hgE.;...9w.Aw+.| -000002a0 8c fe bd 28 7a 85 eb 7a 16 03 03 00 98 f0 ed 3c |...(z..z.......<| -000002b0 37 3f 34 3b 35 e4 15 a8 f3 b4 b6 76 49 65 e8 26 |7?4;5......vIe.&| -000002c0 93 4b cc b1 31 7a 4c e7 7d 80 63 60 65 9a ff 11 |.K..1zL.}.c`e...| -000002d0 a8 c5 c4 4e c2 7a ca 95 cb 08 21 77 42 ce 70 1e |...N.z....!wB.p.| -000002e0 bf d9 b5 6d de dc 03 67 2e 11 b5 47 c1 c0 74 6b |...m...g...G..tk| -000002f0 b4 9d c4 de 8c d4 80 e4 99 92 31 68 09 85 00 34 |..........1h...4| -00000300 43 cc 06 09 bc a8 6e 83 a0 fa df 6e a0 04 e9 37 |C.....n....n...7| -00000310 b3 05 69 b9 f1 85 7f 48 27 73 d0 64 2c 33 48 1f |..i....H's.d,3H.| -00000320 f9 7c 0a 21 1f cb 0f 4c c2 28 b0 3b 8c 9b 23 21 |.|.!...L.(.;..#!| -00000330 f4 8c 69 b2 1d 55 35 20 b9 92 09 36 01 aa e1 e3 |..i..U5 ...6....| -00000340 ee b7 3d 83 7b 14 03 03 00 11 40 bb bb 2e 3d 48 |..=.{.....@...=H| -00000350 9f fa c6 0c d8 4f 45 cb 11 b3 a5 16 03 03 00 20 |.....OE........ | -00000360 39 b7 46 30 00 68 12 c5 f5 d7 a0 85 7f ce 49 70 |9.F0.h........Ip| -00000370 05 83 64 26 7a 0c 43 fb a9 4d bb 61 3a c3 8a 91 |..d&z.C..M.a:...| +00000000 16 03 03 00 35 24 68 32 63 8a 43 11 1f 91 a5 8b |....5$h2c.C.....| +00000010 4f 57 63 f6 de a8 23 c2 d2 68 33 d0 fc 9d 41 b1 |OWc...#..h3...A.| +00000020 5f 71 d8 e4 fb b6 71 e6 83 2f cc 15 53 e1 70 48 |_q....q../..S.pH| +00000030 34 92 68 ae 1f f4 88 b0 d0 59 14 03 03 00 11 e9 |4.h......Y......| +00000040 01 e9 1d fa c2 c3 2a 60 68 98 83 fa f5 7e 5f 2a |......*`h....~_*| +00000050 16 03 03 00 20 33 0c 00 8d 8a 60 06 dc 43 9d ae |.... 3....`..C..| +00000060 a5 a7 23 05 3a 55 53 e4 41 42 46 bb 35 ef a6 2c |..#.:US.ABF.5..,| +00000070 d4 d8 4d 85 d4 |..M..| >>> Flow 10 (server to client) -00000000 14 03 03 00 11 d1 d7 7e 3c 5f 01 cb f8 eb af d5 |.......~<_......| -00000010 ba 09 32 68 4b cf 16 03 03 00 20 02 f1 23 45 32 |..2hK..... ..#E2| -00000020 60 9b 49 db 2f 3a cb 5c e4 f3 64 b1 cb ca 09 b0 |`.I./:.\..d.....| -00000030 b3 34 a3 75 7d a5 a0 80 44 fd b7 17 03 03 00 19 |.4.u}...D.......| -00000040 d7 c3 c4 33 e6 f2 73 d2 2c 0b 7e 0e 40 d3 8b f6 |...3..s.,.~.@...| -00000050 47 57 13 88 be 4b 12 43 57 |GW...K.CW| +00000000 14 03 03 00 11 ce 28 cc ba 60 2b 9a 92 b1 a1 fc |......(..`+.....| +00000010 73 25 71 fd f5 59 16 03 03 00 20 5d 9c a5 c1 2f |s%q..Y.... ].../| +00000020 2a f3 af 84 9b 15 cd fa a1 6e ca a0 09 2b a4 b8 |*........n...+..| +00000030 e9 e2 b8 eb 17 84 d0 fb 20 7e fc 17 03 03 00 19 |........ ~......| +00000040 43 86 e9 94 82 d6 08 ac a3 90 97 05 b6 f0 54 28 |C.............T(| +00000050 3d d1 c9 f8 d9 19 5a d4 ed |=.....Z..| >>> Flow 11 (client to server) -00000000 15 03 03 00 12 3a 90 85 e8 ce 53 d1 2a 3b d6 9a |.....:....S.*;..| -00000010 f3 61 c1 72 81 c0 03 |.a.r...| +00000000 15 03 03 00 12 05 a9 95 98 5c 81 dc ae eb bc 17 |.........\......| +00000010 2e 08 b5 32 82 45 23 |...2.E#| diff --git a/testdata/Client-TLSv12-RenegotiateTwice b/testdata/Client-TLSv12-RenegotiateTwice index c2f4e4ac..fb5ca90e 100644 --- a/testdata/Client-TLSv12-RenegotiateTwice +++ b/testdata/Client-TLSv12-RenegotiateTwice @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 30 5b 03 80 cf |....Y...U..0[...| -00000010 ad 5e 69 9b da 4a de 2f 07 f3 6c 42 d7 50 99 10 |.^i..J./..lB.P..| -00000020 80 15 dc dd d2 ef 3d 20 b9 eb bd 20 51 63 fd 9d |......= ... Qc..| -00000030 3d b7 3e ea 4e 18 45 90 40 50 f2 f3 2b b8 00 42 |=.>.N.E.@P..+..B| -00000040 bf 77 ae d1 ff 29 2d ca d8 c2 4e c7 cc a8 00 00 |.w...)-...N.....| +00000000 16 03 03 00 59 02 00 00 55 03 03 72 05 00 95 36 |....Y...U..r...6| +00000010 6c a5 d1 0f 06 bd 25 80 25 19 16 0d 70 56 8f c4 |l.....%.%...pV..| +00000020 b4 e9 17 be d2 06 09 b4 05 bc 2e 20 bc b9 5a 92 |........... ..Z.| +00000030 44 a5 91 7c 82 7e b6 c3 50 da cd f2 98 e1 26 14 |D..|.~..P.....&.| +00000040 d3 eb e2 98 c7 f6 6c 96 71 d3 7e b4 cc a8 00 00 |......l.q.~.....| 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..............| @@ -54,323 +54,219 @@ 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 6b cd 37 6d a7 76 7a |........ k.7m.vz| -000002d0 04 0e 8c 93 db b0 62 67 14 65 26 5e 91 b3 8d 66 |......bg.e&^...f| -000002e0 20 40 31 c1 84 3c ef d8 67 04 01 00 80 ce 3a f2 | @1..<..g.....:.| -000002f0 16 01 b2 8a cd d6 1c b3 c4 46 a5 e8 1f 17 85 d9 |.........F......| -00000300 5b 97 fb dd 43 65 52 82 e3 49 99 e8 49 d9 09 13 |[...CeR..I..I...| -00000310 05 73 19 d0 d9 66 54 03 de 4b fa 43 2d f1 f8 98 |.s...fT..K.C-...| -00000320 79 21 3b fa a9 ea 29 78 fa 87 59 8e 9b 2f f2 99 |y!;...)x..Y../..| -00000330 14 85 21 9c 7e 59 5b 4b 2f e3 33 c4 7c 2c ac 35 |..!.~Y[K/.3.|,.5| -00000340 4f 68 c8 a3 0b f5 43 7e 72 9a e6 4f 9c 10 4d 4a |Oh....C~r..O..MJ| -00000350 d4 b5 84 62 61 4e f4 0f 3f a5 b5 23 89 d9 33 e2 |...baN..?..#..3.| -00000360 06 22 02 c5 fe db 27 fb 40 87 8c e7 6e 16 03 03 |."....'.@...n...| +000002c0 ac 0c 00 00 a8 03 00 1d 20 f0 1b 05 7a 25 88 37 |........ ...z%.7| +000002d0 65 0d 93 e7 44 ff b4 bd 8d 9a eb ca 4f 31 c6 42 |e...D.......O1.B| +000002e0 f8 83 aa 1e 33 6c c8 3f 2a 04 01 00 80 0c 5b 0c |....3l.?*.....[.| +000002f0 92 86 55 5a 05 c9 f0 df 0a 1f 57 46 24 53 a6 77 |..UZ......WF$S.w| +00000300 f9 6b b0 a0 2e a3 64 f0 21 f1 93 10 de 9c 6f fb |.k....d.!.....o.| +00000310 68 8c f0 d4 f6 b4 81 f6 60 8a 64 ee af f6 ee 3c |h.......`.d....<| +00000320 d8 45 fc 3a 70 1d 89 c2 11 94 4e 9a 5c ee 67 64 |.E.:p.....N.\.gd| +00000330 24 91 2c 97 09 ba 1f 76 2d ca e4 a1 52 e9 d6 8a |$.,....v-...R...| +00000340 e5 21 42 66 80 95 72 61 6e d7 09 eb db 30 fc b7 |.!Bf..ran....0..| +00000350 8e d6 3a 91 97 14 09 33 15 9a 5d 45 a9 53 0b 3d |..:....3..]E.S.=| +00000360 49 3b ba 95 8c ae 96 06 e1 e9 4c 2f 72 16 03 03 |I;........L/r...| 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 5a b9 f7 81 81 7f 65 84 c9 87 40 |.... Z.....e...@| -00000040 a4 66 07 85 38 3b 85 8d ff c4 7e b7 f6 16 1d c1 |.f..8;....~.....| -00000050 36 4f 53 1a bb |6OS..| +00000030 16 03 03 00 20 f7 8a a0 59 29 4a b5 a1 1a d2 9c |.... ...Y)J.....| +00000040 d7 4f f7 eb 76 ed 9f d5 93 cb 30 dc dd a1 28 0a |.O..v.....0...(.| +00000050 82 3e fb 3b d0 |.>.;.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 ff b2 f4 3b af |.......... ...;.| -00000010 ba 44 66 0b f9 31 09 18 df 9d d0 04 82 38 11 dd |.Df..1.......8..| -00000020 a7 ee 83 ef 03 51 21 08 f9 c4 8a |.....Q!....| +00000000 14 03 03 00 01 01 16 03 03 00 20 01 ce 8d 74 22 |.......... ...t"| +00000010 4a 7e 22 fe ab b4 ed 5e 05 27 3f e9 35 97 f4 ef |J~"....^.'?.5...| +00000020 c5 df 0c 7f d7 6a 10 94 a0 72 dc |.....j...r.| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 b6 45 4e 35 df 21 f4 c7 24 ba e6 |......EN5.!..$..| -00000010 18 65 1c 75 ba 72 5d 5b 4a fd 78 |.e.u.r][J.x| +00000000 17 03 03 00 16 cc f5 66 f6 5e d6 b5 53 e6 d6 29 |.......f.^..S..)| +00000010 90 c6 dc b3 ad b5 43 ea 16 80 88 |......C....| >>> Flow 6 (server to client) -00000000 16 03 03 00 14 1a ec 37 ab 36 23 80 76 1c 0b d0 |.......7.6#.v...| -00000010 54 9a 8f 7e 7a c0 bd 09 9a |T..~z....| +00000000 16 03 03 00 14 0e 28 a6 a0 4a 78 90 fa d5 ed 0a |......(..Jx.....| +00000010 45 b8 21 75 18 de 93 16 12 |E.!u.....| >>> Flow 7 (client to server) -00000000 16 03 03 00 ad 7a d4 bf 4d bf 48 0a 0f 2c d1 38 |.....z..M.H..,.8| -00000010 9f 20 f7 c7 36 27 82 d9 5e f4 21 44 0e 75 46 ca |. ..6'..^.!D.uF.| -00000020 67 f8 87 6c 4f 1e c7 1e 5f 8d f2 88 58 1b 92 12 |g..lO..._...X...| -00000030 e0 f6 d5 5c d7 4b 21 b9 8c 93 a8 bc a4 e6 e5 cb |...\.K!.........| -00000040 d0 33 eb d5 10 ad 53 50 58 e0 94 f0 b8 52 20 8c |.3....SPX....R .| -00000050 c2 69 7a c3 43 73 3f 2e 4a 42 2c c1 8d c1 ff 1e |.iz.Cs?.JB,.....| -00000060 57 ba 7d 99 9c a2 10 99 19 d6 72 38 96 ba 2b ff |W.}.......r8..+.| -00000070 7b a8 42 c0 c0 c4 d4 50 20 39 39 b8 18 23 a1 d3 |{.B....P 99..#..| -00000080 38 d3 9d 41 81 c2 4b ba 4c 28 c0 14 22 71 df d9 |8..A..K.L(.."q..| -00000090 e1 57 fc 9c 4f 0e 28 9a 13 c6 a1 e2 de f0 81 3b |.W..O.(........;| -000000a0 5f c1 7b 61 f5 fc 74 93 f1 06 7d 9b 67 56 45 a4 |_.{a..t...}.gVE.| -000000b0 f8 83 |..| +00000000 16 03 03 00 b1 60 7a a2 91 30 f4 5b a4 5f 4c 38 |.....`z..0.[._L8| +00000010 5e 44 34 09 02 13 c3 1b 02 d3 64 e4 f3 c2 35 87 |^D4.......d...5.| +00000020 b2 4b 39 fd 89 10 12 42 97 b9 97 e5 67 82 0a 5c |.K9....B....g..\| +00000030 24 28 5a 0c be db d2 0b f7 ac b7 f4 9d c1 0f 0a |$(Z.............| +00000040 76 e4 6f 41 e2 31 e3 35 0b 39 71 a9 31 56 b0 41 |v.oA.1.5.9q.1V.A| +00000050 13 d6 0f 2c 10 e9 e7 bb 37 2a e9 b2 4d 8a f3 8a |...,....7*..M...| +00000060 5a ab 12 02 99 ba e4 45 b9 2d c6 be 45 35 37 6a |Z......E.-..E57j| +00000070 e5 24 be db 79 39 df 5e c8 a8 58 42 2d 40 00 96 |.$..y9.^..XB-@..| +00000080 89 8a 2e 45 32 61 3e 65 18 c1 8f bf 90 da 60 bd |...E2a>e......`.| +00000090 03 34 ad 93 ac aa 33 55 31 8c 41 fa d0 85 42 a8 |.4....3U1.A...B.| +000000a0 dd 69 2f fb e5 21 c6 64 39 42 8c af b6 1d 21 e2 |.i/..!.d9B....!.| +000000b0 47 ec 11 ed 4d 6d |G...Mm| >>> Flow 8 (server to client) -00000000 16 03 03 00 81 ec 0e 7c 60 5b ed 0f 29 e6 cd 3a |.......|`[..)..:| -00000010 ca ff f7 68 3e 22 30 cf 43 b2 29 71 ca 3a 06 db |...h>"0.C.)q.:..| -00000020 e0 df bc 87 51 62 df 37 37 7a 9d b4 2d 35 ab bb |....Qb.77z..-5..| -00000030 d2 ed d1 50 e7 61 a4 27 18 43 23 74 4b 1d 14 46 |...P.a.'.C#tK..F| -00000040 80 5c 10 99 10 47 b2 51 92 11 1f aa f1 5a c3 cf |.\...G.Q.....Z..| -00000050 f5 30 69 96 26 f6 0e 7c e9 e1 7c 4b d5 2f 46 1c |.0i.&..|..|K./F.| -00000060 7d 18 a5 20 f1 ff 40 9e c7 d5 d4 54 33 c4 99 9c |}.. ..@....T3...| -00000070 26 95 d9 ca 82 fc e7 27 37 fc 33 9f f8 c7 cb 0a |&......'7.3.....| -00000080 9d 4e bc 66 ca fc 16 03 03 02 69 ab be 55 39 99 |.N.f......i..U9.| -00000090 ac 66 a6 86 03 51 70 d8 fa 7d e7 89 09 fc eb b5 |.f...Qp..}......| -000000a0 25 f6 95 0c 40 3d b8 ea b6 78 41 db a4 f3 92 83 |%...@=...xA.....| -000000b0 00 c8 8d 1f 19 0c ec ec e5 60 07 d9 31 2d 3b 91 |.........`..1-;.| -000000c0 ba ad b3 c1 fb b5 57 52 73 37 43 89 22 e0 45 7c |......WRs7C.".E|| -000000d0 b0 da 1f 69 76 d3 af fc ba f0 98 ec d2 7f be f0 |...iv...........| -000000e0 a4 76 f0 d9 30 1b 78 22 bb 43 fd 45 64 07 e4 64 |.v..0.x".C.Ed..d| -000000f0 c5 74 2f ed ba 23 8d 3a 5a ff 7f 35 de 25 53 0d |.t/..#.:Z..5.%S.| -00000100 ac ae 5b da b1 7d 86 fe da c8 9e 79 58 6c 4c 9c |..[..}.....yXlL.| -00000110 6d f9 e9 1d 31 ff aa fb 8e 2e 98 f4 3a 67 33 9b |m...1.......:g3.| -00000120 a3 63 5e fc 74 f5 c5 28 76 30 e6 22 8a 85 79 56 |.c^.t..(v0."..yV| -00000130 4e cf 94 38 92 61 09 22 00 95 d4 16 b4 e0 80 05 |N..8.a."........| -00000140 28 35 30 6f 56 7d f8 b9 ed 49 72 b0 9f 47 9f 07 |(50oV}...Ir..G..| -00000150 7f 1d b9 3b 6d ce c9 09 72 2f 65 b0 88 b4 ec 24 |...;m...r/e....$| -00000160 29 8d 57 93 a7 51 85 32 26 4c 31 21 24 b1 ab 97 |).W..Q.2&L1!$...| -00000170 c6 3c 38 44 d4 8f d0 3b ea 62 39 48 90 ca c4 5c |.<8D...;.b9H...\| -00000180 9c 72 08 a4 3f d0 1e 3e 9f 23 02 0e 94 b4 14 cc |.r..?..>.#......| -00000190 96 bc 23 22 2f af c5 ed 81 da 49 ca 26 f4 55 6a |..#"/.....I.&.Uj| -000001a0 b3 24 3f 13 a5 f7 d6 82 70 04 37 63 dc 92 63 0f |.$?.....p.7c..c.| -000001b0 3d f7 4e 42 7c 5a 42 df 53 17 48 25 cb da 31 e1 |=.NB|ZB.S.H%..1.| -000001c0 67 a7 22 8c ca db 2d 33 49 86 62 b5 ba 38 53 4c |g."...-3I.b..8SL| -000001d0 12 f3 c3 f6 b6 01 53 b1 11 43 e1 e8 ba 3f 68 7a |......S..C...?hz| -000001e0 9c 10 09 82 d1 90 cd 9e 52 2e 29 15 0b 13 c3 e3 |........R.).....| -000001f0 34 ef 76 8a 0d f9 f6 17 76 57 c2 55 cb 7d 45 e0 |4.v.....vW.U.}E.| -00000200 d5 e6 53 93 75 57 c2 ab 26 5a 13 02 05 7a 60 2b |..S.uW..&Z...z`+| -00000210 b6 92 1a 88 0c 34 59 81 40 42 70 d5 4e 7b d3 14 |.....4Y.@Bp.N{..| -00000220 3c e6 70 81 90 ff 53 79 c5 f3 7c d9 02 6f 35 6b |<.p...Sy..|..o5k| -00000230 d4 81 ff 32 a2 71 28 a0 4b 22 75 9f 3b 50 c8 03 |...2.q(.K"u.;P..| -00000240 22 e7 4f 1f c5 c5 99 67 f3 2c 97 5e 43 89 84 39 |".O....g.,.^C..9| -00000250 04 c9 4c 1e e0 da 39 8f 78 8f 95 3a 64 74 d3 63 |..L...9.x..:dt.c| -00000260 13 d4 14 9d 98 6c bb 27 81 1e 12 88 8c d4 11 1c |.....l.'........| -00000270 4a 71 2f 10 dc 5b 9a 8e 70 e6 bf 0b a2 50 4c d1 |Jq/..[..p....PL.| -00000280 c4 29 b7 85 9e 0f 86 33 7c 38 e4 ae d4 53 5e 81 |.).....3|8...S^.| -00000290 95 cf 6c 1a 15 7d af 20 53 21 f4 84 5c 46 5f 10 |..l..}. S!..\F_.| -000002a0 1f 68 7d 9a 20 0d a8 1f 90 2f ae b8 c0 57 e0 4b |.h}. ..../...W.K| -000002b0 ad ec 9d ae 51 52 78 5d 3f bb de 54 54 d4 18 ff |....QRx]?..TT...| -000002c0 e6 b4 c9 52 f8 66 63 e3 bf 7a f3 5e c6 3f d9 27 |...R.fc..z.^.?.'| -000002d0 71 07 e7 69 6d cb 60 24 55 4e f9 34 e7 5f a3 37 |q..im.`$UN.4._.7| -000002e0 76 90 ec b5 eb ff 49 38 15 71 23 fd 77 30 80 c8 |v.....I8.q#.w0..| -000002f0 ca 0e 38 3c 16 03 03 00 bc 89 27 c8 13 dd 05 8b |..8<......'.....| -00000300 46 97 5f 19 76 db 29 8d b1 24 52 fe 7a 2e 2c 4d |F._.v.)..$R.z.,M| -00000310 e2 f9 59 89 48 82 f5 d7 87 af 99 4b 98 c5 7c 1d |..Y.H......K..|.| -00000320 1a e1 4d fd 0c 37 d0 d3 d8 e2 f8 0f 04 d5 15 21 |..M..7.........!| -00000330 60 09 47 0c d6 bf 09 bf 55 c1 ae 33 11 35 94 29 |`.G.....U..3.5.)| -00000340 80 96 3a 53 ae a8 29 c4 84 37 e2 80 f9 da 79 18 |..:S..)..7....y.| -00000350 77 50 26 32 bf f6 b2 6d 3a 73 25 e7 cd 34 6d ea |wP&2...m:s%..4m.| -00000360 a0 92 40 7e f8 eb d0 82 06 b3 a1 f5 1c 8e b2 ef |..@~............| -00000370 b2 4f 0c bb 04 1b c7 cf bc dd 42 19 00 3e 45 93 |.O........B..>E.| -00000380 e6 72 57 ed eb d9 1d b3 71 b7 fe 84 03 57 e4 9c |.rW.....q....W..| -00000390 71 78 35 39 63 b1 cf 36 b9 5a d6 95 13 ee 4d 2f |qx59c..6.Z....M/| -000003a0 22 ef ed 2e fc 69 7c 12 c2 0e 32 ed 05 17 42 5c |"....i|...2...B\| -000003b0 a7 62 ab 6b 46 16 03 03 00 3a b9 af 3d 25 e4 6a |.b.kF....:..=%.j| -000003c0 a9 b5 b4 00 79 21 aa 3c f3 56 50 bd 32 a4 a8 ab |....y!.<.VP.2...| -000003d0 8a 60 77 5d b7 3e 89 d3 60 a2 b8 5c a8 99 27 bb |.`w].>..`..\..'.| -000003e0 0e dd 93 af 3e 2b 66 8e 56 19 03 29 44 6a 63 a1 |....>+f.V..)Djc.| -000003f0 c7 17 f3 1e 16 03 03 00 14 1c bd e4 7b c3 88 d9 |............{...| -00000400 be ba c3 c3 fb b7 07 9d f1 58 3e b0 61 |.........X>.a| +00000000 16 03 03 00 81 1b 98 a8 9a 8f 4f c6 d0 1f b0 21 |..........O....!| +00000010 74 47 2a af 9f 6d a0 fb 4e 99 ed ad 05 99 5a 34 |tG*..m..N.....Z4| +00000020 ab 9c 4d c0 24 72 15 f4 6f ba 8f d2 43 33 d5 8b |..M.$r..o...C3..| +00000030 3a f6 10 cd d3 50 3e 8c b7 d6 03 b7 1c 28 d7 fb |:....P>......(..| +00000040 47 1c b9 a7 14 a4 6e 8e 06 65 d3 b8 8a 8c 73 ee |G.....n..e....s.| +00000050 36 63 24 bf 5a c8 0a 27 1f 93 a4 fc 50 c9 48 d0 |6c$.Z..'....P.H.| +00000060 43 27 63 6d c3 d9 ca bf 2c 03 c8 d1 e3 d1 94 43 |C'cm....,......C| +00000070 e0 12 87 b1 96 14 b4 7f ac 8a 85 50 5d f7 64 0e |...........P].d.| +00000080 05 cd 47 43 59 5e 16 03 03 02 69 90 f1 fe ba 32 |..GCY^....i....2| +00000090 b5 0d 2f 98 95 2f c1 95 9a 09 32 ab 9f a8 a8 bc |../../....2.....| +000000a0 2d f0 cf 7e 7f d0 f8 b9 0c e0 11 84 03 8e d3 27 |-..~...........'| +000000b0 c5 15 07 81 02 fa 64 7b eb 21 63 59 15 ba 9e 4e |......d{.!cY...N| +000000c0 6d 03 81 f4 d8 8b 4d f4 82 fd 62 1f 9f 28 64 80 |m.....M...b..(d.| +000000d0 5b af d3 fc fc 2e dd 6c b0 5c 28 5e 58 e7 01 07 |[......l.\(^X...| +000000e0 86 d1 40 35 f2 9c 2c 45 c0 2a 86 67 30 d4 d4 51 |..@5..,E.*.g0..Q| +000000f0 6c 18 31 bd 22 2e d0 6c ea d8 f4 9b 87 30 ea 09 |l.1."..l.....0..| +00000100 66 11 36 a3 ae f5 a7 91 a0 76 8e 77 c1 3d f7 3a |f.6......v.w.=.:| +00000110 88 29 b2 c4 2f 4e cd c6 d9 93 80 7f 9b 29 3a a4 |.)../N.......):.| +00000120 f5 63 77 7d 54 07 62 8c bc 23 c8 36 ea a8 e5 c4 |.cw}T.b..#.6....| +00000130 46 4b 59 dc 02 58 9d 21 00 47 39 29 60 9a 14 d8 |FKY..X.!.G9)`...| +00000140 ae 55 5c 03 fd 05 b7 66 30 de 81 87 9c 45 9f 52 |.U\....f0....E.R| +00000150 1e c5 2d d8 6a 7d d0 64 7b 0c 3a 47 b9 ff dd dd |..-.j}.d{.:G....| +00000160 60 a6 fa 69 f9 a0 43 a5 97 27 e8 fe 2d 99 94 01 |`..i..C..'..-...| +00000170 d7 52 c2 b2 ec 77 10 af ed 5e f6 82 d4 15 60 aa |.R...w...^....`.| +00000180 d3 cd 39 e5 a6 92 c9 f8 9e 63 e1 83 71 33 f2 dc |..9......c..q3..| +00000190 dd 7a eb de ac 91 46 06 ef 23 b2 6f 39 33 69 75 |.z....F..#.o93iu| +000001a0 43 d7 e5 e1 b0 5c 2f 0f 2d 39 d6 14 11 cd 6b a2 |C....\/.-9....k.| +000001b0 37 d2 32 0b b6 45 ad 2c b8 26 ef 43 3e 63 b0 1f |7.2..E.,.&.C>c..| +000001c0 a1 79 d2 c7 84 f9 7a 5f b2 c2 fd 4e 22 89 23 1d |.y....z_...N".#.| +000001d0 b7 4c 6c b5 b1 c1 19 a9 7c f7 23 bf 91 0e aa 8c |.Ll.....|.#.....| +000001e0 da 67 68 57 84 b9 68 5f 69 16 ad c7 32 86 98 81 |.ghW..h_i...2...| +000001f0 06 01 91 66 fd 5e e3 f5 63 4b e3 05 6d 41 f0 4e |...f.^..cK..mA.N| +00000200 f2 b1 70 26 de ed e5 83 87 d3 cf 5d 5c 7b d5 14 |..p&.......]\{..| +00000210 08 e9 e3 88 9a d0 9a e4 d6 40 44 1b 61 57 8f a3 |.........@D.aW..| +00000220 8a 52 5e 83 75 07 3d c2 16 00 3c a3 e9 61 cb 41 |.R^.u.=...<..a.A| +00000230 66 e7 54 7c e1 e5 7b 85 cb 0d f6 50 93 7d 85 c1 |f.T|..{....P.}..| +00000240 de 98 a8 8d 5a 0d 12 80 25 78 25 15 a3 0c 7a 7f |....Z...%x%...z.| +00000250 43 45 2e 0f e0 47 05 9f b2 2a 0d 9f 23 e3 0b 62 |CE...G...*..#..b| +00000260 33 91 d9 d8 7f f5 ac ed ef fd ea a5 f5 df 04 e8 |3...............| +00000270 6f 4a bd a2 bf aa fe 56 49 13 7a d3 58 2b ef ab |oJ.....VI.z.X+..| +00000280 ed f8 4b 6f 77 18 1e 37 59 2c 98 85 c4 59 f5 08 |..Kow..7Y,...Y..| +00000290 a6 03 f3 9b b0 79 24 cc 61 55 e3 b7 a7 f5 96 58 |.....y$.aU.....X| +000002a0 39 57 ec 40 33 a8 94 a2 c8 7f d4 5a f6 5e b0 be |9W.@3......Z.^..| +000002b0 89 b8 4d 45 73 ef 9f e9 cc d1 31 f8 46 97 82 be |..MEs.....1.F...| +000002c0 fa 44 de 62 36 47 6f 7b 5e 50 af b6 1b d2 0b 02 |.D.b6Go{^P......| +000002d0 17 df 6b c4 b5 ca 60 39 49 2e 86 d7 84 60 37 34 |..k...`9I....`74| +000002e0 65 43 0d f7 04 88 38 e4 5f 65 19 d0 62 8c 29 b6 |eC....8._e..b.).| +000002f0 2d d2 52 0f 16 03 03 00 bc 30 b3 f2 e1 bd 5e ec |-.R......0....^.| +00000300 c3 68 8a cc b4 4d e1 f1 76 e7 c1 47 0a c2 54 c1 |.h...M..v..G..T.| +00000310 9d d9 2d 72 1b 44 2d 3e 3d 22 5b 7d a1 c0 17 27 |..-r.D->="[}...'| +00000320 97 dd fe 9e a1 c5 5b ce 5f eb 9d 72 0e 14 ca b1 |......[._..r....| +00000330 61 f6 03 6e 84 d5 c4 53 91 ed 22 41 6e c9 84 91 |a..n...S.."An...| +00000340 59 a2 30 38 2a 29 b3 b8 9e 45 3a 1f 98 30 ce a4 |Y.08*)...E:..0..| +00000350 41 8a d9 ea e8 8d ee 43 cc 29 94 8c e5 86 cc 7b |A......C.).....{| +00000360 04 a7 31 1e 87 2b aa da 6c d0 4a a7 08 6e 31 2f |..1..+..l.J..n1/| +00000370 c3 95 06 3e 6d 9c 1b bb db 74 f5 a2 7e 6a 17 5f |...>m....t..~j._| +00000380 4c 2f f5 56 69 89 04 f7 17 41 85 ea 35 2f 59 db |L/.Vi....A..5/Y.| +00000390 d3 b9 f9 7a 6c 08 f8 f2 2d ba 04 ef 57 b5 d0 2f |...zl...-...W../| +000003a0 f3 3d 31 e6 c1 f8 26 9d 06 be 38 94 ba 8e ca 3f |.=1...&...8....?| +000003b0 4c 5b 70 c6 09 16 03 03 00 14 1e 86 bf c9 1e 7c |L[p............|| +000003c0 08 0c 5a fb e4 92 8c f9 78 85 34 e3 56 86 |..Z.....x.4.V.| >>> Flow 9 (client to server) -00000000 16 03 03 02 69 d3 b2 83 ca 08 61 36 6f fa 66 de |....i.....a6o.f.| -00000010 5c 42 5f 35 17 f4 4c b3 5e 17 94 07 c5 2a 89 90 |\B_5..L.^....*..| -00000020 b8 31 50 af 55 91 b1 28 bc 00 00 da 57 85 cc d5 |.1P.U..(....W...| -00000030 a5 a7 ec ba 52 d5 1f ab b5 4f a3 53 9c af 59 20 |....R....O.S..Y | -00000040 be 13 f6 c5 70 b0 cc f7 59 69 d1 db 80 7f 60 29 |....p...Yi....`)| -00000050 e1 e8 7a 1e 97 a6 e1 a2 11 70 4f b4 7b 53 7c 9a |..z......pO.{S|.| -00000060 dd fa 58 5d 12 a4 fb 3e 46 dd d3 4d ac e3 b6 73 |..X]...>F..M...s| -00000070 05 42 03 f3 37 79 a0 10 34 ef 01 6f c6 27 52 4b |.B..7y..4..o.'RK| -00000080 75 4c b2 86 1b d6 ca 13 b4 31 41 db 93 2f a3 35 |uL.......1A../.5| -00000090 e1 e9 bc 65 85 c8 1a e2 7b 6e 36 49 e8 ed 04 a9 |...e....{n6I....| -000000a0 cb a9 70 32 c0 4d e5 f5 94 d8 af 7d 41 b6 dc e5 |..p2.M.....}A...| -000000b0 fc ff db 9f 91 50 df c6 b2 4a 0c bb 86 4e 50 a5 |.....P...J...NP.| -000000c0 2a 3b 69 e2 3d fa 10 eb cc 48 21 9d 98 78 02 0b |*;i.=....H!..x..| -000000d0 e7 4d 83 63 9e e5 ad 2c 7b 46 d1 09 28 35 07 6c |.M.c...,{F..(5.l| -000000e0 12 c9 ae f0 4c 7c 00 aa 54 ba 7b e8 42 be e0 18 |....L|..T.{.B...| -000000f0 f4 df a0 9d eb 8f a2 3a d0 00 b6 e0 eb 90 65 38 |.......:......e8| -00000100 b2 cc 21 87 57 b7 50 07 41 e2 5a 9b c8 2b ae 64 |..!.W.P.A.Z..+.d| -00000110 55 6a d7 b5 0d 5d f0 ac da 0b f0 80 75 8d 6a 0a |Uj...]......u.j.| -00000120 5b c5 2a 20 f2 ab 75 76 a3 33 f1 43 24 06 45 75 |[.* ..uv.3.C$.Eu| -00000130 63 58 60 57 ca 7f d2 8f e8 a5 b8 e3 72 37 39 bd |cX`W........r79.| -00000140 9c dd 10 b0 f8 b5 e8 46 4a 39 ac 94 69 08 51 29 |.......FJ9..i.Q)| -00000150 27 2d 28 0f 15 8a 91 00 3b cc 99 77 ea 82 0d e1 |'-(.....;..w....| -00000160 66 ed 34 da 6e 88 47 e5 f4 1b 28 28 cd 38 9f e5 |f.4.n.G...((.8..| -00000170 1c 26 67 3d 83 d0 b1 88 a3 08 9c 2e 08 a5 b7 af |.&g=............| -00000180 15 28 d5 1e aa c9 58 17 48 85 f7 13 17 6f 55 c3 |.(....X.H....oU.| -00000190 dc 9d 2e 7e 67 45 7a cb 80 a7 e5 77 86 96 36 4d |...~gEz....w..6M| -000001a0 f7 df 27 7d f4 5d 53 9b be e6 b2 b9 44 b9 86 e9 |..'}.]S.....D...| -000001b0 8f 33 26 4e 20 97 e4 34 66 58 6d d5 28 be e8 84 |.3&N ..4fXm.(...| -000001c0 de 2f 19 f2 46 52 80 84 e9 ef 0e 6c 55 5c 43 8c |./..FR.....lU\C.| -000001d0 51 19 8b 22 30 b7 b3 eb 9f ed 35 a1 fe 09 aa 6a |Q.."0.....5....j| -000001e0 f8 b6 37 7e 20 4c e5 76 ae 10 4c dd 67 7c 07 e2 |..7~ L.v..L.g|..| -000001f0 0c dc 78 77 a1 8e c1 d1 aa fa d3 36 8b 9c 74 ed |..xw.......6..t.| -00000200 e2 fe 84 98 40 95 f2 1a a6 fd 77 cf 47 d3 c3 d6 |....@.....w.G...| -00000210 bc 38 45 a9 94 63 13 52 2d 7b 3f 3d 06 1e 0a 31 |.8E..c.R-{?=...1| -00000220 cb 98 1d 18 fa a7 86 21 65 c7 58 dd 78 13 2d 4d |.......!e.X.x.-M| -00000230 76 57 9d 65 15 a3 2d be 7f c9 58 78 b7 89 3c d6 |vW.e..-...Xx..<.| -00000240 dc 7e 5b c5 1b 93 78 04 7b ca ef 61 77 6c 27 6b |.~[...x.{..awl'k| -00000250 a5 30 67 43 64 a7 30 f0 dd 5c 63 92 76 9a e3 a2 |.0gCd.0..\c.v...| -00000260 31 12 49 8e c4 7e 80 ce 1e ce 94 66 2f 6f 16 03 |1.I..~.....f/o..| -00000270 03 00 35 39 86 a0 5a 88 07 66 5f 43 59 ed fb b5 |..59..Z..f_CY...| -00000280 0c 0b ee ff 76 62 28 ea 62 7e 53 72 3d d9 26 9f |....vb(.b~Sr=.&.| -00000290 06 64 99 83 a5 3c 59 45 84 4d 79 86 1d b4 21 14 |.d...2Cd...R..V..| -000002e0 4e d2 1a b8 f6 ae 64 d2 c0 05 9b 18 84 71 a7 ad |N.....d......q..| -000002f0 ea 49 f6 b5 ae 91 ad 66 6f cb fa 56 de 1e 40 22 |.I.....fo..V..@"| -00000300 7f d3 44 c4 a7 bf b1 7b 61 e3 09 1f fe 3b 4b 7b |..D....{a....;K{| -00000310 5a 3f ae 4e c4 5c a8 ac a4 c2 fc 0e 1f 12 4f 9b |Z?.N.\........O.| -00000320 f9 e0 a2 89 ab a0 bb e8 f9 97 5a 7c 8d e8 58 87 |..........Z|..X.| -00000330 3f 4c 1c f3 ff 6e b9 a0 e6 f7 e4 c2 43 cc af 9e |?L...n......C...| -00000340 06 3a 1c ee ef 14 03 03 00 11 8b 6d c3 12 83 c4 |.:.........m....| -00000350 2f e7 67 81 db 18 9a 33 e6 fa 82 16 03 03 00 20 |/.g....3....... | -00000360 ef c9 6f 3f b7 9d 9d 2d a0 05 b6 fd 74 8e ff de |..o?...-....t...| -00000370 cc 4b ca 4c 5b 4d 61 30 76 b5 f3 7a d1 46 d6 6a |.K.L[Ma0v..z.F.j| +00000000 16 03 03 00 35 a7 bb 37 bb b1 b0 8e 12 72 8b a8 |....5..7.....r..| +00000010 c5 d4 cc 44 1c 4b 87 1f bc cb 39 35 60 fb 06 de |...D.K....95`...| +00000020 44 ac 0a c5 13 cb 15 1b ce 6b d8 45 28 d6 80 1b |D........k.E(...| +00000030 06 1f 32 4c 26 81 77 08 9c 23 14 03 03 00 11 c0 |..2L&.w..#......| +00000040 1b 3b 4d e8 9d ba d9 2c 50 10 03 b9 0c 57 83 60 |.;M....,P....W.`| +00000050 16 03 03 00 20 e0 d7 07 fe 04 89 25 3c b6 c0 8a |.... ......%<...| +00000060 33 14 6c 3e f4 48 5c 17 33 f8 f0 11 3a cb d8 17 |3.l>.H\.3...:...| +00000070 cd 42 be 22 68 |.B."h| >>> Flow 10 (server to client) -00000000 14 03 03 00 11 2e d9 0e 1b 6b 4b 9a 60 96 e9 38 |.........kK.`..8| -00000010 35 a3 72 3d c4 5b 16 03 03 00 20 62 1f 2b 02 e8 |5.r=.[.... b.+..| -00000020 22 0a 89 a2 f6 60 8a da f2 09 52 5a 92 12 a8 f6 |"....`....RZ....| -00000030 c3 ee 25 17 6b 91 25 3e 2b 75 ba 17 03 03 00 19 |..%.k.%>+u......| -00000040 b9 4e 6b c3 74 30 39 f9 3f a2 aa af 80 49 6b 8a |.Nk.t09.?....Ik.| -00000050 f2 a1 9b f5 c7 34 f7 1b 2f 16 03 03 00 14 2d 25 |.....4../.....-%| -00000060 74 c2 c7 80 a8 5f 65 ff 65 b0 c2 50 c8 bc fe 8c |t...._e.e..P....| -00000070 d4 9e |..| +00000000 14 03 03 00 11 05 69 30 af cd 8e 28 8b 04 3c de |......i0...(..<.| +00000010 39 2c cc 79 60 dc 16 03 03 00 20 64 e4 49 e1 a5 |9,.y`..... d.I..| +00000020 59 be ed d9 04 59 24 01 16 65 aa b9 22 7d 91 5f |Y....Y$..e.."}._| +00000030 e5 e4 db a7 67 a0 10 51 7e 3b 77 17 03 03 00 19 |....g..Q~;w.....| +00000040 70 cc 7d 13 21 aa ac d3 fb a7 ee cc f6 db 51 4b |p.}.!.........QK| +00000050 2d 2a e2 66 f4 ba 29 aa e1 16 03 03 00 14 e2 ba |-*.f..).........| +00000060 56 31 77 97 4a 4a a5 f0 05 28 d5 9f b7 3e 38 50 |V1w.JJ...(...>8P| +00000070 1f 1b |..| >>> Flow 11 (client to server) -00000000 16 03 03 00 ad d0 25 9a 38 60 d3 94 8e b8 23 45 |......%.8`....#E| -00000010 44 67 95 20 79 1a 27 5f cf bb dc 72 8c 95 2a 02 |Dg. y.'_...r..*.| -00000020 1d d9 80 c6 61 12 c2 5c ae d5 62 a9 aa b0 4a d0 |....a..\..b...J.| -00000030 13 ad 6d ae df c9 63 e2 6b 27 bb ca 88 c3 dc 8b |..m...c.k'......| -00000040 e9 bc 0b fb 32 d6 0f 99 b6 d1 03 7e c9 8d 72 ee |....2......~..r.| -00000050 09 7b 82 f1 79 11 a7 23 43 8b 77 b8 a9 bd 9e 67 |.{..y..#C.w....g| -00000060 43 03 79 88 34 ab c2 6b d1 2a cf c7 c9 b6 14 ee |C.y.4..k.*......| -00000070 ee 32 01 10 fb 85 dc 5a 04 cf 9a ea 8d 8c fc f8 |.2.....Z........| -00000080 b3 b2 49 c0 93 37 93 09 24 1c 26 97 43 5f dd 09 |..I..7..$.&.C_..| -00000090 7a 0d c0 6c bd 17 df 78 37 3d 23 6b 9d 27 d2 f7 |z..l...x7=#k.'..| -000000a0 1c 2e 82 5c ba 95 1c 0f b3 40 af 9f 2f 5e 42 40 |...\.....@../^B@| -000000b0 cc b9 |..| +00000000 16 03 03 00 b1 86 78 3d 4f eb 03 b0 00 ca a5 94 |......x=O.......| +00000010 9d 70 04 ff 30 82 59 9c ea 95 44 02 f0 14 fa 3c |.p..0.Y...D....<| +00000020 aa af fa e8 17 3c ac 69 91 3d b6 23 85 85 7a be |.....<.i.=.#..z.| +00000030 11 9e 17 4e 32 79 de 3e 04 54 71 d0 ae 94 03 97 |...N2y.>.Tq.....| +00000040 d1 90 50 1f d5 8d d3 ff aa ce 0a fb 81 bd e9 11 |..P.............| +00000050 3f c2 c5 68 f9 e6 71 00 4f d9 ef cb c9 fd 0e 0d |?..h..q.O.......| +00000060 23 ce 04 f3 19 86 cb 4c a0 71 52 8e c2 90 a1 5b |#......L.qR....[| +00000070 e2 1e f4 e7 24 4c 9a b0 0c fc eb 70 d0 94 44 4e |....$L.....p..DN| +00000080 fc 5d 2e 16 2d 0f ff 61 20 3a 4d 19 cd 1c 22 d7 |.]..-..a :M...".| +00000090 d0 23 ff a9 a1 bf 79 7c 91 ba d8 15 47 9a a3 88 |.#....y|....G...| +000000a0 cb 06 f9 5d bd 8b c1 cb f6 16 ee 5d af 9c 7a 54 |...].......]..zT| +000000b0 0c af 31 ee 4a d0 |..1.J.| >>> Flow 12 (server to client) -00000000 16 03 03 00 81 39 20 22 4a e1 4e 21 2e 78 35 50 |.....9 "J.N!.x5P| -00000010 8a d4 c4 c6 a9 20 74 8e 10 4b fd 31 4c ba c4 7f |..... t..K.1L...| -00000020 14 91 ab 4b 7a b2 7a 86 56 cc 61 ed 12 63 4a d5 |...Kz.z.V.a..cJ.| -00000030 b5 c9 48 6e ae 10 71 fc 30 f5 e5 36 8b e2 7d 9d |..Hn..q.0..6..}.| -00000040 93 e2 34 cd 8e a0 72 c4 19 9b 62 eb 9b c4 5e c3 |..4...r...b...^.| -00000050 df 22 d4 16 4d 88 b1 d5 e5 74 ac 9d 38 40 7d 1f |."..M....t..8@}.| -00000060 40 bd 86 e5 fc 19 88 bb 67 cf 3f 22 0f 39 1f 8f |@.......g.?".9..| -00000070 40 5c ee 29 48 00 c1 bf 6a f1 85 51 03 c0 e8 7a |@\.)H...j..Q...z| -00000080 2e f4 2a f9 b6 fb 16 03 03 02 69 59 b1 5a b9 98 |..*.......iY.Z..| -00000090 86 77 af 76 a7 4c 69 0d 83 79 3c 9a b9 3c dd 49 |.w.v.Li..y<..<.I| -000000a0 f2 0f ef d2 38 ac 31 b0 9b 5d 57 ed a7 ca f9 79 |....8.1..]W....y| -000000b0 7c ef 58 f7 ca 7e 0c 60 1c 53 09 c5 06 dd b8 31 ||.X..~.`.S.....1| -000000c0 09 88 af 50 9f c2 2a 2c 24 89 9e 57 ae c8 e6 49 |...P..*,$..W...I| -000000d0 f4 6f 46 e9 dd 38 f1 52 e9 06 50 38 69 b3 e1 69 |.oF..8.R..P8i..i| -000000e0 f5 33 28 54 39 43 05 b9 04 04 c2 d9 3d 34 da 48 |.3(T9C......=4.H| -000000f0 99 7e 8a b2 59 d1 d3 20 da 34 c8 ab 91 f7 66 69 |.~..Y.. .4....fi| -00000100 3a 4f fc 6d ee e6 ef f5 c0 b0 08 bf 59 c0 f8 e5 |:O.m........Y...| -00000110 dc c6 dc c6 49 a7 d5 3c 22 0f e3 9f 39 0b 2a 09 |....I..<"...9.*.| -00000120 7a 56 f8 90 33 05 06 09 21 6f 6a 53 0d 89 63 2a |zV..3...!ojS..c*| -00000130 76 28 19 33 73 e5 a0 2a fa d2 82 bf 4c 43 84 f9 |v(.3s..*....LC..| -00000140 e1 bb 7f 31 62 04 c5 26 ed 16 40 f5 6a 04 e0 c5 |...1b..&..@.j...| -00000150 4e fe bd e3 4c 57 e2 61 41 2f 9a 95 7f 8a e1 34 |N...LW.aA/.....4| -00000160 64 f4 fc ce 13 e5 0c 68 c1 e5 29 df e7 b1 56 0b |d......h..)...V.| -00000170 42 6b fc d6 5d 63 0b 3c 0c ca ce 38 11 50 f2 64 |Bk..]c.<...8.P.d| -00000180 1a 6e 16 da 3e 69 cf 82 ba a0 03 0f 9d 72 ed 10 |.n..>i.......r..| -00000190 78 b2 54 c0 be 9c 16 fa 15 4b 88 db dd 85 dd 08 |x.T......K......| -000001a0 bd f4 50 a0 50 01 77 7a cf 20 c1 3e 50 55 5f bd |..P.P.wz. .>PU_.| -000001b0 4a ba b4 d5 6d 51 38 b2 6d 4f fc b5 af b9 92 ff |J...mQ8.mO......| -000001c0 c4 44 f1 0e db 4d 71 09 15 b3 c3 37 47 57 03 35 |.D...Mq....7GW.5| -000001d0 95 de da 33 31 8c 60 bc 8a 97 2d f8 27 9b 4e dc |...31.`...-.'.N.| -000001e0 2a 6d aa 3e 4d eb 8f 97 b8 fa d4 ef f6 27 d9 da |*m.>M........'..| -000001f0 a6 fe 38 91 4b 96 ff 75 4b 71 52 9f 37 e4 d9 85 |..8.K..uKqR.7...| -00000200 a8 d8 ac 21 e9 b2 c0 4f c0 c0 e3 3a 9f ab e0 93 |...!...O...:....| -00000210 dc 03 18 30 92 55 33 67 58 f3 47 f3 0a 95 bc 33 |...0.U3gX.G....3| -00000220 70 73 e1 5b 9d 63 cf f7 c7 9b da 9e 5d 2e 7a 66 |ps.[.c......].zf| -00000230 03 b1 b8 5c fa b9 f4 fb 4e 0b 38 9a 97 f0 c9 e5 |...\....N.8.....| -00000240 ce 18 33 ea 66 1c 59 cd 41 3e af 71 7c bf 00 a0 |..3.f.Y.A>.q|...| -00000250 d9 ee 20 d7 80 a9 5d 55 b8 f8 92 7b 7e 4f bc 66 |.. ...]U...{~O.f| -00000260 92 98 6a c6 15 5b e3 1d 59 14 d9 d0 5a 30 c0 4d |..j..[..Y...Z0.M| -00000270 37 f5 d9 40 a4 f9 f4 ad b6 cf 55 98 03 1e e7 13 |7..@......U.....| -00000280 5a 23 49 69 36 fa ae 9d c2 cb 90 16 cc 36 f4 41 |Z#Ii6........6.A| -00000290 3a c7 56 9f 05 23 be 1d 3f 8f 90 41 09 6b 88 9a |:.V..#..?..A.k..| -000002a0 70 91 76 e1 6d f0 5c 86 de 77 a4 83 c7 d5 3c c4 |p.v.m.\..w....<.| -000002b0 67 ff b1 a2 e2 f5 61 4f 3b 4d 38 5d c9 c2 8c 97 |g.....aO;M8]....| -000002c0 e2 a7 c0 72 3b 5e 4c d9 0f 18 a8 b9 77 8d 31 8f |...r;^L.....w.1.| -000002d0 d9 73 ac 33 a6 7a b5 bd 5e 58 b4 51 22 be d8 d4 |.s.3.z..^X.Q"...| -000002e0 f5 e1 bc 37 80 d3 cf 3b 58 be 3e ce 33 83 1c 46 |...7...;X.>.3..F| -000002f0 8b f3 f3 56 16 03 03 00 bc 30 f0 e1 0b eb 80 fe |...V.....0......| -00000300 5f fb 94 c9 5a 04 08 82 0f 0b b5 9b f7 f6 f6 d3 |_...Z...........| -00000310 7e 68 e7 e5 2e cf a0 56 e6 b7 70 0a 63 5e 53 42 |~h.....V..p.c^SB| -00000320 7f 27 ec 82 a0 5d e3 e8 77 27 40 3c 6d 47 ce dd |.'...]..w'@.3..Y..V| -000003a0 95 3a 8b dc 1f 24 6c 08 07 c0 f1 20 6d 96 43 71 |.:...$l.... m.Cq| -000003b0 bf c6 92 81 e3 16 03 03 00 3a 91 c1 13 a0 26 c9 |.........:....&.| -000003c0 12 6a 09 23 5b 8b e8 da 10 cc 4d 00 ed 9e a6 09 |.j.#[.....M.....| -000003d0 d8 d4 c0 b7 f0 cd 5f 7a 6e 4d 31 21 f6 6a 22 e7 |......_znM1!.j".| -000003e0 6e 25 11 94 4a f2 b1 f1 b2 c9 30 4b e4 cd f3 f5 |n%..J.....0K....| -000003f0 ce 86 e7 5d 16 03 03 00 14 20 c5 91 f0 6e 21 b8 |...]..... ...n!.| -00000400 e8 a1 bb cf 62 ed 4b 5a fa 19 40 ea 54 |....b.KZ..@.T| +00000000 16 03 03 00 81 d3 34 51 a2 7a 93 5e f9 ef 8f f7 |......4Q.z.^....| +00000010 a3 be aa 40 2c 53 e4 5d 62 2e 19 4a bf f3 dc ce |...@,S.]b..J....| +00000020 da e8 49 8e 4d 0c 68 72 3f 79 74 59 e2 8d 0c 78 |..I.M.hr?ytY...x| +00000030 b7 13 05 0f 4f df 4f 01 71 40 38 f3 79 b2 33 51 |....O.O.q@8.y.3Q| +00000040 f5 25 73 11 9a 30 b9 3c 5f d2 8b 32 71 6f 0d ef |.%s..0.<_..2qo..| +00000050 6a 42 da f6 c5 1d a4 90 ad e4 08 60 39 55 19 97 |jB.........`9U..| +00000060 a6 2c 5e 2c e3 96 ba 0c 54 50 bc b9 0f 3c 53 bd |.,^,....TP...| +00000090 92 4c 49 8e 40 86 28 53 c2 aa 43 2f 49 00 fa ee |.LI.@.(S..C/I...| +000000a0 48 0d 01 ec 94 e0 37 1a 05 97 6e ec a4 71 1e aa |H.....7...n..q..| +000000b0 50 5a 49 e9 cc 21 b0 d6 ab 38 4a 30 a7 84 ec 7d |PZI..!...8J0...}| +000000c0 38 34 91 63 3f 1a 59 eb 22 91 9b 23 23 b1 3f 7d |84.c?.Y."..##.?}| +000000d0 0c 70 23 71 0d 50 09 80 21 56 fe f2 c8 14 3d 19 |.p#q.P..!V....=.| +000000e0 91 04 a8 10 b8 2b b0 cb ff b7 6f 53 62 86 61 22 |.....+....oSb.a"| +000000f0 4e 6d 67 12 d3 18 ac 90 ab 62 42 0f cb 08 47 73 |Nmg......bB...Gs| +00000100 42 97 01 37 67 13 99 49 d6 f1 7f 0d 8a 83 6b 01 |B..7g..I......k.| +00000110 00 76 d9 3a bd 0c 7a 64 c7 49 9e 06 d6 6c 04 48 |.v.:..zd.I...l.H| +00000120 07 cc 96 03 f1 fe 38 76 b2 c3 97 ae 37 57 25 5e |......8v....7W%^| +00000130 54 18 07 b5 e2 6a ca fe 07 01 d7 9c a6 5c 95 df |T....j.......\..| +00000140 02 66 88 53 51 23 ba f2 0f b2 66 b2 df 14 61 28 |.f.SQ#....f...a(| +00000150 50 cd 7a 56 47 79 33 6e 75 0d b6 0d 66 69 eb c6 |P.zVGy3nu...fi..| +00000160 07 31 97 10 46 ec a7 59 b6 02 0b ab 40 d3 ce 88 |.1..F..Y....@...| +00000170 62 aa ab ce 1b 73 9a 62 d7 8c 7c ca 40 a0 bb 1d |b....s.b..|.@...| +00000180 ff f4 85 54 fe ae 83 61 10 ec 38 64 ab 60 36 e1 |...T...a..8d.`6.| +00000190 88 92 ba 74 e0 68 30 0b 61 7b da eb 3b d3 6b ed |...t.h0.a{..;.k.| +000001a0 fc eb 3f 98 dd 30 f1 28 bd e0 07 6b 77 53 29 02 |..?..0.(...kwS).| +000001b0 d7 18 69 2b ac 0b 4c 38 3b 35 e0 15 91 c4 34 42 |..i+..L8;5....4B| +000001c0 74 67 c0 2a 2b df 2f 70 13 7c 99 ba f6 cc e4 f4 |tg.*+./p.|......| +000001d0 bd 3c 7f cd 08 b4 3c 05 da bf c7 01 61 93 21 d6 |.<....<.....a.!.| +000001e0 1b ca b0 35 d1 89 f3 08 67 85 93 c9 da 6f cf a4 |...5....g....o..| +000001f0 ad 1e a8 70 71 4a ac 56 73 25 8f 9c 25 13 5f 2c |...pqJ.Vs%..%._,| +00000200 20 bc f2 56 af a0 03 38 43 9c 83 79 33 ea 81 8c | ..V...8C..y3...| +00000210 d8 5d c0 50 d4 44 cd df 55 e7 4e fc f6 67 55 92 |.].P.D..U.N..gU.| +00000220 39 a2 ec 25 3e 1f 7e 14 28 3b d8 84 f5 83 66 c4 |9..%>.~.(;....f.| +00000230 e1 d7 c3 63 51 d7 4e e4 72 1a da 76 ce 91 6b 56 |...cQ.N.r..v..kV| +00000240 0a 68 42 63 7e 57 31 98 cc d0 e0 3c 7c 7e 81 be |.hBc~W1....<|~..| +00000250 be 37 8d cd e7 da df 91 55 8c 71 e3 67 ec bf 6e |.7......U.q.g..n| +00000260 4c 5a a6 b6 2b 2c 31 0b da 19 66 26 f1 92 c2 7e |LZ..+,1...f&...~| +00000270 fd 12 50 6f 04 ee 83 85 bb d0 f1 77 12 10 c9 e7 |..Po.......w....| +00000280 4a 2f 17 96 55 0f 7e 1e fd 6d 18 13 74 a8 54 38 |J/..U.~..m..t.T8| +00000290 a5 ef bb 70 c9 71 07 09 c5 a3 26 f9 73 1f d0 e8 |...p.q....&.s...| +000002a0 a2 23 a1 46 46 1b f6 b1 e7 ac 22 22 ee df b9 5b |.#.FF.....""...[| +000002b0 38 02 c6 59 33 e5 12 0b 9f 49 e2 d7 de 77 30 ac |8..Y3....I...w0.| +000002c0 1e a0 ee 20 9f 1b 1d e0 8c fd d4 02 09 7b 1b d6 |... .........{..| +000002d0 c7 41 de 67 90 71 5f 06 ea ac 18 e7 5f 11 67 c3 |.A.g.q_....._.g.| +000002e0 d6 5d c1 37 0a 67 5b f7 93 93 eb 29 70 e3 cb 7f |.].7.g[....)p...| +000002f0 2c c9 bb 6b 16 03 03 00 bc ab 60 8e 1d 2e e1 42 |,..k......`....B| +00000300 81 91 89 69 78 5d 99 9c e7 1b d1 ac 36 39 c5 32 |...ix]......69.2| +00000310 58 4e 4c 48 b9 15 eb 21 b6 24 df 8e b2 16 f0 95 |XNLH...!.$......| +00000320 cd 57 8e 14 3b 5b a2 f9 7a 10 0d fa 57 52 70 f9 |.W..;[..z...WRp.| +00000330 b8 a9 b0 fd 22 0a 51 ef dd ba 3c fb 68 00 05 45 |....".Q...<.h..E| +00000340 d6 c3 1f 56 91 b4 06 80 a4 28 84 a5 bb 11 72 af |...V.....(....r.| +00000350 b7 f6 14 58 76 b7 76 ad 1b e6 65 57 af f7 46 a2 |...Xv.v...eW..F.| +00000360 bc 60 12 6d 30 d3 cf 26 62 9d 9f 19 b0 28 96 d2 |.`.m0..&b....(..| +00000370 e2 43 de 64 90 49 1d 29 2c bb 59 4c c7 d1 9b be |.C.d.I.),.YL....| +00000380 c3 e9 ae 8e 74 36 1b 03 00 43 65 56 30 3b e6 8b |....t6...CeV0;..| +00000390 4c d9 98 a2 f7 2b 06 77 4b 9c 53 c4 7f 24 88 75 |L....+.wK.S..$.u| +000003a0 30 91 66 fa ba 9c 7f 84 ab c1 51 21 1c d3 2e 93 |0.f.......Q!....| +000003b0 f9 4d db 6e 08 16 03 03 00 14 ed f9 cc ef c4 2b |.M.n...........+| +000003c0 fd 97 fe 35 ad 33 01 46 9b 52 d7 e9 49 c2 |...5.3.F.R..I.| >>> Flow 13 (client to server) -00000000 16 03 03 02 69 1a b5 80 9c c6 42 be a6 d9 d1 c8 |....i.....B.....| -00000010 0b 2c f7 f8 2a 1a 02 f6 db 48 8b 5c 45 fc 28 41 |.,..*....H.\E.(A| -00000020 a4 db 35 fb a7 a9 72 07 19 86 9e e9 dc 53 48 fb |..5...r......SH.| -00000030 97 94 f3 a0 0d 8d 46 69 cf eb d9 ea de 21 a3 f4 |......Fi.....!..| -00000040 b9 94 4f 8f 09 c3 de 66 fa 20 83 34 fc 50 ae c6 |..O....f. .4.P..| -00000050 13 f6 7c c5 80 45 17 51 af a9 da bd 24 dd f6 15 |..|..E.Q....$...| -00000060 8e c4 b4 e6 10 54 85 23 9d fe 72 b1 4c 2f ab ec |.....T.#..r.L/..| -00000070 78 9a 06 60 03 96 f7 d0 af dd 94 26 c9 67 1d e5 |x..`.......&.g..| -00000080 9f 87 22 c4 11 82 f1 4c f5 68 a7 fd d8 f3 dc ac |.."....L.h......| -00000090 35 90 6b c2 97 1c 78 54 d9 b2 3c d8 9d 13 66 42 |5.k...xT..<...fB| -000000a0 6e 3b 1b 8f 32 4e 8f b5 a0 60 6e e4 35 fd d5 b4 |n;..2N...`n.5...| -000000b0 f8 fb a6 a9 c7 b7 31 39 8e 90 0c 42 bc 1a 4f 67 |......19...B..Og| -000000c0 fa b3 10 a8 45 01 88 8a dd 41 43 c6 6c 41 9d 28 |....E....AC.lA.(| -000000d0 bd 4c 43 85 4c 3b 7c 03 c4 55 70 f1 49 a0 d6 52 |.LC.L;|..Up.I..R| -000000e0 5c 49 3e 2b d7 e8 a9 75 5e 92 bf f3 4c 1c c3 7e |\I>+...u^...L..~| -000000f0 69 ca 52 25 07 bb 54 e0 58 2d 28 ba 50 30 81 e8 |i.R%..T.X-(.P0..| -00000100 93 0d 9d 78 3d c0 f1 c3 34 72 29 f1 da 60 de 84 |...x=...4r)..`..| -00000110 aa fc d3 0f 2b 1e 1a 9c 7c af 6f 6a 4c cc 88 36 |....+...|.ojL..6| -00000120 03 03 34 79 f9 89 6d 41 bb 19 61 6a 60 75 d7 0f |..4y..mA..aj`u..| -00000130 dc 22 7a e4 36 91 32 2b 99 24 36 19 4b 4c c4 ae |."z.6.2+.$6.KL..| -00000140 4f 98 6d f0 97 ce bc b4 ee 97 30 97 0b 54 8c 14 |O.m.......0..T..| -00000150 8f d5 9d 44 ae 0a a6 07 9f 39 f6 66 80 cb fa 27 |...D.....9.f...'| -00000160 bb 2f 26 bb c3 1a a4 9b a0 d3 e8 75 13 49 da 0a |./&........u.I..| -00000170 8f cc e8 15 77 f8 05 c2 17 a0 ff e7 2a 59 bc c8 |....w.......*Y..| -00000180 67 b5 7e b8 78 1e 32 81 22 3e 57 28 ee 51 96 b7 |g.~.x.2.">W(.Q..| -00000190 0e dc 3f d1 00 16 a5 eb 01 cb c3 e3 5b 01 ad a9 |..?.........[...| -000001a0 d5 1b ac 9b e2 0d 9a 6f 7a 2f f1 7d 05 57 6d 2d |.......oz/.}.Wm-| -000001b0 9d 35 68 88 e7 c5 e0 fb 9d 87 a7 ef 71 d8 47 b8 |.5h.........q.G.| -000001c0 19 8e 87 d8 b1 36 0f 52 ab 98 8b 97 43 53 86 be |.....6.R....CS..| -000001d0 9d 86 2a cd 7c b0 46 c4 48 89 5b 6c 1e 93 9e a2 |..*.|.F.H.[l....| -000001e0 15 af 60 8f 84 75 99 97 53 11 23 f9 0d ba 78 12 |..`..u..S.#...x.| -000001f0 9b a9 04 91 d0 3a b3 4d 7b 67 a0 fa 78 5c 19 d6 |.....:.M{g..x\..| -00000200 88 d2 21 f6 8d e4 91 d1 76 95 67 9d 4e 3b a1 d2 |..!.....v.g.N;..| -00000210 61 c3 d2 a6 53 fd 82 93 20 7e f6 07 a0 49 3a ea |a...S... ~...I:.| -00000220 bc 73 03 0b f2 df 51 ac 35 d8 e4 35 9d 13 56 b5 |.s....Q.5..5..V.| -00000230 be fc 7c 36 8b 37 a0 71 57 62 bd 89 38 18 90 1e |..|6.7.qWb..8...| -00000240 7a 1f b3 8f 73 55 32 94 5a 3a 31 91 b3 95 bd 61 |z...sU2.Z:1....a| -00000250 ea 93 9d f0 38 33 fb 5b 28 3d a7 29 a4 91 de 85 |....83.[(=.)....| -00000260 9c 16 63 10 81 c6 e0 11 92 3d 53 db 69 95 16 03 |..c......=S.i...| -00000270 03 00 35 f7 3a b7 d1 20 aa f7 ed b1 c7 46 52 cb |..5.:.. .....FR.| -00000280 6e dd e2 f4 ae 83 20 cd 6c 59 b5 26 f9 81 7e 6c |n..... .lY.&..~l| -00000290 ed e9 0b 2a f1 3a dc f8 d6 ed e5 6d 89 14 3d 79 |...*.:.....m..=y| -000002a0 e7 c8 af 89 30 eb 98 3d 16 03 03 00 98 a0 59 2f |....0..=......Y/| -000002b0 cd d9 f6 63 e3 53 47 77 e5 c4 fc 2e 12 d7 24 8a |...c.SGw......$.| -000002c0 4c c7 d8 c9 77 4f bc 3c af 93 6f 57 3d 6f 5d 1c |L...wO.<..oW=o].| -000002d0 6a 5a 2c 42 1c e0 92 d5 5e 34 c8 a5 9e 11 21 16 |jZ,B....^4....!.| -000002e0 01 1a 08 af 4e f6 a1 e3 19 a6 81 41 3d 7a f3 d1 |....N......A=z..| -000002f0 e0 9e 55 90 42 4b d9 5c 46 b7 eb c8 fb 83 1c 97 |..U.BK.\F.......| -00000300 9e d9 74 bb 7f 2f 4d 61 89 46 db 32 da 1a 76 95 |..t../Ma.F.2..v.| -00000310 88 f8 ca 62 14 88 dc 97 b8 58 82 74 16 78 be c5 |...b.....X.t.x..| -00000320 f9 78 a4 88 c1 d4 6b 36 6e 54 60 a5 21 30 47 07 |.x....k6nT`.!0G.| -00000330 e8 2d 22 ce a5 17 fb 43 10 9d 74 c9 64 a3 db ac |.-"....C..t.d...| -00000340 d9 24 7a a7 5d 14 03 03 00 11 68 20 87 e9 9b 91 |.$z.].....h ....| -00000350 81 67 2b 31 c4 47 e8 9b 2e 7c c4 16 03 03 00 20 |.g+1.G...|..... | -00000360 ef 6f 3d 0f 23 fa 77 8c a9 46 d9 0d b0 d9 f8 16 |.o=.#.w..F......| -00000370 62 e2 07 21 ec b6 a7 78 ce a6 ea b3 68 c1 c7 af |b..!...x....h...| +00000000 16 03 03 00 35 77 aa f6 e5 92 a0 83 9f b7 0e e3 |....5w..........| +00000010 d2 ae 3e 72 3d 67 59 0a 67 04 10 3c 44 9c 6f 8e |..>r=gY.g..>> Flow 14 (server to client) -00000000 14 03 03 00 11 bb 45 96 9e 08 cb e4 24 c2 e3 71 |......E.....$..q| -00000010 40 d1 ef a1 5e 2f 16 03 03 00 20 1b 3f 69 fb ae |@...^/.... .?i..| -00000020 cd 98 15 59 16 14 cf a5 16 af 36 6d 6d 3a 49 06 |...Y......6mm:I.| -00000030 a6 f9 cf 53 ea 9a b7 3b 48 d2 e3 17 03 03 00 19 |...S...;H.......| -00000040 72 2c 82 a0 8c 6c 8b c3 78 e4 41 1b ff ba 92 6d |r,...l..x.A....m| -00000050 3c 4d 9c c3 95 e3 27 b9 82 |>> Flow 15 (client to server) -00000000 15 03 03 00 12 3d f9 72 53 84 b5 a4 ec 27 39 cc |.....=.rS....'9.| -00000010 72 29 c0 e6 37 7b 0f |r)..7{.| +00000000 15 03 03 00 12 45 0b 80 2d f1 c6 08 39 3c 70 07 |.....E..-...9>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 75 f6 1b 17 2f |....Y...U..u.../| -00000010 e0 d4 19 06 0d 93 90 51 46 d9 c3 a0 cd 45 6c 85 |.......QF....El.| -00000020 94 87 01 21 3e 92 62 1d e7 d1 39 20 07 26 a1 5b |...!>.b...9 .&.[| -00000030 d2 4a 61 40 ba 58 c0 23 0c 3f c3 08 5d 28 04 94 |.Ja@.X.#.?..](..| -00000040 a9 34 37 28 64 75 6f 9c ae fa 1f 24 cc a8 00 00 |.47(duo....$....| +00000000 16 03 03 00 59 02 00 00 55 03 03 15 c2 a7 b9 2f |....Y...U....../| +00000010 c7 f0 d8 ce 09 47 ff 49 c2 09 ea b1 59 ab ab cf |.....G.I....Y...| +00000020 d8 97 31 dd e6 5a 84 6e 39 af 23 20 7d 9c ed cb |..1..Z.n9.# }...| +00000030 b4 fc 4f 6b ec 07 75 b2 c4 ca 44 63 12 f5 35 95 |..Ok..u...Dc..5.| +00000040 93 c8 6e d0 59 7e 58 cb 00 05 ae d7 cc a8 00 00 |..n.Y~X.........| 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..............| @@ -54,181 +54,129 @@ 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 84 74 e5 bc 24 39 39 |........ .t..$99| -000002d0 e0 6e 35 fb 34 87 76 0d 78 89 35 5c 85 e7 92 da |.n5.4.v.x.5\....| -000002e0 e1 39 f4 b2 e7 ec d5 cd 58 04 01 00 80 cf 3a 57 |.9......X.....:W| -000002f0 6a 8b b7 72 d8 a2 6b 47 87 77 8b 7a bf 63 6c e8 |j..r..kG.w.z.cl.| -00000300 d4 20 6a 6a 9c 62 b6 ef 4b 9f a7 89 8c a6 fd 02 |. jj.b..K.......| -00000310 92 2f 8d 07 44 09 f6 d9 03 99 39 49 1d 8d 1b 7f |./..D.....9I....| -00000320 eb eb 4b a6 fb 9f 83 3b 3d d3 61 3e e4 d3 22 24 |..K....;=.a>.."$| -00000330 c1 44 76 e8 75 c7 aa 31 96 e3 50 bb 76 3e 87 02 |.Dv.u..1..P.v>..| -00000340 b9 1d 82 dd 55 ee 05 b9 b5 1e 65 90 2c 50 c9 87 |....U.....e.,P..| -00000350 49 dd 35 c8 84 67 6e 52 3a 3b ec 3c 63 f4 0f 95 |I.5..gnR:;.>> 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 3e a2 12 3b a4 83 4a c2 0e 93 d5 |.... >..;..J....| -00000040 98 d5 2e 11 9e 60 60 23 78 5a 63 49 f1 7a ee c4 |.....``#xZcI.z..| -00000050 47 00 6c 4e fb |G.lN.| +00000030 16 03 03 00 20 1d 93 0e bd 9d 79 c8 be 62 9e c3 |.... .....y..b..| +00000040 5b 6d 1e e7 3a d1 35 32 1b 20 3b 66 70 71 95 f4 |[m..:.52. ;fpq..| +00000050 88 58 6d b8 f1 |.Xm..| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 6d 78 5b 5f 1b |.......... mx[_.| -00000010 2c 05 ba 92 46 e2 f0 04 48 fa a1 da be 93 ed fd |,...F...H.......| -00000020 f5 f8 b8 dd 00 60 09 a6 36 3c c4 |.....`..6<.| +00000000 14 03 03 00 01 01 16 03 03 00 20 76 95 22 fc b0 |.......... v."..| +00000010 06 76 53 a8 f5 41 60 39 2b 22 ce 5e d9 d1 1b 6a |.vS..A`9+".^...j| +00000020 36 cc a2 3a 59 a0 a1 51 48 db d3 |6..:Y..QH..| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 a4 db 13 bc c1 6e 06 9e 6d 1a c9 |..........n..m..| -00000010 85 a7 e9 28 b8 27 74 19 8f 1a bc |...(.'t....| +00000000 17 03 03 00 16 67 62 ca a7 ec ee 51 18 ad 90 65 |.....gb....Q...e| +00000010 fc 87 10 13 5c 2d 66 6f e2 5b d6 |....\-fo.[.| >>> Flow 6 (server to client) -00000000 16 03 03 00 14 fa a3 77 3c 76 11 5d be 12 4f 6a |.......w>> Flow 7 (client to server) -00000000 16 03 03 00 ad 59 80 a4 91 95 56 2a 01 ee 04 84 |.....Y....V*....| -00000010 f9 d2 dd a5 2c a6 46 a8 69 a3 c7 47 7e eb 54 da |....,.F.i..G~.T.| -00000020 ec cc 9d aa e1 0a b1 7c e9 cf 9f c9 c8 12 62 35 |.......|......b5| -00000030 d2 4a eb 28 0d 9b aa a4 d5 79 66 f7 72 4c 26 10 |.J.(.....yf.rL&.| -00000040 b6 71 db 4a 68 8b 47 f9 47 e3 6d a6 4e 99 d5 0b |.q.Jh.G.G.m.N...| -00000050 27 b2 2c 23 9b 58 60 8a 37 a1 8e 26 09 26 2a 46 |'.,#.X`.7..&.&*F| -00000060 e6 24 7f 9b cb 6b d1 9d b1 c0 48 c9 50 8b ab 06 |.$...k....H.P...| -00000070 05 57 ef 1a e0 bd ce db ca 3d e1 59 df 24 4c 02 |.W.......=.Y.$L.| -00000080 bf 1b 9e 48 52 42 6c dd 8f fa 82 68 56 52 a6 be |...HRBl....hVR..| -00000090 d0 93 cb 43 74 e1 2f 86 cc e1 4c fa ba fc 1d f0 |...Ct./...L.....| -000000a0 d5 20 3a 79 b3 b8 b7 24 b5 cf 4c dd a5 d0 4d 18 |. :y...$..L...M.| -000000b0 15 55 |.U| +00000000 16 03 03 00 b1 92 1a 73 ea 30 62 10 b9 c7 83 ec |.......s.0b.....| +00000010 55 24 17 f7 ba a1 3a 13 5f cb 8b ff 64 79 5e 5b |U$....:._...dy^[| +00000020 6c 34 7b c8 0b 38 92 b6 14 7f fd 35 be ba 72 2d |l4{..8.....5..r-| +00000030 bd 78 e3 f6 bc 61 ba 65 83 a6 6a 5e cd 1f 34 ab |.x...a.e..j^..4.| +00000040 5d 84 58 03 06 a0 4d 32 a0 a9 42 92 8f d4 27 3d |].X...M2..B...'=| +00000050 e8 a5 75 9b b7 06 c2 3b 4f 8e 83 10 be 12 4f ea |..u....;O.....O.| +00000060 d1 e7 37 9c 29 dc a9 0f aa f6 a1 0c 1c 3b 19 67 |..7.)........;.g| +00000070 b1 7c 41 9a fd b8 dd 86 92 49 4f 7e 23 75 df 82 |.|A......IO~#u..| +00000080 d0 ca 43 94 61 a8 d4 1f 3f 15 69 b0 6c bf f7 15 |..C.a...?.i.l...| +00000090 1c 8d dc 61 11 73 3c 5e b0 bd 23 a9 3d fb ed 1d |...a.s<^..#.=...| +000000a0 d5 3d 6d de b7 29 fe 85 0d af 85 6c 8a 32 90 09 |.=m..).....l.2..| +000000b0 87 c2 a2 4f f9 9b |...O..| >>> Flow 8 (server to client) -00000000 16 03 03 00 81 10 b8 d9 9a 82 21 14 86 6d ef e4 |..........!..m..| -00000010 b6 bc 10 84 80 a6 72 7b dc 24 ba e1 e5 d2 bb d2 |......r{.$......| -00000020 9f 09 d3 d7 37 20 ec 7d bd 13 e0 bd 40 44 8a 6e |....7 .}....@D.n| -00000030 7f f6 d5 42 03 4b 00 b5 87 99 ac 6d 11 03 38 46 |...B.K.....m..8F| -00000040 33 71 c4 10 ce da 36 d6 c1 41 9f 96 8e eb 4b 99 |3q....6..A....K.| -00000050 24 07 8c 6b 88 2c f1 dd 31 35 ba 43 0f 60 bf b0 |$..k.,..15.C.`..| -00000060 74 77 a9 d4 a7 65 f6 68 e2 70 4a 7e fe db ab 13 |tw...e.h.pJ~....| -00000070 7f 51 c3 0f b4 93 42 12 d6 29 5d 44 5c df 17 6e |.Q....B..)]D\..n| -00000080 73 1d b8 95 fc 8b 16 03 03 02 69 64 5d 4f b4 3a |s.........id]O.:| -00000090 23 98 07 51 63 18 09 07 9a 8c dd 8e 51 a8 ca 23 |#..Qc.......Q..#| -000000a0 37 21 f4 d5 e0 8f 03 1c 6f 6d c4 60 dd 99 8f 4b |7!......om.`...K| -000000b0 4c 11 f7 78 f8 aa f6 29 87 cf 4d ba 89 87 2a c9 |L..x...)..M...*.| -000000c0 48 66 48 d3 a6 19 8a 84 f6 db 17 b4 59 5b e4 8e |HfH.........Y[..| -000000d0 8e ef fc 32 10 aa 0d 57 47 68 82 07 72 95 03 f6 |...2...WGh..r...| -000000e0 e5 c1 c3 01 00 f9 85 4f 0f 85 37 73 f7 c5 af a2 |.......O..7s....| -000000f0 37 96 ba 06 49 6a 2d a2 23 39 2e 9b f1 fc 01 de |7...Ij-.#9......| -00000100 53 75 ee 34 ae 27 ea 49 6a d8 d0 cd 9b e8 60 b7 |Su.4.'.Ij.....`.| -00000110 f6 b1 8e 26 ec 6c 36 87 d6 70 49 07 e0 96 2a bd |...&.l6..pI...*.| -00000120 45 a3 b1 f5 dc b0 a3 4f dc d8 c3 fd 4f fb 98 13 |E......O....O...| -00000130 67 55 99 39 b5 16 19 72 9d f1 5a cf 6e 53 d9 03 |gU.9...r..Z.nS..| -00000140 05 f5 81 07 a1 38 a1 e5 4c 76 51 1a ae f6 4b f6 |.....8..LvQ...K.| -00000150 b2 a7 84 1e 2a 31 b0 b8 9f 41 e8 e5 32 18 44 4c |....*1...A..2.DL| -00000160 0b fb e3 d9 4c dd 45 c5 c4 c4 57 bf f7 5a dc f6 |....L.E...W..Z..| -00000170 73 98 d4 ea 2f c0 cb 35 97 c1 45 94 37 87 d3 8c |s.../..5..E.7...| -00000180 65 3f ee a8 67 a6 00 80 92 02 76 e8 0a 04 ce 7a |e?..g.....v....z| -00000190 79 4f cd 70 1a 31 5a 03 83 01 de 1f 4a 46 39 4e |yO.p.1Z.....JF9N| -000001a0 d0 80 6e 67 d7 e6 fc ba 74 4b 57 d2 3c 19 7b 03 |..ng....tKW.<.{.| -000001b0 ab 9a e2 f7 db 58 c2 b7 58 96 55 88 e6 e2 e2 f8 |.....X..X.U.....| -000001c0 ab e9 b0 12 ef ff e6 53 7b 4e 01 2f 65 0d 05 f0 |.......S{N./e...| -000001d0 95 9f 46 d2 ae e7 33 5c 37 56 ab 67 95 87 81 59 |..F...3\7V.g...Y| -000001e0 f2 35 76 78 ed 13 63 a3 58 52 af 46 e6 aa c3 99 |.5vx..c.XR.F....| -000001f0 37 9d 10 25 cc 7f 7e 63 e1 96 6d 7a 8e ac 9e 00 |7..%..~c..mz....| -00000200 d1 0e 7a 48 b6 82 77 6a a0 17 d1 77 70 f8 40 4a |..zH..wj...wp.@J| -00000210 c4 90 da b0 3f 25 68 f5 9f dd 5e ec 95 02 19 53 |....?%h...^....S| -00000220 08 6a 13 11 88 9e 2b 25 b8 28 cd 58 36 d7 d3 95 |.j....+%.(.X6...| -00000230 f5 91 63 92 ff 3b d2 4f 75 ae 47 6c 64 8a a4 76 |..c..;.Ou.Gld..v| -00000240 48 96 a7 35 d6 35 22 96 4d 4f ee 45 fb 88 52 68 |H..5.5".MO.E..Rh| -00000250 4e 38 93 e8 08 6a e6 f3 00 a7 f7 b0 0b 68 41 ab |N8...j.......hA.| -00000260 9b 3a 92 2b fd b2 71 14 77 91 48 e7 70 62 b5 b0 |.:.+..q.w.H.pb..| -00000270 45 90 35 d2 b3 22 f5 70 6c 62 7f 55 6b 56 42 f8 |E.5..".plb.UkVB.| -00000280 6c 87 a7 60 45 37 f0 41 41 ec 73 f5 f1 d9 d2 84 |l..`E7.AA.s.....| -00000290 bd 88 bc 9b 43 ec 8b b3 c4 3a 59 2c 30 61 30 98 |....C....:Y,0a0.| -000002a0 78 d3 e7 85 dd 7e 80 b8 fb b3 bf 7e 11 79 e8 20 |x....~.....~.y. | -000002b0 aa b8 81 94 10 5c f8 ba 70 4c 1e 7c 35 8f 48 30 |.....\..pL.|5.H0| -000002c0 17 38 d6 1c 91 ed 00 2c f7 af 29 d3 cb 9b ab 6b |.8.....,..)....k| -000002d0 b3 fa 6e 1a 9b a8 cf 08 8e 03 a5 f7 76 17 74 3a |..n.........v.t:| -000002e0 9e 36 ae 19 fd 2c 44 14 f3 2b 1d 01 db e1 96 22 |.6...,D..+....."| -000002f0 25 14 5b d8 16 03 03 00 bc bb 8c bb cf f9 d7 76 |%.[............v| -00000300 7a a7 d6 e0 29 cb 45 21 8d 57 0b 81 0c e0 96 05 |z...).E!.W......| -00000310 c7 96 67 43 0f 41 11 e9 c2 07 2d 62 17 b4 64 01 |..gC.A....-b..d.| -00000320 c5 75 79 dc 9c 36 3f ea 42 ea 09 a7 bc 0f 6b b1 |.uy..6?.B.....k.| -00000330 b4 4d ae 38 0a ca 51 d0 97 46 b6 55 12 7c 24 28 |.M.8..Q..F.U.|$(| -00000340 77 16 64 42 53 70 c4 52 ed e5 aa 20 3a 00 7e d0 |w.dBSp.R... :.~.| -00000350 9e 99 e4 56 5f ef 30 56 00 8b e7 31 6d 66 6d dc |...V_.0V...1mfm.| -00000360 58 8a b0 60 6f 16 a7 b0 14 a5 9d 3d 38 94 6e 16 |X..`o......=8.n.| -00000370 a3 22 76 e9 59 d8 90 cd 32 83 bb 8c c5 23 cb c2 |."v.Y...2....#..| -00000380 c5 03 02 de 13 97 ac 4e 99 9f 4d 6d aa ed 72 b7 |.......N..Mm..r.| -00000390 76 db 8b c9 31 17 b9 1c 4a fa 87 2c 6b dc 07 82 |v...1...J..,k...| -000003a0 a2 39 e0 09 32 a2 8e 1c 6e 68 e1 14 ba ab 3a d4 |.9..2...nh....:.| -000003b0 1e 4f f4 39 c7 16 03 03 00 3a cf b2 61 5f 7e ef |.O.9.....:..a_~.| -000003c0 04 51 64 f6 3d b3 54 44 bd 8a d0 87 48 64 76 a6 |.Qd.=.TD....Hdv.| -000003d0 0d bc 7f b7 99 d4 67 8b cd e3 c4 5d df c5 c8 fc |......g....]....| -000003e0 be d1 c4 03 6d 61 2d 10 58 b1 7a 7c 9e 1c 6b 16 |....ma-.X.z|..k.| -000003f0 ff 31 a8 87 16 03 03 00 14 85 99 57 4b a1 19 33 |.1.........WK..3| -00000400 bd 9a 86 ed be 5d 24 f0 02 9d ca 1e 26 |.....]$.....&| +00000000 16 03 03 00 81 69 80 3b d5 74 82 55 ad c5 6d 92 |.....i.;.t.U..m.| +00000010 5c d6 02 a0 5a e5 c7 a9 64 94 20 5f b4 03 7d 25 |\...Z...d. _..}%| +00000020 aa 6b de 09 09 cb 92 a1 73 fa 58 bc 02 a2 01 d4 |.k......s.X.....| +00000030 e6 c6 56 42 4e 8e c5 09 de 2d e1 6a 96 9e 1a b4 |..VBN....-.j....| +00000040 1f 73 44 f2 20 07 3d 99 5f 8e 6e 76 ba 6f 8f d5 |.sD. .=._.nv.o..| +00000050 a1 f9 78 22 9d 84 b3 b1 9c 91 88 3c a7 0f d4 64 |..x".......<...d| +00000060 6d 6e 16 54 b4 1c 38 07 3c 56 b7 67 b5 ab d7 79 |mn.T..8......| +00000230 7b 65 85 82 ba 23 3d 78 22 17 d0 03 02 a0 04 1d |{e...#=x".......| +00000240 e5 b0 be d7 4d a4 6e 40 83 b2 ae ee b9 c3 18 ce |....M.n@........| +00000250 45 7d d8 2e 6d d1 92 7d 60 bd 44 dd 29 11 cd 7d |E}..m..}`.D.)..}| +00000260 13 2f a2 97 b1 ca 6a 76 e0 88 fd 6a b4 cc f3 f1 |./....jv...j....| +00000270 63 4b 4a 74 cb c6 49 ba 82 2b 29 22 0e a0 23 78 |cKJt..I..+)"..#x| +00000280 ad 25 59 85 a8 b2 6e d3 34 1f 31 ff 94 ac 3b 42 |.%Y...n.4.1...;B| +00000290 84 97 17 8a 21 1d 3f 7c e5 ac 17 50 d9 77 a9 54 |....!.?|...P.w.T| +000002a0 2f bd 19 3b b9 de 90 64 8a 02 46 bf 7e 02 ac 60 |/..;...d..F.~..`| +000002b0 55 0c 6f c3 58 04 3a a7 fd e9 26 26 41 a1 8f 43 |U.o.X.:...&&A..C| +000002c0 7a 9e dd a6 1a 7f cf 1d 0c 40 11 59 4f 36 bc e1 |z........@.YO6..| +000002d0 63 20 0b ef 3c e7 de 25 e2 e0 d2 4d 42 62 84 97 |c ..<..%...MBb..| +000002e0 23 64 b2 b5 22 e4 8f f5 b2 1f 9e 99 00 e5 27 f6 |#d..".........'.| +000002f0 02 b9 b3 d0 16 03 03 00 bc 9c 9e 74 fe d3 9f c5 |...........t....| +00000300 50 2a 35 af 0d 27 96 94 a0 0a b4 79 f5 ca 9e 30 |P*5..'.....y...0| +00000310 8c 03 87 75 9c ac 63 a4 96 a5 d8 05 ef cd d5 1a |...u..c.........| +00000320 13 24 81 a7 84 aa 69 a2 e4 a4 13 85 25 c0 ca c8 |.$....i.....%...| +00000330 ec 8f 27 68 77 12 78 bc 98 b2 4e 8b b4 ae c8 47 |..'hw.x...N....G| +00000340 53 b8 7f d6 cf f0 9a 1e 65 33 b0 77 11 9e f4 72 |S.......e3.w...r| +00000350 57 f5 c4 55 06 07 1f a7 3e 3e 31 ce 52 97 58 0c |W..U....>>1.R.X.| +00000360 23 6e 3c 4c b6 a7 f5 c5 ec 3a fa 96 a4 f6 ee 0d |#n>> Flow 9 (client to server) -00000000 16 03 03 02 69 8c c7 01 da 38 a5 36 3d 2c 21 1c |....i....8.6=,!.| -00000010 64 1b b8 e7 c2 cd 17 06 b6 51 0e e6 d9 d9 18 c5 |d........Q......| -00000020 a9 c9 ac 5d 2d 23 f8 15 92 b2 e1 62 6e d7 8d 58 |...]-#.....bn..X| -00000030 5b d9 b8 26 e5 ec 0f 61 15 3e 12 70 89 0d 3f 4e |[..&...a.>.p..?N| -00000040 e3 2e 18 42 7c c7 59 7b e1 48 d9 a8 cf b1 cd 38 |...B|.Y{.H.....8| -00000050 17 90 97 89 2e 4f 4b df 58 b0 9f 4e 95 d2 e9 70 |.....OK.X..N...p| -00000060 6d 0b 82 af b7 05 be 11 26 d8 f9 89 e6 d6 44 f5 |m.......&.....D.| -00000070 db 7c 8c 91 61 78 dc 68 98 9b 10 17 5b 85 42 93 |.|..ax.h....[.B.| -00000080 31 a2 16 97 72 c5 f2 d0 81 76 a6 9b b7 9c 14 ab |1...r....v......| -00000090 a7 bf 19 f7 34 e3 8f 3f a5 aa 23 c8 49 07 1b 6f |....4..?..#.I..o| -000000a0 e5 5d 65 66 a1 dc d2 e7 bb c2 4b 9e a7 9a dc d6 |.]ef......K.....| -000000b0 72 42 d3 71 d3 51 a4 3a 82 f7 cd 2a 15 34 da 6d |rB.q.Q.:...*.4.m| -000000c0 44 3a a9 7d 6e 4c ce a5 ba 6b 5b 3b 88 8c e1 29 |D:.}nL...k[;...)| -000000d0 ee a8 17 1b 02 36 8f 68 c9 9e e6 f1 bf e3 e3 e0 |.....6.h........| -000000e0 cd 6d 7f ff c2 4d 3f 88 c7 9b 75 20 e5 cd fa fa |.m...M?...u ....| -000000f0 a0 d7 10 6a c1 00 73 f9 df bd 22 60 8c 82 71 e6 |...j..s..."`..q.| -00000100 56 aa 90 bf c7 a8 82 51 e7 23 42 ec 99 f5 b9 aa |V......Q.#B.....| -00000110 3c cc c6 32 11 29 1f a6 ae 89 03 04 e8 de 9f f4 |<..2.)..........| -00000120 bd 87 ae af 91 ee a2 f3 e2 6d 7b 87 ad 67 16 2d |.........m{..g.-| -00000130 ad 92 34 38 52 ed 7c 38 92 45 16 26 9f 65 d2 67 |..48R.|8.E.&.e.g| -00000140 3e 33 a1 bd b2 f6 d3 c8 76 96 52 11 0d 8d ac a6 |>3......v.R.....| -00000150 27 10 6a 43 63 5f 82 41 e7 fe 91 24 68 70 bd 2c |'.jCc_.A...$hp.,| -00000160 35 fd 0e 49 ec 3a dd f3 c0 af 5c f4 61 9a 2a 00 |5..I.:....\.a.*.| -00000170 59 b5 28 24 f0 cf d3 25 bc 77 65 74 04 ee 4b 5e |Y.($...%.wet..K^| -00000180 2b 9f 1d 27 e2 dd 1a ed ab e5 ff d6 1a 55 d7 4d |+..'.........U.M| -00000190 5c da 14 96 21 43 f6 c3 2d 78 e5 75 60 69 26 ce |\...!C..-x.u`i&.| -000001a0 7a 66 5e 42 91 0e ef 41 c2 c4 e6 15 8a 9a 17 a1 |zf^B...A........| -000001b0 d9 23 2c cc c7 81 00 71 b0 52 ec 4e ea eb f9 75 |.#,....q.R.N...u| -000001c0 2e 87 16 b4 ba 25 8c 09 f1 23 f9 ee ea db 0e b5 |.....%...#......| -000001d0 d0 dd 47 9b b6 06 a3 f3 5e 0d 34 5a ba 76 cd 0a |..G.....^.4Z.v..| -000001e0 b1 9f 8a 99 aa d3 02 2e b6 04 7b c5 d3 2f dc d7 |..........{../..| -000001f0 68 af 6b 88 90 0a 94 a4 29 65 0b ba b3 da f2 cd |h.k.....)e......| -00000200 51 93 4f ea b4 f8 54 c7 28 e3 2d 63 d0 62 54 d9 |Q.O...T.(.-c.bT.| -00000210 27 a0 85 57 7b a2 f2 f5 a5 25 83 1b e2 36 15 06 |'..W{....%...6..| -00000220 41 ae e1 f9 ca a5 c6 59 2d da 4a ed 10 7b 80 01 |A......Y-.J..{..| -00000230 06 39 f2 a8 4b 22 37 4d aa 84 79 85 71 29 1b 4e |.9..K"7M..y.q).N| -00000240 c3 79 af 13 f5 4e 3c 6d fa 8c d7 55 13 2b 48 3d |.y...N..0....| -000002f0 96 89 a7 0f 7c fb 96 18 84 86 e7 bd e2 35 31 0c |....|........51.| -00000300 7a 51 d7 94 6b 61 62 7a 6a d8 56 62 e6 cf bf 60 |zQ..kabzj.Vb...`| -00000310 df 7a c5 ce d3 87 ea 2f 5a ad 90 d4 39 f7 47 8e |.z...../Z...9.G.| -00000320 8b d3 6b 8e e0 3f 2f 59 71 e4 e6 bf 3f 4a 29 a8 |..k..?/Yq...?J).| -00000330 60 df 1b 5c 2d 21 ab 0a a5 9f 5a a2 a3 d6 08 3c |`..\-!....Z....<| -00000340 4a 4b f9 d6 a0 14 03 03 00 11 44 a4 62 7e c1 4a |JK........D.b~.J| -00000350 4e 56 dd 08 65 b2 ab 12 cd fa 8d 16 03 03 00 20 |NV..e.......... | -00000360 b4 52 5a e8 33 b6 23 b1 b4 e6 59 da b0 84 52 94 |.RZ.3.#...Y...R.| -00000370 70 de dc 02 f6 41 e3 27 7c 27 56 6a 7c 92 e3 48 |p....A.'|'Vj|..H| +00000000 16 03 03 00 35 01 62 fd 6b 2e 24 0f 01 03 98 44 |....5.b.k.$....D| +00000010 7a 1a 51 4c 09 f0 da 53 b7 cf 31 06 94 9d 09 bd |z.QL...S..1.....| +00000020 d2 ec 3a 20 47 1e 28 e6 d6 66 4d bb dd 2f 9d 4b |..: G.(..fM../.K| +00000030 ff e5 4e ed 84 1d 9b 0c 40 a4 14 03 03 00 11 58 |..N.....@......X| +00000040 2f a4 8e f0 38 bb f8 44 b2 e9 61 68 63 ba 8e 63 |/...8..D..ahc..c| +00000050 16 03 03 00 20 f3 0f ac 3d e2 65 c4 0e c8 b7 22 |.... ...=.e...."| +00000060 2f c9 08 d3 b1 75 e1 f8 91 ea 98 c3 9b c8 9b 21 |/....u.........!| +00000070 cb cd 35 b3 ce |..5..| >>> Flow 10 (server to client) -00000000 14 03 03 00 11 c7 92 b3 aa a0 91 21 4f 42 96 0c |...........!OB..| -00000010 3a 92 c3 53 55 d1 16 03 03 00 20 4b da e5 1c 08 |:..SU..... K....| -00000020 ce a7 33 f1 a6 c7 47 52 19 68 b4 f5 1d 66 a7 38 |..3...GR.h...f.8| -00000030 97 45 43 9f ca b5 db 2c 14 fc f4 17 03 03 00 19 |.EC....,........| -00000040 28 f4 bb bf c1 5a 2d 1e b8 fc c7 fc 55 16 e9 cc |(....Z-.....U...| -00000050 43 a3 63 58 7e 2c 60 77 23 16 03 03 00 14 2c e6 |C.cX~,`w#.....,.| -00000060 25 0a b7 26 7b 13 55 62 f1 fe 6e fe 0e 57 53 57 |%..&{.Ub..n..WSW| -00000070 19 1b |..| +00000000 14 03 03 00 11 c0 ed 05 6a 71 44 98 9a d6 b8 ae |........jqD.....| +00000010 ab 10 43 a9 27 91 16 03 03 00 20 93 fe ed 5f 3e |..C.'..... ..._>| +00000020 61 9f 10 95 c9 f6 82 c5 68 14 3d 9e 3e c3 9d e9 |a.......h.=.>...| +00000030 f2 2d a1 a5 ff ec b9 31 ae 78 e8 17 03 03 00 19 |.-.....1.x......| +00000040 27 c4 6c 54 03 88 b2 36 38 79 1f 1d 68 c2 ca fd |'.lT...68y..h...| +00000050 bf 47 67 44 e1 13 3b f2 fb 16 03 03 00 14 9d 9d |.GgD..;.........| +00000060 67 bf 0e 28 3c 56 a3 7b 49 cb 56 b5 5d 3e 39 45 |g..(9E| +00000070 c8 c5 |..| >>> Flow 11 (client to server) -00000000 15 03 03 00 12 dd 2b 00 09 fd 8c 7d 21 3d 7c 06 |......+....}!=|.| -00000010 93 ca c9 21 b2 3e 20 15 03 03 00 12 90 32 4b 3b |...!.> ......2K;| -00000020 33 4d fd 69 55 81 aa 42 16 ae 47 b9 4c 06 |3M.iU..B..G.L.| +00000000 15 03 03 00 12 00 dc 08 22 b1 d3 cc d2 f7 6b 03 |........".....k.| +00000010 92 e9 4d 62 8d 5d f6 15 03 03 00 12 ce e8 8d 1b |..Mb.]..........| +00000020 78 a3 63 10 bc 77 e8 88 1f 91 9c a5 b5 f2 |x.c..w........| diff --git a/testdata/Client-TLSv12-RenegotiationRejected b/testdata/Client-TLSv12-RenegotiationRejected index cb964324..71d98417 100644 --- a/testdata/Client-TLSv12-RenegotiationRejected +++ b/testdata/Client-TLSv12-RenegotiationRejected @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 91 a6 bc 02 ab |....Y...U.......| -00000010 19 62 2c de 45 57 ba 71 c0 b0 4d 78 5e f4 c2 b9 |.b,.EW.q..Mx^...| -00000020 81 ba 8b d6 b1 9b c8 fb 0c 7c 40 20 dc 66 80 5b |.........|@ .f.[| -00000030 20 3c 60 65 7f 9e 0c 67 a8 f3 22 c9 c5 48 80 fa | <`e...g.."..H..| -00000040 02 a1 1a 48 6d 1c 46 07 db 6c 8e 85 cc a8 00 00 |...Hm.F..l......| +00000000 16 03 03 00 59 02 00 00 55 03 03 db bb 55 42 4d |....Y...U....UBM| +00000010 7e 2c 47 97 1c 97 97 e4 35 a1 a9 f4 d6 1a 2f 97 |~,G.....5...../.| +00000020 96 f7 d6 3b 7e 81 7c 96 f4 42 f8 20 b1 92 02 f0 |...;~.|..B. ....| +00000030 91 56 81 2c 4e ba e0 02 26 c7 f6 d9 0a ef e9 40 |.V.,N...&......@| +00000040 54 10 60 a4 d3 e1 b5 cf d3 ad 59 c7 cc a8 00 00 |T.`.......Y.....| 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..............| @@ -54,36 +54,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 f5 fd 54 ea 3e bb 70 |........ ..T.>.p| -000002d0 fb 8e fb e4 8a 25 1f 9d 3d 9a fb fb 9d ff d1 52 |.....%..=......R| -000002e0 81 9d b0 ea a1 e6 b0 87 2f 04 01 00 80 77 54 16 |......../....wT.| -000002f0 98 5d 22 c4 7f 9b 2a 44 dd e4 0d 78 c2 60 6a ad |.]"...*D...x.`j.| -00000300 91 9d d9 ed 93 0b 4e b4 c6 26 f1 94 6d e0 cc f4 |......N..&..m...| -00000310 8d fa 9c ec 70 f5 5b ac 80 d7 5e 4f 49 04 bc 24 |....p.[...^OI..$| -00000320 8e 0a 7d 44 e1 7e 47 1e a8 68 d1 fe 6f 41 0d 4a |..}D.~G..h..oA.J| -00000330 e5 5b f6 f6 a3 af 76 21 56 1a 25 d2 03 3c f4 dd |.[....v!V.%..<..| -00000340 0c 13 ce 56 8a 61 6f 5b 8c a1 04 43 82 87 64 20 |...V.ao[...C..d | -00000350 4a 3b ec 90 d7 59 aa ca 08 3a 39 57 f1 56 57 6a |J;...Y...:9W.VWj| -00000360 18 c9 14 7f e3 8d 83 0f e2 0b 4d 24 01 16 03 03 |..........M$....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 7c 4a f0 08 30 5f 04 |........ |J..0_.| +000002d0 46 3d 38 6c 55 57 44 82 a5 98 a1 fd 60 26 ce 03 |F=8lUWD.....`&..| +000002e0 cd 93 14 0a 0b 69 02 bf 03 04 01 00 80 c6 a5 05 |.....i..........| +000002f0 fa 60 d4 cb 47 ad 03 16 04 bf a7 43 7c 84 54 b3 |.`..G......C|.T.| +00000300 29 dc 73 29 d2 43 29 90 3b 1f ff dd da 8b 56 06 |).s).C).;.....V.| +00000310 08 9d fd 1f f6 42 7a 3e f9 ab 76 87 0b 42 e3 d8 |.....Bz>..v..B..| +00000320 29 32 55 50 d0 1a 1e 00 8e c9 83 cc 08 bc e5 39 |)2UP...........9| +00000330 9c 58 79 ab 27 5a 55 21 99 fb 2b ee 3a 3a a2 27 |.Xy.'ZU!..+.::.'| +00000340 d6 64 a7 d9 c9 c6 46 dc 03 0a 30 b4 1b 8a 61 36 |.d....F...0...a6| +00000350 b8 22 46 6a ea cc ee 30 e5 58 8e 7e 09 b2 0d 6a |."Fj...0.X.~...j| +00000360 b5 84 54 ea ab ed d5 29 1e 7e 67 17 48 16 03 03 |..T....).~g.H...| 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 6b ce 5c 2f df 85 e7 5e fa 51 48 |.... k.\/...^.QH| -00000040 f9 31 a5 02 64 c7 1e b1 2e f2 6b 86 30 43 23 91 |.1..d.....k.0C#.| -00000050 76 6b 40 74 2b |vk@t+| +00000030 16 03 03 00 20 c8 0e 66 f9 0a 9c 23 fb ed 6a 04 |.... ..f...#..j.| +00000040 83 b3 72 c4 5f 7b 2f 9f 03 c9 32 d5 60 30 6d 07 |..r._{/...2.`0m.| +00000050 e7 d3 fc ed 83 |.....| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 e7 1e 88 10 2d |.......... ....-| -00000010 dc 35 6d 2b 4a 91 39 5d 5c 46 ed 2e 45 6f 41 38 |.5m+J.9]\F..EoA8| -00000020 66 0f 15 58 f8 af d8 a6 6c 99 61 |f..X....l.a| +00000000 14 03 03 00 01 01 16 03 03 00 20 2e 07 51 3c b8 |.......... ..Q<.| +00000010 97 34 f5 21 da 22 b1 e9 e6 98 61 83 22 06 45 c2 |.4.!."....a.".E.| +00000020 db 60 08 27 bc 64 30 3e 1c 77 70 |.`.'.d0>.wp| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 ab 2a df 2f 3c 07 6a 24 98 55 0b |......*./<.j$.U.| -00000010 67 20 2d 92 cd 9a 44 74 da fd 6a |g -...Dt..j| +00000000 17 03 03 00 16 89 dc 04 82 f8 16 f2 0d 91 53 80 |..............S.| +00000010 7a a7 7b 43 66 f4 95 b3 c2 db ec |z.{Cf......| >>> Flow 6 (server to client) -00000000 16 03 03 00 14 d6 fb e7 9a 76 2a 6f e1 e9 33 1a |.........v*o..3.| -00000010 77 07 fd 7f 98 af 1e 04 43 |w.......C| +00000000 16 03 03 00 14 c7 99 03 a6 e5 88 0c f4 31 22 67 |.............1"g| +00000010 ee 08 ff ff df d8 5d 63 ad |......]c.| >>> Flow 7 (client to server) -00000000 15 03 03 00 12 7e e3 20 96 03 31 8c 6a 31 f8 62 |.....~. ..1.j1.b| -00000010 02 a7 a4 ce 77 83 c1 15 03 03 00 12 b9 91 75 45 |....w.........uE| -00000020 a5 4a f9 c6 6d b2 5c c3 0a 1a 26 63 00 04 |.J..m.\...&c..| +00000000 15 03 03 00 12 ea 8d 5d 03 03 80 85 91 ca cf 7e |.......].......~| +00000010 10 53 60 44 f6 86 3d 15 03 03 00 12 96 b9 d3 2b |.S`D..=........+| +00000020 c9 d0 bd 38 c3 4d 32 10 4c e9 c4 9a b3 01 |...8.M2.L.....| diff --git a/testdata/Client-TLSv12-SCT b/testdata/Client-TLSv12-SCT index a0f6a090..e0815548 100644 --- a/testdata/Client-TLSv12-SCT +++ b/testdata/Client-TLSv12-SCT @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 01 c6 02 00 01 c2 03 03 08 db 5c c4 da |.............\..| -00000010 fe 2c a2 21 0d c4 9e c4 14 b9 e3 15 d7 c5 2c 84 |.,.!..........,.| -00000020 f2 b8 0e 32 67 9e 72 08 9c 17 6b 20 86 09 60 52 |...2g.r...k ..`R| -00000030 9d 53 ba c8 8a c3 1a 11 c0 e5 c6 a0 59 49 ed cb |.S..........YI..| -00000040 e0 6f 0a 56 e9 4f bf 02 2f 23 10 b8 cc a8 00 01 |.o.V.O../#......| +00000000 16 03 03 01 c6 02 00 01 c2 03 03 7c 81 f9 b1 c8 |...........|....| +00000010 a6 92 26 e6 ef 52 6b 33 51 64 e1 e8 77 73 c2 c6 |..&..Rk3Qd..ws..| +00000020 9a 7c 38 c8 df 43 8e da 8c ea 21 20 6b ea 4c 41 |.|8..C....! k.LA| +00000030 1e 3d d0 b9 e9 d8 e9 0b 12 e1 a2 82 b7 69 0a d7 |.=...........i..| +00000040 42 57 8e 24 62 77 3d e0 af 5b 97 2c cc a8 00 01 |BW.$bw=..[.,....| 00000050 7a ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 12 |z...............| 00000060 01 69 01 67 00 75 00 a4 b9 09 90 b4 18 58 14 87 |.i.g.u.......X..| 00000070 bb 13 a2 cc 67 70 0a 3c 35 98 04 f9 1b df b8 e3 |....gp.<5.......| @@ -77,31 +77,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 27 94 d8 62 00 f3 3f 21 e6 e1 |..... '..b..?!..| -00000440 0f 1f 2d 9b 37 4d cf 72 34 48 72 2e 85 46 dd b6 |..-.7M.r4Hr..F..| -00000450 32 23 64 b3 4b 63 04 01 00 80 82 34 e5 7f 70 51 |2#d.Kc.....4..pQ| -00000460 42 3b ab 51 61 73 1f 2c 64 04 1d 66 96 ff f9 95 |B;.Qas.,d..f....| -00000470 86 09 a8 75 11 16 34 05 17 fb 96 9c fb 78 40 4c |...u..4......x@L| -00000480 10 5b ee 0d 31 a0 77 32 a8 0f 19 ef a4 30 cd 08 |.[..1.w2.....0..| -00000490 cb f5 ec 36 fa 24 0a ca 0b d8 16 02 d1 34 86 a7 |...6.$.......4..| -000004a0 f8 e3 cb e6 62 1c cd 40 d6 4f 0c 2f 5b 66 12 6f |....b..@.O./[f.o| -000004b0 8a 2f c4 ef ac 46 86 44 90 e0 65 38 94 4d 5e df |./...F.D..e8.M^.| -000004c0 51 a3 40 6e 64 b6 00 6b 88 97 7b 43 78 d9 df 70 |Q.@nd..k..{Cx..p| -000004d0 fe 66 66 56 82 14 ed ab 08 cd 16 03 03 00 04 0e |.ffV............| +00000430 00 a8 03 00 1d 20 46 5e b3 7c 5b 77 d3 2d ff 1a |..... F^.|[w.-..| +00000440 60 d8 56 9b c8 f0 fa 09 ec 33 89 08 8f 9e 54 86 |`.V......3....T.| +00000450 7e 5d 72 e5 3d 37 04 01 00 80 6e e6 45 b9 1d b5 |~]r.=7....n.E...| +00000460 03 a5 d6 ec 37 ca 35 a1 b0 e9 3f b5 b8 2f 65 d2 |....7.5...?../e.| +00000470 f6 8e 28 e8 23 76 23 f7 26 b6 96 64 89 bb ab 88 |..(.#v#.&..d....| +00000480 4b c5 9a b0 f5 df f2 44 19 15 25 67 5e 66 8c f7 |K......D..%g^f..| +00000490 3d 9a 6a 2a c7 1d 85 d3 7c 2e 5e 9c 9d ca 87 c3 |=.j*....|.^.....| +000004a0 ee 12 ec bd ba 19 fd bc 86 0e d7 8e d2 6a 90 f6 |.............j..| +000004b0 bf bb 15 ab 2e 6b 6a 4d 6f 59 dd c9 ca 40 f5 60 |.....kjMoY...@.`| +000004c0 b0 ab 47 2a 6e ee 1b 20 d8 ca c4 8c 8b f3 51 65 |..G*n.. ......Qe| +000004d0 18 25 41 d3 1f 4e 6b fe ef 10 16 03 03 00 04 0e |.%A..Nk.........| 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 7a 58 e1 33 d4 ce ca 57 ef ea b9 |.... zX.3...W...| -00000040 9d f2 4d ec ce 86 4b e9 c2 b5 64 dd 0f 32 f0 66 |..M...K...d..2.f| -00000050 65 42 74 d8 59 |eBt.Y| +00000030 16 03 03 00 20 5f a3 77 a5 b0 8f 47 73 4c a9 1d |.... _.w...GsL..| +00000040 84 17 76 fe a5 17 6e c8 cd a4 dc 47 e5 76 23 2f |..v...n....G.v#/| +00000050 18 8b 59 41 12 |..YA.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 27 df 9b 14 a1 |.......... '....| -00000010 cd a5 83 5b 6b 30 60 a3 ae 8d 64 56 fe 8e 87 a2 |...[k0`...dV....| -00000020 ff 1b 54 72 c8 7c b2 85 9d 8a de |..Tr.|.....| +00000000 14 03 03 00 01 01 16 03 03 00 20 3e 65 a2 34 77 |.......... >e.4w| +00000010 84 52 61 db 52 89 e8 f0 27 f3 ab 70 17 38 1f 37 |.Ra.R...'..p.8.7| +00000020 17 ad d8 56 23 32 2d 2d e2 b3 d0 |...V#2--...| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 c7 bf a9 7a 72 07 27 88 9a ec 1b |........zr.'....| -00000010 d3 44 f2 20 88 e4 c2 8b 61 86 5c 15 03 03 00 12 |.D. ....a.\.....| -00000020 35 ab f5 f6 92 f9 db 23 bf f1 8e e8 65 62 cf 48 |5......#....eb.H| -00000030 91 9d |..| +00000000 17 03 03 00 16 92 d2 88 0c 8a ac 62 fe fd d5 d4 |...........b....| +00000010 fd 98 b2 60 02 97 a2 80 d7 5f f9 15 03 03 00 12 |...`....._......| +00000020 e9 3d 30 95 1b f8 fd 05 3b ba ac af f9 66 f7 ac |.=0.....;....f..| +00000030 e5 ec |..| diff --git a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-22 b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-22 index 13f97fa8..c938f844 100644 --- a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-22 +++ b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 35 02 00 00 31 03 03 bb 35 55 52 fc |....5...1...5UR.| -00000010 b0 8e e0 9c ea 9b f1 24 33 dd c0 8c 0c 54 cd 41 |.......$3....T.A| -00000020 a8 d3 17 cb a6 20 b3 7d 77 a5 c0 00 00 9c 00 00 |..... .}w.......| +00000000 16 03 03 00 35 02 00 00 31 03 03 bc 0c a2 7d e4 |....5...1.....}.| +00000010 30 31 89 6f 0f ff 73 29 d8 c6 b0 d3 2f 4b b2 34 |01.o..s)..../K.4| +00000020 40 0d 81 2e e5 26 7f 84 78 d7 65 00 00 9c 00 00 |@....&..x.e.....| 00000030 09 ff 01 00 01 00 00 23 00 00 16 03 03 02 59 0b |.......#......Y.| 00000040 00 02 55 00 02 52 00 02 4f 30 82 02 4b 30 82 01 |..U..R..O0..K0..| 00000050 b4 a0 03 02 01 02 02 09 00 e8 f0 9d 3f e2 5b ea |............?.[.| @@ -66,28 +66,28 @@ 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 28 11 |.....(........(.| -000000a0 3b 1d 65 2b f8 77 28 d8 0f 14 44 d0 ba 43 f3 ba |;.e+.w(...D..C..| -000000b0 d5 f0 fa 17 08 c2 2a fb 8e e1 36 a4 45 e6 |......*...6.E.| +00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 d7 4e |.....(.........N| +000000a0 96 9f 8c 5b 96 b0 cd 06 08 5b 08 82 f7 06 71 ba |...[.....[....q.| +000000b0 fd 50 1e b3 0e b9 d9 55 c0 72 a7 40 dc 45 |.P.....U.r.@.E| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 03 |............ ...| -00000010 1b ee a7 ad 6a d0 09 43 f8 fb 46 29 d5 99 53 bc |....j..C..F)..S.| -00000020 a7 38 be 06 2c c4 25 ad 0d ba a9 6b 2f 29 0f 28 |.8..,.%....k/).(| -00000030 6b bf 4b e5 d8 60 bb 6c 74 af 13 2d 80 d2 54 52 |k.K..`.lt..-..TR| -00000040 11 ad fd 4a 95 1e ca a3 38 cb 50 c7 94 ae dd 35 |...J....8.P....5| -00000050 2b ff a9 51 14 80 b2 d8 6c 79 92 d9 3e 0c 12 db |+..Q....ly..>...| -00000060 dc cb c6 72 45 07 9b 57 9f 30 0e fd 1c 6d c5 68 |...rE..W.0...m.h| -00000070 95 d1 c1 e0 0f 28 c9 d5 c4 80 f5 15 d9 01 e5 3e |.....(.........>| -00000080 60 3d 54 15 eb 9c 1c 84 69 20 e4 01 c8 8b 3f d4 |`=T.....i ....?.| -00000090 31 00 c0 e3 f5 8f 55 78 19 96 ee 50 8f 45 96 8b |1.....Ux...P.E..| -000000a0 ee 66 05 0d 03 4f 85 40 60 cc b0 38 18 e1 d6 14 |.f...O.@`..8....| -000000b0 03 03 00 01 01 16 03 03 00 28 43 2a 70 4a 4a bd |.........(C*pJJ.| -000000c0 e0 85 a3 db 9f 4e c5 34 22 7b c0 f5 22 8a 7a 6b |.....N.4"{..".zk| -000000d0 df f7 9b 9d be 2d ab 24 ea df 9e 25 48 69 15 ad |.....-.$...%Hi..| -000000e0 19 95 |..| +00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 86 |............ ...| +00000010 4f 26 8d a8 af a3 9a 64 4b 91 0c db a1 ff 65 88 |O&.....dK.....e.| +00000020 cc bb 41 20 fd 8d 47 1f 8d 47 fb f7 e8 f0 af 92 |..A ..G..G......| +00000030 13 8e f6 67 a7 10 42 f1 60 1f 3a 72 eb 04 5b 61 |...g..B.`.:r..[a| +00000040 18 9f 71 76 f5 67 fd 45 05 15 21 2f f7 85 23 d2 |..qv.g.E..!/..#.| +00000050 23 90 b3 ec 68 0a 63 da bc 38 f2 77 59 7f 3e d1 |#...h.c..8.wY.>.| +00000060 9e af 20 a4 ee ae 62 12 7b 52 90 b3 e0 a0 b2 23 |.. ...b.{R.....#| +00000070 49 d6 8f a5 bc 8e 6e cd 54 45 ae 1e 32 b0 3f fd |I.....n.TE..2.?.| +00000080 f7 51 8b 90 3c f6 6f c7 54 d4 16 93 65 eb d7 17 |.Q..<.o.T...e...| +00000090 30 84 56 13 f2 6c ac 8e 43 1c d5 c9 f9 d5 63 f5 |0.V..l..C.....c.| +000000a0 68 0c 97 70 23 81 f2 9c be 7e 8f 9a c2 e5 12 14 |h..p#....~......| +000000b0 03 03 00 01 01 16 03 03 00 28 4c 5c 3c c7 51 a7 |.........(L\<.Q.| +000000c0 02 ec a4 01 fe 64 e4 64 ad 7d 40 a8 b0 4f 6f e1 |.....d.d.}@..Oo.| +000000d0 6a 87 cf e4 c5 ae 3a 1c d2 a3 13 50 c1 1e 7b 8c |j.....:....P..{.| +000000e0 b1 01 |..| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 ae fe 6d |...............m| -00000010 32 9d de 65 6b 94 67 50 09 9e 8d 2c 7d 3c 9b e8 |2..ek.gP...,}<..| -00000020 44 ad 53 15 03 03 00 1a 00 00 00 00 00 00 00 02 |D.S.............| -00000030 58 e8 7c 80 9a 72 19 f1 05 d4 98 c4 4e 07 a9 c7 |X.|..r......N...| -00000040 fe 6c |.l| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 f2 95 6c |...............l| +00000010 53 47 5d f1 43 5c 8b b7 af 40 7a 4d 94 01 32 c5 |SG].C\...@zM..2.| +00000020 68 a9 99 15 03 03 00 1a 00 00 00 00 00 00 00 02 |h...............| +00000030 ee af 11 30 4c 1c 7b f7 08 8f 6e f5 04 dd a7 44 |...0L.{...n....D| +00000040 03 2c |.,| diff --git a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-23 b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-23 index 9e83e538..79fc62a2 100644 --- a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-23 +++ b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Android-23 @@ -12,9 +12,9 @@ 000000a0 73 70 64 79 2f 38 2e 31 00 0b 00 02 01 00 00 0a |spdy/8.1........| 000000b0 00 06 00 04 00 17 00 18 |........| >>> Flow 2 (server to client) -00000000 16 03 03 00 39 02 00 00 35 03 03 d9 d3 7e b9 75 |....9...5....~.u| -00000010 9b 9d ee 39 bc 4a 2e 77 63 c6 c9 5f 8a 8b 17 75 |...9.J.wc.._...u| -00000020 37 bf 42 4d 00 c2 84 15 16 50 47 00 00 9c 00 00 |7.BM.....PG.....| +00000000 16 03 03 00 39 02 00 00 35 03 03 44 33 59 e4 9d |....9...5..D3Y..| +00000010 c6 26 6e e6 64 e0 3c 0b 44 d5 d3 44 f5 d9 1d 92 |.&n.d.<.D..D....| +00000020 a5 93 dd 8b c0 18 40 8e 15 a9 8d 00 00 9c 00 00 |......@.........| 00000030 0d ff 01 00 01 00 00 23 00 00 00 17 00 00 16 03 |.......#........| 00000040 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000050 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -65,29 +65,29 @@ 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 de 16 |.....(..........| -000000a0 7d af 23 0e b2 12 a3 45 4e bf df 67 fa 75 2b 76 |}.#....EN..g.u+v| -000000b0 9a a1 c0 2b 12 a7 0f 55 27 cc d2 b3 b7 c3 |...+...U'.....| +00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 87 99 |.....(..........| +000000a0 2a c1 32 6b b3 4d 19 33 37 b8 88 94 20 d4 85 9a |*.2k.M.37... ...| +000000b0 4c ba a9 4b 9a e5 cf 58 14 25 fa a1 bc ea |L..K...X.%....| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 a9 |............ ...| -00000010 6a 44 3c 2e 54 6b f6 9f 2a ee 56 35 4d d2 f4 d3 |jD<.Tk..*.V5M...| -00000020 2a cc db b6 9b 0f 0a db a1 34 1b 41 3c 0b f5 f9 |*........4.A<...| -00000030 c1 55 9b 51 8c fe b6 dc 7c 9a 70 f2 53 6b f6 fb |.U.Q....|.p.Sk..| -00000040 99 71 df d7 3c 68 55 37 31 b0 04 ff 3b 97 26 e6 |.q...Gu .| -000000c0 03 03 00 01 01 16 03 03 00 28 36 04 d6 29 4d c7 |.........(6..)M.| -000000d0 08 23 9b a0 f2 e4 17 c5 b9 ce b1 c4 80 8e d7 a2 |.#..............| -000000e0 61 bb 4b 18 ef 7e f2 fa 9b 61 41 5d 74 80 3c 6a |a.K..~...aA]t.C.| +00000090 81 df 47 13 5f e5 27 46 2d d5 88 9d c3 ba f3 c9 |..G._.'F-.......| +000000a0 3a c0 f2 bc 21 8a 9a f5 cb 05 35 ea 0f b2 85 bc |:...!.....5.....| +000000b0 15 a2 23 8b 13 d8 aa b1 9b 5a e6 6f c7 aa 69 14 |..#......Z.o..i.| +000000c0 03 03 00 01 01 16 03 03 00 28 b1 49 60 5e e2 a6 |.........(.I`^..| +000000d0 7b 89 a3 8f b3 a5 64 7e 49 20 05 f8 ce 3a 1a 3f |{.....d~I ...:.?| +000000e0 61 f7 f6 64 66 da 8d 1a 8a 18 d1 37 1e 88 be 57 |a..df......7...W| +000000f0 a3 d6 |..| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 e4 a0 c1 |................| -00000010 90 b2 33 ba d1 e6 c5 0c b3 04 80 40 e5 d5 a2 01 |..3........@....| -00000020 5d 3b 9d 15 03 03 00 1a 00 00 00 00 00 00 00 02 |];..............| -00000030 23 5b 88 2e a1 91 9f d6 90 19 a8 4f 5b 97 62 0f |#[.........O[.b.| -00000040 cb 5e |.^| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 12 e5 a1 |................| +00000010 00 6c ce c9 2c 35 67 d8 5a 7e b4 15 2a 9d d7 df |.l..,5g.Z~..*...| +00000020 7b 39 b6 15 03 03 00 1a 00 00 00 00 00 00 00 02 |{9..............| +00000030 9d 15 09 fc 4b 0f 2d 90 2c 83 55 80 07 e6 3f f0 |....K.-.,.U...?.| +00000040 18 26 |.&| diff --git a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Chrome-58 b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Chrome-58 index a58a4b9f..2927fa2f 100644 --- a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Chrome-58 +++ b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Chrome-58 @@ -12,9 +12,9 @@ 000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 0a |P...............| 000000b0 0a 00 1d 00 17 00 18 1a 1a 00 01 00 |............| >>> Flow 2 (server to client) -00000000 16 03 03 00 39 02 00 00 35 03 03 56 3e e8 d2 37 |....9...5..V>..7| -00000010 c4 53 92 15 53 48 83 24 f6 b3 89 ee 85 04 c6 3d |.S..SH.$.......=| -00000020 f4 b6 77 18 89 40 9f 07 97 01 a0 00 00 9c 00 00 |..w..@..........| +00000000 16 03 03 00 39 02 00 00 35 03 03 2a 43 8e e4 6e |....9...5..*C..n| +00000010 dd 15 67 db 8e 59 bc c3 14 49 28 e1 10 d8 3d 4f |..g..Y...I(...=O| +00000020 f2 ba d0 fb 55 a5 23 17 ee 34 ee 00 00 9c 00 00 |....U.#..4......| 00000030 0d ff 01 00 01 00 00 23 00 00 00 17 00 00 16 03 |.......#........| 00000040 03 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..| 00000050 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............| @@ -65,29 +65,29 @@ 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 05 d4 |.....(..........| -000000a0 5b bd 16 c0 cc d9 ba 9a a1 14 b7 ec ef 87 06 5b |[..............[| -000000b0 46 2d 28 29 58 1d 8e 9e ca c7 b3 92 34 e2 |F-()X.......4.| +00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 fc 05 |.....(..........| +000000a0 d1 83 c1 43 ec b6 25 cb ae 99 f5 5e 7c a6 a2 09 |...C..%....^|...| +000000b0 42 4b b7 f2 e9 25 9c bd a3 09 ba e1 ba 0d |BK...%........| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 a5 |............ ...| -00000010 15 2a d1 ca 9d b7 c5 9f 0e f0 31 2f 4d ba a4 8a |.*........1/M...| -00000020 74 ca 26 3e 9b bc 32 d1 46 6a 8f 6a a8 dc 9f 35 |t.&>..2.Fj.j...5| -00000030 14 97 b4 67 6b 07 63 f2 53 2a 66 02 7f 23 84 c0 |...gk.c.S*f..#..| -00000040 e9 42 29 97 79 a0 c6 3e 3f 92 57 67 01 88 cf b3 |.B).y..>?.Wg....| -00000050 35 ed b4 29 b9 da d2 f3 50 bc af cf 94 61 ad f8 |5..)....P....a..| -00000060 84 05 67 38 3c 62 0e 49 de d4 ad 59 9f 41 1e a9 |..g8>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 0f 1b 9f |................| -00000010 46 35 89 91 24 6b 97 2f eb 8c ff 58 f2 3a ee fe |F5..$k./...X.:..| -00000020 21 ca 8e 15 03 03 00 1a 00 00 00 00 00 00 00 02 |!...............| -00000030 36 f0 77 18 89 9f bf fa cd a0 14 b1 6e 24 7d 97 |6.w.........n$}.| -00000040 a5 ec |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 31 b1 c0 |.............1..| +00000010 10 cf a7 64 04 03 f8 1c e5 ed a2 85 80 28 fb b9 |...d.........(..| +00000020 9f 28 ba 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.(..............| +00000030 1d 43 d2 78 e4 de 78 f9 ab 2d ba e3 c7 f2 0a d8 |.C.x..x..-......| +00000040 b3 67 |.g| diff --git a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Golang-0 b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Golang-0 index a4bd825c..06d89962 100644 --- a/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Golang-0 +++ b/testdata/Client-TLSv12-UTLS-AES128-GCM-SHA256-Golang-0 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 51 02 00 00 4d 03 03 13 c0 56 5e 7b |....Q...M....V^{| -00000010 6b d2 3a 83 6d 46 ae f5 10 e2 ea f3 85 d8 de cd |k.:.mF..........| -00000020 34 0b 59 1a 1d 80 34 29 95 90 83 20 1e c5 3c f7 |4.Y...4)... ..<.| -00000030 34 4e 28 8a 7d d7 db 6c 23 34 db d1 9b 45 04 d9 |4N(.}..l#4...E..| -00000040 7b 8f 6e af 07 9a c2 82 9f 30 40 27 00 9c 00 00 |{.n......0@'....| +00000000 16 03 03 00 51 02 00 00 4d 03 03 51 12 cc 2a 1b |....Q...M..Q..*.| +00000010 8b 7c 80 a2 77 de 87 93 f4 82 77 21 04 14 95 38 |.|..w.....w!...8| +00000020 fd c6 2f f4 17 8b e0 75 ce 89 4e 20 30 b7 55 b0 |../....u..N 0.U.| +00000030 83 93 8d 5d ec 9f 7c 8c 10 d0 0d 4e 94 32 5a cf |...]..|....N.2Z.| +00000040 5e 8d cc 1b c4 75 17 5f 24 fa 13 0d 00 9c 00 00 |^....u._$.......| 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..| @@ -64,17 +64,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 11 f8 |.....(..........| -000000a0 30 b4 6c 50 fe 91 52 2e 9a 0e f2 b8 93 6e ca 09 |0.lP..R......n..| -000000b0 70 f1 68 94 7f f6 6c 31 dd d8 3f 9e a8 50 |p.h...l1..?..P| +00000090 01 16 03 03 00 28 00 00 00 00 00 00 00 00 11 55 |.....(.........U| +000000a0 a7 e3 e1 ad 7f 61 9b 09 f3 06 be d8 05 86 1e 65 |.....a.........e| +000000b0 bd 16 47 13 9c 17 ce fc e5 40 e8 64 3e d6 |..G......@.d>.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 f7 24 39 8c 0d |..........(.$9..| -00000010 c7 e5 7f 45 b5 c5 62 45 97 7a f8 7b cb 88 b5 c0 |...E..bE.z.{....| -00000020 92 3b 7e 7d 9d a5 59 34 f7 74 4e a5 80 70 19 59 |.;~}..Y4.tN..p.Y| -00000030 ee 62 74 |.bt| +00000000 14 03 03 00 01 01 16 03 03 00 28 d1 9f 63 f8 33 |..........(..c.3| +00000010 bb b1 db e7 32 1a c5 83 59 3e c9 a9 ce 9c 7a 66 |....2...Y>....zf| +00000020 56 a4 7d 6f d7 a6 6a 8e 05 4a 3b cd 1d a0 66 9e |V.}o..j..J;...f.| +00000030 66 61 e0 |fa.| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 3f b7 b0 |.............?..| -00000010 ef cb cc aa 8c 9a 19 68 32 bd 0e a2 b6 65 ee c7 |.......h2....e..| -00000020 44 4c 45 15 03 03 00 1a 00 00 00 00 00 00 00 02 |DLE.............| -00000030 19 b5 61 23 31 a5 40 c8 c0 61 d6 65 5a 61 c5 31 |..a#1.@..a.eZa.1| -00000040 2a 9e |*.| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 92 0d 47 |...............G| +00000010 ac aa 60 4d df 84 db 41 cc 9e 7b dd e0 d5 63 fe |..`M...A..{...c.| +00000020 8d 6f 3e 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.o>.............| +00000030 68 de a9 3b a0 ed 1d 5a ef 67 11 59 86 04 d3 ed |h..;...Z.g.Y....| +00000040 c7 ae |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Android-22 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Android-22 index 7d1a8c3d..9d5dc729 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Android-22 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 3d 02 00 00 39 03 03 b0 1e 5e bd ce |....=...9....^..| -00000010 10 96 ab 9f a5 ce ed 7f 1a 00 d2 5b 22 98 4d 0e |...........[".M.| -00000020 f3 4f 2b 39 e6 a3 83 fb fd e1 cc 00 c0 2b 00 00 |.O+9.........+..| +00000000 16 03 03 00 3d 02 00 00 39 03 03 91 a4 90 fc 0f |....=...9.......| +00000010 e5 78 77 da 45 5a 8f 5c f4 2c 32 40 18 bc 3f 37 |.xw.EZ.\.,2@..?7| +00000020 a7 0d 57 32 d1 0f 17 82 77 a4 ce 00 c0 2b 00 00 |..W2....w....+..| 00000030 11 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 16 03 03 02 0e 0b 00 02 0a 00 02 07 00 02 |................| 00000050 04 30 82 02 00 30 82 01 62 02 09 00 b8 bf 2d 47 |.0...0..b.....-G| @@ -51,48 +51,48 @@ 00000230 c9 86 2e dd d7 11 69 7f 85 7c 56 de fb 31 78 2b |......i..|V..1x+| 00000240 e4 c7 78 0d ae cb be 9e 4e 36 24 31 7b 6a 0f 39 |..x.....N6$1{j.9| 00000250 95 12 07 8f 2a 16 03 03 00 d7 0c 00 00 d3 03 00 |....*...........| -00000260 17 41 04 16 29 96 45 49 ab 23 ff 8b 86 0e e6 86 |.A..).EI.#......| -00000270 b7 2d d7 f4 a9 f0 84 ed dc 71 1a 09 1f 2f 41 ce |.-.......q.../A.| -00000280 e8 2c 99 17 94 5d bd 17 01 a4 1e 02 a7 26 9b b4 |.,...].......&..| -00000290 59 b3 1c 52 53 48 49 24 ef 7e eb 2a ec fb 2a 23 |Y..RSHI$.~.*..*#| -000002a0 01 1d 46 06 03 00 8a 30 81 87 02 42 00 ab 64 a2 |..F....0...B..d.| -000002b0 ab 9d f5 af 4d d2 07 db 9e bc d1 8f 87 f8 4b 19 |....M.........K.| -000002c0 0a 34 8d b2 26 55 da 79 14 93 e9 fa 14 49 46 a0 |.4..&U.y.....IF.| -000002d0 ef 1c 96 44 01 52 27 d3 e6 c0 5b 6a 99 0f 62 65 |...D.R'...[j..be| -000002e0 f7 84 93 86 db 5c 40 52 09 1a 99 e3 18 82 02 41 |.....\@R.......A| -000002f0 36 84 c0 e3 e3 b1 d7 54 51 bd 47 42 4e 11 e1 a1 |6......TQ.GBN...| -00000300 8b 44 56 f9 79 72 06 51 fd 61 87 c0 1c 0d dc 9e |.DV.yr.Q.a......| -00000310 09 fb f4 b0 79 5d f4 a9 e8 c0 19 32 e6 fc 9a b1 |....y].....2....| -00000320 98 82 0a e2 e6 4e da 7a 7f 7f a9 4b 22 e1 d1 09 |.....N.z...K"...| -00000330 93 16 03 03 00 04 0e 00 00 00 |..........| +00000260 17 41 04 62 1c 8d ea b4 c3 b5 09 34 4a e4 a0 51 |.A.b.......4J..Q| +00000270 a3 49 f0 40 1e 14 ea fb 87 c0 a4 26 22 26 97 d4 |.I.@.......&"&..| +00000280 bc 09 db 8b 53 8a 88 26 8e ce 8b 27 5d 4a ba 63 |....S..&...']J.c| +00000290 89 27 73 b6 a8 2d e0 46 7c 6a 1a cd e9 25 f6 9a |.'s..-.F|j...%..| +000002a0 a0 14 a2 06 03 00 8a 30 81 87 02 41 26 bc b0 aa |.......0...A&...| +000002b0 38 c4 56 51 3f 2a 23 fe 8a 4f 23 d7 87 8e 37 48 |8.VQ?*#..O#...7H| +000002c0 45 48 0a ed 5d 86 c5 e4 b1 0f 0b 20 85 f8 9d fc |EH..]...... ....| +000002d0 dd 9c 27 18 f6 8d 9a 77 6b ee 3a af 89 c0 99 8a |..'....wk.:.....| +000002e0 57 f0 2d 83 e6 b2 9f be 5c 4b f8 53 78 02 42 01 |W.-.....\K.Sx.B.| +000002f0 8c 10 88 cf 39 c8 53 0b 8f 8e 69 4f 03 87 a3 a6 |....9.S...iO....| +00000300 68 9c ff 3f 70 67 0b b1 d3 94 b0 c9 41 6b 1f 35 |h..?pg......Ak.5| +00000310 dd 69 45 f1 02 0f 97 e4 4a ef 92 3d 2b 7b 23 10 |.iE.....J..=+{#.| +00000320 78 36 bc 8a 42 3b af 65 16 a8 fb 4c 2a 00 45 32 |x6..B;.e...L*.E2| +00000330 9f 16 03 03 00 04 0e 00 00 00 |..........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| 00000020 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.| 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| -00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 e4 64 |.....(.........d| -00000060 0c c2 69 e8 b4 b2 50 69 7a f0 79 98 40 f6 4e 17 |..i...Piz.y.@.N.| -00000070 28 62 97 3e da 3e 9b 4d f1 bc 65 de 20 e4 |(b.>.>.M..e. .| +00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 14 01 |.....(..........| +00000060 05 1a 65 d7 f5 67 58 2f 68 c7 b7 2c 09 1d 2e 66 |..e..gX/h..,...f| +00000070 46 75 25 4d 0d b1 a2 98 f5 86 82 0d 1f c8 |Fu%M..........| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 29 |............ ..)| -00000010 eb 67 10 8d 6a 56 56 fc 88 c3 fb 79 de 58 20 1b |.g..jVV....y.X .| -00000020 6a df bc 3b de 7e b2 ac 6e 05 27 ec 5e 26 a4 5a |j..;.~..n.'.^&.Z| -00000030 49 3c 70 98 ad 81 ad f9 b2 d0 d3 cb 84 44 22 d2 |I*._5.h....| -00000080 52 ba a5 c5 21 50 f0 a9 17 f9 96 b5 7a 97 11 fa |R...!P......z...| -00000090 a5 f6 99 55 c0 45 f0 6a 50 0d 8c 9f ac 71 ff d0 |...U.E.jP....q..| -000000a0 ad c9 80 6f 54 dd 8a d9 1f 91 95 5d 76 ff 49 14 |...oT......]v.I.| -000000b0 03 03 00 01 01 16 03 03 00 28 af 3c b6 6c 3f 6e |.........(.<.l?n| -000000c0 2e 58 30 4e e8 3a 11 7e c1 c0 03 96 81 2f 10 29 |.X0N.:.~...../.)| -000000d0 a0 1f 17 16 44 ee c1 a3 12 b6 a9 b5 0b 5f 40 a7 |....D........_@.| -000000e0 96 fe |..| +00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 8c |............ ...| +00000010 fb 95 45 df 07 d9 99 f9 c6 e2 c9 61 70 1a 1f 54 |..E........ap..T| +00000020 1a 6d 6c 20 b9 18 4f 1b bb 80 ab a7 ce ca 16 4f |.ml ..O........O| +00000030 52 96 c9 8e 58 0e 76 67 08 ed ae 12 4f a4 20 d1 |R...X.vg....O. .| +00000040 ad d6 0f 57 d8 b9 d9 13 ae 91 72 49 88 0d 97 77 |...W......rI...w| +00000050 5c 23 1d 54 e5 82 ae 4f a8 3f a4 07 7c 76 c7 00 |\#.T...O.?..|v..| +00000060 95 1e bb 86 cd 15 d1 77 5d cf fd 70 f6 93 cc 67 |.......w]..p...g| +00000070 6d 7e cf 64 02 14 a7 ab 6b fd 2d b2 6e 8c 5e 74 |m~.d....k.-.n.^t| +00000080 34 51 19 00 72 dc b8 6a c8 78 56 2c 6a 7d 3d 99 |4Q..r..j.xV,j}=.| +00000090 81 7a ff 52 6a 17 bf 06 5a ae 46 49 92 93 8b e6 |.z.Rj...Z.FI....| +000000a0 1a 1b a7 36 a0 61 17 7b 49 0a c5 62 3f 58 a0 14 |...6.a.{I..b?X..| +000000b0 03 03 00 01 01 16 03 03 00 28 1d 8b 89 26 21 a4 |.........(...&!.| +000000c0 00 80 78 36 d3 ad 3e 90 83 71 ce c3 31 80 71 6a |..x6..>..q..1.qj| +000000d0 58 2b a1 dd 1b d9 6a 72 4f b2 ac 08 04 d0 19 a7 |X+....jrO.......| +000000e0 34 31 |41| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 16 49 09 |..............I.| -00000010 3f eb dc 1d f2 2f d3 ac b8 4f a8 01 ae 4c 5a 2b |?..../...O...LZ+| -00000020 0b 53 84 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.S..............| -00000030 d3 c7 42 26 d2 a2 f0 77 aa 5f 5d 05 d1 de f8 f6 |..B&...w._].....| -00000040 f3 26 |.&| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 51 5c 14 |.............Q\.| +00000010 4a 5c 67 20 a8 24 19 14 ac 0b b5 fd 7d dc fd 03 |J\g .$......}...| +00000020 d4 75 dd 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.u..............| +00000030 fa 21 e7 13 10 73 b4 66 1a 95 0a f6 ea 5c fe d0 |.!...s.f.....\..| +00000040 e9 c7 |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Firefox-55 index 30275281..9181af92 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 61 1f 97 17 77 |....A...=..a...w| -00000010 55 02 ee dc 63 84 03 a3 7e cd 60 7a 96 fd 86 d1 |U...c...~.`z....| -00000020 9d ee 7c ea 22 da 19 b8 60 ce c7 00 c0 2b 00 00 |..|."...`....+..| +00000000 16 03 03 00 41 02 00 00 3d 03 03 fe e0 dc 36 bf |....A...=.....6.| +00000010 ee 4e 73 26 5c 4c 54 55 50 d9 99 55 68 08 72 e4 |.Ns&\LTUP..Uh.r.| +00000020 d5 5d 8a d0 98 bf e0 a6 e4 41 5a 00 c0 2b 00 00 |.].......AZ..+..| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 0e 0b 00 02 0a 00 |................| 00000050 02 07 00 02 04 30 82 02 00 30 82 01 62 02 09 00 |.....0...0..b...| @@ -50,45 +50,45 @@ 00000230 7a f6 ec 7a c9 86 2e dd d7 11 69 7f 85 7c 56 de |z..z......i..|V.| 00000240 fb 31 78 2b e4 c7 78 0d ae cb be 9e 4e 36 24 31 |.1x+..x.....N6$1| 00000250 7b 6a 0f 39 95 12 07 8f 2a 16 03 03 00 b6 0c 00 |{j.9....*.......| -00000260 00 b2 03 00 1d 20 12 89 00 88 67 b3 12 37 cf b5 |..... ....g..7..| -00000270 c5 26 da 3d 73 37 b9 e4 1a 3a e2 4a c1 cd e2 09 |.&.=s7...:.J....| -00000280 27 a5 cd df 51 07 04 03 00 8a 30 81 87 02 41 6c |'...Q.....0...Al| -00000290 4e 32 d9 e6 a9 04 03 5c 74 7b 92 a8 2e 2b 0b da |N2.....\t{...+..| -000002a0 c1 bb fe 72 62 cc 56 5c 01 88 fc a7 59 d0 07 af |...rb.V\....Y...| -000002b0 a3 36 fc aa da 5a 1e 75 e1 88 78 22 0e ed fc 5a |.6...Z.u..x"...Z| -000002c0 42 5c 94 f3 3b 07 09 eb f2 9c 31 00 50 9a 52 4a |B\..;.....1.P.RJ| -000002d0 02 42 01 5b dc 11 e2 fd fb fd 72 97 0a ed 89 67 |.B.[......r....g| -000002e0 6f 66 1c fa 5b 5e 7b 4e 05 67 84 dd 06 b6 af e7 |of..[^{N.g......| -000002f0 35 b8 89 6e 46 4f 37 91 82 45 c1 86 7b 57 2f 4d |5..nFO7..E..{W/M| -00000300 44 fa 5b d4 85 3a 85 d2 10 e1 d3 6d 5d c3 69 ad |D.[..:.....m].i.| -00000310 9c ba d7 fa 16 03 03 00 04 0e 00 00 00 |.............| +00000260 00 b2 03 00 1d 20 c1 cc e8 a4 02 17 d9 f5 02 d7 |..... ..........| +00000270 06 c1 5d be c7 cc fa a3 f2 ac 35 01 35 a1 b8 0e |..].......5.5...| +00000280 c2 0d 27 0c d1 55 04 03 00 8a 30 81 87 02 42 01 |..'..U....0...B.| +00000290 6c f6 8a 34 8d ef 52 75 c4 30 d3 71 ac c4 8e 27 |l..4..Ru.0.q...'| +000002a0 cf 12 da c5 7d 5a 5c e4 b5 18 77 d0 e7 47 4f 82 |....}Z\...w..GO.| +000002b0 a7 bd 92 e0 da 09 28 9e 67 c6 b0 99 d4 c3 d7 8e |......(.g.......| +000002c0 2e 2f 4b e3 c3 df 29 31 b5 18 71 f6 9a cd 1e 9d |./K...)1..q.....| +000002d0 f8 02 41 41 3a 39 6b 78 8f ee 37 0b 35 85 df 66 |..AA:9kx..7.5..f| +000002e0 f8 5b ba 03 c2 74 9f f6 d2 e4 01 db 93 ff c2 ad |.[...t..........| +000002f0 57 c5 da 56 d7 c3 c7 75 5e c8 3c a5 0e 86 9c 66 |W..V...u^.<....f| +00000300 e7 99 ed 51 5e ad a2 79 49 80 ab 59 4f 72 33 cb |...Q^..yI..YOr3.| +00000310 7d 2f a8 48 16 03 03 00 04 0e 00 00 00 |}/.H.........| >>> 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 a6 db f6 |....(...........| -00000040 2c ed 79 2b 7c 0c 09 2b fb 41 ec 29 69 96 93 05 |,.y+|..+.A.)i...| -00000050 4e 30 45 01 6e 50 a9 f6 9a e8 f1 be fd |N0E.nP.......| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 b4 4a bb |....(.........J.| +00000040 e0 dd 8c be 2e da 63 3a 1f 58 d9 be 46 1d ea f0 |......c:.X..F...| +00000050 15 73 66 be b8 af fb 71 72 44 f1 cf a4 |.sf....qrD...| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 3d |............ ..=| -00000010 27 a0 ed 2f ad eb 98 f4 0a 5e 7e 0e 0e 58 85 b5 |'../.....^~..X..| -00000020 d2 20 d2 5a 97 65 38 c4 12 49 0f 52 46 b5 2c 81 |. .Z.e8..I.RF.,.| -00000030 b1 aa e2 e5 18 74 a9 60 25 c4 c5 6b 5e 62 44 47 |.....t.`%..k^bDG| -00000040 52 52 34 53 0a 18 96 81 d3 4a 5c ce 6e 78 2a 77 |RR4S.....J\.nx*w| -00000050 28 c7 99 e7 c3 fe 58 e3 cc 51 f1 24 be 84 7d a9 |(.....X..Q.$..}.| -00000060 4d 55 da a0 e5 7b 30 04 51 f0 8f b2 e8 3e ed 64 |MU...{0.Q....>.d| -00000070 cc 59 81 a6 74 38 90 40 b0 be 52 75 9c 90 fa dc |.Y..t8.@..Ru....| -00000080 a6 94 39 d9 5f 4d 26 0a 09 d9 1d 1e 04 21 3c 8b |..9._M&......!<.| -00000090 a8 4c c4 ba 74 75 d2 63 43 f2 bc 9c 46 23 13 7e |.L..tu.cC...F#.~| -000000a0 63 b6 47 70 1f 2d c0 16 56 44 1e 31 d0 cb ba f9 |c.Gp.-..VD.1....| -000000b0 4e 75 b4 c0 f6 f6 14 8f d0 a7 3d 2a 73 76 86 14 |Nu........=*sv..| -000000c0 03 03 00 01 01 16 03 03 00 28 27 92 fa 48 6a 48 |.........('..HjH| -000000d0 28 c8 bd 0a 27 b6 e9 ad e5 57 c6 2b e7 89 0f d3 |(...'....W.+....| -000000e0 8e b4 43 41 11 8a 84 7c e8 3c e1 16 58 32 ac e0 |..CA...|.<..X2..| -000000f0 4c d5 |L.| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 f9 |............ ...| +00000010 35 a1 2c f3 c0 3b d6 2a a6 aa 69 60 ef 02 49 ff |5.,..;.*..i`..I.| +00000020 e1 4b c3 03 d7 99 d0 07 0a dd 93 2b 1c b3 d8 52 |.K.........+...R| +00000030 9d bf 11 f8 f7 a5 01 16 0e 5e 3c 1d ef 41 e6 da |.........^<..A..| +00000040 9b a7 26 c9 f2 ca 16 98 bd a9 74 d9 6b 24 e2 cc |..&.......t.k$..| +00000050 0b 07 a3 b1 d8 e0 fc 68 39 3a aa a0 10 83 00 b0 |.......h9:......| +00000060 5e 79 eb 4d 11 95 07 53 b8 2e f8 ec d8 51 45 13 |^y.M...S.....QE.| +00000070 55 65 a7 1d 90 dc ff 3a df e3 a4 25 0a 85 a2 24 |Ue.....:...%...$| +00000080 e3 c2 78 31 51 98 e3 54 3f 04 49 40 5f 38 53 e6 |..x1Q..T?.I@_8S.| +00000090 bf 94 4f 42 19 35 48 cb c2 01 59 df 5e d1 76 50 |..OB.5H...Y.^.vP| +000000a0 9c eb 7d 0f 9a b6 85 f9 94 dd ac ac 07 2c 45 7c |..}..........,E|| +000000b0 22 6e 00 bf 77 4b bf 3d f0 68 61 2e 21 99 e7 14 |"n..wK.=.ha.!...| +000000c0 03 03 00 01 01 16 03 03 00 28 7b 7c b2 77 4b 94 |.........({|.wK.| +000000d0 a6 78 4f 90 82 9e c3 4d 37 7a a0 f0 19 1b 2f d1 |.xO....M7z..../.| +000000e0 24 13 d3 bf 63 2c 1f c5 e6 71 a0 b2 f8 30 0a e7 |$...c,...q...0..| +000000f0 a3 ef |..| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 8f be 47 |...............G| -00000010 9c a9 9a d5 3c 18 2f 8b af 5e 39 e4 6d 71 df 13 |....<./..^9.mq..| -00000020 33 0d 8e 15 03 03 00 1a 00 00 00 00 00 00 00 02 |3...............| -00000030 fd cd be 73 76 cb da 22 29 e0 fa f8 ff 8c 95 91 |...sv..").......| -00000040 89 e3 |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 47 e2 44 |.............G.D| +00000010 01 ff 5d dc e4 71 13 cb 23 70 fe 56 ad e4 84 8d |..]..q..#p.V....| +00000020 f4 5f 29 15 03 03 00 1a 00 00 00 00 00 00 00 02 |._).............| +00000030 0e 3d 51 c4 a0 ec 3e 2f c6 08 48 b6 58 e1 6b ff |.=Q...>/..H.X.k.| +00000040 c0 74 |.t| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Golang-0 index 250f6ed9..fd074118 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Golang-0 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-GCM-SHA256-Golang-0 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 6b 1c db bf 45 |....Y...U..k...E| -00000010 b8 70 49 9f a8 91 b0 ff 61 01 be 24 a5 89 b8 0c |.pI.....a..$....| -00000020 cf 40 25 41 d2 6c 66 9f cd 5a fe 20 a3 18 6e 83 |.@%A.lf..Z. ..n.| -00000030 42 74 cc b4 2a 60 c2 07 92 52 3b ae ec 4c 82 fd |Bt..*`...R;..L..| -00000040 49 e7 77 42 89 2c 5d 19 79 da 04 23 c0 2b 00 00 |I.wB.,].y..#.+..| +00000000 16 03 03 00 59 02 00 00 55 03 03 2c 2a a3 4e 84 |....Y...U..,*.N.| +00000010 a3 07 e3 5b f0 d0 60 bf ee 04 da b4 5d 00 d7 4f |...[..`.....]..O| +00000020 ca 98 a1 8e ba f1 af 18 db ac 3b 20 44 44 5f 79 |..........; DD_y| +00000030 7b 6f cd 5c b3 fc d5 84 ca 61 e8 83 a3 9c 1a b7 |{o.\.....a......| +00000040 fc ea 43 d5 79 49 9d ce 4f eb f8 6f c0 2b 00 00 |..C.yI..O..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....| @@ -49,34 +49,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 21 04 |*............ !.| -00000280 5a 58 27 ba 9c c8 1a 62 74 59 c3 1a c8 2b 95 6c |ZX'....btY...+.l| -00000290 c8 d0 ec 72 0a 52 61 b2 1b 71 be 0f af 51 04 03 |...r.Ra..q...Q..| -000002a0 00 8a 30 81 87 02 42 01 36 04 d8 59 cb 2a 7e 16 |..0...B.6..Y.*~.| -000002b0 6e 25 63 ce f1 7f 8e 79 12 c1 1e 3f 3b 46 65 e8 |n%c....y...?;Fe.| -000002c0 b9 ec 2e a7 cd ea ad 1c 60 7c a8 1e e2 3a 32 cd |........`|...:2.| -000002d0 92 c3 c2 f2 50 e4 76 f2 31 5a c1 52 75 53 87 41 |....P.v.1Z.RuS.A| -000002e0 d3 dd 09 c4 a5 a4 c7 c8 b8 02 41 4c 85 7a 75 c9 |..........AL.zu.| -000002f0 ca 9a bc ee 6a 6e 83 bc df dd 61 cd 88 f7 2e fa |....jn....a.....| -00000300 39 e4 81 65 ff 8b 57 4e 2b 98 4f 0b d7 d9 d0 83 |9..e..WN+.O.....| -00000310 d1 fe c5 cc 09 c8 ac 44 fe 9c ea 6c d8 0a 83 87 |.......D...l....| -00000320 c4 00 17 e5 bc 50 53 b6 18 1a 1c cc 16 03 03 00 |.....PS.........| -00000330 04 0e 00 00 00 |.....| +00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 b7 cc |*............ ..| +00000280 46 e3 23 b3 1e 9e 28 cb f4 6d ce 98 c9 a7 52 8c |F.#...(..m....R.| +00000290 7a 7d 6e f9 10 d2 bf 85 3f 6a 91 f4 cf 5b 04 03 |z}n.....?j...[..| +000002a0 00 8b 30 81 88 02 42 01 c1 8f 86 b2 a9 c9 32 5d |..0...B.......2]| +000002b0 72 66 f9 65 b1 47 8f 99 4f 0a 1e 80 4e 98 4d 91 |rf.e.G..O...N.M.| +000002c0 b2 a0 a9 60 a6 a0 a4 59 24 98 84 e9 16 2e 07 3c |...`...Y$......<| +000002d0 b4 b5 89 4d b7 bb ce fc f1 59 67 f7 4e 70 6c 00 |...M.....Yg.Npl.| +000002e0 a0 16 ea 1f f4 d3 cc 20 01 02 42 00 b5 17 59 43 |....... ..B...YC| +000002f0 bb 0d 57 68 dc 2a 7a e6 b9 0e 12 54 81 6a a0 27 |..Wh.*z....T.j.'| +00000300 f5 30 f5 4a f3 17 75 6b 3d 4d d5 e8 9d b9 5e 71 |.0.J..uk=M....^q| +00000310 a5 7a 9e fa 14 c5 4d 62 dd 0f 2d 5e e6 e2 39 a1 |.z....Mb..-^..9.| +00000320 8f b5 7a 1f 38 43 09 08 23 12 14 04 f6 16 03 03 |..z.8C..#.......| +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 28 00 00 00 00 00 00 00 00 c4 87 90 |....(...........| -00000040 4f e6 49 da 5f 32 1b 67 26 26 30 fd 22 d6 5d 4f |O.I._2.g&&0.".]O| -00000050 cf b6 d5 79 3b 2b 65 c0 d1 41 17 98 cb |...y;+e..A...| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 e2 31 93 |....(.........1.| +00000040 df 60 a1 2c 59 ea ae 27 1f d3 de f0 31 c9 3b cc |.`.,Y..'....1.;.| +00000050 4a 01 1d 42 c1 7d 14 0a dc 59 f8 6c ff |J..B.}...Y.l.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 6d da ea 36 1f |..........(m..6.| -00000010 3b c8 f6 3f 5d 68 ce b9 72 26 ec 98 dd bb 79 ee |;..?]h..r&....y.| -00000020 42 65 68 b7 27 3a c8 d8 32 15 42 0c b9 25 34 e0 |Beh.':..2.B..%4.| -00000030 dc e0 62 |..b| +00000000 14 03 03 00 01 01 16 03 03 00 28 ef b1 9d 8c 21 |..........(....!| +00000010 42 2a bf b6 1f fa e6 0a 55 a1 d1 7d 20 b2 f8 de |B*......U..} ...| +00000020 0e a9 9e 7c 7a 12 28 7e 88 12 d5 8b ad 35 ce b4 |...|z.(~.....5..| +00000030 97 0d 2a |..*| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 c2 9e 62 |...............b| -00000010 bd 21 2f f2 aa 0d 06 34 8f 3b 10 2f b7 21 b6 25 |.!/....4.;./.!.%| -00000020 d0 28 54 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.(T.............| -00000030 1c c0 66 43 5e 06 7c 5a 7a 26 1f 2e 4d a6 10 02 |..fC^.|Zz&..M...| -00000040 48 22 |H"| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 60 ce a6 |.............`..| +00000010 e2 24 31 d3 dd 45 8a be 1d 76 cd c3 90 4f 72 0f |.$1..E...v...Or.| +00000020 4a 2b 4f 15 03 03 00 1a 00 00 00 00 00 00 00 02 |J+O.............| +00000030 3a a9 2d f3 ea 30 69 8f f4 f7 38 dc de 5a 17 ff |:.-..0i...8..Z..| +00000040 14 12 |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Android-22 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Android-22 index 05195951..00700c53 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Android-22 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 3d 02 00 00 39 03 03 aa 0b 66 4f 8b |....=...9....fO.| -00000010 9e bd f6 a1 4b 39 37 4c b0 35 0a f7 c6 16 c7 9d |....K97L.5......| -00000020 f3 cd fd 52 01 30 20 b1 53 78 45 00 c0 09 00 00 |...R.0 .SxE.....| +00000000 16 03 03 00 3d 02 00 00 39 03 03 66 a8 f8 18 44 |....=...9..f...D| +00000010 e0 c9 f0 7f c9 24 0d 67 5f b0 8d 7d da ea 67 cf |.....$.g_..}..g.| +00000020 06 59 57 f8 83 dc bf d1 3b d9 b4 00 c0 09 00 00 |.YW.....;.......| 00000030 11 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 16 03 03 02 0e 0b 00 02 0a 00 02 07 00 02 |................| 00000050 04 30 82 02 00 30 82 01 62 02 09 00 b8 bf 2d 47 |.0...0..b.....-G| @@ -50,21 +50,21 @@ 00000220 8c 25 c1 33 13 83 0d 94 06 bb d4 37 7a f6 ec 7a |.%.3.......7z..z| 00000230 c9 86 2e dd d7 11 69 7f 85 7c 56 de fb 31 78 2b |......i..|V..1x+| 00000240 e4 c7 78 0d ae cb be 9e 4e 36 24 31 7b 6a 0f 39 |..x.....N6$1{j.9| -00000250 95 12 07 8f 2a 16 03 03 00 d8 0c 00 00 d4 03 00 |....*...........| -00000260 17 41 04 01 59 82 cd 13 71 72 9f 6c b3 8d eb c3 |.A..Y...qr.l....| -00000270 23 25 98 2f eb bc b8 1e d9 6f 84 56 b2 d5 aa f3 |#%./.....o.V....| -00000280 bc 12 66 8b 75 26 55 f8 df e1 ec 3b f3 76 43 ac |..f.u&U....;.vC.| -00000290 a3 8b 0e f0 2d 7f 16 46 37 04 a6 d2 23 50 49 95 |....-..F7...#PI.| -000002a0 fa fd 2a 06 03 00 8b 30 81 88 02 42 01 cd 8a 56 |..*....0...B...V| -000002b0 87 a9 ec a3 c3 c6 df 5b 82 8e ff 3c cd f5 33 01 |.......[...<..3.| -000002c0 0e 94 13 8b 45 9b ff 78 f5 c2 e0 d0 f8 17 fb d1 |....E..x........| -000002d0 cb a7 7f a4 37 2d 21 f4 1d e8 8f 19 99 8e 3a a7 |....7-!.......:.| -000002e0 a2 44 d5 38 59 e2 cc b4 81 b3 c6 4d e8 ba 02 42 |.D.8Y......M...B| -000002f0 00 90 a8 7f 12 f8 6a 9b 4b da 7c a7 c6 e4 4e 9d |......j.K.|...N.| -00000300 22 86 6a 0d 8d 9c e4 2d e5 6b 35 99 99 b7 28 99 |".j....-.k5...(.| -00000310 c4 0e 22 34 a5 18 cc 05 27 f9 64 ff 3a c8 bd 07 |.."4....'.d.:...| -00000320 d8 c0 ba 13 a1 0d e0 a1 53 e5 d8 52 e3 e3 b6 89 |........S..R....| -00000330 b2 bf 16 03 03 00 04 0e 00 00 00 |...........| +00000250 95 12 07 8f 2a 16 03 03 00 d7 0c 00 00 d3 03 00 |....*...........| +00000260 17 41 04 b4 ff 65 5c b7 68 36 96 1a 3a a4 3f 2d |.A...e\.h6..:.?-| +00000270 50 5b 60 25 e8 80 89 48 12 bc 7f a0 b6 0e f9 c9 |P[`%...H........| +00000280 9e d4 38 03 cb 01 9b 0e 1f 78 ed 88 5e 7b cb a9 |..8......x..^{..| +00000290 fe 07 4a 4b 65 ed f9 0f 3b 6d 59 4f 3c e1 d0 15 |..JKe...;mYO<...| +000002a0 27 d2 ab 06 03 00 8a 30 81 87 02 41 18 5c e1 40 |'......0...A.\.@| +000002b0 d0 51 a9 74 eb c2 07 8d bc 0f b1 66 ea e5 2c da |.Q.t.......f..,.| +000002c0 ae b9 c0 12 6d 2b 8b 2e ba 23 59 b7 9c 6c 13 2b |....m+...#Y..l.+| +000002d0 f1 68 f1 25 b5 fa 9d 02 5f fa 31 a5 72 e0 dc cb |.h.%...._.1.r...| +000002e0 7a a5 b9 44 2a 78 5a a4 d1 dc 96 d5 34 02 42 00 |z..D*xZ.....4.B.| +000002f0 a9 59 66 55 e2 64 01 c4 8a 17 58 62 c2 4d 16 68 |.YfU.d....Xb.M.h| +00000300 3a 95 77 55 02 2c c7 9e 63 be 8e dc 40 51 1c 37 |:.wU.,..c...@Q.7| +00000310 c2 3b 62 d1 02 65 19 08 a9 fa a9 7a 22 79 c4 09 |.;b..e.....z"y..| +00000320 79 82 c4 1e c3 fc 8f 70 b1 76 e5 09 b0 7d 1f 7b |y......p.v...}.{| +00000330 67 16 03 03 00 04 0e 00 00 00 |g.........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| @@ -72,32 +72,32 @@ 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| 00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........| -00000060 00 00 00 00 00 00 79 8e 76 fa be 2a 7a 0d 3c 91 |......y.v..*z.<.| -00000070 87 67 bf 54 09 0f 86 fa b4 ea 70 71 2c 4f f4 f5 |.g.T......pq,O..| -00000080 dd 71 44 22 a8 c2 30 db a7 d3 79 2d a5 28 b0 d8 |.qD"..0...y-.(..| -00000090 02 f5 6b dd d8 75 |..k..u| +00000060 00 00 00 00 00 00 06 6e 21 6b e6 a4 47 dd 92 d2 |.......n!k..G...| +00000070 bf 88 c5 02 59 82 04 83 d6 e4 cf d2 c8 70 71 8d |....Y........pq.| +00000080 7f 75 cf 9f fc 7b 47 72 9e 8c c0 04 40 ac 85 5d |.u...{Gr....@..]| +00000090 2f b9 11 9c c1 e2 |/.....| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 59 |............ ..Y| -00000010 cd 36 fc 38 70 4d ba 43 b8 7d 88 a5 98 54 bd 08 |.6.8pM.C.}...T..| -00000020 07 59 fd f0 81 e3 53 cc 6b de f5 5a 8f 08 b1 81 |.Y....S.k..Z....| -00000030 c3 e4 bb e8 19 c4 17 53 02 4e 35 69 37 a5 9c 4f |.......S.N5i7..O| -00000040 d0 0c 78 28 70 2a c8 62 3d 31 b9 3f da fa 85 b8 |..x(p*.b=1.?....| -00000050 25 f6 86 3d ed da 06 68 3c fa ad 6a 14 62 5a 74 |%..=...h<..j.bZt| -00000060 7a e6 4f 71 e1 86 b6 4c 89 51 1c 93 2d 79 17 4e |z.Oq...L.Q..-y.N| -00000070 b0 4f 39 f9 d2 18 c9 d9 5f 1a d4 41 a3 6c 46 a6 |.O9....._..A.lF.| -00000080 6c 88 74 a4 55 e3 09 3a 74 e2 44 c7 cf 79 41 f4 |l.t.U..:t.D..yA.| -00000090 14 c5 ef 62 53 16 ac 21 f9 2d 2d e3 7a 6b 68 2f |...bS..!.--.zkh/| -000000a0 16 b6 1f 81 78 92 de 84 db fa 81 e4 2c bc 5b 14 |....x.......,.[.| -000000b0 03 03 00 01 01 16 03 03 00 40 66 37 12 6f 82 17 |.........@f7.o..| -000000c0 38 f7 4b 29 f3 fe b1 9a c0 3d f2 13 ef 58 bd 19 |8.K).....=...X..| -000000d0 bc 8f 5f fd ea f6 dc cd 49 25 52 f8 28 8a cb 10 |.._.....I%R.(...| -000000e0 05 af 4d d0 cd c8 08 b4 42 ac a1 7f 79 cf 0e 10 |..M.....B...y...| -000000f0 77 cf cc ed 30 ae 4b df e2 65 |w...0.K..e| +00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 49 |............ ..I| +00000010 15 3b 9e e6 01 30 ab 0d 62 bd 99 f9 62 3e 3b 05 |.;...0..b...b>;.| +00000020 89 a1 c1 3e ec 6f 36 47 de 9f f6 47 43 c4 5b 13 |...>.o6G...GC.[.| +00000030 60 a4 ab 4a 9e 2e 32 1f 46 95 f6 00 91 06 53 20 |`..J..2.F.....S | +00000040 00 66 78 05 4a e1 f1 57 2c 9b 54 dd 61 da d9 e8 |.fx.J..W,.T.a...| +00000050 59 0f 45 13 b5 f7 90 6c c0 f4 c5 08 1c f5 b0 ef |Y.E....l........| +00000060 3e 39 0e eb 28 1e da 6a f5 c6 19 04 81 72 8c e0 |>9..(..j.....r..| +00000070 83 e8 50 c2 2c c0 3c 33 c6 94 bb 7f f8 80 df 0e |..P.,.<3........| +00000080 9d 3c 73 8c 30 51 97 c8 73 b1 15 75 22 ed dd e2 |.>> 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 f0 05 70 3c ca 23 4c c5 76 e1 c4 |.......p<.#L.v..| -00000020 0a 1f 34 6a 4c f1 bd 43 99 86 0e 74 65 11 47 49 |..4jL..C...te.GI| -00000030 db 5f f0 ea 30 15 03 03 00 30 00 00 00 00 00 00 |._..0....0......| -00000040 00 00 00 00 00 00 00 00 00 00 7d 0a 3b 9f 5f ec |..........}.;._.| -00000050 d8 60 36 65 e3 cf 91 99 22 c3 31 45 a9 a8 ad e4 |.`6e....".1E....| -00000060 71 96 1e 9f 2f 93 41 2f 02 67 |q.../.A/.g| +00000010 00 00 00 00 00 9b bb dd a6 4c d0 d0 bf 74 6e 9b |.........L...tn.| +00000020 42 ba b3 6f 94 96 97 b9 f3 2e bb 12 00 45 77 6f |B..o.........Ewo| +00000030 ca 06 1a 97 a3 15 03 03 00 30 00 00 00 00 00 00 |.........0......| +00000040 00 00 00 00 00 00 00 00 00 00 9a 5e 5a 4a 74 86 |...........^ZJt.| +00000050 25 a0 30 49 99 b0 ef 66 4e 30 f6 02 7d 72 4b f6 |%.0I...fN0..}rK.| +00000060 de 65 c7 a1 0a c3 d4 c7 00 e2 |.e........| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Firefox-55 index 225fdb70..bebf5d4f 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 40 5e 7d a2 2f |....A...=..@^}./| -00000010 56 d3 ec a1 e4 13 27 9b 3c df b6 7f 35 52 6c af |V.....'.<...5Rl.| -00000020 bd 0a 45 54 7f b3 ee 2b 3b 6f 7a 00 c0 09 00 00 |..ET...+;oz.....| +00000000 16 03 03 00 41 02 00 00 3d 03 03 ab dd 86 90 34 |....A...=......4| +00000010 82 c7 96 79 13 83 a5 fd 57 91 51 7b da 68 01 b7 |...y....W.Q{.h..| +00000020 cb 79 3d dd 7a 87 1b c9 5f 86 bf 00 c0 09 00 00 |.y=.z..._.......| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 0e 0b 00 02 0a 00 |................| 00000050 02 07 00 02 04 30 82 02 00 30 82 01 62 02 09 00 |.....0...0..b...| @@ -50,50 +50,50 @@ 00000230 7a f6 ec 7a c9 86 2e dd d7 11 69 7f 85 7c 56 de |z..z......i..|V.| 00000240 fb 31 78 2b e4 c7 78 0d ae cb be 9e 4e 36 24 31 |.1x+..x.....N6$1| 00000250 7b 6a 0f 39 95 12 07 8f 2a 16 03 03 00 b7 0c 00 |{j.9....*.......| -00000260 00 b3 03 00 1d 20 35 25 1b 03 1a 59 58 e2 df c0 |..... 5%...YX...| -00000270 ec b9 c2 6c 50 cc 51 46 9b b9 13 fa 8b 43 94 a4 |...lP.QF.....C..| -00000280 33 c2 d6 67 df 1f 04 03 00 8b 30 81 88 02 42 01 |3..g......0...B.| -00000290 d7 87 aa fd d2 10 0b 28 40 a2 48 33 28 78 e7 da |.......(@.H3(x..| -000002a0 6c 75 7a 7a 56 65 0a f6 a8 32 26 f5 82 62 d9 9c |luzzVe...2&..b..| -000002b0 32 b5 3e 0e 73 7b 82 ed 1b 5f a4 b2 61 3f 45 ad |2.>.s{..._..a?E.| -000002c0 0a a7 39 01 22 f3 54 68 6f 3b 3b c9 94 95 53 64 |..9.".Tho;;...Sd| -000002d0 1b 02 42 01 8b 56 2e 69 ce ff 49 98 ea 52 61 54 |..B..V.i..I..RaT| -000002e0 2c 47 46 c8 8b 9e 8d 13 5a 79 88 fd ab be bd ee |,GF.....Zy......| -000002f0 60 c6 51 d5 f8 15 1c 9f 73 1d e6 56 0d b7 10 07 |`.Q.....s..V....| -00000300 4d 53 23 6a c2 b8 bb d4 8f 13 3d 16 ab 5c 0e 40 |MS#j......=..\.@| -00000310 a7 a2 48 3d d7 16 03 03 00 04 0e 00 00 00 |..H=..........| +00000260 00 b3 03 00 1d 20 1c 1a bb c8 de d4 35 6c 8d 59 |..... ......5l.Y| +00000270 1b 94 ab 5d 62 7b d0 92 b7 8c f4 a6 da 2e 81 3c |...]b{.........<| +00000280 39 d5 37 1b 95 16 04 03 00 8b 30 81 88 02 42 00 |9.7.......0...B.| +00000290 ef dd 9d 69 31 ed 33 7c 0e 79 70 cd 7a da 14 e3 |...i1.3|.yp.z...| +000002a0 11 ce 8c db b0 4c f4 a5 3c f9 63 d3 de 78 92 ca |.....L..<.c..x..| +000002b0 c3 9f 96 3f 24 ec 38 07 9e ce 48 ba e1 b2 50 71 |...?$.8...H...Pq| +000002c0 9a d5 f3 19 b9 43 0e 66 f7 47 dc 98 61 33 81 4c |.....C.f.G..a3.L| +000002d0 f1 02 42 00 d2 5c 9f 8c cb c9 b1 27 37 8c da b0 |..B..\.....'7...| +000002e0 c3 15 52 6c 7c 9b bc 4a c1 2a 39 51 03 78 a9 ec |..Rl|..J.*9Q.x..| +000002f0 5e 69 66 07 f6 d7 1d f1 8d 6e c8 b4 95 e5 e6 26 |^if......n.....&| +00000300 6f 7d 18 24 af b8 56 5f 46 cd da aa 6c d0 4d b5 |o}.$..V_F...l.M.| +00000310 7e c5 3c c9 37 16 03 03 00 04 0e 00 00 00 |~.<.7.........| >>> 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 42 93 12 d9 39 bd 29 30 1a 86 98 |.....B...9.)0...| -00000050 25 74 39 a5 9d 70 68 b0 ca 32 63 5c df e0 f9 d0 |%t9..ph..2c\....| -00000060 b3 60 34 2a df 95 6c a8 cb 33 3f 26 cd 76 c9 ba |.`4*..l..3?&.v..| -00000070 c6 5e 27 c3 a0 |.^'..| +00000040 00 00 00 00 00 4b 10 7a 65 d1 81 3a ed ac b2 19 |.....K.ze..:....| +00000050 56 16 ac e1 d6 54 e6 2d 04 c2 e4 a1 08 36 bc 0b |V....T.-.....6..| +00000060 e6 32 6b f1 84 e7 23 41 6e 14 19 ac 56 0d 05 d1 |.2k...#An...V...| +00000070 54 0e 23 54 0e |T.#T.| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 81 |............ ...| -00000010 3f 1a 58 27 7c b4 f9 b8 99 27 80 0e c7 cc e1 e2 |?.X'|....'......| -00000020 1b 50 9b 53 30 f3 64 76 a9 19 37 6c e5 e9 cd 46 |.P.S0.dv..7l...F| -00000030 8a 12 a0 59 e9 29 95 26 01 8b 06 08 63 98 17 ca |...Y.).&....c...| -00000040 2a c2 85 1b 3f b1 bf d7 31 91 12 6f 33 1e 6f e0 |*...?...1..o3.o.| -00000050 76 72 72 33 09 65 e1 9d 89 b4 e3 19 3b 68 05 cc |vrr3.e......;h..| -00000060 ea 45 d1 ba ba 99 1a 9d f0 a1 8e 97 bc 64 2e 1e |.E...........d..| -00000070 35 01 50 31 7f 48 de f8 5f 13 d5 5b bf 80 a5 13 |5.P1.H.._..[....| -00000080 c3 b8 d3 dd 3c 55 30 2c b5 2c da 5f b1 b2 14 6d |....E........| +000000e0 7f a8 0f 7c 10 5f df 72 89 a3 e5 ca 88 a5 6f d8 |...|._.r......o.| +000000f0 22 57 18 f6 0d 94 96 31 94 5d 43 c8 2e 1a 48 9e |"W.....1.]C...H.| +00000100 25 09 21 2b dc a4 10 2b d1 27 |%.!+...+.'| >>> 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 88 9e 89 6e 41 59 52 36 06 78 cf |........nAYR6.x.| -00000020 28 5d cb c6 f8 5b 78 68 85 90 18 6d 2c 58 88 d2 |(]...[xh...m,X..| -00000030 2a 8e 9b 6a e5 15 03 03 00 30 00 00 00 00 00 00 |*..j.....0......| -00000040 00 00 00 00 00 00 00 00 00 00 e0 4f cc 03 9f 46 |...........O...F| -00000050 21 8a d9 73 17 0a 33 6d bb 3f 43 e5 fa 84 a1 80 |!..s..3m.?C.....| -00000060 d1 68 2b 1e e9 ac 06 e3 6d d1 |.h+.....m.| +00000010 00 00 00 00 00 83 ea f9 57 a2 fd 33 45 7a 94 ea |........W..3Ez..| +00000020 cb 3a 45 84 a0 ef 24 6c e8 7f f2 c3 6b 83 82 d2 |.:E...$l....k...| +00000030 0a cd 57 b3 22 15 03 03 00 30 00 00 00 00 00 00 |..W."....0......| +00000040 00 00 00 00 00 00 00 00 00 00 3a 35 3e 26 af c6 |..........:5>&..| +00000050 84 be c9 00 71 e3 1b a5 41 9b 4d cd 1c 9b b1 e2 |....q...A.M.....| +00000060 36 e0 f8 93 20 0f 33 34 8f a9 |6... .34..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Golang-0 index c1d726ba..65e645fa 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Golang-0 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES128-SHA-Golang-0 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 fe df 8a 55 4a |....Y...U.....UJ| -00000010 2e 00 71 40 be d3 e1 30 79 f4 68 a9 60 ce 1a 15 |..q@...0y.h.`...| -00000020 41 e2 aa 3a 4f 85 74 08 62 55 9c 20 7f 4f d8 a9 |A..:O.t.bU. .O..| -00000030 0c f9 b0 05 e9 08 65 dc 4c bd fc cb 3b 7d 08 f3 |......e.L...;}..| -00000040 0f 75 c7 5b 72 d9 19 88 96 1e 84 ff c0 09 00 00 |.u.[r...........| +00000000 16 03 03 00 59 02 00 00 55 03 03 e1 da 3b 6f eb |....Y...U....;o.| +00000010 2f 83 39 e2 9e 75 d5 37 18 40 ff a0 18 de c2 cb |/.9..u.7.@......| +00000020 f0 aa 70 7f 7a 6e 64 80 52 8f 74 20 3a 85 88 ac |..p.znd.R.t :...| +00000030 6c fa 15 f5 a9 35 0a d3 9d f8 f1 91 b2 4b 7f 60 |l....5.......K.`| +00000040 1f 2c 5a 07 ac 18 2e 70 9e b7 0e 1a c0 09 00 00 |.,Z....p........| 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....| @@ -49,39 +49,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 b7 0c 00 00 b3 03 00 1d 20 1e 4f |*............ .O| -00000280 3c de a3 4b f4 a4 ab a5 cd 51 4a fc b2 36 d2 4b |<..K.....QJ..6.K| -00000290 b4 c3 a2 6d cf 16 88 e4 28 7e 91 2d 17 42 04 03 |...m....(~.-.B..| -000002a0 00 8b 30 81 88 02 42 01 d1 96 f8 80 a6 53 82 c6 |..0...B......S..| -000002b0 c1 db 90 77 75 7b 85 cc e1 f9 a7 4b f1 32 68 15 |...wu{.....K.2h.| -000002c0 63 9d bd b1 1b f2 9c fc 67 3c e3 2c 6c a5 d5 b4 |c.......g<.,l...| -000002d0 a0 df b7 34 65 a4 e4 08 e4 42 e5 95 56 d0 27 53 |...4e....B..V.'S| -000002e0 02 61 e3 a9 aa d0 25 b4 f9 02 42 00 99 fa 8f 2b |.a....%...B....+| -000002f0 fc 5d 3e fa 23 94 2d a2 b4 c8 cb 59 f4 87 54 c8 |.]>.#.-....Y..T.| -00000300 be 2e 3b 38 13 15 b3 09 6c 99 b9 d1 81 7a a9 b5 |..;8....l....z..| -00000310 a9 e5 56 75 00 78 2a 0e b8 e5 eb 47 4b 26 04 c5 |..Vu.x*....GK&..| -00000320 e4 39 5d eb 06 75 e0 9e 1e 2e 09 42 e1 16 03 03 |.9]..u.....B....| -00000330 00 04 0e 00 00 00 |......| +00000270 2a 16 03 03 00 b6 0c 00 00 b2 03 00 1d 20 ea db |*............ ..| +00000280 39 68 ee e5 61 ff 27 7b 4c 0d 7b 6c fa 18 62 ce |9h..a.'{L.{l..b.| +00000290 4f e6 ea b1 7b 21 da 63 7d fd c3 58 89 23 04 03 |O...{!.c}..X.#..| +000002a0 00 8a 30 81 87 02 42 01 3f 63 b8 43 e1 d0 28 8d |..0...B.?c.C..(.| +000002b0 18 89 6e d8 a8 1e c4 d9 9e a3 0c ca 0e 72 b2 71 |..n..........r.q| +000002c0 da 0d da 51 4e f9 34 b6 59 73 5d 79 42 4e 00 d5 |...QN.4.Ys]yBN..| +000002d0 48 c9 e4 bc 21 d9 60 f9 d4 61 63 53 9a e8 56 99 |H...!.`..acS..V.| +000002e0 59 ed b8 f8 f9 30 18 87 85 02 41 75 db 74 d5 47 |Y....0....Au.t.G| +000002f0 19 a2 bf c5 b0 15 dc 51 de 6c ea 6b 39 13 9d 6b |.......Q.l.k9..k| +00000300 5c 15 7c 19 73 ae be ed ca 49 0d 05 10 2e f1 21 |\.|.s....I.....!| +00000310 97 70 6a 14 47 52 f8 fa 26 0f ab 92 6a 26 cd 2f |.pj.GR..&...j&./| +00000320 59 8c 84 5a d0 8c 22 bd d7 a3 2a 96 16 03 03 00 |Y..Z.."...*.....| +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 36 5d 90 bd cc e4 ff 83 ff 7f 1a |.....6].........| -00000050 9b bb ee cb 82 e3 5b 30 f2 35 7c f0 86 c1 c6 49 |......[0.5|....I| -00000060 b0 ab cf e5 05 d0 4c c9 34 a8 74 47 92 08 7c 56 |......L.4.tG..|V| -00000070 d3 ac ae 81 b9 |.....| +00000040 00 00 00 00 00 ce 7e 60 1b dd 2f 6c 48 5a a4 4c |......~`../lHZ.L| +00000050 16 ac a1 f6 02 8d 06 cc ab aa 8c 88 d6 16 24 83 |..............$.| +00000060 c5 64 2c 45 4a 61 56 e5 fb e6 f9 20 76 a5 59 ed |.d,EJaV.... v.Y.| +00000070 28 1e e0 32 14 |(..2.| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 40 dc f0 c9 f2 08 |..........@.....| -00000010 98 4e d6 21 7c 42 32 8e bb c1 54 92 b4 cc 4a 43 |.N.!|B2...T...JC| -00000020 36 b0 bb b8 0c 88 d4 06 3d 10 43 29 ab cb bd da |6.......=.C)....| -00000030 5a 8d ff 79 b4 66 6a c9 ff eb d8 df bb 3b 05 22 |Z..y.fj......;."| -00000040 27 35 f7 65 8f 43 ff 51 e8 c0 93 |'5.e.C.Q...| +00000000 14 03 03 00 01 01 16 03 03 00 40 25 6a 19 f7 c5 |..........@%j...| +00000010 a5 12 f0 5f 0c 85 d0 85 b5 09 a8 fb 44 fe d1 03 |..._........D...| +00000020 ad bf 2c 45 56 e0 cf cb d0 8c 4c 40 c8 fa 0a 31 |..,EV.....L@...1| +00000030 c5 83 0c 82 4c d2 37 7c 3d 93 3c f2 c0 22 1c 7a |....L.7|=.<..".z| +00000040 e1 3b 90 74 31 8a 98 57 fa ee 44 |.;.t1..W..D| >>> 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 08 56 21 5b 98 1e d2 a0 b3 91 dd |......V![.......| -00000020 b6 40 c7 ec 60 db a5 ce 3d 5e 09 16 37 74 b6 92 |.@..`...=^..7t..| -00000030 6e 08 ce 7e fa 15 03 03 00 30 00 00 00 00 00 00 |n..~.....0......| -00000040 00 00 00 00 00 00 00 00 00 00 79 8f 5a 05 e4 95 |..........y.Z...| -00000050 33 c7 bb aa eb e6 23 8f f0 48 99 8e 88 ba 91 4d |3.....#..H.....M| -00000060 20 5f 74 2c 62 d4 02 67 de 13 | _t,b..g..| +00000010 00 00 00 00 00 7e 1f 4f 5f c8 40 17 4e 20 96 73 |.....~.O_.@.N .s| +00000020 63 da 84 4f 3a 72 6f e7 66 af 89 b4 c1 20 73 b7 |c..O:ro.f.... s.| +00000030 e2 79 72 bc f3 15 03 03 00 30 00 00 00 00 00 00 |.yr......0......| +00000040 00 00 00 00 00 00 00 00 00 00 4b 49 0e 31 c9 37 |..........KI.1.7| +00000050 11 80 97 46 72 14 da 12 90 89 9e 41 78 61 99 55 |...Fr......Axa.U| +00000060 a5 d2 01 c1 fa 0e 44 b9 38 a0 |......D.8.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Android-22 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Android-22 index 49bfb2a0..260648dd 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Android-22 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 3d 02 00 00 39 03 03 c4 89 b5 89 c4 |....=...9.......| -00000010 de f2 9f 81 33 5e d7 f1 11 7a b9 ed c7 20 90 44 |....3^...z... .D| -00000020 11 67 22 a6 23 3a d2 f2 5c c3 5b 00 c0 0a 00 00 |.g".#:..\.[.....| +00000000 16 03 03 00 3d 02 00 00 39 03 03 b7 8d b4 6f 80 |....=...9.....o.| +00000010 57 b0 0f 47 5f 10 6b 26 f5 32 ea 85 ab 9f b3 d3 |W..G_.k&.2......| +00000020 c1 28 73 a7 b4 4f a8 0e e3 1c e6 00 c0 0a 00 00 |.(s..O..........| 00000030 11 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 16 03 03 02 0e 0b 00 02 0a 00 02 07 00 02 |................| 00000050 04 30 82 02 00 30 82 01 62 02 09 00 b8 bf 2d 47 |.0...0..b.....-G| @@ -51,20 +51,20 @@ 00000230 c9 86 2e dd d7 11 69 7f 85 7c 56 de fb 31 78 2b |......i..|V..1x+| 00000240 e4 c7 78 0d ae cb be 9e 4e 36 24 31 7b 6a 0f 39 |..x.....N6$1{j.9| 00000250 95 12 07 8f 2a 16 03 03 00 d7 0c 00 00 d3 03 00 |....*...........| -00000260 17 41 04 cd 0b 6a 41 b5 7d 65 42 24 33 d9 db a2 |.A...jA.}eB$3...| -00000270 ec 68 ed 47 9a e9 62 05 4a 6a 85 0f 6f d1 39 dc |.h.G..b.Jj..o.9.| -00000280 3e 3f e0 da b2 6e a8 c4 34 9e cb b2 68 b3 8c db |>?...n..4...h...| -00000290 02 89 d2 89 50 20 52 56 2e 54 7e 97 8c 94 2a a1 |....P RV.T~...*.| -000002a0 1c 3e c9 06 03 00 8a 30 81 87 02 41 36 30 8b 69 |.>.....0...A60.i| -000002b0 86 35 64 8e 10 a1 be 2b 87 79 4b 31 8a 5c eb f0 |.5d....+.yK1.\..| -000002c0 c8 8c 76 06 41 a7 05 47 b5 ed dc 2b 69 cc 74 4c |..v.A..G...+i.tL| -000002d0 90 fc 9e 5d c8 2f e3 ec 42 67 0c 2a a0 5d f7 9e |...]./..Bg.*.]..| -000002e0 09 40 9d 4e 64 31 0a 0b 95 e9 ef b1 99 02 42 01 |.@.Nd1........B.| -000002f0 56 7f 2c 24 46 7e 07 3d 71 a9 c4 3d 70 01 8d fd |V.,$F~.=q..=p...| -00000300 6e 4e 54 57 b9 a6 8f 60 f7 69 6c f2 49 67 f0 55 |nNTW...`.il.Ig.U| -00000310 e0 8b f1 f6 a9 66 d3 dc c9 e7 3e f4 70 0f 43 82 |.....f....>.p.C.| -00000320 ef e0 25 5e fa b7 62 90 43 69 c6 16 6d 95 23 a0 |..%^..b.Ci..m.#.| -00000330 a8 16 03 03 00 04 0e 00 00 00 |..........| +00000260 17 41 04 82 d7 25 b8 a7 72 cb ef 90 93 c7 28 dc |.A...%..r.....(.| +00000270 33 70 1f 26 ba 97 77 ce f0 67 39 b0 d7 99 df d8 |3p.&..w..g9.....| +00000280 11 1e 3a ef 65 b7 9e 81 06 c8 bf 56 40 54 71 7f |..:.e......V@Tq.| +00000290 28 04 a7 d7 66 57 09 19 4f 66 9a 55 02 d2 40 0c |(...fW..Of.U..@.| +000002a0 fd 65 a9 06 03 00 8a 30 81 87 02 41 7e 9b ff 08 |.e.....0...A~...| +000002b0 20 e8 18 fa b2 fe 66 c7 29 e9 c9 90 39 6c 64 ed | .....f.)...9ld.| +000002c0 5c 51 e8 89 62 03 af 6a a8 af e3 6d 22 bc 6e 86 |\Q..b..j...m".n.| +000002d0 e1 45 00 49 3a 5b fd dd 2d 09 43 1e bf a2 3e 0c |.E.I:[..-.C...>.| +000002e0 e5 e2 6f 1a 1e 98 47 1b fd 6a cc 1b e7 02 42 01 |..o...G..j....B.| +000002f0 56 b9 e4 6b bb ca 75 4a ee 88 01 19 a5 f1 7a df |V..k..uJ......z.| +00000300 59 75 8f 79 11 2e b1 8e e4 9c fe 0c ed 39 e4 ae |Yu.y.........9..| +00000310 4a 93 61 5a 47 a7 7f fe da 9d 84 ea c1 db 9b 27 |J.aZG..........'| +00000320 0f 31 a2 fe 00 fc a2 b3 38 bc 22 64 b4 fe fe d3 |.1......8."d....| +00000330 98 16 03 03 00 04 0e 00 00 00 |..........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| @@ -72,32 +72,32 @@ 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| 00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........| -00000060 00 00 00 00 00 00 81 ae 16 25 5b 42 e4 52 af 05 |.........%[B.R..| -00000070 1b dc 42 9f 9f e6 a7 5b e6 e8 65 ba 36 1a be 42 |..B....[..e.6..B| -00000080 8a 4a bc 26 66 b2 ab 89 a4 df 03 f6 cc d0 d8 08 |.J.&f...........| -00000090 44 3d 72 de ca 04 |D=r...| +00000060 00 00 00 00 00 00 e4 73 66 33 ec 9e 0c 2b 8a 5e |.......sf3...+.^| +00000070 83 a0 c9 a8 a6 a5 e0 24 6a a5 3b d4 99 95 6b ae |.......$j.;...k.| +00000080 3f 6a a7 39 24 e4 a4 a2 e0 90 c5 c0 5a d8 d1 5e |?j.9$.......Z..^| +00000090 a1 1c 47 82 e9 81 |..G...| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 de |............ ...| -00000010 00 66 6a 87 24 56 86 e8 e6 d0 4c 4e 0f 5a 75 cb |.fj.$V....LN.Zu.| -00000020 db 4e f9 73 6d f2 6e 5e 7d 90 76 93 14 ce ed 1f |.N.sm.n^}.v.....| -00000030 79 20 a2 dd 4b 23 55 7f 40 43 97 71 c8 be 5a 6b |y ..K#U.@C.q..Zk| -00000040 ed f6 f4 fb 95 e4 1e 07 9e 68 c1 0c fa b0 0f a0 |.........h......| -00000050 fa 71 e8 e2 33 d8 b9 7e f1 6f 0e 3f 5b 24 72 fb |.q..3..~.o.?[$r.| -00000060 50 eb 43 e4 73 82 fe 2d 58 1d 88 ba 40 62 69 c8 |P.C.s..-X...@bi.| -00000070 7a 82 6e ca 45 48 a5 17 37 ce a0 0f a6 a4 6c e4 |z.n.EH..7.....l.| -00000080 38 e7 41 3f e8 3d 7a 54 18 5f be 9d 85 85 4c 81 |8.A?.=zT._....L.| -00000090 db 9f db d9 24 7b 50 ee 0f 21 9f a3 2c 3c f5 fb |....${P..!..,<..| -000000a0 44 cc b5 00 73 12 80 e1 c5 7d 98 b6 7a d8 53 14 |D...s....}..z.S.| -000000b0 03 03 00 01 01 16 03 03 00 40 fc 1a 3e da 0d dd |.........@..>...| -000000c0 f8 77 6a b9 55 e4 50 0e 9e 26 2e e1 15 b5 a8 06 |.wj.U.P..&......| -000000d0 4d 70 dc 0e 69 36 1f d6 56 28 13 33 ae 64 9a 3d |Mp..i6..V(.3.d.=| -000000e0 a8 17 c7 20 9e d4 9c 94 b7 ae bb 93 82 33 60 d3 |... .........3`.| -000000f0 b9 02 c2 2f 60 6e 7d 3b c1 db |.../`n};..| +00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 86 |............ ...| +00000010 c1 05 c1 91 11 4f c3 11 09 23 c0 38 e1 d4 d5 4f |.....O...#.8...O| +00000020 a2 c4 eb ab f3 96 4b bc ce 6c aa 93 28 03 c1 2d |......K..l..(..-| +00000030 0e 1c fc dc a2 12 65 ac 09 83 63 48 25 1e bf 5b |......e...cH%..[| +00000040 eb 4f ea 3d 7b 7a 04 1b be 4e 72 d1 03 fd fd 5d |.O.={z...Nr....]| +00000050 67 d7 e9 a0 0f 80 fe 15 ea 3b 9a 62 ba d2 11 50 |g........;.b...P| +00000060 c5 92 36 86 1c 30 a6 b4 b8 55 e8 5d cd 3e 69 87 |..6..0...U.].>i.| +00000070 bf 65 05 17 b7 ed 02 bc 15 be 4b e8 79 1f 2a da |.e........K.y.*.| +00000080 dc 3a 37 23 bd 08 38 65 d1 e2 0d 05 a7 55 9a bb |.:7#..8e.....U..| +00000090 4f 37 fd c9 ec fb 6f 18 64 76 74 09 7c 08 67 75 |O7....o.dvt.|.gu| +000000a0 20 54 7d f5 bb f9 41 5c 63 f5 b7 b4 11 65 cb 14 | T}...A\c....e..| +000000b0 03 03 00 01 01 16 03 03 00 40 2e d6 06 7a 85 a6 |.........@...z..| +000000c0 d9 8b 2b 87 89 c6 01 84 22 29 06 1d 23 54 37 8c |..+.....")..#T7.| +000000d0 9a 39 aa 8b 04 20 82 63 e5 36 ef 1c 81 44 8d fd |.9... .c.6...D..| +000000e0 0a ec 04 86 b2 1d e0 34 ef 41 cb 16 b3 b1 b9 d7 |.......4.A......| +000000f0 6c 2b a4 95 4d 2b ef 9a bc fd |l+..M+....| >>> 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 f9 3c b6 4c 96 f0 51 54 bd cf 9c |......<.L..QT...| -00000020 fa 82 d1 f3 89 a8 bf 59 2d 7e 13 30 50 f2 c5 9a |.......Y-~.0P...| -00000030 3f f8 46 64 a5 15 03 03 00 30 00 00 00 00 00 00 |?.Fd.....0......| -00000040 00 00 00 00 00 00 00 00 00 00 12 09 ba dc 22 b1 |..............".| -00000050 20 db 68 a1 3e 7e ea 1f 52 72 8d 6b da de ef 4d | .h.>~..Rr.k...M| -00000060 1a a7 cd 24 eb 7a 85 44 ed 63 |...$.z.D.c| +00000010 00 00 00 00 00 4e a1 1c cb bb 88 03 0d ab 8b 3d |.....N.........=| +00000020 b9 79 70 ae 76 ee d3 52 86 8b 80 35 ba 17 9a 7c |.yp.v..R...5...|| +00000030 40 55 29 2a cb 15 03 03 00 30 00 00 00 00 00 00 |@U)*.....0......| +00000040 00 00 00 00 00 00 00 00 00 00 2d 64 e8 09 0d 6f |..........-d...o| +00000050 86 1a 29 97 d6 32 4a fe 72 14 d4 36 1e 4e 12 47 |..)..2J.r..6.N.G| +00000060 bf c1 4c 47 bf cb 9d 90 3d 61 |..LG....=a| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Firefox-55 index 88aa9b2b..54803a5e 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 da 56 44 3a 33 |....A...=...VD:3| -00000010 23 26 80 49 e5 77 e1 3e db a2 08 c1 7c 64 0a 3c |#&.I.w.>....|d.<| -00000020 aa 07 c5 ac 3e d2 9f aa 48 ff 88 00 c0 0a 00 00 |....>...H.......| +00000000 16 03 03 00 41 02 00 00 3d 03 03 8e 73 41 3a 7b |....A...=...sA:{| +00000010 c2 23 19 82 e8 37 39 d4 9c 7b 35 f6 3c 5b a7 ac |.#...79..{5.<[..| +00000020 4e 9f 44 90 8e 20 87 18 e7 49 bc 00 c0 0a 00 00 |N.D.. ...I......| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 0e 0b 00 02 0a 00 |................| 00000050 02 07 00 02 04 30 82 02 00 30 82 01 62 02 09 00 |.....0...0..b...| @@ -49,51 +49,51 @@ 00000220 0e bd 3f a3 8c 25 c1 33 13 83 0d 94 06 bb d4 37 |..?..%.3.......7| 00000230 7a f6 ec 7a c9 86 2e dd d7 11 69 7f 85 7c 56 de |z..z......i..|V.| 00000240 fb 31 78 2b e4 c7 78 0d ae cb be 9e 4e 36 24 31 |.1x+..x.....N6$1| -00000250 7b 6a 0f 39 95 12 07 8f 2a 16 03 03 00 b6 0c 00 |{j.9....*.......| -00000260 00 b2 03 00 1d 20 80 98 4a 1b cf 84 8e f6 e2 40 |..... ..J......@| -00000270 00 68 b1 c4 c3 da 32 f1 0a 6c bb ae f3 57 ac 50 |.h....2..l...W.P| -00000280 f5 26 ad 1d 1c 59 04 03 00 8a 30 81 87 02 42 01 |.&...Y....0...B.| -00000290 50 30 24 b8 ea 6b fe ac 3d ad bb 45 6d 2d e7 d1 |P0$..k..=..Em-..| -000002a0 5d b2 d6 e0 0b ce 0b 5b 9b 20 6f b4 2d 4b 1c 04 |]......[. o.-K..| -000002b0 ec f8 3f 93 49 f5 86 24 b1 63 ff 19 14 a9 42 89 |..?.I..$.c....B.| -000002c0 f0 42 13 91 87 5e 3e 53 05 66 b2 de 0e 15 5c 3a |.B...^>S.f....\:| -000002d0 aa 02 41 38 13 ab a2 92 19 24 ff ee ba 5c 1b c2 |..A8.....$...\..| -000002e0 cf 19 14 9c 10 be e5 a8 3d 35 ae 6f 5f b4 ef bf |........=5.o_...| -000002f0 7c 90 c9 25 15 51 d2 39 20 be e0 61 1e 77 71 28 ||..%.Q.9 ..a.wq(| -00000300 65 92 9f a7 92 cc fa 52 60 a8 8b c5 a0 c3 3d 41 |e......R`.....=A| -00000310 49 94 22 03 16 03 03 00 04 0e 00 00 00 |I."..........| +00000250 7b 6a 0f 39 95 12 07 8f 2a 16 03 03 00 b7 0c 00 |{j.9....*.......| +00000260 00 b3 03 00 1d 20 0a f1 74 03 82 05 96 1c 71 96 |..... ..t.....q.| +00000270 aa 95 1b 01 11 3a 43 76 9b 86 7b ec 17 2e 07 14 |.....:Cv..{.....| +00000280 bc 92 6f 9b ad 42 04 03 00 8b 30 81 88 02 42 00 |..o..B....0...B.| +00000290 cb 1f 92 ad dd e2 92 ec 52 46 a2 b1 11 3f 0c 23 |........RF...?.#| +000002a0 75 29 f7 e6 af 2b 5c 80 3d 44 8f c3 d9 ae a9 b1 |u)...+\.=D......| +000002b0 c8 78 a2 70 4a db 91 a9 45 42 5c ef 42 15 52 b9 |.x.pJ...EB\.B.R.| +000002c0 c3 0d 3e a1 bd 02 c9 6c 5e 38 01 6a d5 0c 7d 5b |..>....l^8.j..}[| +000002d0 c6 02 42 01 e2 86 38 16 0b 6f b8 35 57 4c 54 78 |..B...8..o.5WLTx| +000002e0 a9 54 0a 57 37 7a 96 80 c3 30 f6 a3 76 97 c8 85 |.T.W7z...0..v...| +000002f0 6e 8b 70 3f 0d 31 1d 41 7e 44 ac 0e 2b 85 f5 7c |n.p?.1.A~D..+..|| +00000300 ce 2b 60 80 c3 09 db 63 28 c4 17 c2 b5 e2 ba c4 |.+`....c(.......| +00000310 4f 7c ce ae 0d 16 03 03 00 04 0e 00 00 00 |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 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000040 00 00 00 00 00 c4 23 f3 a1 aa 43 66 a7 e1 e8 70 |......#...Cf...p| -00000050 30 a7 c6 8a b2 86 78 84 d1 4a a1 05 56 2c 83 ed |0.....x..J..V,..| -00000060 1a ab d1 71 51 6f 98 40 85 ba b8 51 83 10 b7 ad |...qQo.@...Q....| -00000070 fa ec 60 82 3e |..`.>| +00000040 00 00 00 00 00 61 3f 68 37 cf 0b 5c 85 e3 9c 64 |.....a?h7..\...d| +00000050 e1 f4 13 0c bc 8c 8a b7 e4 72 77 bb 2c 2a 43 6f |.........rw.,*Co| +00000060 70 ca 02 71 1a 7b 70 d3 36 3e 1b a0 60 46 d3 ac |p..q.{p.6>..`F..| +00000070 ec a6 53 c4 ad |..S..| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 3a |............ ..:| -00000010 89 91 0e 8e 63 d7 db 40 81 dc 4e ba 1d 0e b7 e9 |....c..@..N.....| -00000020 d8 f1 3b 62 ce 1b 8c c2 ef fe 59 30 1c 4d ee d7 |..;b......Y0.M..| -00000030 6c c6 a8 f4 6c d8 eb d5 5f 53 56 4c 73 0a 09 0c |l...l..._SVLs...| -00000040 33 a2 73 d4 06 e4 76 d8 10 a7 bb 36 db f9 eb 9a |3.s...v....6....| -00000050 1e 40 8e 04 31 87 83 95 a9 6a 16 8b ea 97 16 55 |.@..1....j.....U| -00000060 3b 44 45 7b 3b 64 17 76 f5 c9 1d 55 ac d4 ec 3c |;DE{;d.v...U...<| -00000070 0f a0 70 1a b7 8d 2f a2 f7 97 bb 67 ef a2 86 83 |..p.../....g....| -00000080 24 c6 1e ad 16 d3 71 5f 5d 2e 68 94 63 4f f1 5d |$.....q_].h.cO.]| -00000090 7b d0 08 47 09 42 47 80 65 6d 94 ab 5b e3 a4 d3 |{..G.BG.em..[...| -000000a0 56 6c 43 d4 eb 01 09 77 9a 5b c4 22 4e 23 a5 36 |VlC....w.[."N#.6| -000000b0 61 7d ca 15 ce c2 4f 98 5e 77 bf d8 69 4e b0 14 |a}....O.^w..iN..| -000000c0 03 03 00 01 01 16 03 03 00 40 00 d6 f0 82 40 d3 |.........@....@.| -000000d0 82 42 93 b9 03 1d 72 9a 64 c7 81 5d 84 99 15 f2 |.B....r.d..]....| -000000e0 a0 84 3b 26 97 e6 88 cd bf 3f a2 68 4f d1 9a 7e |..;&.....?.hO..~| -000000f0 e9 a2 e1 13 3e e8 71 6a 3a 0e db dc e6 fd b4 7d |....>.qj:......}| -00000100 29 25 ac 02 9b 1f 8a 88 21 4b |)%......!K| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 0a |............ ...| +00000010 dd 08 4f 1e f4 96 fb e1 16 03 3f 7b 9c e9 40 d1 |..O.......?{..@.| +00000020 da 31 6b 31 bf 81 35 db 6d 47 97 41 b6 63 ba 8b |.1k1..5.mG.A.c..| +00000030 ae 7d a1 69 23 d5 70 e8 42 79 de fa 4e bc ba 90 |.}.i#.p.By..N...| +00000040 fc 06 ff 19 c8 62 d8 ca 93 3d e2 2d 92 d2 8f c2 |.....b...=.-....| +00000050 bf 3f 56 51 c5 36 75 7b c9 4a 1a 84 ee 98 fa 4f |.?VQ.6u{.J.....O| +00000060 58 48 65 62 b9 9a 03 c5 57 a3 7d f7 e0 83 42 5a |XHeb....W.}...BZ| +00000070 e8 72 78 53 b1 fa 0d 19 c6 a0 df 42 e1 e2 48 9a |.rxS.......B..H.| +00000080 54 6e 59 1b 7a 86 15 cf bd e0 c4 77 65 6c 1d e2 |TnY.z......wel..| +00000090 55 84 ae 44 9d c7 c7 15 a3 2b 7c fa d3 26 63 a0 |U..D.....+|..&c.| +000000a0 78 86 5a 97 0a 2a 89 7a c3 44 e4 7c c4 52 a0 08 |x.Z..*.z.D.|.R..| +000000b0 25 48 72 e2 73 9f 4e ae e8 92 2c c9 a0 a1 c8 14 |%Hr.s.N...,.....| +000000c0 03 03 00 01 01 16 03 03 00 40 8d 63 c6 0c 07 59 |.........@.c...Y| +000000d0 d2 93 43 d0 f4 46 9c 78 b5 f6 cf 13 a5 86 ea 0f |..C..F.x........| +000000e0 49 51 f8 03 82 3a b1 fb 3c d8 a0 50 15 d3 36 75 |IQ...:..<..P..6u| +000000f0 89 b1 9a e9 21 69 03 79 32 7e f3 17 a6 36 74 91 |....!i.y2~...6t.| +00000100 18 c8 28 49 5e e2 d5 61 14 87 |..(I^..a..| >>> 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 7d 72 35 85 e5 bb 40 6f 99 d3 43 |.....}r5...@o..C| -00000020 fa 56 a4 f3 2e 16 d2 5a 50 ca 0e 9f cb ca 77 6f |.V.....ZP.....wo| -00000030 1d db 30 4f d6 15 03 03 00 30 00 00 00 00 00 00 |..0O.....0......| -00000040 00 00 00 00 00 00 00 00 00 00 b1 bb 63 d8 d1 47 |............c..G| -00000050 24 fd d0 d4 c7 bf 85 1a c3 9e 00 88 7c f6 59 05 |$...........|.Y.| -00000060 80 67 1b b6 cb 58 c1 68 3e f0 |.g...X.h>.| +00000010 00 00 00 00 00 03 98 e0 1d 2b a0 43 05 ec 5d 09 |.........+.C..].| +00000020 22 2c 2e 4b 6f c8 9c 0c a4 1f 4b a7 4d a5 85 08 |",.Ko.....K.M...| +00000030 54 c5 9b ef 29 15 03 03 00 30 00 00 00 00 00 00 |T...)....0......| +00000040 00 00 00 00 00 00 00 00 00 00 61 2d a7 5c d4 d0 |..........a-.\..| +00000050 91 bb 4b e3 aa 7a 97 3e 05 94 42 88 d3 c8 13 ff |..K..z.>..B.....| +00000060 b6 5f 13 1f 56 80 45 e2 b8 ea |._..V.E...| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Golang-0 index 117b18fd..474d6322 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Golang-0 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-AES256-SHA-Golang-0 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 45 64 c8 28 ac |....Y...U..Ed.(.| -00000010 89 cd 04 ec 15 54 4c df 88 34 38 f4 fa 83 cd e5 |.....TL..48.....| -00000020 6e e0 f2 02 de 13 2d e8 a1 a7 8c 20 38 d9 1b 3d |n.....-.... 8..=| -00000030 52 47 ad 68 03 24 da 23 18 a9 9e a1 16 92 e1 8d |RG.h.$.#........| -00000040 43 8f 44 17 8a 3a d1 e8 34 a1 5d 1b c0 0a 00 00 |C.D..:..4.].....| +00000000 16 03 03 00 59 02 00 00 55 03 03 5c f0 92 e4 e7 |....Y...U..\....| +00000010 0c 3d 15 f1 a3 62 47 77 52 43 b5 f0 1b 90 82 81 |.=...bGwRC......| +00000020 b1 f8 7d 6e 6e c1 9d 88 23 31 9e 20 46 e8 12 3e |..}nn...#1. F..>| +00000030 a2 64 9c 07 cf 12 eb 58 2e 23 d1 fa 60 13 22 30 |.d.....X.#..`."0| +00000040 84 32 6b 8d 1a c8 b1 e0 8f b7 a2 4a c0 0a 00 00 |.2k........J....| 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....| @@ -49,39 +49,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 b6 0c 00 00 b2 03 00 1d 20 79 d6 |*............ y.| -00000280 c5 31 95 22 b5 da 92 6d 8f c2 c9 ab 43 e9 c9 a8 |.1."...m....C...| -00000290 98 28 46 eb 58 4f e9 1e 1d 4a 71 81 e5 18 04 03 |.(F.XO...Jq.....| -000002a0 00 8a 30 81 87 02 41 31 c1 83 59 75 b6 27 ca db |..0...A1..Yu.'..| -000002b0 cc 5e 1b ea 22 fb eb 11 28 b2 ed 62 8b 48 47 af |.^.."...(..b.HG.| -000002c0 7e 91 53 55 86 df 55 ef 44 c1 1f c3 a1 de c8 ce |~.SU..U.D.......| -000002d0 4a 86 ed 41 47 96 eb bb 41 c0 90 b2 dc da b6 6c |J..AG...A......l| -000002e0 7d 00 81 a5 eb 81 b1 77 02 42 01 e1 64 c1 65 5a |}......w.B..d.eZ| -000002f0 9c b5 b3 54 43 07 21 a5 00 2a 94 bf 6a 54 1b c9 |...TC.!..*..jT..| -00000300 12 51 a2 6f 38 dd c5 82 6f 9b 8c f3 66 0f ce 2e |.Q.o8...o...f...| -00000310 7d 5a 42 fa ad f0 35 73 6d cf 52 1e d5 90 e0 fb |}ZB...5sm.R.....| -00000320 e0 07 af 22 29 82 1a 98 64 f2 13 cb 16 03 03 00 |...")...d.......| -00000330 04 0e 00 00 00 |.....| +00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 dc 68 |*............ .h| +00000280 ee c6 04 c6 f6 cb 12 4a bf 62 c3 c7 c1 28 e3 85 |.......J.b...(..| +00000290 77 f2 3b 6a 0c 5b 34 55 e7 ed 2f fd 4f 76 04 03 |w.;j.[4U../.Ov..| +000002a0 00 8b 30 81 88 02 42 00 8d d0 3d b8 7d 09 2b eb |..0...B...=.}.+.| +000002b0 fe dd 5d 2d 39 fb 97 41 f2 35 17 17 77 f9 f0 08 |..]-9..A.5..w...| +000002c0 42 f6 50 29 9c d7 8a 56 1a 99 39 82 2e 6a 72 96 |B.P)...V..9..jr.| +000002d0 d8 27 37 de eb eb 3e 36 54 54 a6 b2 8e 76 6f a5 |.'7...>6TT...vo.| +000002e0 d0 65 f5 bb 8d 7b 02 73 ed 02 42 01 31 77 1c 43 |.e...{.s..B.1w.C| +000002f0 89 f7 c1 2f 8e 5c 97 a3 54 21 1f 99 aa 2b 3a 9a |.../.\..T!...+:.| +00000300 d0 ab 3f 4a 40 6f f0 af a3 92 56 74 30 fd 3c c5 |..?J@o....Vt0.<.| +00000310 87 40 8b 32 d2 d9 f8 ab 66 cd 81 86 2c 01 e8 db |.@.2....f...,...| +00000320 57 d1 f8 e1 9e 36 f7 5b 27 54 ff 34 4c 16 03 03 |W....6.['T.4L...| +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 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000040 00 00 00 00 00 01 c2 9a 61 0d f1 b0 91 ae b5 43 |........a......C| -00000050 d1 63 d0 a3 73 6e a8 c3 d2 fd d1 0d a4 44 32 f7 |.c..sn.......D2.| -00000060 19 08 03 25 b6 8a 50 79 0d bf 15 c7 a6 17 c1 a3 |...%..Py........| -00000070 7c ba b0 c3 8b ||....| +00000040 00 00 00 00 00 51 b8 76 e3 c6 2a 9a 27 58 f4 4f |.....Q.v..*.'X.O| +00000050 4c c7 7e 40 8e a6 b4 9e fe 86 e0 85 8a 81 9d ff |L.~@............| +00000060 a3 2b e1 a0 01 2b 57 17 49 ce fd b0 b5 c5 23 32 |.+...+W.I.....#2| +00000070 11 1c a9 ed 74 |....t| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 40 ae 7f 22 2c f3 |..........@..",.| -00000010 65 9f 53 6c 15 6a fd 88 f9 74 55 6d fa 1e 74 cd |e.Sl.j...tUm..t.| -00000020 b2 77 81 f9 a6 b1 36 f8 4b fb 57 c0 4e 7a 2c 1c |.w....6.K.W.Nz,.| -00000030 34 60 dd c8 6d 1c a5 e6 11 d0 94 5d d5 63 a0 19 |4`..m......].c..| -00000040 c9 b7 44 49 86 2c 87 3f 8a c1 ac |..DI.,.?...| +00000000 14 03 03 00 01 01 16 03 03 00 40 15 8b 7f 8e a0 |..........@.....| +00000010 54 16 59 41 3d a1 4b 96 e8 9a 6f 8e 7a 74 01 3b |T.YA=.K...o.zt.;| +00000020 d4 4e cb f6 05 7d a6 13 e9 7c 15 45 24 5f 12 b6 |.N...}...|.E$_..| +00000030 e0 09 58 fc c5 d5 c8 5c 3c 2c 4a c9 ef 3e 3f 16 |..X....\<,J..>?.| +00000040 c6 21 5f 1b 77 ab 3e 64 c4 78 1d |.!_.w.>d.x.| >>> 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 06 9f fa f3 4f c2 5f 24 69 d2 69 |.........O._$i.i| -00000020 cd 3a 78 15 86 28 61 21 0e 29 fd f2 af 87 20 d3 |.:x..(a!.).... .| -00000030 b7 4d ee d7 00 15 03 03 00 30 00 00 00 00 00 00 |.M.......0......| -00000040 00 00 00 00 00 00 00 00 00 00 3a ed 9a 3c ee 49 |..........:..<.I| -00000050 d0 7a b5 61 49 33 26 de f6 d6 b2 f0 3f 38 61 c9 |.z.aI3&.....?8a.| -00000060 26 74 4f 32 11 13 3a 0a 81 98 |&tO2..:...| +00000010 00 00 00 00 00 00 64 27 ba 99 21 11 0c 5f 85 62 |......d'..!.._.b| +00000020 e2 28 c6 62 c9 ea 8c 2c 69 f0 c0 8a 18 08 92 b0 |.(.b...,i.......| +00000030 d8 f1 23 fa 84 15 03 03 00 30 00 00 00 00 00 00 |..#......0......| +00000040 00 00 00 00 00 00 00 00 00 00 3a 85 b2 65 07 19 |..........:..e..| +00000050 52 15 03 33 db 6f 87 58 18 d2 01 ff d8 0b 9f 75 |R..3.o.X.......u| +00000060 93 d7 48 c4 a1 58 8d 4a 46 ff |..H..X.JF.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Firefox-55 index 77753d9c..3fc78eec 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 4c 3a e6 b3 b9 |....A...=..L:...| -00000010 03 ef 17 48 30 af cd a5 4f b4 a6 69 70 0d 55 31 |...H0...O..ip.U1| -00000020 d7 42 e2 c6 5a 2b b5 d6 2f 6b 04 00 cc a9 00 00 |.B..Z+../k......| +00000000 16 03 03 00 41 02 00 00 3d 03 03 8e 86 f0 aa 88 |....A...=.......| +00000010 81 fc 7f 23 d1 19 3c 96 fe cd 8d 03 f6 1d df 18 |...#..<.........| +00000020 47 09 bb 12 b4 45 bf 40 42 9f b5 00 cc a9 00 00 |G....E.@B.......| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 0e 0b 00 02 0a 00 |................| 00000050 02 07 00 02 04 30 82 02 00 30 82 01 62 02 09 00 |.....0...0..b...| @@ -50,43 +50,43 @@ 00000230 7a f6 ec 7a c9 86 2e dd d7 11 69 7f 85 7c 56 de |z..z......i..|V.| 00000240 fb 31 78 2b e4 c7 78 0d ae cb be 9e 4e 36 24 31 |.1x+..x.....N6$1| 00000250 7b 6a 0f 39 95 12 07 8f 2a 16 03 03 00 b7 0c 00 |{j.9....*.......| -00000260 00 b3 03 00 1d 20 c2 ce c4 89 f5 23 10 57 d3 13 |..... .....#.W..| -00000270 f5 b0 09 ca c9 dd e1 8a 2d f9 3b df c6 a7 6f e7 |........-.;...o.| -00000280 ba 2e 91 97 8f 1a 04 03 00 8b 30 81 88 02 42 01 |..........0...B.| -00000290 ef 0b e1 5d 14 ab 0a 2a 43 0a 12 80 86 dd cd ae |...]...*C.......| -000002a0 97 91 b3 51 5b fc 33 a8 db 24 aa a5 a9 59 23 72 |...Q[.3..$...Y#r| -000002b0 73 9a 32 1f 3b 75 00 06 44 5d 6b 9c c7 82 a7 54 |s.2.;u..D]k....T| -000002c0 7e 79 51 ea 83 4b 01 38 e1 eb 11 a6 49 43 2a 7c |~yQ..K.8....IC*|| -000002d0 6f 02 42 01 90 9d 66 0f 14 dc a1 f8 46 0e 2d 09 |o.B...f.....F.-.| -000002e0 37 cf 47 28 14 40 d4 22 1e 6b 2c da 51 a3 e4 15 |7.G(.@.".k,.Q...| -000002f0 4a 13 e1 eb 32 9a 15 19 e7 d8 08 b2 83 36 05 d1 |J...2........6..| -00000300 eb e7 b7 66 df 66 bf a6 c1 4b 27 af 5b 0d ba bc |...f.f...K'.[...| -00000310 f1 0f 08 72 94 16 03 03 00 04 0e 00 00 00 |...r..........| +00000260 00 b3 03 00 1d 20 74 88 7b a8 3c 44 4f 90 e1 ba |..... t.{..4....0...B.| +00000290 a8 c9 ee bc 91 cd b3 cd 03 84 d0 75 34 31 f1 85 |...........u41..| +000002a0 61 f8 a9 83 87 24 fc d5 71 57 76 4b f0 f9 47 43 |a....$..qWvK..GC| +000002b0 2f cb cf f2 8c 1b 8c 1f 3c 7f 7b 2e b1 57 5f d1 |/.......<.{..W_.| +000002c0 76 61 62 3a 1e df af 28 34 52 e6 41 ce a7 92 81 |vab:...(4R.A....| +000002d0 f1 02 42 00 a0 70 f9 dd 50 11 83 72 02 3a e9 ae |..B..p..P..r.:..| +000002e0 4f 94 9b 5f 92 8d 2b 54 8a aa 94 2a f6 99 7a e1 |O.._..+T...*..z.| +000002f0 37 de a5 08 49 80 ec ff 05 7b 00 e0 85 67 2c 66 |7...I....{...g,f| +00000300 ff 1a 45 11 02 85 9f da 90 02 25 4e 82 89 96 bd |..E.......%N....| +00000310 52 6f 51 d6 34 16 03 03 00 04 0e 00 00 00 |RoQ.4.........| >>> 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 d3 58 71 8c 53 7e e4 1f cb ad 8e |.... .Xq.S~.....| -00000040 63 7b fc cf 30 d1 38 ba 33 c1 21 4f ac 60 42 38 |c{..0.8.3.!O.`B8| -00000050 f5 48 5f 34 33 |.H_43| +00000030 16 03 03 00 20 46 f5 07 56 02 27 12 b8 62 81 fe |.... F..V.'..b..| +00000040 6d a3 43 3d 2b c1 96 14 bc 71 b0 d1 d2 94 da 6b |m.C=+....q.....k| +00000050 f2 59 67 64 48 |.YgdH| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 d8 |............ ...| -00000010 24 a4 a7 ae 35 84 1b 69 cd ae 54 0c 6e c7 36 1f |$...5..i..T.n.6.| -00000020 b9 0a 48 08 dc d9 bb de a3 37 0f 85 a9 a8 5e f2 |..H......7....^.| -00000030 24 21 1c 94 eb 74 54 03 7f 57 fd 51 b1 6f 06 5f |$!...tT..W.Q.o._| -00000040 d0 3d 7b 75 20 3c 58 5c 23 59 a1 05 72 10 fa 2e |.={u ...x| +000000a0 d8 4a ea cc 27 17 b9 55 1c b0 61 1c 7e c4 5e 2e |.J..'..U..a.~.^.| +000000b0 c9 c4 fb 6e dd ac 0c 05 4a fd e1 ca 7f 0f 1e 14 |...n....J.......| +000000c0 03 03 00 01 01 16 03 03 00 20 92 f6 15 01 8f ca |......... ......| +000000d0 a6 34 fa bb 9a 74 e5 cb 7f 03 f0 19 84 2e 00 1e |.4...t..........| +000000e0 5e 24 f6 1a c2 28 92 d7 22 83 |^$...(..".| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 3d d6 22 7a e9 e1 51 bc 63 e8 de |.....=."z..Q.c..| -00000010 d6 bc ac 2e 9a 0b 3d 95 4d 78 e1 15 03 03 00 12 |......=.Mx......| -00000020 c9 5f 0b 20 5f 74 c7 73 26 6a 6f b1 53 b7 32 7e |._. _t.s&jo.S.2~| -00000030 54 0f |T.| +00000000 17 03 03 00 16 7d bd ea a7 69 61 b3 5c 79 1a 33 |.....}...ia.\y.3| +00000010 73 a5 7c 32 76 94 57 c1 80 89 a7 15 03 03 00 12 |s.|2v.W.........| +00000020 32 0d f5 8b b0 51 20 6e 8c 91 77 b9 e1 0e d0 72 |2....Q n..w....r| +00000030 00 33 |.3| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Golang-0 index 102484c7..5cbb65c9 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Golang-0 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-ECDSA-CHACHA20-POLY1305-Golang-0 @@ -1,17 +1,17 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 67 01 00 00 63 03 03 00 00 00 00 00 |....g...c.......| +00000000 16 03 01 00 6b 01 00 00 67 03 03 00 00 00 00 00 |....k...g.......| 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 00 00 02 cc a9 |................| -00000030 01 00 00 38 00 05 00 05 01 00 00 00 00 00 0a 00 |...8............| +00000030 01 00 00 3c 00 05 00 05 01 00 00 00 00 00 0a 00 |...<............| 00000040 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -00000050 00 00 0d 00 0e 00 0c 04 01 04 03 05 01 05 03 02 |................| -00000060 01 02 03 ff 01 00 01 00 00 12 00 00 |............| +00000050 00 00 0d 00 12 00 10 04 01 04 03 05 01 05 03 06 |................| +00000060 01 06 03 02 01 02 03 ff 01 00 01 00 00 12 00 00 |................| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 ed 47 a6 b3 82 |....Y...U...G...| -00000010 8c 4b 21 70 50 34 96 37 2c 84 6a 6d 59 6a d6 33 |.K!pP4.7,.jmYj.3| -00000020 4d 52 e7 c9 0c 78 5b 6c 3c 18 03 20 f2 dd d6 d6 |MR...x[l<.. ....| -00000030 77 b8 d7 2d 7a a2 f1 64 d2 05 92 97 32 f4 f3 b7 |w..-z..d....2...| -00000040 16 33 f3 eb 1e fc 8a de 01 e4 73 62 cc a9 00 00 |.3........sb....| +00000000 16 03 03 00 59 02 00 00 55 03 03 3f a2 95 b4 06 |....Y...U..?....| +00000010 8d 99 50 da ee 0d a1 2b 63 37 a9 38 d2 3a 17 29 |..P....+c7.8.:.)| +00000020 c6 01 4d 9d 78 f7 6c 31 11 3c 14 20 bf 50 57 16 |..M.x.l1.<. .PW.| +00000030 d8 f4 37 04 e0 ed 0e 73 a1 50 66 a9 20 f1 18 f7 |..7....s.Pf. ...| +00000040 ec 5b f2 f7 ec ca 26 d7 10 38 92 9b cc a9 00 00 |.[....&..8......| 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....| @@ -46,32 +46,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 f1 8f |*............ ..| -00000280 63 8c 43 37 5c b2 c2 12 e9 04 e6 ff bf ba 1c c2 |c.C7\...........| -00000290 b4 23 7c ac 8b c5 14 52 0c 45 6e 78 f2 77 04 03 |.#|....R.Enx.w..| -000002a0 00 8b 30 81 88 02 42 00 d5 91 1b 81 22 47 83 6e |..0...B....."G.n| -000002b0 5f 17 66 4d 2d ce 58 74 e3 2d 8d e4 74 05 ce 98 |_.fM-.Xt.-..t...| -000002c0 36 fd 35 1e d5 69 37 c7 29 dc a6 73 08 fe 6d 01 |6.5..i7.)..s..m.| -000002d0 72 58 3e 97 55 83 70 02 79 c2 1f cc 4c 28 a6 b9 |rX>.U.p.y...L(..| -000002e0 67 e3 5c 3b 98 35 5c ef be 02 42 01 26 cf 8a 5e |g.\;.5\...B.&..^| -000002f0 39 0a d9 0f 29 03 df 97 4f 50 16 55 60 a5 b8 09 |9...)...OP.U`...| -00000300 75 6c 01 17 d0 29 7e f5 ee 16 e2 83 64 8d d0 3c |ul...)~.....d..<| -00000310 fb cb 3d 74 c3 70 10 69 ee e4 db 80 31 1f b9 17 |..=t.p.i....1...| -00000320 85 79 e3 c7 0a 6d 31 2d 47 fe 65 3e 58 16 03 03 |.y...m1-G.e>X...| +00000270 2a 16 03 03 00 b7 0c 00 00 b3 03 00 1d 20 6f 2b |*............ o+| +00000280 a9 a4 84 2e a0 61 d7 6d 4c 39 7e 8b 5f 29 dd f5 |.....a.mL9~._)..| +00000290 47 5e 74 5d 73 4e 4a 9c 72 7e b5 f9 8d 45 04 03 |G^t]sNJ.r~...E..| +000002a0 00 8b 30 81 88 02 42 00 8e d1 8c 24 67 98 86 aa |..0...B....$g...| +000002b0 33 61 7a 66 2f d2 05 e7 6a 8f 16 0a 63 29 1c ed |3azf/...j...c)..| +000002c0 7f 38 c8 4d b4 56 7d 3e 89 24 b7 9a e3 33 73 7b |.8.M.V}>.$...3s{| +000002d0 ea 15 45 40 2d 7a 5a 4b 2d df fd 38 f5 d3 2e d5 |..E@-zZK-..8....| +000002e0 99 8a f5 8b 09 9d cc cf 1c 02 42 01 a8 2a 9f 80 |..........B..*..| +000002f0 61 ec 1f 55 e3 2f 95 7c bc 8c 45 25 f6 e7 9c 9d |a..U./.|..E%....| +00000300 a3 73 0c c6 a4 2c d6 82 b0 47 8a 6a e6 0d df 8b |.s...,...G.j....| +00000310 e8 92 4c 59 f1 25 ff e3 40 4f 82 ae 23 4e 05 6b |..LY.%..@O..#N.k| +00000320 4c 18 c8 67 2d 37 f5 eb 7f a8 46 0a 76 16 03 03 |L..g-7....F.v...| 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 ba 8e d5 9f 87 9f 70 e7 2e 0c dc |.... ......p....| -00000040 12 06 2c 2a 24 8b 6c ce 4e ae 14 3a b1 ac d8 f9 |..,*$.l.N..:....| -00000050 70 96 5e 94 6d |p.^.m| +00000030 16 03 03 00 20 4f 5d 46 7d 55 82 a4 18 41 35 d6 |.... O]F}U...A5.| +00000040 d6 1b a8 39 2b 36 a0 24 6a f4 a0 bd 5a 21 3e fb |...9+6.$j...Z!>.| +00000050 c5 36 b3 88 fc |.6...| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 6e 48 3c f4 e9 |.......... nH<..| -00000010 e7 be 9f 0f da 19 ac c9 91 3b 17 9d 71 a8 da 2f |.........;..q../| -00000020 fd de ae 7d cd e1 f5 84 f7 a9 a9 |...}.......| +00000000 14 03 03 00 01 01 16 03 03 00 20 45 72 a1 4b 9d |.......... Er.K.| +00000010 1a 70 f1 c3 ad 95 d2 44 1b 1f e4 88 a2 99 94 a9 |.p.....D........| +00000020 90 92 fc 34 32 f0 d4 15 13 03 5a |...42.....Z| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 d6 17 0f df b2 27 f3 84 80 10 26 |..........'....&| -00000010 b5 18 f6 30 ba cd 4e 90 0f 2a 1a 15 03 03 00 12 |...0..N..*......| -00000020 fd b1 c0 f3 e1 0b b8 a6 7a ba 77 f5 73 20 0c a1 |........z.w.s ..| -00000030 86 0f |..| +00000000 17 03 03 00 16 36 98 d9 d3 82 f9 ff fc e8 52 4b |.....6........RK| +00000010 ce a7 aa bc 9c c8 ec 72 df 8d 6b 15 03 03 00 12 |.......r..k.....| +00000020 87 6f 5f b8 c6 26 f3 d3 e5 7a 26 50 35 f0 c0 15 |.o_..&...z&P5...| +00000030 b8 02 |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-22 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-22 index e6aa2c66..d753d9b4 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-22 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 3d 02 00 00 39 03 03 0b 46 c0 f6 fd |....=...9...F...| -00000010 68 40 98 86 9e 1b e0 3d 83 e2 c6 d5 6a d5 00 1b |h@.....=....j...| -00000020 69 36 9e 24 dd 9c 1f 16 fc 99 d4 00 c0 2f 00 00 |i6.$........./..| +00000000 16 03 03 00 3d 02 00 00 39 03 03 24 4b c9 96 e9 |....=...9..$K...| +00000010 52 8c 8c 95 a9 e3 29 bb 42 79 d9 33 c0 06 e4 ac |R.....).By.3....| +00000020 5f 91 41 28 35 7e 32 b2 29 2a 9f 00 c0 2f 00 00 |_.A(5~2.)*.../..| 00000030 11 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 16 03 03 02 59 0b 00 02 55 00 02 52 00 02 |......Y...U..R..| 00000050 4f 30 82 02 4b 30 82 01 b4 a0 03 02 01 02 02 09 |O0..K0..........| @@ -55,48 +55,48 @@ 00000270 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 |s..Cw.......@.a.| 00000280 4c 72 2b 9d ae db 46 06 06 4d f4 c1 b3 3e c0 d1 |Lr+...F..M...>..| 00000290 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 |.B...=.`.\!.;...| -000002a0 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 48 72 |............A.Hr| -000002b0 e2 3f 43 a1 fe 35 ea 49 73 ce 74 64 95 59 2f 98 |.?C..5.Is.td.Y/.| -000002c0 22 7f f7 63 80 7f 2b 1a 44 ec 20 6e c1 c7 33 09 |"..c..+.D. n..3.| -000002d0 00 fd 2f f8 de 93 b9 51 a0 45 6d e3 eb 62 ad 81 |../....Q.Em..b..| -000002e0 00 3f f7 d1 ab f2 35 44 8c 88 60 a1 d2 fa 06 01 |.?....5D..`.....| -000002f0 00 80 30 49 47 25 aa 15 02 86 5e dc 82 a1 5c f8 |..0IG%....^...\.| -00000300 34 01 1b 17 95 2e fb e8 35 94 9c 95 85 bf f3 1a |4.......5.......| -00000310 cd 86 58 0c f9 8a 5a f4 8e ad ec da e1 a1 19 32 |..X...Z........2| -00000320 7a 58 c5 ac c7 60 22 71 c2 38 1f be ff 58 8c cf |zX...`"q.8...X..| -00000330 0f e7 69 6e cc 10 f6 1f db 82 f1 1f c4 c8 86 09 |..in............| -00000340 c5 13 62 79 06 3a aa 88 62 84 79 8a ba 12 04 0b |..by.:..b.y.....| -00000350 59 34 c8 ca 9d 34 39 f3 49 d8 96 70 1e 49 91 a9 |Y4...49.I..p.I..| -00000360 55 28 9f a9 20 17 28 75 86 4b 88 61 ab 54 db 30 |U(.. .(u.K.a.T.0| -00000370 fc c3 16 03 03 00 04 0e 00 00 00 |...........| +000002a0 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 b8 95 |............A...| +000002b0 f3 9f ab 51 9a 9f 26 f5 cc 83 db 41 3b 39 75 dd |...Q..&....A;9u.| +000002c0 1d 17 4d b7 b8 76 8d b4 4b ee 98 31 bd 0f 6b c5 |..M..v..K..1..k.| +000002d0 53 6f ca 48 c7 02 2d 35 90 64 94 d5 46 5c a4 b4 |So.H..-5.d..F\..| +000002e0 43 5a 98 1c 49 25 b3 6d 0b b1 28 1d c7 c6 06 01 |CZ..I%.m..(.....| +000002f0 00 80 1e 58 68 0b b2 e1 ed 3f ef 13 0f 28 3c e9 |...Xh....?...(<.| +00000300 43 a9 fb 2a c0 a7 24 f0 a6 4d 3c a8 80 90 83 68 |C..*..$..M<....h| +00000310 1c 58 95 6b b9 c4 0e 7e 4c ec cd 19 c9 5b 94 b7 |.X.k...~L....[..| +00000320 3f a7 c0 43 fa 4f 95 af 55 d5 a2 db 54 74 3c 86 |?..C.O..U...Tt<.| +00000330 e4 9a 71 44 6c 41 56 9d 99 26 91 4e c3 d7 e1 b5 |..qDlAV..&.N....| +00000340 26 62 a4 b1 2e a2 bb 65 c5 14 40 c4 f3 d6 4c 7b |&b.....e..@...L{| +00000350 e0 47 32 2e 24 99 d7 b1 0e d3 ff 80 20 c7 16 c0 |.G2.$....... ...| +00000360 6b 5a 8b d1 8c 95 0c e2 b2 58 48 e8 71 70 ea 0e |kZ.......XH.qp..| +00000370 cf 70 16 03 03 00 04 0e 00 00 00 |.p.........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| 00000020 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.| 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| -00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 69 c5 |.....(........i.| -00000060 06 ef 45 b9 db b9 ad 05 43 04 8e 00 74 eb 95 d2 |..E.....C...t...| -00000070 df b1 ce 9a 95 b8 52 36 87 1f d5 08 22 e5 |......R6....".| +00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 de 77 |.....(.........w| +00000060 0f 06 6c 44 f1 c8 91 2f 21 a6 f4 a9 22 87 15 dd |..lD.../!..."...| +00000070 16 f9 89 0d 0b 2b 5c ae dc 14 f1 58 6c 29 |.....+\....Xl)| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 40 |............ ..@| -00000010 8f 78 65 63 c6 a3 e5 f5 90 3e e0 cb ca 0a f6 90 |.xec.....>......| -00000020 3c c6 0a 36 b2 82 3c 7c 02 49 36 01 4e ea b1 99 |<..6..<|.I6.N...| -00000030 0a a8 45 f8 7f 4e 2d 00 57 4d 27 df 74 db e4 48 |..E..N-.WM'.t..H| -00000040 96 e8 73 cf cb e4 7b 0e 6c 06 f4 9d 71 bf 32 2a |..s...{.l...q.2*| -00000050 fc db 55 78 b8 ca 65 74 e1 6a bf c8 2e 52 c0 84 |..Ux..et.j...R..| -00000060 64 6c f1 63 18 cb dd bf b7 73 56 b5 f2 27 1b e3 |dl.c.....sV..'..| -00000070 a8 7e e7 32 33 6f fa 8f 2c c5 9c b7 45 78 68 ca |.~.23o..,...Exh.| -00000080 d0 b2 4b 15 ca ea fd ee 2c 41 cb 40 77 ad 39 f6 |..K.....,A.@w.9.| -00000090 1a 8b c9 83 a1 b4 d1 ca 20 1c 02 00 59 a7 eb 02 |........ ...Y...| -000000a0 31 55 cf ba 9c c6 74 e0 36 fb f2 d5 69 46 43 14 |1U....t.6...iFC.| -000000b0 03 03 00 01 01 16 03 03 00 28 2b 38 a2 ce 97 a1 |.........(+8....| -000000c0 72 d5 b1 5a 96 26 6c 4c 2f 13 51 62 4b 53 01 9e |r..Z.&lL/.QbKS..| -000000d0 24 c1 1f 24 8a 46 dd 8c 57 ac 40 fe 76 8e c8 04 |$..$.F..W.@.v...| -000000e0 c1 b2 |..| +00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 dd |............ ...| +00000010 66 92 53 be a8 26 6b ab 4c 10 35 5d 85 1b d5 4c |f.S..&k.L.5]...L| +00000020 28 f4 9b 5b 8b 2d c3 bf 69 f5 91 25 45 b5 bd 76 |(..[.-..i..%E..v| +00000030 8c a8 06 f2 bc cb 2c 2a 50 da d6 a1 27 e4 bc 20 |......,*P...'.. | +00000040 23 eb e4 e9 97 2c 46 6f 3a da ba 72 e6 95 79 78 |#....,Fo:..r..yx| +00000050 25 8e fd 5e 7c 5c 2d 4c 4f f4 fd 92 ba 3e 0c 74 |%..^|\-LO....>.t| +00000060 7c 9b 6e d2 07 b1 33 e3 6b be 58 98 71 05 6a 98 ||.n...3.k.X.q.j.| +00000070 1a 2c 50 6c b6 a6 00 0d 8f 82 00 ba 06 30 1b ac |.,Pl.........0..| +00000080 55 26 a1 5d 3e e1 e2 6b 3b 86 4d 52 fb b0 3f 18 |U&.]>..k;.MR..?.| +00000090 9b aa 13 1c bc c0 9d c5 70 67 f1 84 5d b5 7f fc |........pg..]...| +000000a0 e7 0d 7e be c8 3d d5 7e d9 47 c2 0d c7 72 ec 14 |..~..=.~.G...r..| +000000b0 03 03 00 01 01 16 03 03 00 28 4a 5a 49 ba fe ce |.........(JZI...| +000000c0 41 3c c3 66 92 e4 00 60 c0 25 bf 05 a6 b3 f4 56 |A<.f...`.%.....V| +000000d0 94 67 2b cd 50 6a fb 4d 73 9e 26 cf 0a 0a f1 ce |.g+.Pj.Ms.&.....| +000000e0 94 0c |..| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 ee e9 6f |...............o| -00000010 c1 97 b8 82 77 fe 0f 35 4f 4c b8 7e c3 06 b1 17 |....w..5OL.~....| -00000020 0e 73 ff 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.s..............| -00000030 3c 8e 9e bb 58 e0 3e e5 ea b2 5d 6d b8 66 c7 f7 |<...X.>...]m.f..| -00000040 e2 77 |.w| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 8b 8c b1 |................| +00000010 0e 4f ed 0e b4 a9 ca 38 84 38 77 62 6f 7b 3b cb |.O.....8.8wbo{;.| +00000020 be 4e a5 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.N..............| +00000030 44 d9 43 44 8a d9 16 85 de dd 5a ad 4e 1a ee 61 |D.CD......Z.N..a| +00000040 18 dd |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-23 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-23 index 679914cb..6903e12e 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-23 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Android-23 @@ -12,9 +12,9 @@ 000000a0 73 70 64 79 2f 38 2e 31 00 0b 00 02 01 00 00 0a |spdy/8.1........| 000000b0 00 06 00 04 00 17 00 18 |........| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 16 2f 90 c9 7c |....A...=.../..|| -00000010 4a 29 17 e2 53 41 50 14 5a e5 df f6 fb 10 e2 09 |J)..SAP.Z.......| -00000020 91 38 1d a7 a7 2e eb 41 ab f0 6a 00 c0 2f 00 00 |.8.....A..j../..| +00000000 16 03 03 00 41 02 00 00 3d 03 03 dd 85 a8 1f d6 |....A...=.......| +00000010 e3 b6 9b 02 86 f3 8c 66 3b db 4d dc e6 f1 b6 79 |.......f;.M....y| +00000020 23 4c 34 7e a7 d2 53 62 1a c2 57 00 c0 2f 00 00 |#L4~..Sb..W../..| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,48 +55,48 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 cd 0c 00 00 c9 03 00 17 |;...............| -000002b0 41 04 fb 70 ec ce d4 54 ec 81 ee c5 0d 5e c6 bf |A..p...T.....^..| -000002c0 cf 48 8a e9 db 0f 1d f3 ed d8 f4 e7 7e 48 20 dd |.H..........~H .| -000002d0 bc 86 cb 6d 5c 7e 96 e6 10 bb f0 94 90 18 d0 c3 |...m\~..........| -000002e0 b1 f4 50 4c ec 17 02 b9 24 60 0f ec b7 69 a2 0d |..PL....$`...i..| -000002f0 a6 92 06 01 00 80 7c e4 7a 6e b1 41 3d 61 e2 37 |......|.zn.A=a.7| -00000300 52 6d 41 d9 30 c1 19 bd 16 91 e2 f5 c5 ed fe 34 |RmA.0..........4| -00000310 ac 66 48 77 b1 45 d3 de b9 c0 e8 d2 c2 7a ce 6e |.fHw.E.......z.n| -00000320 4d 3a 20 c5 39 43 8e 5c 2e bc f9 be bf de 29 8f |M: .9C.\......).| -00000330 32 01 30 35 84 79 38 26 c1 3f 25 00 4a fd 88 3a |2.05.y8&.?%.J..:| -00000340 07 b0 f3 4e 3e ed b7 e9 e3 a1 cc b8 7e 2c f3 d0 |...N>.......~,..| -00000350 ca 8b 5d b4 ec 47 70 2f d1 ce 63 68 b6 34 21 e4 |..]..Gp/..ch.4!.| -00000360 e2 c8 8b 86 23 8f 2a 1c 9f 47 76 25 be d0 ff 74 |....#.*..Gv%...t| -00000370 1d 52 49 45 f4 52 16 03 03 00 04 0e 00 00 00 |.RIE.R.........| +000002b0 41 04 2c ef 47 e1 3e 62 8a b8 4b 15 1e e7 96 d2 |A.,.G.>b..K.....| +000002c0 66 d4 92 73 94 e5 16 26 85 41 a6 de a3 55 2a 13 |f..s...&.A...U*.| +000002d0 41 61 f5 b0 88 6b 32 5e fb aa e9 54 8e c1 a6 50 |Aa...k2^...T...P| +000002e0 cc 4e da ee b9 3d 6e 93 f6 f9 2b 0c a9 39 9f 55 |.N...=n...+..9.U| +000002f0 59 79 06 01 00 80 b8 2d f7 af ba 91 f5 c3 64 2e |Yy.....-......d.| +00000300 d3 80 d5 f6 26 8e 0b 6c 04 5e e9 5e c9 13 44 e2 |....&..l.^.^..D.| +00000310 6c 3c bc e9 3d a5 51 a1 3f 65 85 45 b9 85 c7 9e |l<..=.Q.?e.E....| +00000320 07 6c 50 fe de ee e9 52 38 37 51 b0 48 95 0d 1b |.lP....R87Q.H...| +00000330 77 c8 17 3a 16 27 fc 7b 41 ef d9 33 80 08 cb 56 |w..:.'.{A..3...V| +00000340 10 d1 d2 06 d6 96 24 e0 c5 b9 22 08 78 0c 00 06 |......$...".x...| +00000350 82 33 9c 7d 43 b3 d6 14 95 55 1d db 2f 35 44 3b |.3.}C....U../5D;| +00000360 f4 3b fe b5 23 e6 a0 61 a1 d3 b4 ab b1 93 f4 18 |.;..#..a........| +00000370 b3 ba a4 a1 3c ba 16 03 03 00 04 0e 00 00 00 |....<..........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| 00000020 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.| 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| -00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 f0 76 |.....(.........v| -00000060 26 74 4d 04 96 04 8f 3b f3 98 ef d5 3f 7e d9 62 |&tM....;....?~.b| -00000070 6c f7 a9 30 8d 87 69 a9 6f 11 82 b6 28 aa |l..0..i.o...(.| +00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 c1 29 |.....(.........)| +00000060 54 3e 17 c5 7f 02 d6 f2 44 46 10 a8 06 db 57 30 |T>......DF....W0| +00000070 07 fb 45 94 d6 e6 68 68 68 5d d6 5b 4c ee |..E...hhh].[L.| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 52 |............ ..R| -00000010 36 d9 84 91 9a 00 94 1c 58 6f 4b 83 9d 10 1d d7 |6.......XoK.....| -00000020 09 22 66 55 27 ff 11 4b 88 72 3f d0 2d 82 bd f6 |."fU'..K.r?.-...| -00000030 2e 17 7c 24 6d b3 23 cf a5 c1 b1 80 51 7b bf 52 |..|$m.#.....Q{.R| -00000040 0a 19 65 84 f1 68 01 3d 48 35 10 dd be 1a 36 12 |..e..h.=H5....6.| -00000050 ef 14 de b2 d1 25 c0 7d 5b 03 5b bf 2b e5 26 16 |.....%.}[.[.+.&.| -00000060 aa c9 bb 5f ca ca 21 21 97 35 d0 03 14 1c 9b df |..._..!!.5......| -00000070 50 cd 46 d7 8a 67 88 40 0c 3b ee 92 78 67 ac c1 |P.F..g.@.;..xg..| -00000080 bc 99 68 ef dd ff e4 d6 da 93 4b d3 b6 e0 44 8d |..h.......K...D.| -00000090 d3 08 78 30 82 60 07 d4 fe 8f 41 96 66 1d 93 1c |..x0.`....A.f...| -000000a0 08 37 52 bd f9 5f 9c f5 f2 8c 23 70 62 3c 51 2c |.7R.._....#pbot.="| -000000e0 8d e4 0a a6 66 49 69 16 0d 34 e5 12 22 b4 87 a7 |....fIi..4.."...| -000000f0 26 5e |&^| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 ac |............ ...| +00000010 53 06 ee 3b f6 7b 26 1a ec c5 85 7c a8 6e 51 96 |S..;.{&....|.nQ.| +00000020 06 f5 1d e6 01 dd 78 1f d2 54 08 75 56 5d 5f c0 |......x..T.uV]_.| +00000030 29 8b d6 51 44 37 d3 c8 85 95 39 a4 4a 85 13 d0 |)..QD7....9.J...| +00000040 45 34 aa b2 ba 66 27 b0 17 40 f4 5a 24 fb c6 25 |E4...f'..@.Z$..%| +00000050 d6 77 b1 4f 93 93 15 66 17 7e 7e 0d e4 57 ee 63 |.w.O...f.~~..W.c| +00000060 c3 85 a4 00 3e 69 a7 62 24 46 f0 d6 d9 03 d9 29 |....>i.b$F.....)| +00000070 98 ef 08 05 90 e4 aa 2e 7d 6e 3b fb 7f 63 70 75 |........}n;..cpu| +00000080 6c 48 e2 78 17 fb 59 a2 eb 35 29 d9 b7 17 6c 33 |lH.x..Y..5)...l3| +00000090 08 7b e3 66 82 b0 c0 d3 89 cf 3a 7b af 23 d7 14 |.{.f......:{.#..| +000000a0 52 91 7e ac 98 06 72 a6 fa 4c 4d b4 4b ca 95 16 |R.~...r..LM.K...| +000000b0 e0 00 65 60 ae 9a 5c 04 14 3f 40 19 79 f6 55 14 |..e`..\..?@.y.U.| +000000c0 03 03 00 01 01 16 03 03 00 28 e5 23 f6 77 4b 85 |.........(.#.wK.| +000000d0 92 bf 15 46 7b a6 ee 51 57 42 7b 6d aa 72 b3 5b |...F{..QWB{m.r.[| +000000e0 bf 37 8d d9 18 19 ea 06 a6 8e 62 03 bb 1e b5 15 |.7........b.....| +000000f0 e4 17 |..| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 8d dc 9f |................| -00000010 bf d8 8f 7d 06 31 69 85 02 74 46 c4 2c 80 a0 0d |...}.1i..tF.,...| -00000020 03 16 d1 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| -00000030 6b d4 ea 1f 98 1f 95 d6 ea bc bf c5 10 a6 b1 bd |k...............| -00000040 6c a6 |l.| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 44 75 ae |.............Du.| +00000010 f0 29 25 af e9 1a 08 18 c7 47 a3 81 f7 5d c1 16 |.)%......G...]..| +00000020 8b f1 d4 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 0a b6 10 fe 85 bb 58 03 1c b5 2e 12 34 8f f3 a3 |......X.....4...| +00000040 b6 fe |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 index b97a9ec2..778c8379 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 @@ -12,9 +12,9 @@ 000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 0a |P...............| 000000b0 0a 00 1d 00 17 00 18 1a 1a 00 01 00 |............| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 dd 01 fd 8a 03 |....A...=.......| -00000010 0e c0 67 49 58 ff 55 fb 82 7f 34 30 61 12 2f ac |..gIX.U...40a./.| -00000020 9f 8c 15 cf 14 5c fd 59 25 a4 3f 00 c0 2f 00 00 |.....\.Y%.?../..| +00000000 16 03 03 00 41 02 00 00 3d 03 03 1c 7e ce 0c 23 |....A...=...~..#| +00000010 21 e4 09 6b 05 2e 19 5f 32 0c b5 e3 e0 91 ed 6b |!..k..._2......k| +00000020 9f 77 04 94 1d 80 fb 79 25 5f 07 00 c0 2f 00 00 |.w.....y%_.../..| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,44 +55,44 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 dd 25 a7 29 9d ef f5 5b 83 8c 2e a0 73 84 b3 | .%.)...[....s..| -000002c0 fe 4f 41 59 18 ef 12 24 70 e4 60 dc 92 e1 84 73 |.OAY...$p.`....s| -000002d0 19 04 01 00 80 af 3b 0f 98 4d 5f 6b 06 0b 2a 2c |......;..M_k..*,| -000002e0 3c f9 65 73 30 f9 00 9e 87 24 95 7e bd 93 b9 c9 |<.es0....$.~....| -000002f0 b2 8f d3 3d d3 54 e8 0f 30 27 69 29 87 39 54 5c |...=.T..0'i).9T\| -00000300 82 69 64 ac 04 6b a0 cc 93 4b cd e8 6d 4f 14 3e |.id..k...K..mO.>| -00000310 2c 69 4c 50 32 59 b1 2c 1c 31 b9 d4 6c 40 ed e6 |,iLP2Y.,.1..l@..| -00000320 6c 6f 6c ed 9d 1f cf 21 d9 36 84 a7 78 6a 95 83 |lol....!.6..xj..| -00000330 90 21 e8 86 54 87 8b d8 25 20 f8 be 4b 87 f8 c0 |.!..T...% ..K...| -00000340 24 f2 93 e5 d4 07 09 45 37 37 0c 46 b2 68 c1 21 |$......E77.F.h.!| -00000350 fc 54 3a cf 86 16 03 03 00 04 0e 00 00 00 |.T:...........| +000002b0 20 c2 5a 81 99 29 67 e6 ad b0 f5 ba 93 10 c1 36 | .Z..)g........6| +000002c0 f1 52 be eb 70 b0 d3 ec fd 41 38 cc 1e 72 4d bf |.R..p....A8..rM.| +000002d0 0b 04 01 00 80 4d b8 3e 7c fe ff f4 e9 b5 59 bb |.....M.>|.....Y.| +000002e0 32 e2 86 9d ad a6 43 20 e6 bf 67 3e 97 bd 59 f5 |2.....C ..g>..Y.| +000002f0 a3 cc 7d 68 19 40 17 55 48 36 2d d0 3d 21 0d 6b |..}h.@.UH6-.=!.k| +00000300 13 6e 24 e1 11 3a 25 1a 9c d9 59 93 da 46 e5 1c |.n$..:%...Y..F..| +00000310 aa 55 61 60 d0 35 a1 e0 6a ee e1 6c 9f d9 a5 8d |.Ua`.5..j..l....| +00000320 13 e5 79 8b da 6d 97 6f 38 07 4f 8b 54 e8 ac 50 |..y..m.o8.O.T..P| +00000330 c2 77 1c da 66 22 a1 ee 98 e2 1c d6 ba 93 7d 4b |.w..f"........}K| +00000340 d5 52 1a d8 2c 52 eb 03 a7 0d 4b 27 c1 36 4e 9b |.R..,R....K'.6N.| +00000350 58 84 4f 6a e6 16 03 03 00 04 0e 00 00 00 |X.Oj..........| >>> 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 5d 27 51 |....(........]'Q| -00000040 7e db 70 45 cf 5e 44 e1 84 d1 14 ad 50 11 b8 b3 |~.pE.^D.....P...| -00000050 9a e8 dd 00 d7 2b 1f 41 6a c5 7f 9e 99 |.....+.Aj....| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 05 28 5c |....(.........(\| +00000040 f9 5b ca 26 20 23 4b d6 9f 61 64 75 7b f4 d9 09 |.[.& #K..adu{...| +00000050 f2 5c ff 39 85 32 2e 75 3d 20 85 38 76 |.\.9.2.u= .8v| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 46 |............ ..F| -00000010 40 67 55 af 9c 70 d9 18 59 12 0e 8c 0d 0f 15 22 |@gU..p..Y......"| -00000020 d2 63 73 e9 80 ba 47 c0 37 79 f3 18 66 9d df 17 |.cs...G.7y..f...| -00000030 6e 15 b7 63 5a 16 d1 50 bf 03 71 52 41 b5 4b c9 |n..cZ..P..qRA.K.| -00000040 ab 00 66 9f 5d d0 ac 51 6f d1 f6 21 43 54 72 d3 |..f.]..Qo..!CTr.| -00000050 23 2e d7 bd dc c4 04 19 fe 7c c1 9d 94 41 89 cb |#........|...A..| -00000060 aa 82 1a e5 6b 5b c0 3f be c6 2b 54 19 03 bc 90 |....k[.?..+T....| -00000070 ab 9c d1 81 3c d8 95 96 19 c1 b4 b2 b9 3c 76 7c |....<........>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 cc aa 03 |................| -00000010 3d 94 47 98 f8 93 86 e5 33 4b 2d ad 9b aa 3c 7e |=.G.....3K-...<~| -00000020 32 89 62 15 03 03 00 1a 00 00 00 00 00 00 00 02 |2.b.............| -00000030 08 ca 0a f6 4e e6 1f 46 78 38 3a 9e cd 84 4f fa |....N..Fx8:...O.| -00000040 64 8e |d.| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 f3 87 bc |................| +00000010 05 e5 2e 00 78 f5 c1 26 ab 74 e1 31 46 e4 3c 86 |....x..&.t.1F.<.| +00000020 81 0f 9b 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 95 5a 1d 18 7f 37 94 29 9a 56 b2 47 59 70 32 4d |.Z...7.).V.GYp2M| +00000040 16 55 |.U| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Firefox-55 index 481a8c99..e8f9deb9 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 d9 3d e5 57 05 |....A...=...=.W.| -00000010 21 06 64 86 20 56 c9 8c 00 b2 4e d2 f6 40 37 c9 |!.d. V....N..@7.| -00000020 b5 69 df 9e 3d 1d 07 57 35 aa 14 00 c0 2f 00 00 |.i..=..W5..../..| +00000000 16 03 03 00 41 02 00 00 3d 03 03 c7 37 2b 61 19 |....A...=...7+a.| +00000010 9a 35 75 fc d8 05 df eb fd 6d 63 37 9a 65 76 fb |.5u......mc7.ev.| +00000020 07 11 93 5d 00 c2 10 61 f1 ed 99 00 c0 2f 00 00 |...]...a...../..| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,44 +55,44 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 2d ff 9b 78 b7 68 7a f5 2e c6 4b 8e ab c9 fa | -..x.hz...K....| -000002c0 60 39 8d 82 a4 b0 df b8 17 38 9d f7 7e 9f 6c 46 |`9.......8..~.lF| -000002d0 19 04 01 00 80 42 dd 95 d7 8c e5 0c 08 3a 27 90 |.....B.......:'.| -000002e0 47 ea a3 d0 88 c1 ff ca 89 9b 8b 33 94 36 e4 f0 |G..........3.6..| -000002f0 94 31 a8 91 18 11 00 40 49 87 95 40 76 d6 4f 0e |.1.....@I..@v.O.| -00000300 47 11 bd 5a aa 7c 8e 6a 21 9a f7 5d fa bd da 47 |G..Z.|.j!..]...G| -00000310 a5 57 08 bb dd f6 4c 52 14 5e 62 b1 99 a4 18 cc |.W....LR.^b.....| -00000320 ae 96 33 2f 73 2c a9 af 5b ea e5 0e 13 ac 4d b6 |..3/s,..[.....M.| -00000330 6a fb e0 a5 f1 6f ec 0e ca 75 32 3e 9f 05 f5 0e |j....o...u2>....| -00000340 1e 9c 5f 2b 4a 24 79 2b 96 4f 6b ab d7 34 53 a4 |.._+J$y+.Ok..4S.| -00000350 f3 28 64 11 34 16 03 03 00 04 0e 00 00 00 |.(d.4.........| +000002b0 20 83 cb 97 92 b6 5d 77 92 06 08 12 a1 17 6e 34 | .....]w......n4| +000002c0 78 f5 52 7f c0 d1 ba aa 57 63 be 63 f0 e2 68 91 |x.R.....Wc.c..h.| +000002d0 17 04 01 00 80 db 40 ff 86 1e 26 83 b3 99 58 7b |......@...&...X{| +000002e0 0f 2b 54 72 a1 22 da 2b f2 3e f9 4a 92 c7 ec 8f |.+Tr.".+.>.J....| +000002f0 a1 87 60 71 fd 85 df cd e9 f4 ef 98 d9 68 4e 2f |..`q.........hN/| +00000300 40 c9 fd 3c 43 31 18 4f 31 3a d9 70 01 f6 7f b7 |@..>> 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 c6 20 14 |....(......... .| -00000040 87 07 f4 aa 34 5a 1f d0 85 b3 8c 08 2b f6 f7 9b |....4Z......+...| -00000050 e5 04 db 39 48 b2 f0 5e aa e7 80 39 94 |...9H..^...9.| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 51 99 54 |....(........Q.T| +00000040 2b 58 31 d9 12 2e c2 11 3f e9 09 d3 86 85 ae 85 |+X1.....?.......| +00000050 d7 84 87 fa b2 f0 d1 23 69 ee d4 c1 e0 |.......#i....| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 81 |............ ...| -00000010 35 2e e2 c3 b5 c9 85 c8 91 8d 01 ae ba 42 08 a8 |5............B..| -00000020 ad 2f f1 89 85 f5 1d 48 21 71 33 ef 4b 5c c1 44 |./.....H!q3.K\.D| -00000030 d3 d4 5c 6b 8e 87 4b 41 21 14 d2 34 34 47 78 ae |..\k..KA!..44Gx.| -00000040 16 b4 27 2c dd da c2 0a f4 74 68 af 52 50 7b 94 |..',.....th.RP{.| -00000050 ed 60 ea 5c aa b0 b8 4f 87 49 b2 81 30 a8 53 97 |.`.\...O.I..0.S.| -00000060 86 17 3d fb bc 88 4b 6c 8f 98 cf 6c a7 af 0a 8d |..=...Kl...l....| -00000070 cb 15 17 99 9b 11 f2 d8 bd 3a 70 99 86 1f 9c 3a |.........:p....:| -00000080 a9 63 f1 06 f7 c2 a0 f0 fc ce 42 9e 68 13 b9 c1 |.c........B.h...| -00000090 aa 77 68 42 d0 a9 e9 82 38 13 de 58 10 ff 4a 83 |.whB....8..X..J.| -000000a0 4a 71 7f 5d e1 2a 30 32 1e 7b 6f 75 8c 86 af 69 |Jq.].*02.{ou...i| -000000b0 ac 71 f3 09 d2 1c 6b 51 42 8f 21 6c c8 93 3d 14 |.q....kQB.!l..=.| -000000c0 03 03 00 01 01 16 03 03 00 28 b8 a1 97 c3 b4 99 |.........(......| -000000d0 6a 90 d3 4a 50 87 1c dd 0a 37 ac 75 8a 31 7a cb |j..JP....7.u.1z.| -000000e0 68 f1 07 d4 8f d5 4f 91 7d b8 4c 06 d5 10 66 75 |h.....O.}.L...fu| -000000f0 5b 5e |[^| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 6a |............ ..j| +00000010 45 1e 85 1c b0 ae 8b 14 8f a3 58 de d3 77 ba 2c |E.........X..w.,| +00000020 a3 7a 02 8f c6 59 92 6a f0 4d dc c7 4a 29 08 45 |.z...Y.j.M..J).E| +00000030 d6 b5 a1 9e b8 5e 4c d6 ab 32 38 1f e7 e8 9f d5 |.....^L..28.....| +00000040 5e bd f6 bf d3 65 34 9a 70 0a 89 67 79 44 5b 3a |^....e4.p..gyD[:| +00000050 51 3a cd 66 e2 9c 8c 2b c5 ba d9 08 fd 24 fa 66 |Q:.f...+.....$.f| +00000060 4a e2 37 ea 1e c3 63 0b 6f a2 01 53 64 ad b9 af |J.7...c.o..Sd...| +00000070 e4 6d e2 ff 9c 2b 4d 2b c4 3a 1d 1d 9b a3 98 d7 |.m...+M+.:......| +00000080 25 cf c9 b8 40 af 99 fd 15 fc f7 85 93 f3 22 ae |%...@.........".| +00000090 07 dc f8 3f 56 d7 21 1e 2c 5c b2 90 40 1c f4 ff |...?V.!.,\..@...| +000000a0 6f 79 3e 9f c3 23 6d 8d b3 32 dc eb ec 5c 14 87 |oy>..#m..2...\..| +000000b0 f5 12 f1 1c 49 bf b3 7f 69 78 3a 87 8d bf a9 14 |....I...ix:.....| +000000c0 03 03 00 01 01 16 03 03 00 28 6d a4 27 4b 0d 8d |.........(m.'K..| +000000d0 cf 61 57 9a c9 82 52 3f 1a 27 4c 54 f7 73 71 50 |.aW...R?.'LT.sqP| +000000e0 e8 f8 9e 71 ea bd c2 41 2d 55 e3 45 56 cb 00 b3 |...q...A-U.EV...| +000000f0 37 1a |7.| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 f1 bb 0f |................| -00000010 e5 93 5f f6 a3 d0 ab 8a 5a 46 fc 0a 6f 12 2b 88 |.._.....ZF..o.+.| -00000020 e3 f8 fe 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| -00000030 3d 44 85 b5 cc b0 a6 00 c0 32 09 ee 3e 68 25 19 |=D.......2..>h%.| -00000040 2d c8 |-.| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 d2 4f fc |..............O.| +00000010 4c 46 8f 69 00 08 ec 85 07 14 0f 1b e0 8b cf 69 |LF.i...........i| +00000020 0a b8 5b 15 03 03 00 1a 00 00 00 00 00 00 00 02 |..[.............| +00000030 de 7a ce 52 1d 2c 90 80 f6 de ec eb b8 3e 0f 56 |.z.R.,.......>.V| +00000040 a5 c9 |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Golang-0 index 932c9ab8..197b0364 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Golang-0 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-GCM-SHA256-Golang-0 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 ad a3 70 e5 a7 |....Y...U....p..| -00000010 ec 7c be cc 6f 75 87 f4 20 83 02 43 da 7a 0d d3 |.|..ou.. ..C.z..| -00000020 b1 80 a7 ca a2 22 c9 f7 58 43 bd 20 1c 3b 3a e7 |....."..XC. .;:.| -00000030 f7 4e 05 c6 79 4d 4d b3 59 3d a3 c0 85 7b d2 b8 |.N..yMM.Y=...{..| -00000040 f9 9b 7c 48 91 c7 a1 59 7c e5 22 6a c0 2f 00 00 |..|H...Y|."j./..| +00000000 16 03 03 00 59 02 00 00 55 03 03 db 47 28 30 72 |....Y...U...G(0r| +00000010 f1 d3 12 26 d1 2e c6 52 0d 7b 05 4b dd a6 8e 1c |...&...R.{.K....| +00000020 b8 a1 43 15 27 b1 40 1c fb 6b 91 20 34 f5 30 81 |..C.'.@..k. 4.0.| +00000030 64 75 ba f6 0c c7 d4 6a 94 d8 6a d9 5d 74 3f 78 |du.....j..j.]t?x| +00000040 bd c5 62 de ad 3e 6b da 01 6a f4 f0 c0 2f 00 00 |..b..>k..j.../..| 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..............| @@ -54,33 +54,33 @@ 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 53 3f 54 80 1c 8e d7 |........ S?T....| -000002d0 c7 45 80 1d 00 a2 d2 e8 bf f2 20 cb c6 11 42 f0 |.E........ ...B.| -000002e0 45 2d 69 e6 08 9a 15 7e 14 04 01 00 80 81 c5 26 |E-i....~.......&| -000002f0 23 15 23 3f 9b ff d9 24 24 e8 ac 6a dc c6 f1 e0 |#.#?...$$..j....| -00000300 c5 e9 6d 84 f8 d5 32 c1 bb 9a 74 2e 5f f8 22 4f |..m...2...t._."O| -00000310 5b b0 5e 96 63 f6 29 f7 7b 0c ba 0d 2c d5 76 d4 |[.^.c.).{...,.v.| -00000320 9e 29 0a 1c df c9 21 8f 34 6a 71 88 7f 54 1b ec |.)....!.4jq..T..| -00000330 29 94 c7 e5 ad 92 ea bc 5b d5 36 c1 a4 1d 98 93 |).......[.6.....| -00000340 03 1e 6b 83 3e 3e f6 70 5c 07 bf 55 f1 6b 5f 56 |..k.>>.p\..U.k_V| -00000350 22 87 a4 2f 37 82 5a e8 d8 a3 62 4c d4 3b 70 8f |"../7.Z...bL.;p.| -00000360 79 0d 50 13 e6 24 6b a0 d6 e5 71 58 f9 16 03 03 |y.P..$k...qX....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 f1 ec 1a dc 8a 56 4c |........ .....VL| +000002d0 bb de 1b 60 a6 ad 1b 55 ae cc 74 c2 5f 05 7f f5 |...`...U..t._...| +000002e0 96 72 64 58 7f ec 00 24 2b 04 01 00 80 06 d4 78 |.rdX...$+......x| +000002f0 02 ea ea c5 c0 d9 12 df 9b af 6d 33 98 c9 6e e6 |..........m3..n.| +00000300 3b 05 ca 40 84 60 4e 77 b9 33 ec f4 42 37 ba 6a |;..@.`Nw.3..B7.j| +00000310 0b 9b 1c f9 b4 51 c2 8a 8e 65 a8 cb 2e 3d 2f 63 |.....Q...e...=/c| +00000320 32 88 8e c2 13 0e 16 8b 7d 0f 17 73 2a bf c2 c7 |2.......}..s*...| +00000330 16 aa 66 5c e3 bb 1c 8f 81 3b 1e 28 f5 93 36 f9 |..f\.....;.(..6.| +00000340 a9 38 e1 50 8f b3 19 46 1d fe 54 5e 75 f7 88 e3 |.8.P...F..T^u...| +00000350 29 26 5e 7b 26 36 2c a5 2c 65 6f 6b 4e 44 32 5e |)&^{&6,.,eokND2^| +00000360 af e2 c9 44 22 b2 c9 95 e7 e4 35 22 93 16 03 03 |...D".....5"....| 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 28 00 00 00 00 00 00 00 00 d2 7c 36 |....(.........|6| -00000040 1d 73 09 28 46 76 c7 a0 3c 63 14 80 69 fe 45 16 |.s.(Fv..>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 47 4a 56 2a da |..........(GJV*.| -00000010 18 a0 0a fd 21 a3 6f 58 3b 4a a3 b1 39 19 09 5d |....!.oX;J..9..]| -00000020 3b 9a 20 8e 72 93 d3 1f c1 0d 3f da 6c 36 83 c2 |;. .r.....?.l6..| -00000030 ed 28 15 |.(.| +00000000 14 03 03 00 01 01 16 03 03 00 28 ab 54 9a 2c b6 |..........(.T.,.| +00000010 94 78 35 fb 77 7d d9 0e 1a 88 ec 95 fc a6 df 01 |.x5.w}..........| +00000020 ad b4 16 3f 7c be a8 ea 33 58 87 62 e8 39 5b c4 |...?|...3X.b.9[.| +00000030 2d 42 94 |-B.| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 6e a4 e3 |.............n..| -00000010 12 8e 78 62 f8 00 4e fd b4 d0 bb 3c 6e 5c 4d dc |..xb..N....t..| -00000040 a4 13 |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 14 53 0f |..............S.| +00000010 24 57 00 39 de 8e 2f 00 6e 95 61 27 9b 20 07 ba |$W.9../.n.a'. ..| +00000020 51 80 92 15 03 03 00 1a 00 00 00 00 00 00 00 02 |Q...............| +00000030 38 a2 92 3c 2c 41 5d ff 53 12 f9 ae d4 35 a0 6b |8..<,A].S....5.k| +00000040 83 f5 |..| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-22 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-22 index 462da074..4fdda168 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-22 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 3d 02 00 00 39 03 03 fa f2 fa e2 99 |....=...9.......| -00000010 09 79 4c 17 93 85 dc fd e1 c9 b1 39 a8 27 a5 40 |.yL........9.'.@| -00000020 e9 7c ca 1a b7 9b 89 61 3a 9a 1a 00 c0 13 00 00 |.|.....a:.......| +00000000 16 03 03 00 3d 02 00 00 39 03 03 2a 9b 9f e4 e1 |....=...9..*....| +00000010 74 f3 f2 92 39 27 f6 13 f7 76 c9 42 85 37 82 28 |t...9'...v.B.7.(| +00000020 9c 6a a9 4e 22 15 af a9 06 4b 6a 00 c0 13 00 00 |.j.N"....Kj.....| 00000030 11 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 16 03 03 02 59 0b 00 02 55 00 02 52 00 02 |......Y...U..R..| 00000050 4f 30 82 02 4b 30 82 01 b4 a0 03 02 01 02 02 09 |O0..K0..........| @@ -55,20 +55,20 @@ 00000270 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 |s..Cw.......@.a.| 00000280 4c 72 2b 9d ae db 46 06 06 4d f4 c1 b3 3e c0 d1 |Lr+...F..M...>..| 00000290 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 |.B...=.`.\!.;...| -000002a0 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 6d 44 |............A.mD| -000002b0 87 bb 28 ca 8c b7 8c 1d 1d 1d 2a 9a f3 18 d2 67 |..(.......*....g| -000002c0 d3 c2 1a 3c d4 99 ea 16 42 7f 8a 66 ed a1 cc 3e |...<....B..f...>| -000002d0 68 f3 06 ec e1 c8 df 69 90 ec 62 06 84 e5 b1 ab |h......i..b.....| -000002e0 d6 50 f3 1a 7e f8 a5 65 93 5b 91 dc d8 1a 06 01 |.P..~..e.[......| -000002f0 00 80 7e 0a 6a 5b bb 37 2b ff fe 8c 29 a7 cf 6c |..~.j[.7+...)..l| -00000300 e4 d9 ad b2 16 5e 1c eb a3 49 e0 b1 4e a2 f8 fb |.....^...I..N...| -00000310 e1 7f 1c 39 38 ab f9 b4 11 f4 00 78 4a e9 6b 2e |...98......xJ.k.| -00000320 68 32 45 31 46 e1 67 c0 be ac d9 1d 0a 05 fa 2f |h2E1F.g......../| -00000330 8e 4c 4e f6 eb 9e 62 0f e1 6d 1a c3 b8 9b 41 20 |.LN...b..m....A | -00000340 84 88 a5 b2 6f 57 f0 db 7c 55 e9 b5 83 b8 57 f3 |....oW..|U....W.| -00000350 03 cf e3 16 64 4d 4a 76 9f ec 82 8d 0b ee 46 05 |....dMJv......F.| -00000360 29 2c 64 0b 96 f3 58 77 a6 7d e3 53 9b 83 27 df |),d...Xw.}.S..'.| -00000370 77 fc 16 03 03 00 04 0e 00 00 00 |w..........| +000002a0 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 d0 93 |............A...| +000002b0 32 bf 5b 0a 7a b3 44 a3 aa 6f ce 91 0d 19 ef f2 |2.[.z.D..o......| +000002c0 69 6b 2f a0 62 27 1b 64 84 89 53 4e 6b c1 57 f8 |ik/.b'.d..SNk.W.| +000002d0 3c 10 ab 7e a4 fc 1b 26 4d c9 3e 56 ab 55 0f 25 |<..~...&M.>V.U.%| +000002e0 a7 d9 6c e9 c7 bf f3 29 f6 43 5f cc 86 5f 06 01 |..l....).C_.._..| +000002f0 00 80 a8 5e e1 d8 47 69 b8 ff af da 64 ab 78 03 |...^..Gi....d.x.| +00000300 c0 ec c7 c2 00 a5 1f e8 fd 23 a5 a0 87 3b 91 6f |.........#...;.o| +00000310 7c bb aa 4f fd 71 94 6a 0b 9f de d5 50 ec a8 24 ||..O.q.j....P..$| +00000320 fa e5 60 d9 6e 52 45 89 f2 14 75 47 8a e6 1d 69 |..`.nRE...uG...i| +00000330 8b 04 6c 2d c8 74 a1 30 58 9b aa fc 7a 8e 48 6c |..l-.t.0X...z.Hl| +00000340 35 7d a7 c5 ef 2c 80 c4 24 14 0f 2d 55 11 e5 5d |5}...,..$..-U..]| +00000350 72 48 ff a3 92 2d 43 46 e6 67 92 7e 2b 17 99 15 |rH...-CF.g.~+...| +00000360 61 1f e2 c3 ab 11 1e 2b fa 3e e6 7c c4 3f dd ae |a......+.>.|.?..| +00000370 ca e8 16 03 03 00 04 0e 00 00 00 |...........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| @@ -76,32 +76,32 @@ 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| 00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........| -00000060 00 00 00 00 00 00 c1 21 5e 6a ec 2c 12 ac 77 87 |.......!^j.,..w.| -00000070 b5 af f1 90 c5 bf d7 8c 4d 61 ac 5c 95 49 be 69 |........Ma.\.I.i| -00000080 06 cd b2 0d 13 b0 a4 61 ce cd ab e3 c3 f8 b3 16 |.......a........| -00000090 28 7b d0 c0 8f 65 |({...e| +00000060 00 00 00 00 00 00 af 22 37 e0 20 37 2e 9b 48 91 |......."7. 7..H.| +00000070 cf b0 e2 6f a8 d9 68 05 ab ff fe 25 a7 a3 00 c6 |...o..h....%....| +00000080 16 f7 3c 94 16 7f ff 8f 06 2b ef b2 8c 27 85 6f |..<......+...'.o| +00000090 7d 13 23 52 85 99 |}.#R..| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 d4 |............ ...| -00000010 06 93 d2 48 c8 80 e7 d6 72 e5 45 94 58 d3 af b7 |...H....r.E.X...| -00000020 eb d9 59 5e 49 66 07 77 c7 75 f0 68 3f 5b ba 06 |..Y^If.w.u.h?[..| -00000030 27 1a 21 36 7a 0e 9b 97 50 2f 35 09 25 6c 0a e2 |'.!6z...P/5.%l..| -00000040 26 6c c0 bc d6 54 25 1a 8f 7c 3c a8 3a db 29 03 |&l...T%..|<.:.).| -00000050 5d 55 e5 47 1a 77 b2 c8 93 8d ed 8d 29 5e 36 a7 |]U.G.w......)^6.| -00000060 2d 14 b7 86 70 79 b2 b6 f9 e7 10 87 c3 40 05 d5 |-...py.......@..| -00000070 e4 b2 5c 9c 70 bd 3b 3b b6 52 ec 2c 09 85 93 df |..\.p.;;.R.,....| -00000080 6b 0a 2d 38 87 33 45 21 57 cf 32 41 37 d7 7b 87 |k.-8.3E!W.2A7.{.| -00000090 1f 83 df e2 0e 6d 68 e3 a6 5f 0f 9e ac 17 d4 cf |.....mh.._......| -000000a0 81 d4 f8 85 c5 4a c8 d7 ce 80 4b ec ab aa 2e 14 |.....J....K.....| -000000b0 03 03 00 01 01 16 03 03 00 40 01 c4 6c 14 a0 92 |.........@..l...| -000000c0 4d 3a 47 d9 c8 c5 76 0a b4 80 86 24 ab dd ae 86 |M:G...v....$....| -000000d0 a2 e0 7e 13 d3 c2 8b cd 38 b3 e5 e2 ff c9 44 9b |..~.....8.....D.| -000000e0 d7 2f 84 c2 61 6e d0 68 20 3c 2f 4e 1e 89 df 11 |./..an.h >> 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 70 51 3c a0 d6 b5 ab 21 3d 7d 92 |.....pQ<....!=}.| -00000020 f5 7e a9 d5 de 0b 29 e4 21 4a 55 3c 7b 8f 83 c5 |.~....).!JU<{...| -00000030 77 ef af ed d1 15 03 03 00 30 00 00 00 00 00 00 |w........0......| -00000040 00 00 00 00 00 00 00 00 00 00 90 dc 82 88 f2 35 |...............5| -00000050 25 37 bd 2a 72 d9 d3 96 2c 95 3e 12 b6 4f 6b 06 |%7.*r...,.>..Ok.| -00000060 61 ff 03 b6 bb 13 7c 42 59 69 |a.....|BYi| +00000010 00 00 00 00 00 fb 07 14 b2 3d e9 4e ec ec 9e d7 |.........=.N....| +00000020 38 c2 37 c2 03 d0 8d 7c 57 fb d2 75 cc df af d1 |8.7....|W..u....| +00000030 f4 b9 a7 b9 b7 15 03 03 00 30 00 00 00 00 00 00 |.........0......| +00000040 00 00 00 00 00 00 00 00 00 00 37 d6 32 a5 f3 25 |..........7.2..%| +00000050 32 6b eb 36 6a 26 85 3b 82 b6 07 c6 c7 1c e3 5e |2k.6j&.;.......^| +00000060 14 09 d7 6e 99 7a 36 83 b7 80 |...n.z6...| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-23 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-23 index 77b77ab6..9fac7669 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-23 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Android-23 @@ -12,9 +12,9 @@ 000000a0 73 70 64 79 2f 38 2e 31 00 0b 00 02 01 00 00 0a |spdy/8.1........| 000000b0 00 06 00 04 00 17 00 18 |........| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 e9 9b 30 af fc |....A...=....0..| -00000010 3c b7 0a 23 cc 93 5e e0 37 c6 77 b2 f1 67 4e 10 |<..#..^.7.w..gN.| -00000020 94 46 33 f8 36 db 95 28 b6 b1 38 00 c0 13 00 00 |.F3.6..(..8.....| +00000000 16 03 03 00 41 02 00 00 3d 03 03 f1 e4 72 9b 1f |....A...=....r..| +00000010 60 71 4d 7f fc 8a b3 cc ea 94 0f d2 84 d5 a6 0d |`qM.............| +00000020 99 68 fb 12 95 38 b1 61 c3 bd af 00 c0 13 00 00 |.h...8.a........| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,19 +55,19 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 cd 0c 00 00 c9 03 00 17 |;...............| -000002b0 41 04 4b f5 34 22 0d 6f ab d7 6a 49 a3 12 94 d3 |A.K.4".o..jI....| -000002c0 db 29 f3 28 29 a9 74 33 76 a3 9f d4 cf 75 12 dd |.).().t3v....u..| -000002d0 b1 89 b9 dc 91 05 77 54 ca bb cb 16 a9 b7 ce f4 |......wT........| -000002e0 c0 cb 56 5d a3 44 88 fe 79 ca 42 1d 83 fc 85 98 |..V].D..y.B.....| -000002f0 b9 2c 06 01 00 80 0e e3 2e ed 5d 23 b1 c2 52 a3 |.,........]#..R.| -00000300 02 a3 32 1a a6 9c 78 42 13 eb cd 54 b2 72 24 9a |..2...xB...T.r$.| -00000310 51 17 d6 7b b6 80 01 83 d3 9f 2a 51 89 2a 02 19 |Q..{......*Q.*..| -00000320 cf 8a 63 f6 27 fb ce a9 47 10 58 09 85 4e ff ef |..c.'...G.X..N..| -00000330 a4 b4 4b 93 d7 e1 06 4a d3 a2 7e 51 dd 7b c4 bc |..K....J..~Q.{..| -00000340 1c 68 5f 0d 72 51 3e 72 ef 3e 57 fa b1 d0 fd 37 |.h_.rQ>r.>W....7| -00000350 ab 6c 5e f5 4b fc 88 50 3d 62 a4 d0 d5 3b d1 6b |.l^.K..P=b...;.k| -00000360 7e 34 18 26 2d 82 c9 19 ff 3b bb 28 4f f2 b5 8b |~4.&-....;.(O...| -00000370 94 6a db e6 cc fb 16 03 03 00 04 0e 00 00 00 |.j.............| +000002b0 41 04 1f b3 c2 7f bb 71 64 43 8c 7a ca 00 6f 1d |A......qdC.z..o.| +000002c0 f7 e8 e9 4f 94 c2 6a 7d e4 79 17 3e a3 72 5d b2 |...O..j}.y.>.r].| +000002d0 be b1 9a fa 18 d1 7c bc a3 eb 20 cc 41 26 8f 85 |......|... .A&..| +000002e0 0a 1c a5 3b 8e 03 b4 26 e4 dd d2 f7 c2 9b c3 18 |...;...&........| +000002f0 be dc 06 01 00 80 80 42 b3 6f 50 f5 35 6a b8 84 |.......B.oP.5j..| +00000300 83 ea 51 25 5a a4 ae 73 5f 63 9f bb 42 ab c0 7b |..Q%Z..s_c..B..{| +00000310 d3 55 71 17 21 6d fe 59 8c 30 44 d9 5a 1a f1 5d |.Uq.!m.Y.0D.Z..]| +00000320 16 84 62 a1 34 71 eb 53 f3 04 f7 56 46 ae 86 0d |..b.4q.S...VF...| +00000330 87 3a 35 25 0e 99 57 73 62 94 29 76 04 8c 27 4a |.:5%..Wsb.)v..'J| +00000340 6b 02 b1 2c 0f 52 95 ad b2 cc 05 a5 5b dc 3f e3 |k..,.R......[.?.| +00000350 86 57 e0 85 2f d4 5b 97 7e 1c 47 24 da 27 50 b1 |.W../.[.~.G$.'P.| +00000360 6a df 8d 7c ff 79 9e e9 6e 8d d5 93 6d 26 bb 12 |j..|.y..n...m&..| +00000370 a2 1b 07 76 e7 43 16 03 03 00 04 0e 00 00 00 |...v.C.........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| @@ -75,33 +75,33 @@ 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| 00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........| -00000060 00 00 00 00 00 00 ec a4 98 ed b9 9e 9e 84 61 f8 |..............a.| -00000070 e5 79 92 fc 37 43 a8 69 03 5c 00 3f 16 af 90 82 |.y..7C.i.\.?....| -00000080 ba 41 05 5b 76 95 1b 6c 5c ab 47 81 59 4a 8a 8b |.A.[v..l\.G.YJ..| -00000090 7a ef 9c f8 e5 15 |z.....| +00000060 00 00 00 00 00 00 bd 25 b9 02 fb b3 4b 02 f0 25 |.......%....K..%| +00000070 c3 a7 0f 9f cf b9 7a 2f ae 7c f2 84 62 58 61 d9 |......z/.|..bXa.| +00000080 74 c3 99 01 d0 0a 30 20 7c 48 55 b2 d4 19 8a 6f |t.....0 |HU....o| +00000090 81 1f 0f 02 41 55 |....AU| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 fa |............ ...| -00000010 35 f9 88 1c 07 9c 1c 73 61 81 35 92 a2 4e 87 73 |5......sa.5..N.s| -00000020 bb 50 bb f7 c8 2f ac a5 87 40 fa 7b 48 95 ae 09 |.P.../...@.{H...| -00000030 d8 c6 91 08 a0 21 ab 77 a9 4e d8 61 d0 c3 2b 34 |.....!.w.N.a..+4| -00000040 9d f0 63 eb fd ac 38 73 d1 93 12 4b 0f 55 50 88 |..c...8s...K.UP.| -00000050 a9 18 92 ca 0f 6b 99 53 07 65 9b 92 e4 6b 41 86 |.....k.S.e...kA.| -00000060 7f b0 ff 8e 0a 7f b6 e0 59 52 92 2b ea 1e 45 29 |........YR.+..E)| -00000070 29 dd 9a 92 dd 9b db 86 f9 d8 c7 a8 94 82 f7 8c |)...............| -00000080 d1 34 47 c8 94 4d ab bc d4 fd ba 11 be 3f 8c bf |.4G..M.......?..| -00000090 f3 e3 56 a8 13 bc d6 40 a2 64 a7 35 30 71 f8 39 |..V....@.d.50q.9| -000000a0 bf 2d 67 ae 8b 72 1f ae 47 3d 81 3a 81 50 4d cb |.-g..r..G=.:.PM.| -000000b0 2b 1d 71 99 95 d9 39 d9 dc ec fb 06 6d a5 43 14 |+.q...9.....m.C.| -000000c0 03 03 00 01 01 16 03 03 00 40 5b b7 3e 49 93 88 |.........@[.>I..| -000000d0 5e 27 2c 70 79 2a e7 8e 44 25 c5 59 8c 55 c1 b5 |^',py*..D%.Y.U..| -000000e0 79 b9 54 3a 85 c7 ae 9f ee 6b 0d 15 82 0f b5 c4 |y.T:.....k......| -000000f0 54 a1 5b 02 cf 99 05 3c 46 24 45 d1 88 6c 35 6d |T.[....>> 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 f9 d6 f4 24 f7 af 26 5d b9 bf 01 |........$..&]...| -00000020 c7 ed af 01 fa b4 8e 25 a2 87 2e 21 8a 45 3e 14 |.......%...!.E>.| -00000030 49 07 16 08 1b 15 03 03 00 30 00 00 00 00 00 00 |I........0......| -00000040 00 00 00 00 00 00 00 00 00 00 15 72 a5 77 e0 31 |...........r.w.1| -00000050 4a e8 3b 5c 96 2e 51 8b 74 ac 51 70 52 a0 bb 55 |J.;\..Q.t.QpR..U| -00000060 40 69 07 b3 e9 93 4e 94 94 03 |@i....N...| +00000010 00 00 00 00 00 9f 57 a2 38 e8 7c 71 e7 d0 97 6d |......W.8.|q...m| +00000020 45 8e 38 af 36 ec d3 16 1b ea ab f7 bd 8a a0 d8 |E.8.6...........| +00000030 88 0f 1f 13 79 15 03 03 00 30 00 00 00 00 00 00 |....y....0......| +00000040 00 00 00 00 00 00 00 00 00 00 c5 5c 33 52 2b 2e |...........\3R+.| +00000050 2c b5 a2 0f ae eb 2c e4 44 61 95 05 bb 53 2b 97 |,.....,.Da...S+.| +00000060 53 49 56 e9 16 28 30 43 be 78 |SIV..(0C.x| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Chrome-58 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Chrome-58 index edda4725..a41ee741 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Chrome-58 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Chrome-58 @@ -12,9 +12,9 @@ 000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 0a |P...............| 000000b0 0a 00 1d 00 17 00 18 1a 1a 00 01 00 |............| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 09 8a bb c4 a0 |....A...=.......| -00000010 c0 39 c6 bc f0 f3 b0 e4 0b c8 41 7d 01 eb 0d 62 |.9........A}...b| -00000020 c0 39 80 0d 94 b3 d2 d6 71 07 ec 00 c0 13 00 00 |.9......q.......| +00000000 16 03 03 00 41 02 00 00 3d 03 03 1c a3 e6 5f d5 |....A...=....._.| +00000010 44 40 61 4d 66 e8 b3 7a 29 d2 69 73 8b 76 45 27 |D@aMf..z).is.vE'| +00000020 d2 f2 25 a6 6e 59 06 76 48 f1 bc 00 c0 13 00 00 |..%.nY.vH.......| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,49 +55,49 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 32 5d 06 84 21 18 1f 21 8c 7f 4e 2c ea 30 89 | 2]..!..!..N,.0.| -000002c0 e0 f3 ef 60 44 13 7d 0f 6f f2 e7 60 5c 41 10 cb |...`D.}.o..`\A..| -000002d0 2b 04 01 00 80 a0 da ce 97 3f 9b 06 04 77 13 6f |+........?...w.o| -000002e0 82 59 1b a7 f7 25 42 d5 a2 63 c7 77 68 94 f8 bb |.Y...%B..c.wh...| -000002f0 7f 61 ed f4 6d 97 f8 c4 88 83 26 d0 d5 f3 3e 0c |.a..m.....&...>.| -00000300 c5 4d 07 44 2e d4 ea f6 0d a3 e7 5d fa eb 54 7c |.M.D.......]..T|| -00000310 b9 d6 37 7a e7 50 20 e7 18 44 46 58 40 e9 0d 01 |..7z.P ..DFX@...| -00000320 dc a1 69 f0 6d 05 00 f3 1f bb 3e 6b f0 38 c1 05 |..i.m.....>k.8..| -00000330 e5 34 b5 34 71 07 66 0a 8c e4 2b 9e 02 b0 42 e7 |.4.4q.f...+...B.| -00000340 0f 80 7b d7 7c d3 16 02 b5 6a a2 2c 1f ce 94 c3 |..{.|....j.,....| -00000350 4b e8 0b 3a 87 16 03 03 00 04 0e 00 00 00 |K..:..........| +000002b0 20 4a e0 dc 6f 7b d7 ed 7b c8 0d 03 9c 22 94 69 | J..o{..{....".i| +000002c0 21 17 71 2d 06 f9 10 9f 3d 33 ee 54 b1 5c c9 22 |!.q-....=3.T.\."| +000002d0 2d 04 01 00 80 45 ac 86 9a a1 38 9e ef df 19 2f |-....E....8..../| +000002e0 06 2e fd 21 7e a1 e4 b2 57 b1 20 e6 dd a9 60 e6 |...!~...W. ...`.| +000002f0 62 f2 94 4a ec 23 0b 82 17 e2 2f 49 a7 9c 1e c5 |b..J.#..../I....| +00000300 1d a3 bb 87 97 94 53 93 9e 1f 1e 8d 07 1a 91 d9 |......S.........| +00000310 42 15 90 72 84 fd 13 d9 1b 96 7a 63 ea d3 2b 30 |B..r......zc..+0| +00000320 9b 25 7f b0 61 60 06 42 0f 91 a2 16 9c 88 fa 04 |.%..a`.B........| +00000330 2f c9 3c 7b b3 cb 77 62 29 9f dd 97 c5 9f 82 78 |/.<{..wb)......x| +00000340 cf c5 7f 18 b2 11 0b 4a 75 ef d3 6d 29 2e e0 57 |.......Ju..m)..W| +00000350 e1 fb d0 d8 d9 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 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000040 00 00 00 00 00 16 bf 58 c3 5a 3a bd b8 ce 66 f8 |.......X.Z:...f.| -00000050 b6 ea a1 5a 6e 64 79 9c e2 86 49 d5 a1 8a 89 02 |...Zndy...I.....| -00000060 78 65 1a ed 2e 11 c9 75 8a cc ad 11 d6 7c bd ac |xe.....u.....|..| -00000070 cf c5 b3 33 b7 |...3.| +00000040 00 00 00 00 00 9a 1a fe ab 62 3b e3 bb de 6d b8 |.........b;...m.| +00000050 48 3d e6 84 a9 00 1c 04 6d 09 dc ca b7 e8 a1 b9 |H=......m.......| +00000060 49 83 a2 5a 46 0e e5 5b cd c1 f3 c5 fb c4 37 60 |I..ZF..[......7`| +00000070 53 5c e3 0d bc |S\...| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 21 |............ ..!| -00000010 1e a6 7e 29 16 e8 2f 94 bf 72 12 8a 23 9e 26 b2 |..~)../..r..#.&.| -00000020 6e ad d5 30 b2 f8 8b a1 30 91 6e 8a 06 a7 9a 35 |n..0....0.n....5| -00000030 d8 8a b2 72 36 64 51 4e 67 d0 8f c5 42 56 41 08 |...r6dQNg...BVA.| -00000040 e8 9c e5 a5 93 3c 32 0c 90 cf a6 33 06 b8 75 d9 |.....<2....3..u.| -00000050 e8 70 1f ea 1a a2 81 38 84 42 e2 12 03 56 64 3f |.p.....8.B...Vd?| -00000060 d8 2f a8 f9 13 41 51 23 4f bc 03 87 5d 3b f8 28 |./...AQ#O...];.(| -00000070 46 3e 6a 4f 38 9e cb eb 7b 47 69 95 fa 35 27 45 |F>jO8...{Gi..5'E| -00000080 9f 99 0a 9b fc c3 91 60 07 40 06 f6 43 e5 3b e8 |.......`.@..C.;.| -00000090 1a 26 48 0c 3a 40 d2 18 a3 72 d6 0a c6 6a 95 57 |.&H.:@...r...j.W| -000000a0 34 0c 2e 5e 2d 94 74 8d 7d 13 7a 68 a9 bf ca 10 |4..^-.t.}.zh....| -000000b0 2e 0c e6 b4 50 dc 4f 1f 8a 7d 03 47 98 56 0c 14 |....P.O..}.G.V..| -000000c0 03 03 00 01 01 16 03 03 00 40 7b 72 80 e2 55 e4 |.........@{r..U.| -000000d0 57 cb 76 fe af b7 5f ce dc 02 68 ae cc 22 74 e4 |W.v..._...h.."t.| -000000e0 c9 72 3a 96 a1 db 81 a6 84 84 ca 91 37 96 6e e1 |.r:.........7.n.| -000000f0 93 2d ce 09 00 8f c1 e1 11 10 a4 ba 58 3a c7 4d |.-..........X:.M| -00000100 36 1b 27 df ea b8 14 b7 22 fb |6.'.....".| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 81 |............ ...| +00000010 02 e1 3c 5c 3b 06 1e cc 79 9f 98 fb 17 63 68 30 |..<\;...y....ch0| +00000020 57 1b 4e 25 73 61 61 b3 3a f8 95 7d 80 d4 3f f7 |W.N%saa.:..}..?.| +00000030 75 60 bf d5 94 1c 30 62 f9 7c 89 bf c0 0f dd 5a |u`....0b.|.....Z| +00000040 7b 2a 75 ad be 34 b0 af d1 a9 43 aa 22 d6 e8 56 |{*u..4....C."..V| +00000050 ab 6f 3b d9 5e db 16 f5 6f 46 2b ff 65 f1 98 39 |.o;.^...oF+.e..9| +00000060 8e 3c 9b fe 1c 17 a8 de bb 63 4f 30 eb c3 7f 11 |.<.......cO0....| +00000070 c5 d2 7d cd 1e 5e ec ca c3 13 36 f1 7a 89 c0 e0 |..}..^....6.z...| +00000080 32 5b b6 e5 8e 6b ed 94 ba 56 09 a7 79 c5 7e 0d |2[...k...V..y.~.| +00000090 09 2b fe 0c 93 9e a9 2c 4e cc ea 58 55 f8 0b 8e |.+.....,N..XU...| +000000a0 03 66 51 71 70 4e 67 17 9c 76 88 73 2f e1 30 d8 |.fQqpNg..v.s/.0.| +000000b0 bf 28 33 a2 04 a4 a9 a8 77 14 b8 d2 de 48 24 14 |.(3.....w....H$.| +000000c0 03 03 00 01 01 16 03 03 00 40 6e 3f d3 d5 fa 44 |.........@n?...D| +000000d0 29 a5 ca 15 3d 18 0d fe 0e 21 fb 90 a5 f3 aa 74 |)...=....!.....t| +000000e0 61 90 4c 81 ea 06 5e 06 c8 b4 27 01 5a 1c e9 fa |a.L...^...'.Z...| +000000f0 c6 d6 35 af d0 e8 19 fc f4 ce 53 12 29 51 37 50 |..5.......S.)Q7P| +00000100 5f 66 d9 75 77 8f 5a 61 2c 4d |_f.uw.Za,M| >>> 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 ab cc 42 57 20 66 45 1c 3e f3 75 |.......BW fE.>.u| -00000020 10 5f 79 8c 88 cc e6 9b 59 3b e7 f1 12 53 52 ed |._y.....Y;...SR.| -00000030 c1 29 e6 7a 59 15 03 03 00 30 00 00 00 00 00 00 |.).zY....0......| -00000040 00 00 00 00 00 00 00 00 00 00 05 52 52 7c 08 69 |...........RR|.i| -00000050 fd 6d c9 1c 37 7f 0f e9 0e 6a aa 2f c4 99 b2 61 |.m..7....j./...a| -00000060 97 c1 a7 93 fd e5 0c 8a 9d aa |..........| +00000010 00 00 00 00 00 11 e1 34 42 72 4f 26 cd 5a 0c 76 |.......4BrO&.Z.v| +00000020 a8 18 ed b1 ae db 1b 3f 24 90 45 85 73 ff bf e8 |.......?$.E.s...| +00000030 b8 d8 d4 17 86 15 03 03 00 30 00 00 00 00 00 00 |.........0......| +00000040 00 00 00 00 00 00 00 00 00 00 b4 b9 ef f5 06 60 |...............`| +00000050 4d d2 b9 1f 69 fc f7 a1 74 6f 20 23 cb 3c 1d e7 |M...i...to #.<..| +00000060 c7 9b d6 8f 19 a3 e6 7a 43 e8 |.......zC.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Firefox-55 index c35f1126..9fe6f1b0 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 0a e2 9d 33 16 |....A...=.....3.| -00000010 12 6f 52 62 08 2a 57 33 20 4b 18 a0 40 02 c5 ec |.oRb.*W3 K..@...| -00000020 f2 c2 e6 60 97 c8 f0 52 9b 16 9f 00 c0 13 00 00 |...`...R........| +00000000 16 03 03 00 41 02 00 00 3d 03 03 84 f5 ef 14 85 |....A...=.......| +00000010 e3 94 c6 93 ad c6 b2 93 ce 54 05 c1 74 72 1b 70 |.........T..tr.p| +00000020 d3 5e 44 e3 f6 6a 70 cf 37 11 f5 00 c0 13 00 00 |.^D..jp.7.......| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,49 +55,49 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 fc ba b2 0c 87 6f 04 48 b9 04 c0 8e 50 18 21 | .....o.H....P.!| -000002c0 69 a1 b3 d5 e7 bd 42 39 31 24 15 54 eb 43 e4 da |i.....B91$.T.C..| -000002d0 6b 04 01 00 80 37 2f fb ee 6d ef 02 99 e1 22 76 |k....7/..m...."v| -000002e0 f8 33 77 0a bb fd 56 df d8 21 33 d8 82 ff 92 c3 |.3w...V..!3.....| -000002f0 59 a8 a8 bc 56 1d 2a af 33 50 b1 16 d7 ab e5 73 |Y...V.*.3P.....s| -00000300 49 62 cf 5a d0 15 48 16 e4 eb b7 5b b5 1f 9f 4a |Ib.Z..H....[...J| -00000310 c9 ae 7e c1 8a 6e 3a be c8 61 7a 20 52 fd 22 a3 |..~..n:..az R.".| -00000320 54 65 ba cc e8 3e 6b ea 91 aa 1b d9 d5 7a 87 1c |Te...>k......z..| -00000330 50 fc f0 bd a6 c0 65 00 e6 e8 00 0f c7 e9 46 1b |P.....e.......F.| -00000340 8d 32 37 c6 0e ea e7 bf 10 9e 15 ad c5 e3 a5 28 |.27............(| -00000350 b5 ce 31 95 b4 16 03 03 00 04 0e 00 00 00 |..1...........| +000002b0 20 a9 4e c0 d0 16 c9 cb be 6f 32 c9 ba 47 3a e5 | .N......o2..G:.| +000002c0 94 fe 3c d0 90 00 55 97 81 05 23 d7 3a 35 33 21 |..<...U...#.:53!| +000002d0 77 04 01 00 80 4b e5 2c c0 f6 83 5c e0 24 9b 8b |w....K.,...\.$..| +000002e0 a7 66 60 68 42 9d 89 54 23 4e a5 56 d8 2e 9a e4 |.f`hB..T#N.V....| +000002f0 e9 b5 6d de 67 6b 65 a5 0d 13 57 ce f2 fa 53 89 |..m.gke...W...S.| +00000300 9c f8 56 08 2c fa 91 14 cc 35 16 ee 91 c7 e2 3f |..V.,....5.....?| +00000310 d6 3e 50 39 52 9f ac bd 56 7f d7 7e 61 90 28 77 |.>P9R...V..~a.(w| +00000320 7d d2 57 75 3c 31 95 17 1b 1d fd 14 a8 87 8d 36 |}.Wu<1.........6| +00000330 11 18 45 f6 03 61 13 89 42 1c 37 86 97 92 cc 65 |..E..a..B.7....e| +00000340 a2 a9 94 55 8c ad bf 16 25 a3 72 d2 66 57 5f bd |...U....%.r.fW_.| +00000350 7b 9b 1c 74 19 16 03 03 00 04 0e 00 00 00 |{..t..........| >>> 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 85 e7 1f 78 13 d9 9d 57 45 26 aa |........x...WE&.| -00000050 a5 31 03 5b 1b 67 73 87 08 ba 4e 3f 23 b4 1a 96 |.1.[.gs...N?#...| -00000060 79 e4 fa c2 87 bd 2e 6d 01 36 2a 14 75 53 3f f9 |y......m.6*.uS?.| -00000070 24 c2 0d ca 9a |$....| +00000040 00 00 00 00 00 d7 6a d0 00 01 e5 ff 51 3b f2 67 |......j.....Q;.g| +00000050 3c 7a ef 11 fd 26 cd 72 41 7b b0 d8 40 ec 70 19 |>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 48 |............ ..H| -00000010 6b 89 8b e2 e9 2c 3c 40 56 3a 36 ce 9b 9c 2d 43 |k....,<@V:6...-C| -00000020 e3 d1 b5 ba 04 34 8d d4 dd 8d 90 19 bb db d8 0f |.....4..........| -00000030 53 83 12 d8 e7 8b 67 51 ef fd a9 63 0a 60 81 f3 |S.....gQ...c.`..| -00000040 69 66 6f df 49 36 9b 7c 1e 13 78 95 44 e3 5d 49 |ifo.I6.|..x.D.]I| -00000050 28 09 3f 70 a5 3c 5e 81 66 ff a6 ca 69 73 fd dc |(.?p.<^.f...is..| -00000060 9d 88 ef d7 bd fb 2b 7d e0 6e 9d 3a 6b d8 f7 4f |......+}.n.:k..O| -00000070 2a 47 83 d6 14 29 b9 13 80 62 4a 6f 49 f5 13 58 |*G...)...bJoI..X| -00000080 93 43 6b 94 bb f6 8f 7d 91 34 d2 72 69 76 22 ba |.Ck....}.4.riv".| -00000090 df f9 fd ed ad d5 c4 37 2f a3 6a 65 84 47 72 d6 |.......7/.je.Gr.| -000000a0 cc 18 0c 39 8f 15 f5 1a ff 78 f2 f7 f3 9f 9f 36 |...9.....x.....6| -000000b0 6f 39 81 35 87 76 47 a6 ff fc 68 e4 26 ba b2 14 |o9.5.vG...h.&...| -000000c0 03 03 00 01 01 16 03 03 00 40 13 17 42 67 08 7e |.........@..Bg.~| -000000d0 70 30 36 12 f4 64 12 fa 7f a9 9c 39 d9 0f 2e c9 |p06..d.....9....| -000000e0 27 19 c6 fa 56 d5 ae 6e 6c 6d fe c1 2a 64 1f 5c |'...V..nlm..*d.\| -000000f0 4a 2f 57 e8 82 49 f1 e2 2f 6a dc d6 ac 9b df db |J/W..I../j......| -00000100 26 19 b2 76 2f 0b c0 0a 8c 8c |&..v/.....| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 8d |............ ...| +00000010 d0 0b c2 d0 6a ba f2 ba 93 f3 a4 e3 b6 52 e1 77 |....j........R.w| +00000020 00 99 0e 43 45 a4 48 80 30 c0 f1 c2 3e 56 13 18 |...CE.H.0...>V..| +00000030 06 24 22 51 19 9a 65 69 6a f3 33 d3 1e e8 23 f8 |.$"Q..eij.3...#.| +00000040 10 cf 9a 57 dc 8f be 19 5d f5 ff c6 70 df 51 f9 |...W....]...p.Q.| +00000050 1f 9a de 8b d4 1d 7d b1 93 16 ae 3e 31 d7 e6 1c |......}....>1...| +00000060 9e 55 0f b9 47 df 30 ce ea 6b 5b e1 14 b5 b4 19 |.U..G.0..k[.....| +00000070 fc c4 7d 68 3d 51 7b 1c 0e 15 a0 9b 8e ae 8e 02 |..}h=Q{.........| +00000080 2d f8 fb f0 0c 43 89 67 e7 30 b1 6c 14 8c ff 81 |-....C.g.0.l....| +00000090 0c 83 fc 83 62 74 7d 34 c4 40 f9 53 c7 e8 6c 6c |....bt}4.@.S..ll| +000000a0 91 c5 70 b5 74 65 a8 66 e3 84 f2 ed 92 9b 92 f4 |..p.te.f........| +000000b0 ee 31 74 18 4a 06 b5 8a 56 49 6c aa 7c e3 4c 14 |.1t.J...VIl.|.L.| +000000c0 03 03 00 01 01 16 03 03 00 40 a8 91 e6 c5 02 03 |.........@......| +000000d0 32 c8 88 16 f3 3b 80 05 dd dd ed ab d6 f5 8e c3 |2....;..........| +000000e0 6c cc f9 1d 6e 7f d6 2f 5e 39 18 b8 77 11 dd ce |l...n../^9..w...| +000000f0 17 5c 40 7f 6c 08 9a ce ee ee 58 51 7e 2f 1b 60 |.\@.l.....XQ~/.`| +00000100 f0 eb bb 20 81 03 4a 0e cf 70 |... ..J..p| >>> 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 da 29 90 ed e8 28 69 59 48 63 1a |......)...(iYHc.| -00000020 2c e7 0b 38 37 cb 2d 03 fd 5f 3f 72 2f 58 15 4f |,..87.-.._?r/X.O| -00000030 67 0d ba 1d 18 15 03 03 00 30 00 00 00 00 00 00 |g........0......| -00000040 00 00 00 00 00 00 00 00 00 00 1c d3 4e 32 74 4f |............N2tO| -00000050 63 6c 72 11 a1 41 34 e1 cb 46 af ff cd bd 54 5e |clr..A4..F....T^| -00000060 ea 68 83 02 64 99 75 1a 8c 98 |.h..d.u...| +00000010 00 00 00 00 00 38 e9 a6 59 b4 01 1f 75 46 9d 89 |.....8..Y...uF..| +00000020 78 7c 63 c9 7e e9 7e 12 3a 46 01 90 6c 99 87 b7 |x|c.~.~.:F..l...| +00000030 dc 23 f8 e3 2a 15 03 03 00 30 00 00 00 00 00 00 |.#..*....0......| +00000040 00 00 00 00 00 00 00 00 00 00 63 21 2d 3d ab 9b |..........c!-=..| +00000050 0f 53 74 92 3a d5 ee 88 c8 5d 49 dc 3e 41 73 34 |.St.:....]I.>As4| +00000060 ed 56 4a 04 b2 e7 02 e9 7a 94 |.VJ.....z.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Golang-0 index 2ab9eeae..5aeb7535 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Golang-0 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES128-SHA-Golang-0 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 a6 d6 82 c4 e3 |....Y...U.......| -00000010 ca ab 1f 36 db 41 e6 4d ed 49 63 05 35 f2 63 ee |...6.A.M.Ic.5.c.| -00000020 8d 08 de fd 86 0d cb 16 0a 2d 52 20 2d 86 c9 89 |.........-R -...| -00000030 83 e3 1f b2 f3 33 42 db 52 35 bc 97 32 d8 38 78 |.....3B.R5..2.8x| -00000040 5b c6 b8 d7 f3 91 21 d4 4d cb a7 4f c0 13 00 00 |[.....!.M..O....| +00000000 16 03 03 00 59 02 00 00 55 03 03 ac 16 d8 67 66 |....Y...U.....gf| +00000010 07 18 16 c5 70 2e 95 68 0c 5b 47 da f5 17 b7 cb |....p..h.[G.....| +00000020 d2 f4 6c 4f ed 2d 62 6f 83 be 72 20 4c 9e b1 d3 |..lO.-bo..r L...| +00000030 fa 60 44 e4 13 8f 92 9c bf e5 48 5c c6 7d 19 e3 |.`D.......H\.}..| +00000040 64 b7 21 a0 20 08 eb df 00 f6 f2 82 c0 13 00 00 |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..............| @@ -54,38 +54,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 01 c2 bd 0e ed 60 cf |........ .....`.| -000002d0 be 62 74 fe a4 97 c6 0a 0a f3 ee 6c f8 06 34 aa |.bt........l..4.| -000002e0 94 96 03 3c 51 1a 19 9a 4e 04 01 00 80 9c fe 0f |....| -00000350 f1 d0 85 46 75 8d d9 4f 57 68 02 37 a4 e8 0f 9f |...Fu..OWh.7....| -00000360 6e 11 bf 70 25 8a ef 95 24 4b 07 89 08 16 03 03 |n..p%...$K......| +000002c0 ac 0c 00 00 a8 03 00 1d 20 8a ac fd c2 1f 31 bc |........ .....1.| +000002d0 cf 5f 61 70 4c 04 ba 05 2b 52 7c b3 f4 40 bf 9a |._apL...+R|..@..| +000002e0 3c 88 ac a1 46 46 e5 43 32 04 01 00 80 0c 79 a7 |<...FF.C2.....y.| +000002f0 d6 ac 65 d0 7c e6 9c 81 78 f4 8e 74 a3 e4 41 76 |..e.|...x..t..Av| +00000300 9e f1 0a b7 a3 03 0f 8c 6d 4c b6 2c 96 39 46 62 |........mL.,.9Fb| +00000310 90 7e f0 fa 9c 15 db 86 67 a1 ee e2 f8 77 60 c3 |.~......g....w`.| +00000320 60 ac e3 17 2a 5d 1b bb 6a 64 1e af f4 46 a4 b6 |`...*]..jd...F..| +00000330 ba 3d dc 7e 29 e5 98 f3 32 ea 9f d1 a7 c2 a6 97 |.=.~)...2.......| +00000340 a6 e1 77 61 5a 47 93 ae d2 72 c3 59 6c 0a b3 2a |..waZG...r.Yl..*| +00000350 f2 57 6d 6b 05 99 7a ee 52 6e 41 80 0c 4f d7 80 |.Wmk..z.RnA..O..| +00000360 5c f4 07 a8 94 ca 5a 4c 66 55 9d bd a3 16 03 03 |\.....ZLfU......| 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 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000040 00 00 00 00 00 b2 ff ff 85 2e be 60 40 04 3d 07 |...........`@.=.| -00000050 62 1d 10 b1 0d 15 1f 73 e5 da 39 ae 57 90 2f bf |b......s..9.W./.| -00000060 19 55 70 1f 60 c9 f2 36 1e ba a4 b3 4f 48 74 9b |.Up.`..6....OHt.| -00000070 92 b9 6e c8 ca |..n..| +00000040 00 00 00 00 00 47 8d 9b 76 66 6c b4 04 99 3f 07 |.....G..vfl...?.| +00000050 35 83 4b c2 d0 9a a4 e3 e8 23 30 ed 59 91 2d 3d |5.K......#0.Y.-=| +00000060 d4 73 95 6b fa 95 0a e5 d3 2f c9 cc 2c 8a 53 57 |.s.k...../..,.SW| +00000070 78 cc 51 94 14 |x.Q..| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 40 e5 8e 60 1a ee |..........@..`..| -00000010 ad 63 0f 54 f4 c5 e6 bf 95 bf 54 77 6a 16 62 e9 |.c.T......Twj.b.| -00000020 28 5f bc 1e 42 8d 0f a9 7c 87 63 07 ef bb 7b 5c |(_..B...|.c...{\| -00000030 78 06 aa c2 ea 34 1b 26 e8 9b 14 70 61 cc e6 49 |x....4.&...pa..I| -00000040 5f fa e9 59 fd e4 cf b6 6d 6f 6e |_..Y....mon| +00000000 14 03 03 00 01 01 16 03 03 00 40 79 61 f4 c6 02 |..........@ya...| +00000010 aa 02 d2 71 e6 70 20 35 75 39 02 c9 e1 be cf 6f |...q.p 5u9.....o| +00000020 c7 f5 b7 3b 99 56 32 2b c8 ce 1f e3 d5 a8 5f e6 |...;.V2+......_.| +00000030 c2 77 bf 2b a4 26 0c cf 38 33 ab c3 e6 83 62 45 |.w.+.&..83....bE| +00000040 7c 01 dd 1b ab 43 d8 27 5a 6a 8b ||....C.'Zj.| >>> 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 b2 94 30 24 25 e6 11 31 7e 5a 63 |.......0$%..1~Zc| -00000020 8b eb c3 e6 0b bf 9c f6 90 72 95 e5 fa 8e 7d 9b |.........r....}.| -00000030 e9 9d b3 48 e7 15 03 03 00 30 00 00 00 00 00 00 |...H.....0......| -00000040 00 00 00 00 00 00 00 00 00 00 bb 38 f9 08 78 87 |...........8..x.| -00000050 9a 39 e1 46 e2 17 48 68 fa 8d a7 35 af 18 7d 6e |.9.F..Hh...5..}n| -00000060 b7 7e 27 88 a4 a7 74 8d c9 6a |.~'...t..j| +00000010 00 00 00 00 00 21 83 72 fb f8 16 74 43 ab 51 69 |.....!.r...tC.Qi| +00000020 5e d3 0f bf 69 cb 24 8a bf 5c 22 82 9f e3 c6 37 |^...i.$..\"....7| +00000030 62 d4 05 bb c0 15 03 03 00 30 00 00 00 00 00 00 |b........0......| +00000040 00 00 00 00 00 00 00 00 00 00 32 d2 fe 77 e9 51 |..........2..w.Q| +00000050 d3 6d 3b f3 37 56 bd 84 bb 31 86 e4 bf 1f bb d3 |.m;.7V...1......| +00000060 34 8b 8f a2 d3 57 1a 64 f1 72 |4....W.d.r| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-22 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-22 index ca87e904..7f20056b 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-22 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-22 @@ -13,9 +13,9 @@ 000000b0 33 2e 31 00 0b 00 02 01 00 00 0a 00 08 00 06 00 |3.1.............| 000000c0 17 00 18 00 19 |.....| >>> Flow 2 (server to client) -00000000 16 03 03 00 3d 02 00 00 39 03 03 95 b1 5e e0 7f |....=...9....^..| -00000010 60 0f dd 13 17 ea 44 00 f1 fe 48 f6 82 80 98 fe |`.....D...H.....| -00000020 89 09 88 2a 46 86 f0 41 ca 5e 48 00 c0 14 00 00 |...*F..A.^H.....| +00000000 16 03 03 00 3d 02 00 00 39 03 03 a4 6a 66 f8 86 |....=...9...jf..| +00000010 5f f5 ec cc 1f 30 89 36 35 a4 16 c6 36 55 d8 af |_....0.65...6U..| +00000020 93 10 e2 d9 28 1f d1 60 10 d3 46 00 c0 14 00 00 |....(..`..F.....| 00000030 11 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 16 03 03 02 59 0b 00 02 55 00 02 52 00 02 |......Y...U..R..| 00000050 4f 30 82 02 4b 30 82 01 b4 a0 03 02 01 02 02 09 |O0..K0..........| @@ -55,20 +55,20 @@ 00000270 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 |s..Cw.......@.a.| 00000280 4c 72 2b 9d ae db 46 06 06 4d f4 c1 b3 3e c0 d1 |Lr+...F..M...>..| 00000290 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 |.B...=.`.\!.;...| -000002a0 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 e4 5d |............A..]| -000002b0 80 36 5a ec b0 f6 2a 67 8d 6c e0 4d e6 62 32 29 |.6Z...*g.l.M.b2)| -000002c0 94 49 54 a6 f6 e3 28 52 91 54 97 b5 b7 f2 c2 a1 |.IT...(R.T......| -000002d0 f4 f1 1a 42 ed cb 20 52 3e 50 de c9 2e 39 c1 08 |...B.. R>P...9..| -000002e0 cd 48 e0 4a 6a 2c 04 af 1e 50 64 70 6b 6d 06 01 |.H.Jj,...Pdpkm..| -000002f0 00 80 17 55 95 86 9c 7f e3 94 16 b7 07 35 f2 44 |...U.........5.D| -00000300 f0 b9 06 a7 cf 36 6d e0 9c 5a bc c4 1a ab 15 cc |.....6m..Z......| -00000310 2b 70 e8 76 6d f7 9a 7c 8a 56 63 38 c9 12 e5 73 |+p.vm..|.Vc8...s| -00000320 e6 36 46 ba 24 6e e1 2f 26 13 0f 59 32 60 81 3d |.6F.$n./&..Y2`.=| -00000330 52 7b 8f ca 47 0b 25 34 5c 98 93 fa 57 c8 fe 53 |R{..G.%4\...W..S| -00000340 d7 0d d6 61 fe 1b 75 b4 c6 ee 5f 86 5b 5b 5d 6b |...a..u..._.[[]k| -00000350 ff 8c 0f 83 34 e1 17 91 9e 47 a3 dd 74 ea 0e fe |....4....G..t...| -00000360 e2 5d c9 33 70 cf 9f 0e cc c0 f0 34 ae d9 1c d0 |.].3p......4....| -00000370 e2 b0 16 03 03 00 04 0e 00 00 00 |...........| +000002a0 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 13 f6 |............A...| +000002b0 35 f3 07 ac d9 90 a6 fa 5e d2 2f 98 07 7a 93 38 |5.......^./..z.8| +000002c0 d1 9c 15 d6 0d 28 18 f9 43 ca 49 6e b6 ed de bc |.....(..C.In....| +000002d0 ac 37 10 93 da 1f a2 f8 d6 61 7a 58 e8 59 af 61 |.7.......azX.Y.a| +000002e0 0c 1d 92 5d 62 55 ed a5 d0 9a 21 72 44 3e 06 01 |...]bU....!rD>..| +000002f0 00 80 bf a4 a9 10 5a a1 46 cc 13 c4 c3 38 c8 1b |......Z.F....8..| +00000300 e3 ea a9 e3 a4 67 e6 b4 05 a2 73 e4 85 c4 f6 7a |.....g....s....z| +00000310 9d 90 47 7b ee 5b 4d 0a 78 58 26 9c 3d 09 0e 93 |..G{.[M.xX&.=...| +00000320 2b 98 6e 24 73 66 8d a8 52 1b b1 d2 31 63 45 dc |+.n$sf..R...1cE.| +00000330 0a ec ec a7 91 a3 de 13 ea 1e 63 8f 93 fe 8f 45 |..........c....E| +00000340 b2 2a 76 ef 99 35 15 46 ad 60 4e 3e 05 5d 08 45 |.*v..5.F.`N>.].E| +00000350 48 8c e7 5c a7 ae 96 3e 0a 6f 47 67 3f 0c 5e 7f |H..\...>.oGg?.^.| +00000360 6b 5b b6 e3 b3 f2 05 c2 8a 02 3f 34 89 f0 90 b3 |k[........?4....| +00000370 b2 8e 16 03 03 00 04 0e 00 00 00 |...........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| @@ -76,32 +76,32 @@ 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| 00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........| -00000060 00 00 00 00 00 00 a4 f8 17 84 eb 55 af 77 68 19 |...........U.wh.| -00000070 22 1f f8 c6 10 2a 65 93 ae d9 9a 2d ef 6e ac d0 |"....*e....-.n..| -00000080 20 50 da 33 f7 88 ef 8c 27 65 a8 db 53 92 bb 25 | P.3....'e..S..%| -00000090 e2 06 97 e8 f8 f0 |......| +00000060 00 00 00 00 00 00 57 11 40 1c 0a d3 fa 7c 7d ed |......W.@....|}.| +00000070 fc 7a 70 72 b0 ae dd d4 5d a4 12 bd e0 ec 93 cc |.zpr....].......| +00000080 6d 89 fd d6 8b bd ed 49 75 3b e6 0f 63 60 a0 04 |m......Iu;..c`..| +00000090 8f 16 7a 9f 70 29 |..z.p)| >>> Flow 4 (server to client) -00000000 16 03 03 00 aa 04 00 00 a6 00 00 1c 20 00 a0 8e |............ ...| -00000010 8d 4b 10 c4 45 09 63 bb f8 9d 67 fc dd db 83 cc |.K..E.c...g.....| -00000020 d1 79 63 14 2a bc 9f fc ea 5b c4 ae ef ba 7b 0d |.yc.*....[....{.| -00000030 be 5f b9 ca 21 e8 a5 ab 80 ec ac be 2e 11 81 cb |._..!...........| -00000040 df 67 0a ab 51 14 5d cd f1 6b 10 8b 8f 09 92 da |.g..Q.]..k......| -00000050 b0 37 45 43 fe ab fe 0f d9 57 8f be 2d f4 e7 13 |.7EC.....W..-...| -00000060 41 57 a3 df 93 78 3d 0e 16 86 c7 c0 f9 c8 ef 56 |AW...x=........V| -00000070 87 1c 2b ad dd 86 d3 c6 82 86 ce 52 59 f0 32 c7 |..+........RY.2.| -00000080 e8 3c 70 8b 49 f2 41 3b 94 f8 68 43 e0 99 04 4b |....ZN.| +00000040 32 6c bb d1 bf e7 a3 45 52 33 50 ad 15 cd 40 7d |2l.....ER3P...@}| +00000050 6e ae cd 98 74 f3 de 8f 7d fb 40 d4 03 eb a5 bb |n...t...}.@.....| +00000060 5a ac ea 68 a7 49 a0 3d 04 7d 6a 41 65 e7 2e 13 |Z..h.I.=.}jAe...| +00000070 cc fa c3 9a 65 69 6b b0 38 33 20 74 1a cc f2 11 |....eik.83 t....| +00000080 e5 20 27 f1 af 04 b9 c0 cc 39 9a 74 18 b6 2e 69 |. '......9.t...i| +00000090 f2 d4 5a 3c ce 50 05 c9 bc 0d cd 3a c9 8c 1a e4 |..Z<.P.....:....| +000000a0 66 d4 57 a0 21 86 a6 fc f3 c8 cd de 94 b6 05 14 |f.W.!...........| +000000b0 03 03 00 01 01 16 03 03 00 40 7e c9 fa a1 7c 36 |.........@~...|6| +000000c0 f4 0a bb 10 e4 21 72 aa 7a 17 82 4d 64 ff d2 83 |.....!r.z..Md...| +000000d0 6c 98 13 6f b9 6b 4b 58 57 53 d5 ce 7a 43 c4 02 |l..o.kKXWS..zC..| +000000e0 c0 ef c3 3f c6 9d 9e 9e d1 15 32 54 7e 11 20 e2 |...?......2T~. .| +000000f0 2a 20 84 b0 fb 23 86 45 1c 60 |* ...#.E.`| >>> 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 3c 27 52 27 97 5e e0 77 1f 5e 5c |.....<'R'.^.w.^\| -00000020 a1 a5 cd 32 b6 41 7d 41 3a 71 67 c6 ed 45 32 0e |...2.A}A:qg..E2.| -00000030 b5 42 f7 72 45 15 03 03 00 30 00 00 00 00 00 00 |.B.rE....0......| -00000040 00 00 00 00 00 00 00 00 00 00 26 9d ae 52 ad 0c |..........&..R..| -00000050 e3 03 c2 56 b1 96 68 1f 72 bc 6c 0f 9d 7a b8 87 |...V..h.r.l..z..| -00000060 cb bf 84 ff 3e 94 42 5a bf 7d |....>.BZ.}| +00000010 00 00 00 00 00 64 33 5e 25 5e 37 0f 18 62 89 05 |.....d3^%^7..b..| +00000020 d1 1e b4 c5 b8 41 7a bd 1d 3a 5a e2 64 4f 74 1f |.....Az..:Z.dOt.| +00000030 fa ce ef 06 45 15 03 03 00 30 00 00 00 00 00 00 |....E....0......| +00000040 00 00 00 00 00 00 00 00 00 00 01 13 3a d1 ec 9b |............:...| +00000050 50 65 63 9b 56 05 42 09 1f f2 0e 26 b7 96 fd 04 |Pec.V.B....&....| +00000060 63 9d af 83 f2 f3 fd 21 58 1f |c......!X.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-23 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-23 index 6f3d5c30..a735a980 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-23 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Android-23 @@ -12,9 +12,9 @@ 000000a0 73 70 64 79 2f 38 2e 31 00 0b 00 02 01 00 00 0a |spdy/8.1........| 000000b0 00 06 00 04 00 17 00 18 |........| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 eb 97 40 d0 b5 |....A...=....@..| -00000010 40 3a 48 8d c2 2c da 94 eb 40 26 52 92 26 f6 f1 |@:H..,...@&R.&..| -00000020 9b 6b f8 c6 62 39 fb 3b d9 78 01 00 c0 14 00 00 |.k..b9.;.x......| +00000000 16 03 03 00 41 02 00 00 3d 03 03 9f 54 ee 4b cf |....A...=...T.K.| +00000010 61 76 a2 6d 52 f3 e7 0f e0 dd 78 a3 91 13 d0 76 |av.mR.....x....v| +00000020 bf 5b c1 16 b2 46 5d 5d e5 e0 4c 00 c0 14 00 00 |.[...F]]..L.....| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,19 +55,19 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 cd 0c 00 00 c9 03 00 17 |;...............| -000002b0 41 04 fd 56 3e 4b 17 98 a5 da 35 50 13 f8 8e 47 |A..V>K....5P...G| -000002c0 db 05 2f 82 71 b1 64 f1 68 16 87 ce 93 95 8c 0f |../.q.d.h.......| -000002d0 04 c6 47 e9 16 4b ab 3c bb fb 4c 01 cf 7f d5 73 |..G..K.<..L....s| -000002e0 64 86 75 a7 0c a8 aa e7 ca 33 fd 85 4c 4f bd 10 |d.u......3..LO..| -000002f0 32 6e 06 01 00 80 a9 3d 3e bc 5a d4 79 17 84 f0 |2n.....=>.Z.y...| -00000300 df f0 7d 44 c6 30 02 98 8e f4 3d 2d 30 4b ce 60 |..}D.0....=-0K.`| -00000310 05 8e ad fb 61 61 3d 68 76 ab df 56 0f 92 86 07 |....aa=hv..V....| -00000320 7c ec f6 de 17 64 41 f0 1e 1b 6d fb 86 10 ab c1 ||....dA...m.....| -00000330 5b 47 69 e4 9b fc 4f 14 75 09 a9 07 b2 ca 03 a6 |[Gi...O.u.......| -00000340 a6 f7 c1 cc 41 86 f7 cd 44 38 a3 8e 92 cd 06 f0 |....A...D8......| -00000350 93 11 57 71 9a 74 95 88 9e a0 c9 c4 17 c1 f0 4f |..Wq.t.........O| -00000360 04 2c 37 11 42 99 02 37 07 36 f8 eb 77 65 9c 70 |.,7.B..7.6..we.p| -00000370 b4 15 26 82 2a 84 16 03 03 00 04 0e 00 00 00 |..&.*..........| +000002b0 41 04 f3 9d b9 ca 26 64 fe 4e 00 f5 98 a0 fc 76 |A.....&d.N.....v| +000002c0 ea ea f7 45 e4 f9 1a 23 3a d6 14 03 78 15 0a 66 |...E...#:...x..f| +000002d0 f8 1c 98 bf 58 27 7d 27 d3 a9 94 1e c5 d0 5c 6b |....X'}'......\k| +000002e0 3d 49 52 85 f4 74 29 de f3 69 69 fb 79 7b d4 66 |=IR..t)..ii.y{.f| +000002f0 88 68 06 01 00 80 68 18 92 96 95 8a 3d 5d fe ee |.h....h.....=]..| +00000300 c4 56 a4 da 69 b1 3a ca 8b 7b 3e 61 37 1a ad 1a |.V..i.:..{>a7...| +00000310 21 d2 c8 7b 2b 21 6b 93 5c 0f ca 69 04 01 3c d9 |!..{+!k.\..i..<.| +00000320 34 67 ca 7c ab 33 eb 9d 94 38 32 36 b9 6d c7 39 |4g.|.3...826.m.9| +00000330 d4 47 d9 c8 4e 38 dd e4 47 a7 16 b5 b5 71 fc 40 |.G..N8..G....q.@| +00000340 84 f1 b2 bf 6b 0f 59 07 60 b0 86 87 50 2d 91 a8 |....k.Y.`...P-..| +00000350 d4 96 94 e2 ac 32 75 7e 0e 20 7f 1e 53 93 7a 98 |.....2u~. ..S.z.| +00000360 fe 93 d0 36 2f 7f ff fd 7b 65 8b fd 15 ab 18 87 |...6/...{e......| +00000370 aa 25 25 51 12 0e 16 03 03 00 04 0e 00 00 00 |.%%Q...........| >>> Flow 3 (client to server) 00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..| 00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.| @@ -75,33 +75,33 @@ 00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I| 00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......| 00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........| -00000060 00 00 00 00 00 00 f4 9b 8f 55 8d 3a fe 06 fd ee |.........U.:....| -00000070 13 ab 8c 5c a5 62 1a 9f 85 bf 33 4f c6 ea ff 19 |...\.b....3O....| -00000080 da 60 92 82 ea e8 02 dd 1f b5 ec 3e e1 0a d6 15 |.`.........>....| -00000090 f6 8e 82 14 a2 14 |......| +00000060 00 00 00 00 00 00 ed b5 2c f9 26 e0 e5 d9 ef 74 |........,.&....t| +00000070 08 39 9a 03 f2 ba 9f b3 61 ca 45 40 7c bb cd 05 |.9......a.E@|...| +00000080 7d 60 c7 30 ac 52 f6 3e c6 40 7f e6 25 19 c4 07 |}`.0.R.>.@..%...| +00000090 4c 4c 44 14 86 2b |LLD..+| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 b7 |............ ...| -00000010 22 c2 fa 68 e2 82 40 f8 98 ec ed dd 3e 84 d3 66 |"..h..@.....>..f| -00000020 9c 0a 69 61 2f f4 55 85 4a 7d 13 d4 7b ea 13 b4 |..ia/.U.J}..{...| -00000030 85 fa 2d 72 c7 88 21 b5 79 8e 69 23 93 9c f2 5e |..-r..!.y.i#...^| -00000040 4a 96 e8 89 7b 23 4a 63 cf e2 87 6a 86 9c d3 b3 |J...{#Jc...j....| -00000050 1f c8 05 a6 60 8f bd 5c 98 3c 79 9b 1c 3b 17 e2 |....`..\.._| -00000100 57 76 7d 43 d0 ec b2 a9 b9 89 |Wv}C......| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 ee |............ ...| +00000010 39 96 a0 2a 82 96 27 c9 67 9f db 92 3f a5 f3 df |9..*..'.g...?...| +00000020 42 8e a6 cc 1f df 73 da 69 06 ab 28 57 56 e9 a3 |B.....s.i..(WV..| +00000030 e3 ca 5c 0a 89 2c 94 38 3f 4b a1 76 5c e2 5f 1e |..\..,.8?K.v\._.| +00000040 09 96 98 d9 8d cd b9 f3 a6 9c f6 83 a9 a9 36 ae |..............6.| +00000050 de 02 5d ad 31 68 05 19 46 23 82 92 b6 af 1f 70 |..].1h..F#.....p| +00000060 df c4 c4 75 9a 09 ca 58 39 6d cc 70 85 4a 0b 14 |...u...X9m.p.J..| +00000070 55 cc 7b 07 cf b2 d1 9d 2b df 89 89 e1 db f2 16 |U.{.....+.......| +00000080 62 34 9d d8 61 df 66 4c ac 72 31 12 cf 11 44 4d |b4..a.fL.r1...DM| +00000090 1a c6 53 21 57 ac cf 78 7d 75 76 19 5f 87 8e 65 |..S!W..x}uv._..e| +000000a0 78 37 1d 5c eb 1a 07 df 80 61 40 ca 2d 61 2a 33 |x7.\.....a@.-a*3| +000000b0 1f 60 6d 8a 4d 3c ce 97 8d 1b 3e 5b d2 92 d9 14 |.`m.M<....>[....| +000000c0 03 03 00 01 01 16 03 03 00 40 6e c9 6a 87 8f a5 |.........@n.j...| +000000d0 a4 f4 c0 00 fe 7e 69 c6 83 2a bd 83 63 66 f8 bb |.....~i..*..cf..| +000000e0 88 89 56 81 48 49 0f d5 d0 59 2c a1 b6 11 cc b6 |..V.HI...Y,.....| +000000f0 ea ca 2a 11 40 d3 c6 e8 a1 0e 86 ec 68 a1 a3 56 |..*.@.......h..V| +00000100 0d 6b 94 b9 87 73 ad 59 9f 9b |.k...s.Y..| >>> 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 5b 33 96 12 b2 66 61 25 fd 03 8a |.....[3...fa%...| -00000020 f7 85 cc 4a 9a 6d 9a b6 08 8d df 3e ba 08 ba 63 |...J.m.....>...c| -00000030 f6 5c ab 35 91 15 03 03 00 30 00 00 00 00 00 00 |.\.5.....0......| -00000040 00 00 00 00 00 00 00 00 00 00 1c 2d 24 61 38 65 |...........-$a8e| -00000050 dd f6 c3 fa 1c 68 7c d3 fb 4b 5d b2 e1 0d 2b d7 |.....h|..K]...+.| -00000060 dd 0a 84 c1 e7 4c 71 63 1c 0c |.....Lqc..| +00000010 00 00 00 00 00 d9 a4 5a a1 2c da 0b 0b ed c2 60 |.......Z.,.....`| +00000020 90 39 9c 5a 9b 1b 08 f9 82 49 31 65 bb 7b d9 db |.9.Z.....I1e.{..| +00000030 32 5f d0 9e f1 15 03 03 00 30 00 00 00 00 00 00 |2_.......0......| +00000040 00 00 00 00 00 00 00 00 00 00 ec 2b d5 cc 5e e5 |...........+..^.| +00000050 a8 45 91 38 46 25 dd b8 60 c6 ba e6 24 ed 26 fb |.E.8F%..`...$.&.| +00000060 51 8f 7b 56 c4 14 a8 8e 63 f1 |Q.{V....c.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Chrome-58 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Chrome-58 index 457ff29c..3b377db8 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Chrome-58 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Chrome-58 @@ -12,9 +12,9 @@ 000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 0a |P...............| 000000b0 0a 00 1d 00 17 00 18 1a 1a 00 01 00 |............| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 10 40 62 de 13 |....A...=...@b..| -00000010 a0 4f 45 da d0 3f 59 78 dc 71 65 93 81 5c f8 32 |.OE..?Yx.qe..\.2| -00000020 51 42 f2 b4 c7 1b fb 24 45 8b a5 00 c0 14 00 00 |QB.....$E.......| +00000000 16 03 03 00 41 02 00 00 3d 03 03 66 2a f1 e8 96 |....A...=..f*...| +00000010 f3 82 52 28 47 56 13 fb 74 5c 0a cc d0 9e df 3c |..R(GV..t\.....<| +00000020 30 36 93 05 59 a8 e4 bf 81 7a 20 00 c0 14 00 00 |06..Y....z .....| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,49 +55,49 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 8b 0a e7 15 ef 4e 75 18 16 82 2d df b7 6c e5 | .....Nu...-..l.| -000002c0 3a 43 51 f3 6b 06 0f 91 3c e5 ae c3 46 7f 13 df |:CQ.k...<...F...| -000002d0 4a 04 01 00 80 5a b5 02 07 f5 3a 0b 7b 50 46 d9 |J....Z....:.{PF.| -000002e0 d4 32 b7 31 54 26 f8 8e 65 5d 16 5d 6b bf b9 07 |.2.1T&..e].]k...| -000002f0 0a be 13 b1 4f 57 10 a9 73 6c 77 8a fe 34 0b f1 |....OW..slw..4..| -00000300 40 eb 74 d0 cc 37 8c 59 8f 44 9e e5 40 ca 8e 92 |@.t..7.Y.D..@...| -00000310 f1 18 fb 80 3d 8a b9 69 30 ea f9 2f cb 5f 03 c2 |....=..i0../._..| -00000320 13 09 fd f9 80 5f f4 7b 79 63 84 61 e7 58 22 0d |....._.{yc.a.X".| -00000330 b8 33 b2 df 2c b7 22 12 fc fd 44 40 27 99 cd a8 |.3..,."...D@'...| -00000340 94 e7 46 43 79 75 15 14 01 24 27 b0 7e 35 2a 28 |..FCyu...$'.~5*(| -00000350 5e cf c8 60 0f 16 03 03 00 04 0e 00 00 00 |^..`..........| +000002b0 20 c0 59 7c 28 44 ac 23 6b d4 18 fe 37 ff 88 7a | .Y|(D.#k...7..z| +000002c0 f2 d7 81 07 f5 59 ce 14 a9 30 d0 a8 17 cc f4 78 |.....Y...0.....x| +000002d0 0e 04 01 00 80 01 76 e3 76 08 47 e2 23 5b 64 88 |......v.v.G.#[d.| +000002e0 4a c7 e0 ad c2 88 08 ad 50 13 0c 8e 92 1d f7 c4 |J.......P.......| +000002f0 4e de e4 66 a6 0d 69 e7 76 6e 79 93 87 c9 1d 17 |N..f..i.vny.....| +00000300 2a d7 01 88 e1 c7 09 ff 2f 83 36 51 c2 92 1c 7f |*......./.6Q....| +00000310 ed 49 6f d4 71 00 aa 98 e5 a8 bf 20 27 9f 61 fa |.Io.q...... '.a.| +00000320 05 8c ed 0e 71 1a 6c 5e 25 ef 4d a7 a6 ad 0f 7e |....q.l^%.M....~| +00000330 38 82 37 b3 c8 0b 26 74 c0 d7 4b 1f cc a4 56 22 |8.7...&t..K...V"| +00000340 3c a7 27 c0 8b 72 b7 05 dc f5 0e d9 5e 73 72 e6 |<.'..r......^sr.| +00000350 88 83 40 98 8a 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 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........| -00000040 00 00 00 00 00 2c a3 3e a9 02 6d 74 3a 74 03 29 |.....,.>..mt:t.)| -00000050 5f a0 3e 3e 73 56 c8 a7 97 f2 be 6b c2 ec 2b fc |_.>>sV.....k..+.| -00000060 f4 6f ff eb 20 3d b0 05 78 df b9 2d 19 5b 81 96 |.o.. =..x..-.[..| -00000070 74 2b 91 68 ee |t+.h.| +00000040 00 00 00 00 00 c4 53 25 99 ab 42 7c c9 09 bb 03 |......S%..B|....| +00000050 bc 28 da d0 9d fe 96 04 e1 89 7d 7c 7c 09 4f cf |.(........}||.O.| +00000060 5f 29 e7 28 0a 0c 09 98 44 c1 79 1a b8 b5 c7 7c |_).(....D.y....|| +00000070 86 91 44 7d 5a |..D}Z| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 b2 |............ ...| -00000010 fb 88 eb fb 79 90 49 09 01 5d d7 d7 a2 2b 5a 0b |....y.I..]...+Z.| -00000020 5d 5a ed a8 66 6c 87 b9 e2 ab 18 1b 16 2e 3e 03 |]Z..fl........>.| -00000030 e2 a0 62 cc 5b a7 eb f1 12 6f fe 4a 3f f5 ea 27 |..b.[....o.J?..'| -00000040 e3 23 21 c2 76 5b e7 47 2e 7b b0 1e 6a e7 5f 3b |.#!.v[.G.{..j._;| -00000050 24 72 86 44 57 cb 1d a7 b4 06 00 86 cd a3 c4 5e |$r.DW..........^| -00000060 ff 87 f6 c2 75 9d f3 23 d4 05 01 7e 0c 27 2f b7 |....u..#...~.'/.| -00000070 bc f8 60 ec eb 79 ca d2 9a 1f f5 41 5e b5 0c cf |..`..y.....A^...| -00000080 89 36 d3 de 1e 3f b6 f5 35 8a 3b 35 82 7b 5b 81 |.6...?..5.;5.{[.| -00000090 40 d4 e3 81 1a b0 23 fc 5b 6b c7 eb 85 7d db 11 |@.....#.[k...}..| -000000a0 98 0e e3 54 d7 a4 2e ef c7 0f e5 6b 27 35 99 48 |...T.......k'5.H| -000000b0 dd 8d a0 d7 2b e4 03 94 0d 8f 2d af a2 e1 59 14 |....+.....-...Y.| -000000c0 03 03 00 01 01 16 03 03 00 40 15 87 25 3f 30 66 |.........@..%?0f| -000000d0 60 13 7d b4 49 e0 c2 46 6e 18 11 71 8f ef 08 8e |`.}.I..Fn..q....| -000000e0 e9 d2 19 9c e5 6c f6 30 87 50 24 bb 0f f6 f0 1d |.....l.0.P$.....| -000000f0 02 4a 42 da ae bd 54 13 ba c2 0f e5 cd dc 27 c6 |.JB...T.......'.| -00000100 2c 59 70 d1 40 72 0f f6 99 35 |,Yp.@r...5| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 b6 |............ ...| +00000010 ec 6f 30 d1 31 f0 d8 bd 4b 7f af 42 f9 69 7d 95 |.o0.1...K..B.i}.| +00000020 b7 5a 2e 5a e7 00 47 a5 79 08 76 58 90 e2 a2 24 |.Z.Z..G.y.vX...$| +00000030 c3 73 1b 5e c0 e8 8c 60 34 de 49 ab 67 7a 67 17 |.s.^...`4.I.gzg.| +00000040 a0 fa f1 a3 17 3a 9e a1 e0 9c 0c 9b e0 a4 63 87 |.....:........c.| +00000050 d0 ef 74 3e ae 89 ff d8 53 93 6c 5c 49 40 97 f2 |..t>....S.l\I@..| +00000060 36 22 73 b6 08 ca 57 ed 37 d0 3d 84 3e 73 34 00 |6"s...W.7.=.>s4.| +00000070 2b 8d 4a af eb 33 6f 41 97 a9 cc 5f e1 d8 98 7b |+.J..3oA..._...{| +00000080 83 35 8f a4 5a 1e 64 14 19 4e fd 61 22 2b 6e 82 |.5..Z.d..N.a"+n.| +00000090 af 5d 2f 92 86 39 21 5d 42 6f 38 25 56 29 56 ff |.]/..9!]Bo8%V)V.| +000000a0 6f 95 fb ff 3b ea 10 75 82 f6 a0 1d cb 42 d2 ec |o...;..u.....B..| +000000b0 66 26 eb 72 f5 8e db c6 49 7a 67 eb 3c 80 c3 14 |f&.r....Izg.<...| +000000c0 03 03 00 01 01 16 03 03 00 40 44 7b a8 4b 3b 35 |.........@D{.K;5| +000000d0 e2 71 f1 ca 15 e0 b1 98 4f 08 ce c9 4e 43 ae 84 |.q......O...NC..| +000000e0 36 53 5c 1e 4e 51 15 0e 23 63 81 8b 23 3f 17 e8 |6S\.NQ..#c..#?..| +000000f0 a5 b6 b8 85 a2 73 a0 1c 67 01 20 7f be e8 ea 53 |.....s..g. ....S| +00000100 f1 aa 23 3d 1b 0e 26 38 dc e1 |..#=..&8..| >>> 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 2e cb 4e 1b 57 75 ce 3a 96 e6 ae |.......N.Wu.:...| -00000020 d9 3e 08 ea 61 bf eb 61 a6 ab d8 56 16 96 28 40 |.>..a..a...V..(@| -00000030 12 62 9a 73 5d 15 03 03 00 30 00 00 00 00 00 00 |.b.s]....0......| -00000040 00 00 00 00 00 00 00 00 00 00 7b cb 38 72 20 a1 |..........{.8r .| -00000050 6f 85 bb 4c 81 bb be b8 95 56 70 61 cd 53 f6 58 |o..L.....Vpa.S.X| -00000060 ec a6 96 ec 0b 56 7c dc b4 b9 |.....V|...| +00000010 00 00 00 00 00 a9 0b 56 51 8d 0c 96 75 16 a9 25 |.......VQ...u..%| +00000020 8c bf 4f 67 ec cf 72 2e aa 98 fa 6b af 79 e6 3b |..Og..r....k.y.;| +00000030 c6 d3 19 44 69 15 03 03 00 30 00 00 00 00 00 00 |...Di....0......| +00000040 00 00 00 00 00 00 00 00 00 00 60 ff e6 96 cc 3b |..........`....;| +00000050 94 34 8c d1 34 3c 48 91 ce cc 3c 01 64 89 27 13 |.4..4>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 7a 9c 60 df 5e |....A...=..z.`.^| -00000010 e8 ff ae 29 69 92 4c 1a 24 3b 41 81 27 7d bd 69 |...)i.L.$;A.'}.i| -00000020 dd bc 75 56 94 70 52 a6 37 42 7e 00 c0 14 00 00 |..uV.pR.7B~.....| +00000000 16 03 03 00 41 02 00 00 3d 03 03 de b7 b9 ea 49 |....A...=......I| +00000010 8a 83 97 fa dd bd e4 22 6b d7 0c a2 31 c3 24 0c |......."k...1.$.| +00000020 0b ac c5 13 30 9a 64 84 40 5f dd 00 c0 14 00 00 |....0.d.@_......| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,49 +55,49 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 63 5c 5b ea 98 90 2e 00 c0 ab d3 01 8b 1b 43 | c\[...........C| -000002c0 54 a4 66 70 92 16 15 4d 94 4b ef 21 79 9c c9 3a |T.fp...M.K.!y..:| -000002d0 1a 04 01 00 80 c9 08 18 31 fd d0 88 69 ee 18 99 |........1...i...| -000002e0 97 09 47 30 11 26 b3 fd c5 cc ef 1f 27 7f 0a 06 |..G0.&......'...| -000002f0 53 35 8d 12 fd c3 6a e0 40 0b 20 ff ed e1 ef cb |S5....j.@. .....| -00000300 36 cf 15 c5 61 7b c8 db 6c e5 fe 15 61 42 62 73 |6...a{..l...aBbs| -00000310 45 fc e1 5f 50 a4 5f d6 cb 93 b9 e1 dd 07 eb 02 |E.._P._.........| -00000320 08 a1 0e a6 24 1f 27 96 c2 19 5f f2 46 5e 1c 48 |....$.'..._.F^.H| -00000330 5c db 2c 6e 2d f4 d8 9e e6 43 4b 8f b9 9a 29 f4 |\.,n-....CK...).| -00000340 b0 d6 f7 19 4f 4b 69 ec a2 5b d8 4b dc 8b 0f ff |....OKi..[.K....| -00000350 e4 dd 6e c8 b6 16 03 03 00 04 0e 00 00 00 |..n...........| +000002b0 20 52 67 a5 3c 49 72 61 10 b9 25 09 ad 11 1a 5c | Rg.>> 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 43 ba e2 1c 1c 5f d4 81 29 11 4d |.....C...._..).M| -00000050 33 e9 86 19 aa 0d 06 cc 07 b8 f8 86 83 cb 6e 53 |3.............nS| -00000060 58 7b 84 7c d0 ab 8c 67 41 62 8b 1b a4 58 16 1a |X{.|...gAb...X..| -00000070 fb 71 e2 bd e7 |.q...| +00000040 00 00 00 00 00 f7 14 65 bd de 3b f6 36 b6 ac 21 |.......e..;.6..!| +00000050 18 88 02 d9 4d 1a a0 19 e1 83 2b 02 50 7f 74 b8 |....M.....+.P.t.| +00000060 66 0e 34 d4 90 58 90 ed 40 fe 01 47 3d df 96 3f |f.4..X..@..G=..?| +00000070 d4 eb 8f 05 25 |....%| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 be |............ ...| -00000010 0a 25 50 88 e5 51 7e 01 6d 78 60 1b 00 b7 97 6b |.%P..Q~.mx`....k| -00000020 2d 54 28 59 b3 c2 e6 9f f3 c4 59 ee 64 43 19 8f |-T(Y......Y.dC..| -00000030 5c ee a0 06 e8 ce 31 6d e7 8a 33 5e 08 6c f1 a9 |\.....1m..3^.l..| -00000040 1b 4e 86 7f 50 60 70 02 74 3d 13 3b 31 04 4d a4 |.N..P`p.t=.;1.M.| -00000050 05 2e 45 75 20 c9 d7 d8 a0 9f 7d e1 5d 0d c0 9b |..Eu .....}.]...| -00000060 d7 2c 00 4f 67 22 1e 5d 39 e1 dd 67 47 49 0c cd |.,.Og".]9..gGI..| -00000070 13 06 0d 98 8d 20 ea 02 ad c1 19 a2 55 32 05 a7 |..... ......U2..| -00000080 92 c2 90 86 5e c5 f7 2b 7a 92 af f2 f3 d2 bb fe |....^..+z.......| -00000090 98 7c 23 70 8f 43 26 54 b7 9e 7b a8 24 80 f9 46 |.|#p.C&T..{.$..F| -000000a0 26 03 5e 8a e9 a1 c5 ac b9 b0 74 e8 19 7c 86 c5 |&.^.......t..|..| -000000b0 dd 7a 29 ae 61 ce 3a bc 78 4c d5 bc 71 78 b6 14 |.z).a.:.xL..qx..| -000000c0 03 03 00 01 01 16 03 03 00 40 aa 8d a6 de 42 89 |.........@....B.| -000000d0 7d 7d eb b6 9a 2f 58 1c 32 b9 14 71 e7 24 fd a0 |}}.../X.2..q.$..| -000000e0 73 33 f0 62 bb f2 03 c2 44 47 c4 d4 49 a4 08 a0 |s3.b....DG..I...| -000000f0 d2 b3 29 e8 99 d3 8c 23 1f c6 25 38 2a df 3a a4 |..)....#..%8*.:.| -00000100 9a 33 85 0f 4b 9d 52 c5 da 71 |.3..K.R..q| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 2d |............ ..-| +00000010 a2 d0 63 9d 9c 9c 18 66 95 f0 3d 42 de 2a 65 fd |..c....f..=B.*e.| +00000020 32 69 27 64 ba ee 12 81 34 e4 a8 af 74 0e e3 02 |2i'd....4...t...| +00000030 82 30 e9 e2 0c dc 2e 94 a8 3d fd 7a 33 23 42 b8 |.0.......=.z3#B.| +00000040 dd 48 ff 10 41 4d 2a b1 be 63 24 69 3b 1c e1 51 |.H..AM*..c$i;..Q| +00000050 be 9e 19 ab bd f0 10 d2 69 af 6b 35 d4 a8 d0 33 |........i.k5...3| +00000060 c4 ce a5 37 28 7a 06 41 50 2f 00 38 0f 88 08 ae |...7(z.AP/.8....| +00000070 e3 d3 43 84 9e 6a 2d f8 3d 65 38 44 45 54 7a d8 |..C..j-.=e8DETz.| +00000080 3d ff c2 eb 33 6d 36 c6 f4 02 4a 77 d2 2d 38 20 |=...3m6...Jw.-8 | +00000090 16 39 2d aa 19 08 a8 e6 00 fd 53 5a 3d 1f 5f 4b |.9-.......SZ=._K| +000000a0 e0 9c 14 5d a4 f8 2e ea d6 e0 45 73 c3 3c 41 e7 |...]......Es.>> 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 4c 1a fd 9e 4e 68 7f 34 c7 f0 fc |.....L...Nh.4...| -00000020 43 8f 1f b7 2c 44 82 ee 7a ea ff 67 2a dc ad da |C...,D..z..g*...| -00000030 dd 71 fe 19 a3 15 03 03 00 30 00 00 00 00 00 00 |.q.......0......| -00000040 00 00 00 00 00 00 00 00 00 00 78 27 0b c1 71 8d |..........x'..q.| -00000050 91 3d b3 d4 58 45 b7 1e 1b 1f 20 75 a6 d2 90 0e |.=..XE.... u....| -00000060 88 ce 59 21 42 77 03 e4 be 31 |..Y!Bw...1| +00000010 00 00 00 00 00 14 d1 6b 0e 42 87 99 f6 ff 4b 68 |.......k.B....Kh| +00000020 84 92 e7 9f 22 b7 ff 87 da 11 35 45 63 ff 7d c9 |....".....5Ec.}.| +00000030 d7 28 ac 5a 78 15 03 03 00 30 00 00 00 00 00 00 |.(.Zx....0......| +00000040 00 00 00 00 00 00 00 00 00 00 d8 77 de 4d 4c 4b |...........w.MLK| +00000050 b9 98 56 6c e5 d7 a0 03 aa 8e 08 f2 ec 33 69 3e |..Vl.........3i>| +00000060 57 df 30 86 13 ab 0c 1c 76 a2 |W.0.....v.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Golang-0 index 4928a4bc..31a46dea 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Golang-0 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-AES256-SHA-Golang-0 @@ -1,20 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 91 01 00 00 8d 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 95 01 00 00 91 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 38 00 05 |.............8..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 3c 00 05 |.............<..| 00000060 00 05 01 00 00 00 00 00 0a 00 0a 00 08 00 1d 00 |................| -00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................| -00000080 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................| -00000090 01 00 00 12 00 00 |......| +00000070 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 12 00 |................| +00000080 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 02 |................| +00000090 03 ff 01 00 01 00 00 12 00 00 |..........| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 61 ea d8 59 f4 |....Y...U..a..Y.| -00000010 78 cf d6 4a 82 f1 5a 8c 56 fa 55 3f 18 de 3f 8d |x..J..Z.V.U?..?.| -00000020 ec 9d f1 93 01 da a7 22 26 b2 c8 20 77 c9 6a 4a |......."&.. w.jJ| -00000030 b8 7e 8d 68 8a a4 31 79 a8 d9 c8 50 66 e1 06 22 |.~.h..1y...Pf.."| -00000040 b8 62 a4 dd ef 49 89 f6 1c b3 4f 1d c0 14 00 00 |.b...I....O.....| +00000000 16 03 03 00 59 02 00 00 55 03 03 fd b8 0b be c5 |....Y...U.......| +00000010 7f a6 cb f0 bf 55 a1 2e bc ae d2 2d a5 32 10 58 |.....U.....-.2.X| +00000020 43 cf 7a 29 8d 12 ea 6d ff c0 45 20 30 16 aa c5 |C.z)...m..E 0...| +00000030 98 84 ac 19 9f 69 51 d1 6a 30 6b 3b 94 f2 7d bb |.....iQ.j0k;..}.| +00000040 59 d4 2b 84 66 bc 40 fd bb 2f d6 37 c0 14 00 00 |Y.+.f.@../.7....| 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..............| @@ -54,38 +54,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 52 14 8e f1 b5 d6 9b |........ R......| -000002d0 f6 27 00 1d af 3d 18 d3 1f 18 ba 43 a3 52 3a ec |.'...=.....C.R:.| -000002e0 05 85 ea 86 23 48 d7 eb 34 04 01 00 80 7b e2 2e |....#H..4....{..| -000002f0 50 2a e9 e0 2a 71 1a 26 57 e5 6f e0 8b 45 0f 25 |P*..*q.&W.o..E.%| -00000300 59 60 03 b9 a8 9b 56 8c b6 a7 75 1d 00 60 f2 db |Y`....V...u..`..| -00000310 a5 cd 7b 64 21 34 79 dc 28 47 1b 99 9b 86 83 03 |..{d!4y.(G......| -00000320 0b 26 33 66 af 14 c8 d1 9d 1e f3 77 d9 b7 1f a6 |.&3f.......w....| -00000330 12 f9 92 53 10 35 1e fd 34 32 07 6d c9 10 81 cd |...S.5..42.m....| -00000340 8f b0 94 f0 2a 68 bd 43 90 24 d4 d6 ec 73 84 64 |....*h.C.$...s.d| -00000350 eb f5 c6 94 f4 68 11 cd d8 7a a5 0a 67 2e 3d 85 |.....h...z..g.=.| -00000360 a7 6c 2d f5 d3 2f 7b f2 88 53 7a b2 bd 16 03 03 |.l-../{..Sz.....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 b9 a9 5c be f0 22 e8 |........ ..\..".| +000002d0 08 88 af d4 c9 5c c8 d6 ba b1 1e d4 c3 08 21 1b |.....\........!.| +000002e0 31 15 34 59 f5 57 1e ea 41 04 01 00 80 0c 3c 86 |1.4Y.W..A.....<.| +000002f0 32 b7 62 b5 05 cc f0 54 16 75 a7 90 0d 94 bc 1b |2.b....T.u......| +00000300 e9 c5 03 7c 48 4a fb 24 5d fd 2b 44 6e 37 1c 68 |...|HJ.$].+Dn7.h| +00000310 70 e0 ef ef c6 8d f1 cd b8 7a ef f9 50 b0 93 f3 |p........z..P...| +00000320 bd 0c 61 f2 85 61 d6 11 52 0c b4 3e 6e dd ad 96 |..a..a..R..>n...| +00000330 e1 a7 f1 f5 bf 38 39 c1 37 ac 4a e1 c8 db 63 30 |.....89.7.J...c0| +00000340 65 91 64 f1 a7 91 71 a8 d6 c3 0e 30 3c 47 8b de |e.d...q....0>> 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 95 98 0a ed dc fe 96 26 f6 3e 99 |............&.>.| -00000050 e8 be 39 3b a9 65 2d 28 cd f6 79 11 c1 74 91 11 |..9;.e-(..y..t..| -00000060 e9 aa 4c e9 eb 2c b8 bb bd 1d 39 0f e1 98 a5 a8 |..L..,....9.....| -00000070 6d 1d 3e d0 69 |m.>.i| +00000040 00 00 00 00 00 5b 27 f3 2f 42 21 5e 1b 56 23 af |.....['./B!^.V#.| +00000050 05 5b 9d 70 d8 7c 94 44 01 53 02 cc 07 bb 86 4b |.[.p.|.D.S.....K| +00000060 c5 e8 6a f5 61 54 76 a1 83 71 13 bc 4f b7 12 0e |..j.aTv..q..O...| +00000070 9b b7 76 73 75 |..vsu| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 40 dd 7c 68 3c f7 |..........@.|h<.| -00000010 53 dd 87 e3 20 57 35 46 77 a3 6e eb 33 40 7f 4e |S... W5Fw.n.3@.N| -00000020 2d 63 62 a1 61 93 ce 00 a0 fa 4b 49 4b fd 46 21 |-cb.a.....KIK.F!| -00000030 3c d2 ed 2a 93 c8 1a e9 84 1e 9d 8f 4e 28 b6 7c |<..*........N(.|| -00000040 b4 ce fe 93 6d ee f1 0e 50 26 29 |....m...P&)| +00000000 14 03 03 00 01 01 16 03 03 00 40 66 ca d6 69 57 |..........@f..iW| +00000010 2e 27 86 ed 42 f5 d3 d6 f8 7f f0 2f 99 7a 90 0f |.'..B....../.z..| +00000020 03 5f a3 02 ae fa a9 09 88 11 b2 29 70 a9 c1 70 |._.........)p..p| +00000030 ec 64 a6 ba 1d c0 8c 77 1a 47 49 27 7d f5 74 c3 |.d.....w.GI'}.t.| +00000040 13 7c f6 f6 20 4f b1 10 4a 70 19 |.|.. O..Jp.| >>> 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 40 23 3b e4 23 ed 38 0a c3 80 f9 |.....@#;.#.8....| -00000020 98 d1 9a bb 46 7c 50 2d 32 ca 6f 65 e9 0e 45 44 |....F|P-2.oe..ED| -00000030 a6 e3 1e 87 49 15 03 03 00 30 00 00 00 00 00 00 |....I....0......| -00000040 00 00 00 00 00 00 00 00 00 00 36 64 08 15 2a 19 |..........6d..*.| -00000050 d9 f2 83 3f c5 0e 30 32 37 fa de 4d a3 43 84 47 |...?..027..M.C.G| -00000060 f5 c8 ab 9f b2 05 e8 39 e7 b2 |.......9..| +00000010 00 00 00 00 00 a5 0d df 18 a0 2b 2b 59 77 57 d5 |..........++YwW.| +00000020 0e 12 45 c8 d5 bd 6f a1 9d 77 22 54 e0 f4 10 29 |..E...o..w"T...)| +00000030 03 51 9d eb cf 15 03 03 00 30 00 00 00 00 00 00 |.Q.......0......| +00000040 00 00 00 00 00 00 00 00 00 00 ed ae 5f f6 71 e2 |............_.q.| +00000050 df d8 a6 b8 34 1f 8f 8c d8 42 de b1 04 fe da f2 |....4....B......| +00000060 49 44 a1 ee d7 18 5c 71 1c 39 |ID....\q.9| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Chrome-58 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Chrome-58 index 5893c9d4..574ccb19 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Chrome-58 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Chrome-58 @@ -12,9 +12,9 @@ 000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 0a |P...............| 000000b0 0a 00 1d 00 17 00 18 1a 1a 00 01 00 |............| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 84 6d f4 98 e1 |....A...=...m...| -00000010 cf 9b ce d3 ce 72 ec dc 55 71 95 2b 18 24 45 58 |.....r..Uq.+.$EX| -00000020 c3 9f 05 85 30 b1 50 91 51 99 77 00 cc a8 00 00 |....0.P.Q.w.....| +00000000 16 03 03 00 41 02 00 00 3d 03 03 79 e1 6c 09 11 |....A...=..y.l..| +00000010 8c 66 12 cf 05 9c 98 f8 02 06 41 e6 bb d7 f6 34 |.f........A....4| +00000020 2c 75 f5 06 09 87 65 2e 34 18 54 00 cc a8 00 00 |,u....e.4.T.....| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,42 +55,42 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 f6 18 93 be 34 9f 17 84 a9 a3 10 6b d9 71 55 | ....4......k.qU| -000002c0 5b dd bc e8 fb 9a 3f 89 b4 e1 9d bb 87 68 b8 eb |[.....?......h..| -000002d0 0e 04 01 00 80 92 80 47 0f 2a 8c 4b d5 0e c9 95 |.......G.*.K....| -000002e0 27 1a 01 a6 79 95 4d 61 48 ab 8f f4 4b 25 70 6d |'...y.MaH...K%pm| -000002f0 1f a7 03 66 96 40 a1 1d 60 b6 91 2e 0e 48 dc 3e |...f.@..`....H.>| -00000300 83 8b f0 f6 e1 94 11 64 53 88 3c 74 04 49 90 6e |.......dS.>> 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 31 ac 29 6b 15 fd 00 1d 8d 24 9d |.... 1.)k.....$.| -00000040 da 9f fd db b6 a9 77 d6 5e b1 8e ab 8d f5 06 08 |......w.^.......| -00000050 63 5c 30 0d 64 |c\0.d| +00000030 16 03 03 00 20 a5 a9 70 e5 ee 25 71 32 ee d1 c3 |.... ..p..%q2...| +00000040 34 ff e9 2a b7 51 e6 2a 97 3e 36 ff 73 dc 29 62 |4..*.Q.*.>6.s.)b| +00000050 2d 19 4c 47 ab |-.LG.| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 f7 |............ ...| -00000010 d6 21 e7 8a 44 e5 d7 2c c4 d4 d9 34 cf 79 25 59 |.!..D..,...4.y%Y| -00000020 7d b5 d0 6a ba 6f 62 b4 56 ce 5c 93 32 d2 fd bb |}..j.ob.V.\.2...| -00000030 29 02 9d 84 1b 95 56 ca 14 ba 56 8c 45 0e 55 74 |).....V...V.E.Ut| -00000040 db a5 35 f9 8d 4b 92 2d e2 58 b8 08 8b ee b9 2a |..5..K.-.X.....*| -00000050 a1 9d a2 7b 5b 95 fc 90 cb 8c 48 36 79 60 06 24 |...{[.....H6y`.$| -00000060 a3 ae bd 95 e5 d1 40 c2 ba 20 b8 ff 11 75 31 04 |......@.. ...u1.| -00000070 ba 87 67 9f 39 e5 df b6 bc bb d0 0c 03 5c 47 a7 |..g.9........\G.| -00000080 bd ed 67 bd de 51 b2 c6 80 81 50 19 f6 a8 8a 57 |..g..Q....P....W| -00000090 de 74 89 92 3d 60 41 2e 83 16 3e f8 c0 f4 00 74 |.t..=`A...>....t| -000000a0 80 12 9d 6e 17 c1 a4 f8 a4 45 68 08 62 5a 9f 09 |...n.....Eh.bZ..| -000000b0 0f cc cd 07 50 0f 98 b5 1c e5 32 aa 30 f8 cd 14 |....P.....2.0...| -000000c0 03 03 00 01 01 16 03 03 00 20 1c fa 4c c0 ec ea |......... ..L...| -000000d0 36 ef 8d 9a d9 e4 fa 57 bf 52 f0 78 90 ec ae 37 |6......W.R.x...7| -000000e0 49 24 b0 5f a8 7f 6b e5 4b d4 |I$._..k.K.| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 0d |............ ...| +00000010 90 c8 e0 65 7b ff b2 70 bc 79 7b 28 88 fb 4f 85 |...e{..p.y{(..O.| +00000020 de 65 5e 00 ec 76 5f a0 f4 32 85 62 07 ee c5 27 |.e^..v_..2.b...'| +00000030 13 27 77 10 67 de 90 db f7 74 67 e0 b0 45 c6 29 |.'w.g....tg..E.)| +00000040 63 5b 52 83 f8 f2 8a c9 b3 cf cc 5c d1 a0 eb a9 |c[R........\....| +00000050 ef 9c b8 28 d2 9d 56 e6 21 9f 2f f9 61 35 19 4c |...(..V.!./.a5.L| +00000060 b3 79 1d 61 5c e4 7e 99 1a a6 83 9b d1 e5 da 47 |.y.a\.~........G| +00000070 23 ad 4c 58 66 96 30 ba 2d 27 15 2b ae 81 3e 52 |#.LXf.0.-'.+..>R| +00000080 d8 b0 3e 37 50 55 21 58 ed 54 5b d2 d8 72 35 ae |..>7PU!X.T[..r5.| +00000090 25 36 4e 55 a5 1f c7 34 f2 19 f8 de 08 db 3c 5f |%6NU...4......<_| +000000a0 3e 2f bd 67 b7 45 ce 86 56 30 3c 5b d9 97 30 ba |>/.g.E..V0<[..0.| +000000b0 26 c1 9a 6e ba 80 73 25 aa ce 31 45 65 23 3f 14 |&..n..s%..1Ee#?.| +000000c0 03 03 00 01 01 16 03 03 00 20 cd 2a 36 6f 89 a9 |......... .*6o..| +000000d0 73 31 b7 92 f4 e7 60 07 fc 24 98 39 f5 ab fc 86 |s1....`..$.9....| +000000e0 a4 be 97 ad 92 6c b8 6e 58 bb |.....l.nX.| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 12 c8 66 f1 dc 08 8e bd 18 84 f0 |.......f........| -00000010 1d a1 64 b7 fa 25 2c ec 5e b4 96 15 03 03 00 12 |..d..%,.^.......| -00000020 83 f7 35 f1 51 13 ba 48 7a 10 4c ca 18 9b a7 54 |..5.Q..Hz.L....T| -00000030 4d 21 |M!| +00000000 17 03 03 00 16 a3 f9 b8 64 91 f2 bc c1 de 6e 7e |........d.....n~| +00000010 ca 3c 25 23 7d 3a 82 b6 e8 84 26 15 03 03 00 12 |.<%#}:....&.....| +00000020 56 67 40 94 c8 7b d0 7c 78 63 3b b5 8e af e5 61 |Vg@..{.|xc;....a| +00000030 30 31 |01| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Firefox-55 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Firefox-55 index 35338852..13d960a9 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Firefox-55 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Firefox-55 @@ -12,9 +12,9 @@ 000000a0 03 08 04 08 05 08 06 04 01 05 01 06 01 02 03 02 |................| 000000b0 01 |.| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 19 dc 09 f5 ca |....A...=.......| -00000010 9a 10 b6 e7 c2 a6 d0 d4 0e 9f 54 90 4b a7 de d0 |..........T.K...| -00000020 fe aa 00 4e 03 9a b9 93 38 5b 12 00 cc a8 00 00 |...N....8[......| +00000000 16 03 03 00 41 02 00 00 3d 03 03 c8 92 39 a3 71 |....A...=....9.q| +00000010 2d 9e 6e 8b 8f 23 9e 52 3e b3 83 59 be 3b 75 32 |-.n..#.R>..Y.;u2| +00000020 f3 1f 1a 30 55 3e d9 20 2c 81 7c 00 cc a8 00 00 |...0U>. ,.|.....| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,42 +55,42 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 6f 6f 65 65 85 53 d6 e3 89 71 7b 05 a3 87 11 | ooee.S...q{....| -000002c0 e7 b2 45 5e 6e d6 8d f1 ae 5a ad 12 f5 ac 7b 55 |..E^n....Z....{U| -000002d0 75 04 01 00 80 6d 2b 9d 89 f5 82 5e 8b 17 6c 98 |u....m+....^..l.| -000002e0 9a 2c 5e 44 86 29 d7 ee 62 3a 00 28 fd 26 14 01 |.,^D.)..b:.(.&..| -000002f0 c5 d5 23 bc 94 4a e9 09 f1 7f e4 c3 a1 60 2e 2b |..#..J.......`.+| -00000300 31 3c 88 a1 db 30 9c 59 c4 c3 ba 6a 2c f1 0e 78 |1<...0.Y...j,..x| -00000310 eb e5 10 c1 28 00 59 57 8a c5 76 1a f2 80 98 a5 |....(.YW..v.....| -00000320 92 5d 49 38 b1 00 ec a9 84 34 d5 59 d0 01 54 fd |.]I8.....4.Y..T.| -00000330 28 31 c7 78 91 73 11 3e 12 6a af 1b 15 6f 21 83 |(1.x.s.>.j...o!.| -00000340 53 45 78 ce 69 86 60 b5 4d 9e 77 35 64 ad 9c ae |SEx.i.`.M.w5d...| -00000350 0f d7 91 47 fa 16 03 03 00 04 0e 00 00 00 |...G..........| +000002b0 20 bb eb 04 b9 43 34 08 af 12 20 84 75 9b 93 d1 | ....C4... .u...| +000002c0 2f c1 d8 21 0e 95 9c 5f ab 0a bc a6 96 83 49 bb |/..!..._......I.| +000002d0 57 04 01 00 80 ce 10 ba 2e ff 9a de ee 5d ec ae |W............]..| +000002e0 3d 16 39 34 8f 47 36 66 09 8c eb 87 73 11 5f d1 |=.94.G6f....s._.| +000002f0 95 b4 a7 2b e1 c3 42 d2 30 18 01 e7 c3 5b b0 68 |...+..B.0....[.h| +00000300 c0 14 9a 2b a7 f7 f7 58 15 1c 40 97 be c3 83 b1 |...+...X..@.....| +00000310 ca 8a 84 a7 6b f4 eb c9 8a 65 da 8d c9 39 06 91 |....k....e...9..| +00000320 9c 46 c7 31 86 84 86 69 31 63 31 8d ca f7 8a 7f |.F.1...i1c1.....| +00000330 40 c5 a5 4c 27 46 d7 2c c9 a6 24 18 21 78 f0 ed |@..L'F.,..$.!x..| +00000340 0d c7 3e 71 d1 73 45 07 06 a5 f5 e5 82 ca 15 34 |..>q.sE........4| +00000350 8b 26 93 c5 08 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 5c a7 89 46 cf 18 78 60 46 7c 66 |.... \..F..x`F|f| -00000040 f3 fd 51 5e 99 1a 7c 40 b1 c8 91 4a 90 71 0d 81 |..Q^..|@...J.q..| -00000050 f3 25 7c cc e4 |.%|..| +00000030 16 03 03 00 20 53 cb 4a 55 e0 46 fd d7 96 46 b2 |.... S.JU.F...F.| +00000040 38 98 79 54 04 c8 f7 54 8e 51 d4 90 83 84 91 e8 |8.yT...T.Q......| +00000050 e5 8f c3 85 10 |.....| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 dd |............ ...| -00000010 ad 9d 9d 81 5d 5f 1f 44 53 36 f4 76 ac 97 48 ed |....]_.DS6.v..H.| -00000020 5b 21 bf 3f c4 fc 80 31 d1 05 a6 ba 00 a5 e3 1c |[!.?...1........| -00000030 51 07 13 37 df 30 4f 8a df 5b 27 e1 62 a5 0f c2 |Q..7.0O..['.b...| -00000040 5c d9 7e 74 77 73 20 0e 51 c2 40 bb 1b 76 a7 6c |\.~tws .Q.@..v.l| -00000050 9c 8b 4c a8 0f 7a 86 b6 a4 4f ed 76 7e a2 3a 3f |..L..z...O.v~.:?| -00000060 55 19 99 85 89 d6 ad f8 6b 03 7a 60 ac e6 48 d2 |U.......k.z`..H.| -00000070 75 64 25 76 f0 54 b7 f9 c9 79 35 8f be af 28 37 |ud%v.T...y5...(7| -00000080 ff 20 57 c6 da c6 f6 e1 7b ce cc bd 58 49 f3 d7 |. W.....{...XI..| -00000090 72 57 2e b3 19 dc 86 ce c1 9f 51 7e 19 58 de 21 |rW........Q~.X.!| -000000a0 f8 cc ba 43 d5 92 d1 e0 9d 85 ed 18 ff c7 46 f5 |...C..........F.| -000000b0 41 6a 04 0d ce 70 4f 79 2c d3 6e 7e 72 ae f9 14 |Aj...pOy,.n~r...| -000000c0 03 03 00 01 01 16 03 03 00 20 1f 3a c1 a6 75 a0 |......... .:..u.| -000000d0 ac 2d 98 d7 48 56 58 97 3b 07 8c 7a 03 b3 d4 c1 |.-..HVX.;..z....| -000000e0 00 1e 35 f4 27 67 a8 c9 f2 2f |..5.'g.../| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 8d |............ ...| +00000010 27 55 9c a2 2a df cb 02 d6 f7 d4 a6 29 26 57 61 |'U..*.......)&Wa| +00000020 c4 97 3d 0c a1 9e 41 45 00 d2 46 76 bf 4f 3d 66 |..=...AE..Fv.O=f| +00000030 ae 89 e1 cd 34 04 f8 9b 31 15 eb de 21 50 62 62 |....4...1...!Pbb| +00000040 92 31 66 a5 0b b7 77 d4 10 0d 75 f7 0a e0 0b 83 |.1f...w...u.....| +00000050 2e ee b0 0e e9 0f 64 31 91 12 86 1c 8a c5 c5 c5 |......d1........| +00000060 11 6a 88 3c 6a 99 39 82 df db ab 49 03 4a 44 99 |.j.>> Flow 5 (client to server) -00000000 17 03 03 00 16 48 a3 bf 4b 8f b3 4e 13 f4 0c 99 |.....H..K..N....| -00000010 f9 07 b9 a2 c7 b3 4f 58 0f 87 fe 15 03 03 00 12 |......OX........| -00000020 6c 46 f0 52 79 78 79 86 e0 b8 b7 c0 46 11 e4 5a |lF.Ryxy.....F..Z| -00000030 be eb |..| +00000000 17 03 03 00 16 c9 2c a5 62 4b a6 93 8a 3f b5 c8 |......,.bK...?..| +00000010 20 09 c6 f5 33 35 65 e9 c0 ef 63 15 03 03 00 12 | ...35e...c.....| +00000020 38 71 f1 64 be 31 2d 9d 07 df 77 b0 bb cf 19 98 |8q.d.1-...w.....| +00000030 7a ee |z.| diff --git a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Golang-0 b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Golang-0 index 96925428..afd229d5 100644 --- a/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Golang-0 +++ b/testdata/Client-TLSv12-UTLS-ECDHE-RSA-CHACHA20-POLY1305-Golang-0 @@ -1,17 +1,17 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 67 01 00 00 63 03 03 00 00 00 00 00 |....g...c.......| +00000000 16 03 01 00 6b 01 00 00 67 03 03 00 00 00 00 00 |....k...g.......| 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 00 00 02 cc a8 |................| -00000030 01 00 00 38 00 05 00 05 01 00 00 00 00 00 0a 00 |...8............| +00000030 01 00 00 3c 00 05 00 05 01 00 00 00 00 00 0a 00 |...<............| 00000040 0a 00 08 00 1d 00 17 00 18 00 19 00 0b 00 02 01 |................| -00000050 00 00 0d 00 0e 00 0c 04 01 04 03 05 01 05 03 02 |................| -00000060 01 02 03 ff 01 00 01 00 00 12 00 00 |............| +00000050 00 00 0d 00 12 00 10 04 01 04 03 05 01 05 03 06 |................| +00000060 01 06 03 02 01 02 03 ff 01 00 01 00 00 12 00 00 |................| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 7c 86 af f7 7c |....Y...U..|...|| -00000010 80 7e dc 8a e9 e7 b4 cf 64 ae eb 53 17 02 a6 1f |.~......d..S....| -00000020 1f 35 2f 11 a6 b3 12 65 28 fa f2 20 50 93 8c c8 |.5/....e(.. P...| -00000030 3d b8 97 ff b4 e3 a1 b2 5b 44 5a 5c 63 ba ce a4 |=.......[DZ\c...| -00000040 c2 5c eb 58 a3 53 ba eb c8 25 79 0e cc a8 00 00 |.\.X.S...%y.....| +00000000 16 03 03 00 59 02 00 00 55 03 03 4f 4a 47 8c 81 |....Y...U..OJG..| +00000010 86 b4 22 54 c6 f9 7c aa c2 f1 1d 2a 6a 1f b0 17 |.."T..|....*j...| +00000020 2f 66 e8 7b 9b 78 f1 75 e6 a5 ca 20 27 5e e1 b4 |/f.{.x.u... '^..| +00000030 54 1e 6e 93 e6 dc d9 86 07 39 a8 eb 51 80 79 a9 |T.n......9..Q.y.| +00000040 ae e1 3e 79 a5 f7 5d 5d f1 38 26 4b cc a8 00 00 |..>y..]].8&K....| 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..............| @@ -51,31 +51,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 e0 0e 7b 21 12 d8 ff |........ ..{!...| -000002d0 73 75 03 87 17 f4 a3 11 65 67 5e 24 5f 13 b8 19 |su......eg^$_...| -000002e0 8a 7b 2b 46 e0 22 73 2c 1a 04 01 00 80 b4 14 e8 |.{+F."s,........| -000002f0 1e d7 84 b6 9d 28 c9 42 b5 32 70 0b 47 83 bd c9 |.....(.B.2p.G...| -00000300 57 40 f4 df cf 21 4f 12 7a d8 42 9a 52 30 18 b2 |W@...!O.z.B.R0..| -00000310 a3 d7 23 4f 41 ad bc 4e 56 0c 3d 80 94 4a aa 7a |..#OA..NV.=..J.z| -00000320 c3 5c 70 6f 53 cd ef 22 46 79 ab 11 bc 9b b7 dd |.\poS.."Fy......| -00000330 2d 89 20 2a 4e d7 cf fa 01 b3 6d 9e 99 bb 17 7c |-. *N.....m....|| -00000340 1a 8c 9c 99 12 31 54 e1 1a 94 e4 36 ce 31 7e 12 |.....1T....6.1~.| -00000350 fc db 6d 52 07 47 81 77 33 6e f9 54 2f fd 67 fe |..mR.G.w3n.T/.g.| -00000360 69 0d 4d 7c 5b 70 75 6e b7 ce fe d8 1e 16 03 03 |i.M|[pun........| +000002c0 ac 0c 00 00 a8 03 00 1d 20 53 4b 6f b4 e4 0e 99 |........ SKo....| +000002d0 48 92 5d 82 b5 0e aa cd 3d 09 fb 3c 07 89 23 f3 |H.].....=..<..#.| +000002e0 3d e0 b1 09 bb 14 b9 b0 7c 04 01 00 80 0b 16 c1 |=.......|.......| +000002f0 3e 29 ea ac d5 47 98 cf cd 5b 83 9f f9 33 5a 31 |>)...G...[...3Z1| +00000300 ea 92 68 58 d2 2f f7 fa 0e 02 d0 ca 08 3a 05 93 |..hX./.......:..| +00000310 86 15 dc a2 72 a3 f3 57 3d e5 de 78 36 c6 2c 31 |....r..W=..x6.,1| +00000320 f5 92 1e 85 df ed 2f f6 5d 7e 0d c9 d3 76 ea a2 |....../.]~...v..| +00000330 ff ac 3d ab 7c c3 ec d6 44 74 11 cd 90 b7 77 b4 |..=.|...Dt....w.| +00000340 a4 30 ee 06 3e 2d cb 28 48 36 2d 4c d1 2a c7 08 |.0..>-.(H6-L.*..| +00000350 62 71 a2 82 c4 be 4c c4 1f 64 cf ba 46 fc 7d d4 |bq....L..d..F.}.| +00000360 c6 93 a0 4d 30 1a 9d ec 1e 5c 6f 6d 75 16 03 03 |...M0....\omu...| 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 77 09 e3 03 75 9b ad df 84 99 b9 |.... w...u......| -00000040 64 31 f5 53 0e 22 3e 29 0b dc 35 44 b3 d7 93 03 |d1.S.">)..5D....| -00000050 a0 a8 af 2e 83 |.....| +00000030 16 03 03 00 20 bb 03 6d 47 00 8a 89 7a 98 b8 25 |.... ..mG...z..%| +00000040 0a 09 4a e0 49 00 c4 96 3a 00 d7 6a 19 47 df 83 |..J.I...:..j.G..| +00000050 03 c4 11 df 8e |.....| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 20 55 65 9b 41 9a |.......... Ue.A.| -00000010 30 cb 82 fa 78 d4 ad b0 d4 8d ed c2 e6 a2 d5 ef |0...x...........| -00000020 b1 9f 64 7d f4 42 47 94 bf ed 81 |..d}.BG....| +00000000 14 03 03 00 01 01 16 03 03 00 20 78 4b 72 4d 7e |.......... xKrM~| +00000010 56 4b 02 74 46 15 a4 02 62 f5 3d 9f 59 73 19 c8 |VK.tF...b.=.Ys..| +00000020 d0 f0 45 99 ca e6 1f ac 53 47 d6 |..E.....SG.| >>> Flow 5 (client to server) -00000000 17 03 03 00 16 5d 38 4a b2 5b cd 64 ff 97 ab bc |.....]8J.[.d....| -00000010 7f 03 07 20 6e c2 0d 21 a1 f5 a0 15 03 03 00 12 |... n..!........| -00000020 7c ad c1 ab 50 3c 29 62 a8 3a 63 40 5d 5b 80 ec ||...P<)b.:c@][..| -00000030 00 6c |.l| +00000000 17 03 03 00 16 11 6a a0 c7 5f 39 ae 88 fc 16 0b |......j.._9.....| +00000010 0f 3a 18 14 40 37 ea f1 e3 ab 8d 15 03 03 00 12 |.:..@7..........| +00000020 82 be 82 44 63 f6 f2 96 f1 a7 08 63 8c 29 51 45 |...Dc......c.)QE| +00000030 9d 3d |.=| diff --git a/testdata/Client-TLSv12-UTLS-setclienthello-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 b/testdata/Client-TLSv12-UTLS-setclienthello-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 index 22f45cc6..8ca17506 100644 --- a/testdata/Client-TLSv12-UTLS-setclienthello-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 +++ b/testdata/Client-TLSv12-UTLS-setclienthello-ECDHE-RSA-AES128-GCM-SHA256-Chrome-58 @@ -12,9 +12,9 @@ 000000a0 50 00 00 00 0b 00 02 01 00 00 0a 00 0a 00 08 7a |P..............z| 000000b0 7a 00 1d 00 17 00 18 6a 6a 00 01 00 |z......jj...| >>> Flow 2 (server to client) -00000000 16 03 03 00 41 02 00 00 3d 03 03 18 2e 4c 06 34 |....A...=....L.4| -00000010 c1 c1 0c 0a 8a 32 d1 63 c6 da ef 73 47 31 ba 73 |.....2.c...sG1.s| -00000020 09 d6 2c 34 b8 50 ff 62 a8 57 ce 00 c0 2f 00 00 |..,4.P.b.W.../..| +00000000 16 03 03 00 41 02 00 00 3d 03 03 71 0c 30 76 9c |....A...=..q.0v.| +00000010 c6 00 ec f3 db 25 92 9b 61 9c 81 13 dc 0b 81 66 |.....%..a......f| +00000020 17 c8 de 30 bf 72 4a 72 aa a4 1f 00 c0 2f 00 00 |...0.rJr...../..| 00000030 15 ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 23 |...............#| 00000040 00 00 00 17 00 00 16 03 03 02 59 0b 00 02 55 00 |..........Y...U.| 00000050 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 |.R..O0..K0......| @@ -55,44 +55,44 @@ 00000280 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000290 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| 000002a0 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| -000002b0 20 32 9c 01 0a b4 71 d0 4c 11 d4 1b ed f0 bb 15 | 2....q.L.......| -000002c0 42 44 ca 6e ac ef 80 81 47 00 98 91 6b ca f9 84 |BD.n....G...k...| -000002d0 07 04 01 00 80 b7 c7 38 7c 11 6a 91 ac 5f cd 5a |.......8|.j.._.Z| -000002e0 2f ba 43 19 29 13 90 36 e3 6d 70 26 f3 b1 22 ac |/.C.)..6.mp&..".| -000002f0 bf 18 df a6 4e e4 ca db a0 3c 9f 09 c0 54 b3 46 |....N....<...T.F| -00000300 bb f0 73 9d 7d 3e 48 4c 62 19 81 1a 35 12 48 83 |..s.}>HLb...5.H.| -00000310 b1 38 55 9e 15 ff d5 87 f7 4a fb 08 a0 f4 83 19 |.8U......J......| -00000320 74 e4 13 dc 86 6a fc a3 6c ea fa 51 bf 19 28 52 |t....j..l..Q..(R| -00000330 71 ee 62 e8 2f 0f 0e 69 66 23 00 57 9b 9b d4 52 |q.b./..if#.W...R| -00000340 20 6b e2 ec 43 f5 f1 81 4f 60 ff 21 f4 c5 2b 77 | k..C...O`.!..+w| -00000350 34 3d 7f c1 d6 16 03 03 00 04 0e 00 00 00 |4=............| +000002b0 20 8c 05 a0 e3 b8 d7 01 45 6f a2 c6 b2 ae 51 47 | .......Eo....QG| +000002c0 02 85 46 db 2d e5 16 f9 7c c2 6c 89 42 f7 1f 49 |..F.-...|.l.B..I| +000002d0 7d 04 01 00 80 63 58 dc f1 fb 18 0c 45 67 ed 30 |}....cX.....Eg.0| +000002e0 1a af 95 0c 23 e6 5e 12 8b 5f 4d 70 ed d5 ca 3b |....#.^.._Mp...;| +000002f0 49 bc 20 88 4b cb 84 b2 00 23 5f 77 05 42 2a 4e |I. .K....#_w.B*N| +00000300 1a 3e 9f 6c 01 d7 88 96 ca 2e e9 b1 ba 80 bf f5 |.>.l............| +00000310 b1 1b ec 79 0a 39 e6 e0 40 a6 86 7b be be da 53 |...y.9..@..{...S| +00000320 75 b4 84 a0 8e 73 3d 95 86 c8 9d 02 70 55 30 d7 |u....s=.....pU0.| +00000330 ab 2b 2e 0e 60 b0 05 00 f9 dd e8 d6 8d 4f cb 74 |.+..`........O.t| +00000340 9d ab 78 14 46 1f e5 65 fc d9 e6 0a ba 0c d7 6b |..x.F..e.......k| +00000350 77 ec fa 88 58 16 03 03 00 04 0e 00 00 00 |w...X.........| >>> 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 84 2c 29 |....(.........,)| -00000040 c1 95 98 9f 48 f1 56 1e 10 25 91 67 21 0e f8 39 |....H.V..%.g!..9| -00000050 d4 d6 d6 29 61 e3 5c 94 75 9d b7 5f c3 |...)a.\.u.._.| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 7f 4c d7 |....(.........L.| +00000040 70 c7 d2 4c d9 68 71 11 a0 98 ba 4c 37 62 a3 03 |p..L.hq....L7b..| +00000050 a8 e6 4b a4 9c 8b fb e9 99 bb 17 71 5c |..K........q\| >>> Flow 4 (server to client) -00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 c9 |............ ...| -00000010 ae ac 2f fe 3a 8c af 7a e9 8c 8f cd c7 f1 5c b0 |../.:..z......\.| -00000020 68 b4 9a 43 70 ad 94 e9 ab 83 f2 54 3e fa f0 ea |h..Cp......T>...| -00000030 c0 dc 3d 2a 84 75 50 71 4d ef 41 91 b1 52 2d ec |..=*.uPqM.A..R-.| -00000040 00 93 07 16 68 aa d3 10 f7 23 26 78 da 12 68 e0 |....h....#&x..h.| -00000050 4c ab c3 8f e8 0d 30 fe 6f 08 96 50 12 e1 c2 18 |L.....0.o..P....| -00000060 6c e2 b6 96 d6 e0 d7 08 58 06 7d bb d2 a9 54 71 |l.......X.}...Tq| -00000070 b1 12 e3 61 60 2b b4 8b 45 24 a9 52 05 d5 f4 da |...a`+..E$.R....| -00000080 12 25 c9 84 85 29 3e 03 6e 53 6e a1 8c 31 a6 c2 |.%...)>.nSn..1..| -00000090 82 99 30 73 86 98 3d df b6 fc c3 4e c3 c4 d5 44 |..0s..=....N...D| -000000a0 8d d0 9f ee f0 af d0 1e 84 33 27 35 83 85 68 14 |.........3'5..h.| -000000b0 c2 3b ec c5 8e 96 97 6f 6b ef 77 18 95 33 c0 14 |.;.....ok.w..3..| -000000c0 03 03 00 01 01 16 03 03 00 28 2d 9e e6 e4 9f c9 |.........(-.....| -000000d0 6b a0 4e 73 b8 3a c6 73 a4 fe 48 4e d9 4c a4 6e |k.Ns.:.s..HN.L.n| -000000e0 2a e7 6a 77 28 43 1a 5d 68 1e db 86 96 fe fa bc |*.jw(C.]h.......| -000000f0 4d 74 |Mt| +00000000 16 03 03 00 ba 04 00 00 b6 00 00 1c 20 00 b0 ce |............ ...| +00000010 36 4f 00 aa 04 04 67 13 18 80 a5 e6 54 51 cf 15 |6O....g.....TQ..| +00000020 25 48 c0 7e 11 16 30 a0 4f db 00 a0 4f 33 43 4b |%H.~..0.O...O3CK| +00000030 78 1f e5 83 9f 0b a5 45 71 5a 68 78 39 f6 35 f4 |x......EqZhx9.5.| +00000040 3a bc 05 ce 5d f0 4a 7e 0c 4e 21 95 85 57 9d 55 |:...].J~.N!..W.U| +00000050 19 6c 62 72 e5 98 8c a8 3e 20 b8 70 03 7c d0 7a |.lbr....> .p.|.z| +00000060 bb 31 e9 41 f4 ab 86 9a ca 97 d9 68 19 a0 8c 7e |.1.A.......h...~| +00000070 2b 3d b0 fd 11 d8 30 07 12 e2 ae d8 d7 06 e3 3f |+=....0........?| +00000080 6b 96 f4 b9 5c 8b 49 3f 52 1a b7 4b 96 e1 03 d2 |k...\.I?R..K....| +00000090 f0 d7 33 8f 68 3e 47 65 1e c4 1e d6 eb c3 b0 1a |..3.h>Ge........| +000000a0 40 5e a0 65 dd df fa 35 79 11 2e aa b9 69 ed d9 |@^.e...5y....i..| +000000b0 06 a6 75 fc ce c9 83 4c 5e 45 8e 9f 3b 1b 12 14 |..u....L^E..;...| +000000c0 03 03 00 01 01 16 03 03 00 28 84 86 f4 51 01 11 |.........(...Q..| +000000d0 31 f2 d0 0e e5 ca 31 ba 78 ea fb 58 7f 46 24 76 |1.....1.x..X.F$v| +000000e0 6d bf 22 d0 c3 d1 a9 36 04 5c 81 10 46 11 c4 50 |m."....6.\..F..P| +000000f0 cb 0a |..| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 ea bb 0a |................| -00000010 3d a2 0d 4a 35 50 0d fd af e8 f4 05 c2 b7 9f 3f |=..J5P.........?| -00000020 80 0a a9 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| -00000030 63 9b 0d 07 b1 df ba e6 88 0e 76 39 a1 d9 f6 e8 |c.........v9....| -00000040 de e8 |..| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 02 d2 dd |................| +00000010 89 f2 6b 00 15 b4 6a ef 89 68 f6 d1 83 19 7a 2e |..k...j..h....z.| +00000020 04 b8 1e 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 fa 6c 6d ea 43 58 10 f8 af cb ac 68 4c ed c2 3a |.lm.CX.....hL..:| +00000040 f3 9e |..| diff --git a/testdata/Client-TLSv12-X25519-ECDHE-RSA-AES-GCM b/testdata/Client-TLSv12-X25519-ECDHE-RSA-AES-GCM index 90541fd1..7a265ea2 100644 --- a/testdata/Client-TLSv12-X25519-ECDHE-RSA-AES-GCM +++ b/testdata/Client-TLSv12-X25519-ECDHE-RSA-AES-GCM @@ -1,19 +1,20 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 8b 01 00 00 87 03 03 00 00 00 00 00 |................| +00000000 16 03 01 00 8f 01 00 00 8b 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 00 00 2c cc a8 |.............,..| 00000030 cc a9 c0 2f c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 |.../.+.0.,.'...#| 00000040 c0 09 c0 14 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 |...........<./.5| -00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 32 00 05 |.............2..| +00000050 c0 12 00 0a 00 05 c0 11 c0 07 01 00 00 36 00 05 |.............6..| 00000060 00 05 01 00 00 00 00 00 0a 00 04 00 02 00 1d 00 |................| -00000070 0b 00 02 01 00 00 0d 00 0e 00 0c 04 01 04 03 05 |................| -00000080 01 05 03 02 01 02 03 ff 01 00 01 00 00 12 00 00 |................| +00000070 0b 00 02 01 00 00 0d 00 12 00 10 04 01 04 03 05 |................| +00000080 01 05 03 06 01 06 03 02 01 02 03 ff 01 00 01 00 |................| +00000090 00 12 00 00 |....| >>> Flow 2 (server to client) -00000000 16 03 03 00 59 02 00 00 55 03 03 07 42 b0 44 05 |....Y...U...B.D.| -00000010 b1 6d 3c f0 60 fe 6a f2 1f 8f 1d 88 de 4b 6a 1b |.m<.`.j......Kj.| -00000020 4f 72 60 4d 42 a5 f7 77 eb 86 c2 20 99 35 47 07 |Or`MB..w... .5G.| -00000030 64 60 32 52 2e 1d 54 d5 b7 e2 26 85 72 c1 ec 8d |d`2R..T...&.r...| -00000040 fb 59 86 91 46 7d ad 16 bd b7 38 94 c0 2f 00 00 |.Y..F}....8../..| +00000000 16 03 03 00 59 02 00 00 55 03 03 ff 52 25 9b 48 |....Y...U...R%.H| +00000010 77 0c cd cf 49 c4 b4 5e 02 32 d4 56 99 d0 ce ad |w...I..^.2.V....| +00000020 d4 9d 8b e9 ae 4c 50 26 4b 65 c3 20 99 54 f7 5d |.....LP&Ke. .T.]| +00000030 68 da 00 e0 88 d8 0c ed b1 8f 60 d1 70 16 c4 c6 |h.........`.p...| +00000040 84 69 55 23 43 27 22 b7 94 2a 79 4c c0 2f 00 00 |.iU#C'"..*yL./..| 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..............| @@ -53,33 +54,33 @@ 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 cc f6 2e 98 6c e0 8b |........ ....l..| -000002d0 15 17 63 6f 97 5e 37 6a a7 3c 4b f2 d4 91 e0 87 |..co.^7j.$| -00000340 04 f0 b9 ab 81 b8 4e 39 88 8f b7 46 2c 60 b8 5c |......N9...F,`.\| -00000350 6f 4d d4 5d 7a 04 f7 1d 82 98 a2 b1 f9 7e f0 1f |oM.]z........~..| -00000360 cf a5 e5 28 25 d4 3d b0 32 ea eb 21 c6 16 03 03 |...(%.=.2..!....| +000002c0 ac 0c 00 00 a8 03 00 1d 20 7e 24 e6 eb 12 22 e0 |........ ~$...".| +000002d0 7b 1e ad 2d 1e a8 3a ea ff 9e 87 bf 38 21 6e 51 |{..-..:.....8!nQ| +000002e0 a8 42 0b 13 a2 3f 01 b9 7d 04 01 00 80 be e8 7e |.B...?..}......~| +000002f0 db 65 e8 0c 5e 31 4c 72 b4 fb 42 ca f0 e2 e2 32 |.e..^1Lr..B....2| +00000300 26 46 f5 62 e5 09 71 8c 82 60 d3 e1 3b 1d d4 3d |&F.b..q..`..;..=| +00000310 6f 9d 5e 22 e7 22 41 44 1b b1 77 18 dc 5a 82 18 |o.^"."AD..w..Z..| +00000320 f3 ae 31 a2 46 32 86 cb 6e f7 37 b3 a4 7e 5c 62 |..1.F2..n.7..~\b| +00000330 11 8d 78 aa 78 6b 6f 78 da 75 26 bf 9b fc 5a 4b |..x.xkox.u&...ZK| +00000340 18 d7 28 84 9d 66 70 69 2f f5 24 c5 90 ef 33 14 |..(..fpi/.$...3.| +00000350 2e c8 14 3f 46 5c 61 c1 a5 2e ee 81 b5 4e 32 01 |...?F\a......N2.| +00000360 85 8b 3a 30 de 0d e7 23 07 be 36 9a 66 16 03 03 |..:0...#..6.f...| 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 28 00 00 00 00 00 00 00 00 75 70 c8 |....(........up.| -00000040 c5 ef ae 60 b5 8d ba 98 1a 7d 8d c3 e4 32 fc 33 |...`.....}...2.3| -00000050 5e 15 cc e2 d7 5d d5 76 52 1a fe ac 1e |^....].vR....| +00000030 16 03 03 00 28 00 00 00 00 00 00 00 00 71 e9 b4 |....(........q..| +00000040 8b 8a 93 23 22 6a 61 09 5f e6 5b 05 53 f6 7e b0 |...#"ja._.[.S.~.| +00000050 18 53 da 44 b4 04 4d a4 d6 8e fe 8e d8 |.S.D..M......| >>> Flow 4 (server to client) -00000000 14 03 03 00 01 01 16 03 03 00 28 7f 2b fe 0d 9f |..........(.+...| -00000010 93 07 fd ee 48 76 09 fb 8d 4c dd 7b b5 b5 26 36 |....Hv...L.{..&6| -00000020 3e 05 e1 1b a7 dc 0b 4a c0 69 a8 22 33 0b 17 fc |>......J.i."3...| -00000030 6f ab b8 |o..| +00000000 14 03 03 00 01 01 16 03 03 00 28 b0 0e df 0e b0 |..........(.....| +00000010 b0 3b 09 c7 9e 23 21 34 35 3a 15 94 64 8e 54 c9 |.;...#!45:..d.T.| +00000020 5c c7 e3 3f b6 8f ca 10 4e d9 60 60 b7 b4 f9 13 |\..?....N.``....| +00000030 5d c4 53 |].S| >>> Flow 5 (client to server) -00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 49 61 5c |.............Ia\| -00000010 db f2 e5 63 23 3a f1 dd 12 3e 61 ed d9 4b 5f b5 |...c#:...>a..K_.| -00000020 d3 f7 38 15 03 03 00 1a 00 00 00 00 00 00 00 02 |..8.............| -00000030 af 09 a7 f1 e1 d9 1f 54 d1 35 19 16 b7 23 ce 4e |.......T.5...#.N| -00000040 3a b1 |:.| +00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 6b a1 83 |.............k..| +00000010 cc af 9b e1 88 55 43 c2 7d 05 b7 2d 7d 33 d9 b6 |.....UC.}..-}3..| +00000020 a3 9b 85 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................| +00000030 e2 8b 82 76 99 3d 8b b7 7d 69 76 d5 cd 6c aa 7c |...v.=..}iv..l.|| +00000040 64 82 |d.| diff --git a/testdata/Server-TLSv12-ALPN b/testdata/Server-TLSv12-ALPN index 3e90ebd9..f2e7eb7b 100644 --- a/testdata/Server-TLSv12-ALPN +++ b/testdata/Server-TLSv12-ALPN @@ -1,7 +1,7 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 bf 01 00 00 bb 03 03 18 c9 32 10 f3 |.............2..| -00000010 be ff a8 60 c5 2a 03 cb 25 8a b3 54 8d 70 27 90 |...`.*..%..T.p'.| -00000020 74 1e 15 3e 61 48 9b be f0 77 1f 00 00 38 c0 2c |t..>aH...w...8.,| +00000000 16 03 01 00 bf 01 00 00 bb 03 03 dc d0 a1 64 e2 |..............d.| +00000010 38 c3 1c 2b 8c fc d4 e9 25 b7 20 01 fb 72 37 8f |8..+....%. ..r7.| +00000020 1b da 7b ec 74 f3 20 c4 78 eb 15 00 00 38 c0 2c |..{.t. .x....8.,| 00000030 c0 30 00 9f cc a9 cc a8 cc aa c0 2b c0 2f 00 9e |.0.........+./..| 00000040 c0 24 c0 28 00 6b c0 23 c0 27 00 67 c0 0a c0 14 |.$.(.k.#.'.g....| 00000050 00 39 c0 09 c0 13 00 33 00 9d 00 9c 00 3d 00 3c |.9.....3.....=.<| @@ -58,37 +58,37 @@ 000002a0 d3 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 |.;..............| 000002b0 1d 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb |. /.}.G.bC.(.._.| 000002c0 29 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb |).0.........._X.| -000002d0 3b 74 05 01 00 80 2e c1 51 a1 e8 92 a6 bb ad 1e |;t......Q.......| -000002e0 4d f1 22 c5 e7 10 e6 31 1d 78 61 8a 22 a3 93 84 |M."....1.xa."...| -000002f0 58 d6 5a c6 94 d0 da 6c 6a 35 d1 31 ea 1b 7e 55 |X.Z....lj5.1..~U| -00000300 d6 35 a3 b7 42 e4 04 f8 31 15 15 88 5f 91 a8 7e |.5..B...1..._..~| -00000310 3e 73 52 8f 32 50 2e ad 95 44 83 b6 88 d6 18 99 |>sR.2P...D......| -00000320 cf 86 57 97 c0 b2 a0 91 ee a7 ac f8 38 4b 1c 8e |..W.........8K..| -00000330 a4 58 59 4a f6 fc 88 a4 02 ed c8 04 1a 8b 7b 9e |.XYJ..........{.| -00000340 83 91 72 ca 1e 1c e0 76 58 73 89 3a 7d 12 c5 ef |..r....vXs.:}...| -00000350 f8 f7 45 dc ca c4 16 03 03 00 04 0e 00 00 00 |..E............| +000002d0 3b 74 06 01 00 80 54 89 2f 46 ff 41 c2 56 47 33 |;t....T./F.A.VG3| +000002e0 fa d6 91 64 47 df 46 89 75 73 6d 84 c6 8a 54 f8 |...dG.F.usm...T.| +000002f0 80 34 55 00 34 8d 64 ab 72 94 6e e9 e6 18 a1 e9 |.4U.4.d.r.n.....| +00000300 15 00 f5 2a 84 9f 22 95 c5 a3 17 91 b3 36 3a 9c |...*.."......6:.| +00000310 b9 65 54 bd 03 29 69 1a 5b 44 bd 1f c1 16 5a 7d |.eT..)i.[D....Z}| +00000320 53 35 8c c3 28 5f 3c ac 71 d2 bc c7 86 82 08 e7 |S5..(_<.q.......| +00000330 72 22 1f 98 68 5d a7 0e 8b 2c 6c 80 b9 36 79 4a |r"..h]...,l..6yJ| +00000340 f2 64 c1 14 8b b2 61 a8 c2 ca 83 44 e9 5a f8 fb |.d....a....D.Z..| +00000350 6d 67 b4 d6 7e fa 16 03 03 00 04 0e 00 00 00 |mg..~..........| >>> Flow 3 (client to server) -00000000 16 03 03 00 25 10 00 00 21 20 be 4e 0d d5 31 aa |....%...! .N..1.| -00000010 27 13 df 73 d3 8d 17 8c b3 5f 44 61 7b 01 b6 99 |'..s....._Da{...| -00000020 7b ba b3 5d bf d4 be 3c 87 26 14 03 03 00 01 01 |{..]...<.&......| -00000030 16 03 03 00 28 9c 86 e0 30 d4 a5 ec 0c 9e a6 08 |....(...0.......| -00000040 ce 8a 7a ff ef be 52 0c 56 86 62 de 49 09 a1 18 |..z...R.V.b.I...| -00000050 aa 62 e5 e3 d3 2e 4a 24 c9 ef 44 c9 67 |.b....J$..D.g| +00000000 16 03 03 00 25 10 00 00 21 20 61 b6 16 25 fb ca |....%...! a..%..| +00000010 39 11 1b 39 91 0f ad a0 1b 53 cb 23 3a 8b 4c bf |9..9.....S.#:.L.| +00000020 c3 95 b7 fa 74 2c 44 55 d3 3b 14 03 03 00 01 01 |....t,DU.;......| +00000030 16 03 03 00 28 2a f0 0e a4 54 25 0c 3f 46 9e d4 |....(*...T%.?F..| +00000040 32 63 db 36 71 11 9d 63 57 d5 5d e6 70 86 01 f8 |2c.6q..cW.].p...| +00000050 2f 8e 79 65 b7 39 4f 31 a9 f5 a5 70 9a |/.ye.9O1...p.| >>> Flow 4 (server to client) 00000000 16 03 03 00 82 04 00 00 7e 00 00 00 00 00 78 50 |........~.....xP| 00000010 46 ad c1 db a8 38 86 7b 2b bb fd d0 c3 42 3e 00 |F....8.{+....B>.| 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 94 |................| -00000030 6f ec 80 83 61 da 3d a1 df 0d 11 25 4b 66 55 09 |o...a.=....%KfU.| -00000040 af 7a c1 82 b9 ea 2f 9f 5c f4 0a 62 15 62 c2 32 |.z..../.\..b.b.2| -00000050 c6 37 51 5b bb 19 14 f8 73 f8 fb 82 00 ef 19 21 |.7Q[....s......!| -00000060 e2 52 7d ab 0a 33 94 df 78 54 ba 6c 5e 94 eb 16 |.R}..3..xT.l^...| -00000070 ad 85 01 ca d5 98 8f 8e b7 04 7e 9a 3c 35 c0 e5 |..........~.<5..| -00000080 8f cf 27 6d b4 12 c2 14 03 03 00 01 01 16 03 03 |..'m............| -00000090 00 28 00 00 00 00 00 00 00 00 75 da b5 10 2e 7c |.(........u....|| -000000a0 39 ec 3d 98 12 fb 5d 15 81 79 f3 c7 b1 e4 e0 54 |9.=...]..y.....T| -000000b0 ed 27 6e bc c3 81 a0 74 7e 38 17 03 03 00 25 00 |.'n....t~8....%.| -000000c0 00 00 00 00 00 00 01 bf 81 cc 93 49 4f b2 59 8b |...........IO.Y.| -000000d0 53 4a 61 96 04 00 4b ac 34 d5 bd 5a 94 44 18 5b |SJa...K.4..Z.D.[| -000000e0 7d 81 dc 05 15 03 03 00 1a 00 00 00 00 00 00 00 |}...............| -000000f0 02 bd 32 d5 cf 4d 13 61 6a 77 8b 3e 51 b3 13 84 |..2..M.ajw.>Q...| -00000100 e6 1a 23 |..#| +00000030 6f ec 80 83 61 19 68 1a 40 8c 4c 8f 85 a2 2e fa |o...a.h.@.L.....| +00000040 3f b5 7c 5f 46 d1 fa 20 23 89 e7 e6 d6 82 6f 78 |?.|_F.. #.....ox| +00000050 5b 28 32 89 60 4a e7 22 51 9a 13 f5 0e 82 9c 1e |[(2.`J."Q.......| +00000060 29 e1 2a 91 62 33 94 51 e1 bf b8 99 2a 20 e6 87 |).*.b3.Q....* ..| +00000070 c4 1f 65 fe 7e 6e 0e 33 7f 77 f9 33 0c 9d 05 df |..e.~n.3.w.3....| +00000080 e5 7d 2c db cc 48 f6 14 03 03 00 01 01 16 03 03 |.},..H..........| +00000090 00 28 00 00 00 00 00 00 00 00 91 05 0e 09 9f b6 |.(..............| +000000a0 e1 48 98 28 ae 68 0a 89 9f a7 47 1b 67 d5 8c 0a |.H.(.h....G.g...| +000000b0 3c 4f da 1e 4f 3f 13 80 cd a5 17 03 03 00 25 00 |>> Flow 1 (client to server) -00000000 16 03 01 00 bf 01 00 00 bb 03 03 82 57 14 fc ab |............W...| -00000010 56 21 ff 72 39 72 3f fe f1 9b 0f 22 00 ff ef 44 |V!.r9r?...."...D| -00000020 da db e0 83 d2 c0 a7 1c fb f0 6c 00 00 38 c0 2c |..........l..8.,| +00000000 16 03 01 00 bf 01 00 00 bb 03 03 12 5f 10 32 01 |............_.2.| +00000010 84 0f 82 05 7e ca 97 58 65 65 d5 ad d3 94 e4 88 |....~..Xee......| +00000020 e9 15 91 0a 2c 99 55 ca ae 18 aa 00 00 38 c0 2c |....,.U......8.,| 00000030 c0 30 00 9f cc a9 cc a8 cc aa c0 2b c0 2f 00 9e |.0.........+./..| 00000040 c0 24 c0 28 00 6b c0 23 c0 27 00 67 c0 0a c0 14 |.$.(.k.#.'.g....| 00000050 00 39 c0 09 c0 13 00 33 00 9d 00 9c 00 3d 00 3c |.9.....3.....=.<| @@ -57,38 +57,38 @@ 00000290 84 5c 21 d3 3b e9 fa e7 16 03 03 00 ac 0c 00 00 |.\!.;...........| 000002a0 a8 03 00 1d 20 2f e5 7d a3 47 cd 62 43 15 28 da |.... /.}.G.bC.(.| 000002b0 ac 5f bb 29 07 30 ff f6 84 af c4 cf c2 ed 90 99 |._.).0..........| -000002c0 5f 58 cb 3b 74 05 01 00 80 bf 6d 57 f5 0c 78 c4 |_X.;t.....mW..x.| -000002d0 77 48 0e 60 67 7a 3a 1b 3e 9e d2 88 a4 89 07 ef |wH.`gz:.>.......| -000002e0 d1 45 1a 66 7e 8c ec cb da 71 ea ec ba ed 81 9e |.E.f~....q......| -000002f0 21 4d 2e ba d4 8f c2 0a 67 ea 3a a1 d1 67 09 66 |!M......g.:..g.f| -00000300 dc a8 ad 16 a2 23 2a db 4f 31 65 b1 54 13 73 d1 |.....#*.O1e.T.s.| -00000310 f6 7b 75 d9 f1 07 19 b8 67 21 87 d2 3b cf a5 6c |.{u.....g!..;..l| -00000320 61 8e af ed 60 7f f2 56 9f 0d 0f 19 88 98 30 3a |a...`..V......0:| -00000330 61 8c 21 e7 8b 5d ab 6f cf 93 73 33 63 cd 50 bb |a.!..].o..s3c.P.| -00000340 dd 0e ab 4f 6a fb a3 f9 68 16 03 03 00 04 0e 00 |...Oj...h.......| +000002c0 5f 58 cb 3b 74 06 01 00 80 50 95 28 ab df d3 74 |_X.;t....P.(...t| +000002d0 7a 9b 7a d8 d2 31 34 87 75 29 a9 d0 fd 3c e4 be |z.z..14.u)...<..| +000002e0 59 e6 60 52 39 9f 8e 9d e3 1c 1d 75 47 b0 86 57 |Y.`R9......uG..W| +000002f0 3f e1 a8 a5 72 21 1a 22 49 61 71 83 20 76 8c b6 |?...r!."Iaq. v..| +00000300 e4 c4 99 de 4e 9c f6 22 df 8d 92 1e a9 c7 0e 83 |....N.."........| +00000310 d2 93 a9 2d 9b 74 f8 1b 1b 2f 1e 71 b6 7c d0 99 |...-.t.../.q.|..| +00000320 a3 d2 95 45 87 36 28 be 0a 26 53 89 77 6b b6 e4 |...E.6(..&S.wk..| +00000330 f9 3a 82 7c 67 81 08 22 cf 3a 94 83 68 29 f3 a5 |.:.|g..".:..h)..| +00000340 67 b4 95 77 0f fb 06 da 5f 16 03 03 00 04 0e 00 |g..w...._.......| 00000350 00 00 |..| >>> Flow 3 (client to server) -00000000 16 03 03 00 25 10 00 00 21 20 05 0c 3b 8b 22 36 |....%...! ..;."6| -00000010 61 79 58 28 b0 82 65 44 39 67 93 c5 2c 3b d1 40 |ayX(..eD9g..,;.@| -00000020 88 af 9f 38 c1 fa e0 81 a0 19 14 03 03 00 01 01 |...8............| -00000030 16 03 03 00 28 87 2e d2 c2 ce 65 6d e8 d9 da a0 |....(.....em....| -00000040 9d dc f5 51 b0 84 88 8d c6 a3 0a 5d 08 10 ca c6 |...Q.......]....| -00000050 e3 83 0c 0a cb 6d ec 09 b8 9f a5 45 99 |.....m.....E.| +00000000 16 03 03 00 25 10 00 00 21 20 a4 d7 31 f0 60 aa |....%...! ..1.`.| +00000010 97 48 1f a8 fb 3c 78 77 5f 90 b3 f7 f2 0c 5e ed |.H....w.r....e......| +00000030 16 03 03 00 28 6d 3e 7f a1 0e 5b ea 24 ee ec 77 |....(m>...[.$..w| +00000040 3c 03 eb cb 5c ad b4 21 b2 c1 9c 5e 4f 36 88 01 |<...\..!...^O6..| +00000050 b6 0c 7c 92 70 70 63 4f d4 e1 98 45 e4 |..|.ppcO...E.| >>> Flow 4 (server to client) 00000000 16 03 03 00 82 04 00 00 7e 00 00 00 00 00 78 50 |........~.....xP| 00000010 46 ad c1 db a8 38 86 7b 2b bb fd d0 c3 42 3e 00 |F....8.{+....B>.| 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 94 |................| -00000030 6f ec 80 83 61 34 53 e2 a4 e2 ff 73 4f 1b 15 8f |o...a4S....sO...| -00000040 3b 43 47 ac 20 c6 2d 5e 52 7a 61 6f af 40 c3 5a |;CG. .-^Rzao.@.Z| -00000050 cb 3f 7d 10 a9 90 ca cf 8d c4 c4 d4 a3 b8 1d 62 |.?}............b| -00000060 7d a9 68 32 01 33 94 65 8b 67 73 aa 51 d4 08 1d |}.h2.3.e.gs.Q...| -00000070 ce 76 6b ef 3d e6 ce d3 42 fe 24 cf f3 82 5b 17 |.vk.=...B.$...[.| -00000080 5c 03 e9 50 94 8e 8b 14 03 03 00 01 01 16 03 03 |\..P............| -00000090 00 28 00 00 00 00 00 00 00 00 c2 7c e6 69 c9 ec |.(.........|.i..| -000000a0 b5 55 57 34 8e 86 38 e6 28 85 b0 c8 2e c8 0f a6 |.UW4..8.(.......| -000000b0 a9 07 f4 91 47 46 dd fe c8 57 17 03 03 00 25 00 |....GF...W....%.| -000000c0 00 00 00 00 00 00 01 39 9a a2 da d8 3d 7f 25 0e |.......9....=.%.| -000000d0 83 a8 cd 57 d8 a4 7e 9f e1 e2 fe 3f 5a ed b9 99 |...W..~....?Z...| -000000e0 b6 4d 97 3a 15 03 03 00 1a 00 00 00 00 00 00 00 |.M.:............| -000000f0 02 d5 2a aa 1e 7a 60 b8 79 56 c6 56 75 11 b7 4c |..*..z`.yV.Vu..L| -00000100 83 19 9c |...| +00000030 6f ec 80 83 61 34 3a 86 15 18 26 50 d0 12 69 5a |o...a4:...&P..iZ| +00000040 8e 67 6a ce 99 67 0a 90 09 d5 ad 29 62 08 9b 29 |.gj..g.....)b..)| +00000050 6c 12 bb d4 74 3c fb 5b dc e5 89 f0 98 93 03 e9 |l...t<.[........| +00000060 2a ea 31 74 0a 33 94 96 49 53 80 c9 3e 9b 53 32 |*.1t.3..IS..>.S2| +00000070 4a 15 31 0e fa 90 bd da af 07 d1 a8 fa 15 e8 df |J.1.............| +00000080 3d f1 d1 7a 21 8c 7a 14 03 03 00 01 01 16 03 03 |=..z!.z.........| +00000090 00 28 00 00 00 00 00 00 00 00 70 0c c0 3b 84 68 |.(........p..;.h| +000000a0 4d e5 7d 54 18 ba 77 3d 8c 20 03 3e 50 69 45 0d |M.}T..w=. .>PiE.| +000000b0 64 a2 0f 1e 4e bf 86 0b 9c 05 17 03 03 00 25 00 |d...N.........%.| +000000c0 00 00 00 00 00 00 01 43 a9 fa 0f e3 5a 86 46 2a |.......C....Z.F*| +000000d0 56 3a 6c d5 88 b7 40 a0 d5 59 45 45 ac 06 5d b0 |V:l...@..YEE..].| +000000e0 d7 c9 ed 00 15 03 03 00 1a 00 00 00 00 00 00 00 |................| +000000f0 02 ce de ef aa b4 47 77 4c f6 e9 fb 67 e8 fb 7f |......GwL...g...| +00000100 c6 05 20 |.. | diff --git a/testdata/Server-TLSv12-CipherSuiteCertPreferenceECDSA b/testdata/Server-TLSv12-CipherSuiteCertPreferenceECDSA index e2864070..3a84905c 100644 --- a/testdata/Server-TLSv12-CipherSuiteCertPreferenceECDSA +++ b/testdata/Server-TLSv12-CipherSuiteCertPreferenceECDSA @@ -1,7 +1,7 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 a7 01 00 00 a3 03 03 27 01 f3 21 98 |...........'..!.| -00000010 ff 55 7f 78 32 44 b7 9d 88 6b 82 43 26 52 00 74 |.U.x2D...k.C&R.t| -00000020 fb 05 ca be 23 1f d0 18 1f 74 c2 00 00 38 c0 2c |....#....t...8.,| +00000000 16 03 01 00 a7 01 00 00 a3 03 03 7e 8a c0 04 93 |...........~....| +00000010 7a be 32 5c b3 38 83 b1 ec d0 31 8d a1 61 f3 2b |z.2\.8....1..a.+| +00000020 b2 6a 0d 08 71 41 fb 20 c2 46 0c 00 00 38 c0 2c |.j..qA. .F...8.,| 00000030 c0 30 00 9f cc a9 cc a8 cc aa c0 2b c0 2f 00 9e |.0.........+./..| 00000040 c0 24 c0 28 00 6b c0 23 c0 27 00 67 c0 0a c0 14 |.$.(.k.#.'.g....| 00000050 00 39 c0 09 c0 13 00 33 00 9d 00 9c 00 3d 00 3c |.9.....3.....=.<| @@ -47,39 +47,39 @@ 00000210 0e bd 3f a3 8c 25 c1 33 13 83 0d 94 06 bb d4 37 |..?..%.3.......7| 00000220 7a f6 ec 7a c9 86 2e dd d7 11 69 7f 85 7c 56 de |z..z......i..|V.| 00000230 fb 31 78 2b e4 c7 78 0d ae cb be 9e 4e 36 24 31 |.1x+..x.....N6$1| -00000240 7b 6a 0f 39 95 12 07 8f 2a 16 03 03 00 b7 0c 00 |{j.9....*.......| -00000250 00 b3 03 00 1d 20 2f e5 7d a3 47 cd 62 43 15 28 |..... /.}.G.bC.(| +00000240 7b 6a 0f 39 95 12 07 8f 2a 16 03 03 00 b6 0c 00 |{j.9....*.......| +00000250 00 b2 03 00 1d 20 2f e5 7d a3 47 cd 62 43 15 28 |..... /.}.G.bC.(| 00000260 da ac 5f bb 29 07 30 ff f6 84 af c4 cf c2 ed 90 |.._.).0.........| -00000270 99 5f 58 cb 3b 74 05 03 00 8b 30 81 88 02 42 01 |._X.;t....0...B.| -00000280 4f 30 aa d0 4d e5 61 db ba fc 95 15 52 ef 2a 41 |O0..M.a.....R.*A| -00000290 b4 d6 59 ac 39 61 b6 38 08 1e 87 b3 ca 9b 49 d3 |..Y.9a.8......I.| -000002a0 95 5a c5 29 84 cd 10 73 4a cc 09 df 1a b0 54 6d |.Z.)...sJ.....Tm| -000002b0 b8 61 28 80 2e ec cf 95 9d 6f c3 d9 ed 80 53 63 |.a(......o....Sc| -000002c0 d9 02 42 00 af 71 2f 91 80 ff a1 79 82 c7 d9 79 |..B..q/....y...y| -000002d0 fa 12 a9 88 7b 93 47 be 6a dc 80 42 17 9d 85 7a |....{.G.j..B...z| -000002e0 b8 1b fe 85 7f 5c 10 9c 9e 0e e1 71 a7 b0 12 02 |.....\.....q....| -000002f0 e2 a4 79 c4 8d d8 02 09 01 9c 6f 7a 27 7c 1f f4 |..y.......oz'|..| -00000300 38 46 59 46 94 16 03 03 00 04 0e 00 00 00 |8FYF..........| +00000270 99 5f 58 cb 3b 74 06 03 00 8a 30 81 87 02 42 01 |._X.;t....0...B.| +00000280 ed a6 35 6b 28 3f cc 4a 66 c1 21 a0 ba e3 a2 c2 |..5k(?.Jf.!.....| +00000290 3b 45 41 87 9b c4 5d 01 b7 8b 01 89 b4 b1 16 99 |;EA...].........| +000002a0 72 e2 94 6d 24 f2 9f be 6a 8b 9b b5 c7 9c cb 65 |r..m$...j......e| +000002b0 38 ab 29 de 38 e5 64 4c 0b 75 67 c9 9d 5b dc 37 |8.).8.dL.ug..[.7| +000002c0 86 02 41 33 ac b4 ff f3 db f7 2c c9 0b 43 8a 62 |..A3......,..C.b| +000002d0 df 9d b9 c5 50 0b 8c f1 da 40 b1 ba a8 41 99 66 |....P....@...A.f| +000002e0 1b e8 a0 20 0b 4f 0d 1e 55 12 c5 a2 a3 89 88 a0 |... .O..U.......| +000002f0 9f 91 b9 73 9b b1 19 95 d6 53 3a b3 d7 5d 73 5c |...s.....S:..]s\| +00000300 c4 d6 6a 1a 16 03 03 00 04 0e 00 00 00 |..j..........| >>> Flow 3 (client to server) -00000000 16 03 03 00 25 10 00 00 21 20 8c 80 e4 c7 bd d7 |....%...! ......| -00000010 ea ea 42 f7 53 24 50 28 6a e9 f3 ff 4f 4a 28 22 |..B.S$P(j...OJ("| -00000020 a2 95 09 fc f0 d9 3e fc cc 6e 14 03 03 00 01 01 |......>..n......| -00000030 16 03 03 00 40 79 56 60 f5 45 e7 48 9e 97 1d 49 |....@yV`.E.H...I| -00000040 de 59 dd b0 f0 0a d2 cc 10 f0 98 3c c2 d5 67 d6 |.Y.........<..g.| -00000050 2c 18 2b 21 ae a3 2f ea 2d 0b ff fd e6 c2 73 25 |,.+!../.-.....s%| -00000060 1c 01 3e 94 3a cc 1d 58 6b fb 7f 85 e4 50 ec 10 |..>.:..Xk....P..| -00000070 b9 d7 71 cb be |..q..| +00000000 16 03 03 00 25 10 00 00 21 20 5e 83 48 ba 4f 66 |....%...! ^.H.Of| +00000010 74 7d 8a c6 53 d2 a9 cf 68 f1 50 f4 2a 06 74 ef |t}..S...h.P.*.t.| +00000020 07 57 b0 f9 3e 1a 49 98 52 44 14 03 03 00 01 01 |.W..>.I.RD......| +00000030 16 03 03 00 40 1a b1 de ad 95 eb 28 ed 07 ce fe |....@......(....| +00000040 8b 8a fc 9a 24 a8 c3 d4 2f 27 20 52 9d 47 ac 45 |....$.../' R.G.E| +00000050 cc 66 c0 a4 03 cb 49 3c 93 05 3c 3e 64 91 d6 5c |.f....I<..<>d..\| +00000060 f9 73 1b 18 54 0b 67 c7 97 53 c8 7d 72 18 ab 47 |.s..T.g..S.}r..G| +00000070 98 32 54 4c ff |.2TL.| >>> Flow 4 (server to client) 00000000 14 03 03 00 01 01 16 03 03 00 40 00 00 00 00 00 |..........@.....| -00000010 00 00 00 00 00 00 00 00 00 00 00 83 5c 5c e3 c0 |............\\..| -00000020 20 56 8c 92 4b 75 f0 30 bd 67 74 52 f1 af 9c 14 | V..Ku.0.gtR....| -00000030 29 1e e4 b2 5b c0 2c e6 48 6f 94 42 7b 21 92 96 |)...[.,.Ho.B{!..| -00000040 0a 83 ce 1c 91 36 95 8c 14 38 57 17 03 03 00 40 |.....6...8W....@| +00000010 00 00 00 00 00 00 00 00 00 00 00 21 f3 63 c9 0a |...........!.c..| +00000020 7e 39 23 21 2d 2b 4b 72 47 65 30 b4 43 21 d1 d7 |~9#!-+KrGe0.C!..| +00000030 4f fa 00 65 a1 95 fd 62 2c d3 4d 7d 30 d7 fd eb |O..e...b,.M}0...| +00000040 64 08 41 d6 70 ab cf 9d 75 c5 e1 17 03 03 00 40 |d.A.p...u......@| 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| -00000060 73 a4 40 cf ad 86 cc 05 9e 47 5f 83 50 ae 68 d5 |s.@......G_.P.h.| -00000070 d1 6a a9 8c ba 74 fe c0 cc 4a 1a e3 b0 14 0d 31 |.j...t...J.....1| -00000080 9f 06 54 e3 95 3a 89 6d 34 54 0c e4 b4 34 38 21 |..T..:.m4T...48!| +00000060 50 e5 5e 3a c1 2a 71 0a ba eb 40 74 f1 70 0d 0a |P.^:.*q...@t.p..| +00000070 e1 86 22 fd 13 de e8 8f a0 d3 22 a8 62 76 ca fa |..".......".bv..| +00000080 5f 63 95 ba bb e2 f3 b3 ef 5b d8 bf 56 0b 60 53 |_c.......[..V.`S| 00000090 15 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........| -000000a0 00 00 00 00 00 e6 dd b2 11 ab a7 34 61 00 d4 09 |...........4a...| -000000b0 bc ea c1 5f c4 e2 52 60 63 96 f0 fd 44 4e f9 0e |..._..R`c...DN..| -000000c0 af 32 99 e4 12 |.2...| +000000a0 00 00 00 00 00 4d 2c 41 d8 4c 63 71 bd bc 83 5a |.....M,A.Lcq...Z| +000000b0 1b 2b b7 20 5b 14 51 d4 5b 38 4b fc 61 58 97 34 |.+. [.Q.[8K.aX.4| +000000c0 1a cf 08 f1 16 |.....| diff --git a/testdata/Server-TLSv12-CipherSuiteCertPreferenceRSA b/testdata/Server-TLSv12-CipherSuiteCertPreferenceRSA index 1f9fbc1a..154521da 100644 --- a/testdata/Server-TLSv12-CipherSuiteCertPreferenceRSA +++ b/testdata/Server-TLSv12-CipherSuiteCertPreferenceRSA @@ -1,7 +1,7 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 a7 01 00 00 a3 03 03 1d 39 c9 33 73 |............9.3s| -00000010 c2 b9 71 d8 66 23 63 a7 5c 9e 50 b6 3e a5 f9 bb |..q.f#c.\.P.>...| -00000020 34 1b 71 e1 09 4f ae d5 53 8a e8 00 00 38 c0 2c |4.q..O..S....8.,| +00000000 16 03 01 00 a7 01 00 00 a3 03 03 df fc 06 29 d8 |..............).| +00000010 a1 69 bd 2c d2 21 97 39 e8 4f 81 94 fa b9 58 6d |.i.,.!.9.O....Xm| +00000020 aa 15 ae f7 bc 03 7a fa e3 33 bf 00 00 38 c0 2c |......z..3...8.,| 00000030 c0 30 00 9f cc a9 cc a8 cc aa c0 2b c0 2f 00 9e |.0.........+./..| 00000040 c0 24 c0 28 00 6b c0 23 c0 27 00 67 c0 0a c0 14 |.$.(.k.#.'.g....| 00000050 00 39 c0 09 c0 13 00 33 00 9d 00 9c 00 3d 00 3c |.9.....3.....=.<| @@ -55,35 +55,35 @@ 00000290 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| 000002a0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| 000002b0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -000002c0 74 05 01 00 80 06 d4 bd e4 7b 10 77 89 d7 d4 d6 |t........{.w....| -000002d0 4e f6 3e 46 49 db ee 5c 4e bc ee fe cb 8b a6 9b |N.>FI..\N.......| -000002e0 5c f6 99 fb 31 96 60 a8 23 09 f6 31 65 53 f0 6e |\...1.`.#..1eS.n| -000002f0 07 5c 32 f9 59 5d 8b c0 b4 74 c8 01 85 8a b7 19 |.\2.Y]...t......| -00000300 ab 19 08 68 6a e8 2f 81 bd 04 9b 38 ab d9 27 66 |...hj./....8..'f| -00000310 d7 a5 3f 75 9c 4f 81 5b 9e 69 10 20 2b f2 1d a2 |..?u.O.[.i. +...| -00000320 8f fc 7f ba ee 5b 76 8b 19 3f 46 60 01 25 99 72 |.....[v..?F`.%.r| -00000330 78 24 02 8e 28 d5 24 f1 2e 6b 70 53 75 ec e2 8d |x$..(.$..kpSu...| -00000340 76 ab e0 8e e8 16 03 03 00 04 0e 00 00 00 |v.............| +000002c0 74 06 01 00 80 a3 e7 63 ff 8a 7e 1c cb 9b ab 8a |t......c..~.....| +000002d0 7e f3 d1 fe c0 34 23 10 5e 0c e3 60 0d c5 cc 11 |~....4#.^..`....| +000002e0 49 37 37 b6 ad b1 9a 29 b7 e4 1f 90 29 bf b3 bd |I77....)....)...| +000002f0 31 ed e6 20 4d 4c 2a a1 64 d8 cb 44 5e b1 5d b5 |1.. ML*.d..D^.].| +00000300 a5 d5 67 de 29 e4 89 29 a9 51 bd b9 1f 01 de 72 |..g.)..).Q.....r| +00000310 8b c1 b2 d0 fd 96 ec 94 29 4d 2e ee da 08 58 81 |........)M....X.| +00000320 3b db 53 26 26 0e cb 57 37 f4 d0 fe 19 3e 41 a0 |;.S&&..W7....>A.| +00000330 d5 0e a8 7a bf 29 56 a9 d4 84 da 33 bb bf f9 ba |...z.)V....3....| +00000340 54 7b d0 4a 95 16 03 03 00 04 0e 00 00 00 |T{.J..........| >>> Flow 3 (client to server) -00000000 16 03 03 00 25 10 00 00 21 20 21 75 22 84 bc b7 |....%...! !u"...| -00000010 82 b3 03 d2 42 ff b6 ce 76 26 88 bf 8f 72 fc dd |....B...v&...r..| -00000020 63 9b f1 4c 22 6d 12 cc d3 57 14 03 03 00 01 01 |c..L"m...W......| -00000030 16 03 03 00 40 20 2b 26 bd 60 1b 27 a1 32 cb ab |....@ +&.`.'.2..| -00000040 30 83 9c 47 59 7d f5 bb d9 45 8a d9 3e 29 86 4d |0..GY}...E..>).M| -00000050 54 86 48 38 25 d9 b9 af 36 7c 7a f0 ae f6 b6 4e |T.H8%...6|z....N| -00000060 a1 76 93 91 26 f3 c9 49 b5 6d 49 cf 22 97 bf c7 |.v..&..I.mI."...| -00000070 db 44 c8 7a e3 |.D.z.| +00000000 16 03 03 00 25 10 00 00 21 20 36 84 23 91 d3 76 |....%...! 6.#..v| +00000010 b3 ea 4a a6 39 f6 c9 1a 99 2c 69 c0 70 2d b2 72 |..J.9....,i.p-.r| +00000020 72 be b3 24 4b d3 72 a1 eb 76 14 03 03 00 01 01 |r..$K.r..v......| +00000030 16 03 03 00 40 e9 a5 32 9d 72 3d 9d 38 f3 0b fa |....@..2.r=.8...| +00000040 38 95 0f de 7d 99 42 b2 5b 1c f0 fe e4 66 2b 5a |8...}.B.[....f+Z| +00000050 98 1c e5 0e bf d9 37 d4 4c 72 29 a3 eb 8a f5 0e |......7.Lr).....| +00000060 44 ee 1e 21 c7 8c 10 23 dc 41 6d ac ee 72 5b d5 |D..!...#.Am..r[.| +00000070 4b 3f 66 f3 d1 |K?f..| >>> Flow 4 (server to client) 00000000 14 03 03 00 01 01 16 03 03 00 40 00 00 00 00 00 |..........@.....| -00000010 00 00 00 00 00 00 00 00 00 00 00 43 7c 61 f2 30 |...........C|a.0| -00000020 c6 4a c2 76 da 7d 84 c6 ed 5d ee 2e 9c 33 e4 3b |.J.v.}...]...3.;| -00000030 e3 a1 ea ee 44 02 4b f7 90 f6 0c 8b 45 d7 26 2e |....D.K.....E.&.| -00000040 4a 37 43 1d 93 44 79 e6 5d c5 8c 17 03 03 00 40 |J7C..Dy.]......@| +00000010 00 00 00 00 00 00 00 00 00 00 00 f8 fb 0a 12 f2 |................| +00000020 ee 27 b0 88 5d c9 02 c0 16 3c b8 a5 54 86 4b cb |.'..]....<..T.K.| +00000030 01 ef d1 6e 31 a8 88 86 e3 9f 71 f5 fb 2a a9 12 |...n1.....q..*..| +00000040 72 76 98 30 1e 59 49 64 b1 6b e5 17 03 03 00 40 |rv.0.YId.k.....@| 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| -00000060 b2 e4 62 17 e2 d4 d8 73 2b ea 77 39 78 51 1a 86 |..b....s+.w9xQ..| -00000070 64 54 1f 36 9a cc a1 c0 d2 6d df b7 8a 2e 68 b0 |dT.6.....m....h.| -00000080 79 9a 9f a1 15 b1 78 fa db 2e 5a 43 0d fe 45 71 |y.....x...ZC..Eq| +00000060 da fe c6 34 b0 e7 8d 34 78 11 b1 94 43 da 85 21 |...4...4x...C..!| +00000070 28 9a f3 f8 f0 7f 14 9a 59 be 4e c4 a0 81 17 1b |(.......Y.N.....| +00000080 08 cd 6d 47 57 73 f1 10 e4 df 25 1b 8b 9d 87 98 |..mGWs....%.....| 00000090 15 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........| -000000a0 00 00 00 00 00 04 8c d0 bf 15 9f b4 55 22 b8 8e |............U"..| -000000b0 a5 a7 df ed bd b2 ab 88 71 38 bd b2 5d b4 5e 8e |........q8..].^.| -000000c0 54 fc e4 63 5a |T..cZ| +000000a0 00 00 00 00 00 41 b6 ed ca 43 0d 83 67 da 4b 0e |.....A...C..g.K.| +000000b0 5a f4 a8 90 85 7f d6 d7 76 03 62 2e 49 7e 4a 62 |Z.......v.b.I~Jb| +000000c0 32 03 a8 7c a0 |2..|.| diff --git a/testdata/Server-TLSv12-ClientAuthRequestedAndECDSAGiven b/testdata/Server-TLSv12-ClientAuthRequestedAndECDSAGiven index 7a950db0..8c6a7ed9 100644 --- a/testdata/Server-TLSv12-ClientAuthRequestedAndECDSAGiven +++ b/testdata/Server-TLSv12-ClientAuthRequestedAndECDSAGiven @@ -1,7 +1,7 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 5d 01 00 00 59 03 03 8e 50 ff 02 c4 |....]...Y...P...| -00000010 3b 5e dd ee 59 d1 3a e1 db f1 30 f4 bb a7 8a 8c |;^..Y.:...0.....| -00000020 b2 d2 1a fd f8 a4 c9 e4 5f 41 e1 00 00 04 00 2f |........_A...../| +00000000 16 03 01 00 5d 01 00 00 59 03 03 ba cf e7 3a 42 |....]...Y.....:B| +00000010 aa f9 cd ca b8 b7 46 a0 4a 87 2c f8 76 14 d6 d0 |......F.J.,.v...| +00000020 f8 66 ad ed 80 57 b0 9f bf f5 32 00 00 04 00 2f |.f...W....2..../| 00000030 00 ff 01 00 00 2c 00 0d 00 20 00 1e 06 01 06 02 |.....,... ......| 00000040 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................| 00000050 03 02 03 03 02 01 02 02 02 03 00 16 00 00 00 17 |................| @@ -48,9 +48,9 @@ 00000260 f1 6c 04 ed 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 |.l..s..Cw.......| 00000270 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000280 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| -00000290 3b e9 fa e7 16 03 03 00 17 0d 00 00 13 02 01 40 |;..............@| -000002a0 00 0c 04 01 04 03 05 01 05 03 02 01 02 03 00 00 |................| -000002b0 16 03 03 00 04 0e 00 00 00 |.........| +00000290 3b e9 fa e7 16 03 03 00 1b 0d 00 00 17 02 01 40 |;..............@| +000002a0 00 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 |................| +000002b0 02 03 00 00 16 03 03 00 04 0e 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| @@ -85,40 +85,36 @@ 000001e0 be e8 91 b3 da 1a f5 5d a3 23 f5 26 8b 45 70 8d |.......].#.&.Ep.| 000001f0 65 62 9b 7e 01 99 3d 18 f6 10 9a 38 61 9b 2e 57 |eb.~..=....8a..W| 00000200 e4 fa cc b1 8a ce e2 23 a0 87 f0 e1 67 51 eb 16 |.......#....gQ..| -00000210 03 03 00 86 10 00 00 82 00 80 2b 80 6e 49 b8 ec |..........+.nI..| -00000220 12 7a 7c f3 2a d3 7e 16 a0 39 e5 77 61 7a 56 15 |.z|.*.~..9.wazV.| -00000230 97 c6 64 63 13 cf 09 d0 1b f5 b6 78 1d cb 86 4f |..dc.......x...O| -00000240 14 84 c9 e6 5d 3c 6b 61 5e 46 83 7e ef 1d 74 d4 |....].i[X.Z..,.\.| +00000250 65 2e 9a 9d 9e d4 3f 01 6b 47 e3 c8 ec e2 90 23 |e.....?.kG.....#| +00000260 b9 9f a7 1f bf 7a c4 b3 68 e5 8a ee f5 4e 7b 49 |.....z..h....N{I| +00000270 f3 3c b7 86 89 76 60 14 d5 a4 8e b1 5e 3f 5c 89 |.<...v`.....^?\.| +00000280 a5 f8 69 7e 12 88 9d 30 7a 07 c2 ff 8f bb d0 94 |..i~...0z.......| +00000290 1b 3c c4 fe 73 e6 25 99 77 d3 16 03 03 00 93 0f |.<..s.%.w.......| +000002a0 00 00 8f 04 03 00 8b 30 81 88 02 42 01 21 35 66 |.......0...B.!5f| +000002b0 57 df 29 1a e5 10 1d e0 e0 00 ee 2a 0b 20 22 8b |W.)........*. ".| +000002c0 1d 70 4f 39 cb 96 30 b1 f0 8d 12 ba c8 15 67 05 |.pO9..0.......g.| +000002d0 45 d2 fe 0a 4e 25 ce f4 8d 14 7b b8 6c 92 8b 99 |E...N%....{.l...| +000002e0 9b 56 0a 78 ad 45 d6 09 88 ae c7 e6 2d 13 02 42 |.V.x.E......-..B| +000002f0 01 5e 7e c9 ae 56 9e b6 de 38 fc a9 a6 e7 b9 35 |.^~..V...8.....5| +00000300 9b 47 cd f7 82 1a 56 1c cc d4 3a 15 79 d9 44 c4 |.G....V...:.y.D.| +00000310 96 1a 10 69 31 ad c7 96 6b 3f f7 81 b6 04 4c bd |...i1...k?....L.| +00000320 ee e2 a1 15 8a 83 bc a0 42 b9 0f aa 6a 14 d1 fd |........B...j...| +00000330 9d 95 14 03 03 00 01 01 16 03 03 00 40 46 6b 0c |............@Fk.| +00000340 5d 7e 32 26 ef 7c a5 88 f0 ec 50 92 de 5f 87 7c |]~2&.|....P.._.|| +00000350 b4 80 19 80 f4 89 19 f5 28 8f 21 09 fc 19 43 81 |........(.!...C.| +00000360 92 94 37 f5 9b 6e 07 b1 35 29 ed 9a 87 a5 e9 ce |..7..n..5)......| +00000370 c3 e3 83 42 dd 2e 5a 0b 8e 22 bf 32 4e |...B..Z..".2N| >>> Flow 4 (server to client) 00000000 14 03 03 00 01 01 16 03 03 00 40 00 00 00 00 00 |..........@.....| -00000010 00 00 00 00 00 00 00 00 00 00 00 93 a2 18 a9 e2 |................| -00000020 51 be f7 bd c0 05 64 51 0a 17 9d 58 11 d1 a6 b9 |Q.....dQ...X....| -00000030 6d 1e 42 16 e4 bc bf 09 f2 b9 29 20 74 8a cd 8a |m.B.......) t...| -00000040 b6 31 04 64 fb 5b 1f 83 c3 19 78 17 03 03 00 40 |.1.d.[....x....@| +00000010 00 00 00 00 00 00 00 00 00 00 00 13 c4 d2 3f b0 |..............?.| +00000020 84 08 32 74 de cc e0 97 90 8a c6 cc 94 87 ac 48 |..2t...........H| +00000030 65 f7 20 04 18 42 68 46 8e c0 19 b6 9d 2a 84 58 |e. ..BhF.....*.X| +00000040 85 20 b3 ed 75 94 71 4e 5b 0a de 17 03 03 00 40 |. ..u.qN[......@| 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| -00000060 ee c4 d0 5d 69 37 2b fc dc 9c f1 77 df 44 6f da |...]i7+....w.Do.| -00000070 4e 22 05 05 3a 6c 32 a8 6c c2 fb ce ca a7 1b 54 |N"..:l2.l......T| -00000080 2a 25 ae cf 77 e4 47 21 33 b6 29 54 62 00 dd 30 |*%..w.G!3.)Tb..0| -00000090 15 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........| -000000a0 00 00 00 00 00 cf e1 fd e3 5f d3 19 cd 05 70 79 |........._....py| -000000b0 be 16 a5 26 18 f1 92 bc 73 bd 6f 4d 33 3d 6f 8a |...&....s.oM3=o.| -000000c0 13 51 7c 57 c7 |.Q|W.| +00000060 c2 6e c5 13 4d 35 ab b1 de e2 1b a6 6f 0e 40 64 |.n..M5......o.@d| +00000070 cc 67 bf 0d b1 e4 fe 48 c4 01 35 6a 94 50 17 7a |.g.....H..5j.P.z| +00000080 b3 6b f6 6b 2a 24 c9 b9 7b b0 42 0e 71 4d c2 da |.k.k*$..{.B.qM..| diff --git a/testdata/Server-TLSv12-ClientAuthRequestedAndGiven b/testdata/Server-TLSv12-ClientAuthRequestedAndGiven index c81acc89..aa4cfe12 100644 --- a/testdata/Server-TLSv12-ClientAuthRequestedAndGiven +++ b/testdata/Server-TLSv12-ClientAuthRequestedAndGiven @@ -1,7 +1,7 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 5d 01 00 00 59 03 03 f3 3a db 98 ff |....]...Y...:...| -00000010 29 a2 30 75 53 87 b3 5f 00 b5 9f 77 4d 88 38 ea |).0uS.._...wM.8.| -00000020 e9 87 f4 a4 e4 da dd 73 00 47 d1 00 00 04 00 2f |.......s.G...../| +00000000 16 03 01 00 5d 01 00 00 59 03 03 ed f9 4a 41 31 |....]...Y....JA1| +00000010 20 6a df af 85 92 37 a1 38 81 ed 3c 1a 7e d2 31 | j....7.8..<.~.1| +00000020 80 5b 68 87 b6 72 43 8e c0 f0 dd 00 00 04 00 2f |.[h..rC......../| 00000030 00 ff 01 00 00 2c 00 0d 00 20 00 1e 06 01 06 02 |.....,... ......| 00000040 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................| 00000050 03 02 03 03 02 01 02 02 02 03 00 16 00 00 00 17 |................| @@ -48,9 +48,9 @@ 00000260 f1 6c 04 ed 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 |.l..s..Cw.......| 00000270 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000280 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| -00000290 3b e9 fa e7 16 03 03 00 17 0d 00 00 13 02 01 40 |;..............@| -000002a0 00 0c 04 01 04 03 05 01 05 03 02 01 02 03 00 00 |................| -000002b0 16 03 03 00 04 0e 00 00 00 |.........| +00000290 3b e9 fa e7 16 03 03 00 1b 0d 00 00 17 02 01 40 |;..............@| +000002a0 00 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 |................| +000002b0 02 03 00 00 16 03 03 00 04 0e 00 00 00 |.............| >>> Flow 3 (client to server) 00000000 16 03 03 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.......\.| @@ -84,40 +84,40 @@ 000001d0 ac 11 b1 28 56 be 1d cd 61 62 84 09 bf d6 80 c6 |...(V...ab......| 000001e0 45 8d 82 2c b4 d8 83 9b db c9 22 b7 2a 12 11 7b |E..,......".*..{| 000001f0 fa 02 3b c1 c9 ff ea c9 9d a8 49 d3 95 d7 d5 0e |..;.......I.....| -00000200 e5 35 16 03 03 00 86 10 00 00 82 00 80 47 31 82 |.5...........G1.| -00000210 ae c1 d2 74 3f a4 74 5a 57 16 ae e2 d0 46 72 53 |...t?.tZW....FrS| -00000220 e1 5e 6a e8 e4 d5 8c 84 2b d9 82 c1 4a da 9e 1d |.^j.....+...J...| -00000230 a0 da 60 08 0d 35 0c 55 6d 6a 68 04 09 ee 94 39 |..`..5.Umjh....9| -00000240 c7 a3 49 7f 2c ee 6a cf 09 01 bd 08 d3 59 0a bd |..I.,.j......Y..| -00000250 7f 6c d3 26 eb be 7b fd 9b 17 fd e2 6e 82 d1 c7 |.l.&..{.....n...| -00000260 dd c3 64 8c 87 f0 41 f2 71 75 f1 0a 01 26 5b 97 |..d...A.qu...&[.| -00000270 94 ba ac 50 df 19 32 39 80 ae 14 ea 4a d2 e5 9f |...P..29....J...| -00000280 5d 07 9f 2d 89 ac 83 33 40 aa 8e cc 2c 16 03 03 |]..-...3@...,...| -00000290 00 88 0f 00 00 84 04 01 00 80 7d 37 8b 6f be e9 |..........}7.o..| -000002a0 e7 fa 4c 28 cf 16 0d 28 40 e9 f2 9a 11 22 fc 8a |..L(...(@...."..| -000002b0 2c 52 f7 36 af 1a cf d7 8a f8 17 19 9f ed 9d 1d |,R.6............| -000002c0 43 f9 e2 fb 0f dd ca d6 1d 4c 03 4e 25 8d 5c 4c |C........L.N%.\L| -000002d0 95 98 02 db cf ea 44 2a ad 36 74 e3 08 07 e3 9a |......D*.6t.....| -000002e0 50 6c dc 46 a1 f5 84 9b 65 7f 48 94 b5 de cc a9 |Pl.F....e.H.....| -000002f0 cf ee 0e 31 f2 f8 6f 8f 19 4b 29 14 b4 32 1d 21 |...1..o..K)..2.!| -00000300 02 d2 da 64 68 e8 a1 72 cc ee 64 48 d8 74 e5 64 |...dh..r..dH.t.d| -00000310 90 b3 50 cc 3e 25 0e b1 88 53 14 03 03 00 01 01 |..P.>%...S......| -00000320 16 03 03 00 40 6a 61 6b 3e ea 63 2c b8 26 95 e2 |....@jak>.c,.&..| -00000330 5f 83 e3 c3 cd c3 b7 a8 0b 76 81 8a 5b 46 ff 41 |_........v..[F.A| -00000340 c2 02 eb 21 85 31 b9 ba 2e 30 e7 6e 8d 1c 49 15 |...!.1...0.n..I.| -00000350 af a0 a7 67 62 b7 42 8c fa a8 04 8c 23 7a 3d 39 |...gb.B.....#z=9| -00000360 74 18 70 2b 99 |t.p+.| +00000200 e5 35 16 03 03 00 86 10 00 00 82 00 80 90 96 a6 |.5..............| +00000210 45 0a 8d 6a 38 86 3a f0 0a cb d6 bb db 9b 27 a6 |E..j8.:.......'.| +00000220 17 ca 02 6d 67 3c 56 80 74 9b 06 6e 62 58 55 43 |...mg>> Flow 4 (server to client) 00000000 14 03 03 00 01 01 16 03 03 00 40 00 00 00 00 00 |..........@.....| -00000010 00 00 00 00 00 00 00 00 00 00 00 a6 5b 7c b0 91 |............[|..| -00000020 53 f6 d5 e4 34 71 4f 64 2a 03 9d 75 62 d9 8d a8 |S...4qOd*..ub...| -00000030 39 7b e1 d8 31 80 26 db 14 f3 3a 52 66 7d 12 31 |9{..1.&...:Rf}.1| -00000040 29 14 7f a1 39 b6 1c e0 c9 55 6e 17 03 03 00 40 |)...9....Un....@| +00000010 00 00 00 00 00 00 00 00 00 00 00 52 d1 34 99 c9 |...........R.4..| +00000020 60 18 c3 99 36 2d c5 c2 14 ae f4 e5 10 e1 6f af |`...6-........o.| +00000030 70 3b c3 d6 d1 81 ee da fe 6e a5 96 81 53 cf 9a |p;.......n...S..| +00000040 cc c2 ac 98 95 0c 75 81 ac 55 6b 17 03 03 00 40 |......u..Uk....@| 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| -00000060 5e 00 64 9b 25 cd 74 94 b7 65 6e 83 8e 5b 68 e8 |^.d.%.t..en..[h.| -00000070 59 4c f0 31 8b f2 0c 59 2a ff 11 8e 43 d4 73 fd |YL.1...Y*...C.s.| -00000080 b3 2a 76 59 25 52 32 76 bd 2e 1d 4d 0a 53 d7 c2 |.*vY%R2v...M.S..| +00000060 46 ff 8d a9 0d 65 e1 82 48 4c 31 ec 60 24 61 52 |F....e..HL1.`$aR| +00000070 33 41 b1 7b 6a a8 96 b3 59 eb c9 2c f8 f2 4d 15 |3A.{j...Y..,..M.| +00000080 83 3e 99 c4 08 89 24 e3 de 4a bf 54 f4 eb a3 2a |.>....$..J.T...*| 00000090 15 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........| -000000a0 00 00 00 00 00 23 96 6e 7d 41 bb 51 4f 40 52 07 |.....#.n}A.QO@R.| -000000b0 90 cc 6c bd c0 bb 99 d4 8a 91 7b 8a f3 24 ef 71 |..l.......{..$.q| -000000c0 20 d4 98 b0 14 | ....| +000000a0 00 00 00 00 00 dc f3 c7 14 24 b7 a8 fa f4 78 6f |.........$....xo| +000000b0 7a 0c bd ad 14 d5 83 f7 97 30 58 0a a8 b5 76 88 |z........0X...v.| +000000c0 60 00 3d 4c 1a |`.=L.| diff --git a/testdata/Server-TLSv12-ClientAuthRequestedNotGiven b/testdata/Server-TLSv12-ClientAuthRequestedNotGiven index 091de908..924ef9df 100644 --- a/testdata/Server-TLSv12-ClientAuthRequestedNotGiven +++ b/testdata/Server-TLSv12-ClientAuthRequestedNotGiven @@ -1,7 +1,7 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 5d 01 00 00 59 03 03 41 24 db 27 37 |....]...Y..A$.'7| -00000010 2e 1e a8 61 b7 7f 08 f1 83 84 fb d5 a2 96 e0 53 |...a...........S| -00000020 1a 2b cd 8e 50 38 7b a5 64 d8 92 00 00 04 00 2f |.+..P8{.d....../| +00000000 16 03 01 00 5d 01 00 00 59 03 03 ee 51 24 51 2c |....]...Y...Q$Q,| +00000010 0b 9f 26 d2 7c e0 8b 8a 9b a8 d3 a9 a7 59 05 a3 |..&.|........Y..| +00000020 67 92 fc 3f cb e8 cd ba 62 b7 19 00 00 04 00 2f |g..?....b....../| 00000030 00 ff 01 00 00 2c 00 0d 00 20 00 1e 06 01 06 02 |.....,... ......| 00000040 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................| 00000050 03 02 03 03 02 01 02 02 02 03 00 16 00 00 00 17 |................| @@ -48,36 +48,36 @@ 00000260 f1 6c 04 ed 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 |.l..s..Cw.......| 00000270 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 |@.a.Lr+...F..M..| 00000280 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 |.>...B...=.`.\!.| -00000290 3b e9 fa e7 16 03 03 00 17 0d 00 00 13 02 01 40 |;..............@| -000002a0 00 0c 04 01 04 03 05 01 05 03 02 01 02 03 00 00 |................| -000002b0 16 03 03 00 04 0e 00 00 00 |.........| +00000290 3b e9 fa e7 16 03 03 00 1b 0d 00 00 17 02 01 40 |;..............@| +000002a0 00 10 04 01 04 03 05 01 05 03 06 01 06 03 02 01 |................| +000002b0 02 03 00 00 16 03 03 00 04 0e 00 00 00 |.............| >>> Flow 3 (client to server) 00000000 16 03 03 00 07 0b 00 00 03 00 00 00 16 03 03 00 |................| -00000010 86 10 00 00 82 00 80 61 2e 6b ad 77 48 8d 2f 0e |.......a.k.wH./.| -00000020 e6 27 64 fd 95 22 72 68 80 8e 2b 0e b2 0f cc be |.'d.."rh..+.....| -00000030 19 31 93 1d d3 0a fb 00 da 50 26 66 17 59 6b e9 |.1.......P&f.Yk.| -00000040 7e 16 4e 24 ba 68 0a 0c 69 2f 03 74 34 50 12 85 |~.N$.h..i/.t4P..| -00000050 4a f0 6c 52 d4 dd 13 18 c7 a4 9d ea f0 c6 94 d9 |J.lR............| -00000060 ae fe 19 6c 83 dd ed 38 e3 d2 21 18 e6 76 11 e7 |...l...8..!..v..| -00000070 62 13 8b 56 65 e0 f6 61 d9 db 7c 7b 5b 57 13 3d |b..Ve..a..|{[W.=| -00000080 58 64 67 8d 9f 3f 6a a0 70 c5 c6 d0 db eb 17 3f |Xdg..?j.p......?| -00000090 6c 58 d7 c3 ba ec 4c 14 03 03 00 01 01 16 03 03 |lX....L.........| -000000a0 00 40 6e 24 1b a4 b3 e7 d4 c2 7e cb bd 82 2d 4c |.@n$......~...-L| -000000b0 a8 f1 5e 81 c8 61 a6 2c 6a e3 6d 30 7f fa c7 f3 |..^..a.,j.m0....| -000000c0 f6 b1 b1 4f 0b 23 9a fd 66 81 48 97 4b 0f 88 07 |...O.#..f.H.K...| -000000d0 37 7b 97 b0 62 6c 2a e1 47 65 e9 f9 cd c1 79 99 |7{..bl*.Ge....y.| -000000e0 6d 84 |m.| +00000010 86 10 00 00 82 00 80 0b e8 d9 4f fa 7d 63 8c 89 |..........O.}c..| +00000020 b7 c8 73 76 9b fa 7f b6 c3 57 f2 54 75 90 90 ec |..sv.....W.Tu...| +00000030 9e 8d 08 ae 3f dc 6e fa df 2a 32 2b 35 e9 03 f7 |....?.n..*2+5...| +00000040 c5 d1 7c f5 20 1f 77 0a 24 b8 4e 7e 11 fe b0 87 |..|. .w.$.N~....| +00000050 db f6 ff 92 1a fc 6a 8d 48 7e ac bc 95 99 4a f8 |......j.H~....J.| +00000060 1b cc 07 42 48 0c 25 d2 47 82 59 14 76 84 d3 e9 |...BH.%.G.Y.v...| +00000070 d6 0a 5a b1 0a c6 31 3e 80 e2 29 c8 a6 31 dd 64 |..Z...1>..)..1.d| +00000080 96 7a f5 ee d9 0f 03 b5 93 05 b8 a2 04 66 ff fc |.z...........f..| +00000090 f5 2f e7 6c b9 2d 98 14 03 03 00 01 01 16 03 03 |./.l.-..........| +000000a0 00 40 f2 d2 da 46 89 c4 17 25 b8 33 d6 38 46 5c |.@...F...%.3.8F\| +000000b0 80 a0 eb cf fd 5a 27 f3 0b 16 e1 29 bd b8 46 28 |.....Z'....)..F(| +000000c0 11 d3 cc 12 12 96 9b b8 31 52 50 73 81 57 aa 29 |........1RPs.W.)| +000000d0 5c 66 da 39 2d f8 cb 15 e0 01 86 b5 0b d5 1f 56 |\f.9-..........V| +000000e0 23 a0 |#.| >>> Flow 4 (server to client) 00000000 14 03 03 00 01 01 16 03 03 00 40 00 00 00 00 00 |..........@.....| -00000010 00 00 00 00 00 00 00 00 00 00 00 40 c6 62 4e 26 |...........@.bN&| -00000020 e7 32 09 ba d6 3b 71 79 8e 75 ee fb af 09 db c5 |.2...;qy.u......| -00000030 a5 8b cd 1f 90 f3 65 86 4a b4 b1 9a e8 1e 80 f6 |......e.J.......| -00000040 ad db bd c2 9f ec 98 42 0b 37 30 17 03 03 00 40 |.......B.70....@| +00000010 00 00 00 00 00 00 00 00 00 00 00 65 58 5e 2f 25 |...........eX^/%| +00000020 67 71 87 7d a9 75 73 80 6b 03 76 63 a8 1f 80 06 |gq.}.us.k.vc....| +00000030 0f 78 b0 75 20 9e ab 36 59 d7 f9 88 22 c1 d1 be |.x.u ..6Y..."...| +00000040 c9 d2 c1 13 20 6a 75 07 95 00 ca 17 03 03 00 40 |.... ju........@| 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| -00000060 a9 74 3c 13 87 f4 cf 77 be 07 c2 a1 e0 47 4e 52 |.t<....w.....GNR| -00000070 c2 86 da 08 c2 93 21 80 4c 19 51 cc 0d 76 49 75 |......!.L.Q..vIu| -00000080 0b 48 3d e0 e2 01 93 4b f1 73 91 17 aa 00 b5 71 |.H=....K.s.....q| +00000060 25 31 9c 1d 48 d9 c3 e4 59 3a 3a e2 85 3a 78 27 |%1..H...Y::..:x'| +00000070 85 69 63 8e 3c 32 b2 03 65 3f 7a 7f 3b fe b1 83 |.ic.<2..e?z.;...| +00000080 f6 64 a1 3e 83 55 7b 39 2a 01 86 de 79 a3 55 b1 |.d.>.U{9*...y.U.| 00000090 15 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........| -000000a0 00 00 00 00 00 1f 2f 2d d7 39 06 c4 59 49 80 66 |....../-.9..YI.f| -000000b0 6c 35 2e a7 45 ee 0a 05 4b 1e 7f 78 5d cd 24 2c |l5..E...K..x].$,| -000000c0 0a 3e 55 1c 7d |.>U.}| +000000a0 00 00 00 00 00 40 26 48 75 e5 e0 83 c0 1a 66 5a |.....@&Hu.....fZ| +000000b0 5f b2 11 a6 b7 a3 4d f2 ca 49 6a f2 48 a1 ee 99 |_.....M..Ij.H...| +000000c0 ff 0d c1 f7 4f |....O| diff --git a/testdata/Server-TLSv12-ECDHE-ECDSA-AES b/testdata/Server-TLSv12-ECDHE-ECDSA-AES index b412980e..8aa11abc 100644 --- a/testdata/Server-TLSv12-ECDHE-ECDSA-AES +++ b/testdata/Server-TLSv12-ECDHE-ECDSA-AES @@ -1,7 +1,7 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 73 01 00 00 6f 03 03 f0 4f 82 cc 2a |....s...o...O..*| -00000010 27 0b 7f 2e e4 af 6d ba 4e fe 61 99 fc 0a 44 ee |'.....m.N.a...D.| -00000020 c0 4e 7b 3a 7c f0 6d 12 b7 7d 9e 00 00 04 c0 0a |.N{:|.m..}......| +00000000 16 03 01 00 73 01 00 00 6f 03 03 8b 7a 0c fa 8b |....s...o...z...| +00000010 92 b9 b6 d6 b8 93 50 29 07 2e 8e 70 9b a1 55 65 |......P)...p..Ue| +00000020 ba 05 9d 74 2e 7e a6 2a 10 e1 3c 00 00 04 c0 0a |...t.~.*..<.....| 00000030 00 ff 01 00 00 42 00 0b 00 04 03 00 01 02 00 0a |.....B..........| 00000040 00 0a 00 08 00 1d 00 17 00 19 00 18 00 0d 00 20 |............... | 00000050 00 1e 06 01 06 02 06 03 05 01 05 02 05 03 04 01 |................| @@ -47,36 +47,36 @@ 00000240 7b 6a 0f 39 95 12 07 8f 2a 16 03 03 00 b7 0c 00 |{j.9....*.......| 00000250 00 b3 03 00 1d 20 2f e5 7d a3 47 cd 62 43 15 28 |..... /.}.G.bC.(| 00000260 da ac 5f bb 29 07 30 ff f6 84 af c4 cf c2 ed 90 |.._.).0.........| -00000270 99 5f 58 cb 3b 74 05 03 00 8b 30 81 88 02 42 01 |._X.;t....0...B.| -00000280 2d d4 82 80 01 6b e6 8c 6a 2a b3 09 1b 0d 86 e6 |-....k..j*......| -00000290 62 92 85 46 d9 e3 b2 e9 f1 5e 77 c2 27 fd 2b 68 |b..F.....^w.'.+h| -000002a0 6a e1 3d e2 42 d2 86 96 42 b1 3b 50 7b e2 2c 34 |j.=.B...B.;P{.,4| -000002b0 d3 e7 f6 14 89 48 eb 5c 9a 98 98 ab f3 db 85 06 |.....H.\........| -000002c0 cb 02 42 00 df 42 94 63 a5 ff 43 a5 20 5d 83 09 |..B..B.c..C. ]..| -000002d0 88 7d 10 ff ec 32 33 28 1d 43 b2 d2 bf 39 0c 63 |.}...23(.C...9.c| -000002e0 9a c0 f8 0e 9f 71 a7 9a 5d 27 1a 5c f2 36 80 b3 |.....q..]'.\.6..| -000002f0 71 0f d3 c0 fd 0d 5d 02 90 c4 9d 90 db 74 ad f6 |q.....]......t..| -00000300 22 8f 6b 9d 55 16 03 03 00 04 0e 00 00 00 |".k.U.........| +00000270 99 5f 58 cb 3b 74 06 03 00 8b 30 81 88 02 42 00 |._X.;t....0...B.| +00000280 cb 8e af 48 f8 79 66 5b 9a 52 8d 67 ec 13 02 a5 |...H.yf[.R.g....| +00000290 ab 77 9e 15 17 c2 4e ff 7a b4 5b 53 1a 16 22 3f |.w....N.z.[S.."?| +000002a0 b8 83 40 99 64 67 b3 54 19 29 6b 2d a8 3c 63 44 |..@.dg.T.)k-.>> Flow 3 (client to server) -00000000 16 03 03 00 25 10 00 00 21 20 af 52 73 d4 46 4d |....%...! .Rs.FM| -00000010 bc 0e dd 56 1f 7f 72 ce 6c 99 b9 64 53 7d 53 8d |...V..r.l..dS}S.| -00000020 0c a4 75 8c 83 3b 4b 76 2d 4f 14 03 03 00 01 01 |..u..;Kv-O......| -00000030 16 03 03 00 40 a0 ef 9f 54 a8 ab 7c 5b 4a a1 b2 |....@...T..|[J..| -00000040 5d 5b 6a d7 a7 32 35 46 58 d0 ba 38 6f 94 6e 9a |][j..25FX..8o.n.| -00000050 41 16 82 ed 4d 39 c4 ff 06 bf 2c 67 47 70 56 4e |A...M9....,gGpVN| -00000060 c5 ac 7f a0 5d d9 89 82 7a d9 36 07 55 b3 20 f4 |....]...z.6.U. .| -00000070 b2 73 cf c3 7d |.s..}| +00000000 16 03 03 00 25 10 00 00 21 20 d2 c0 5b 2a f2 05 |....%...! ..[*..| +00000010 4d 57 b0 d0 8b 51 b0 7f 1f 71 8b d9 55 76 46 c9 |MW...Q...q..UvF.| +00000020 a8 40 44 2c a1 51 74 50 4a 22 14 03 03 00 01 01 |.@D,.QtPJ"......| +00000030 16 03 03 00 40 79 6d 1b bc e7 5b 5c 7b 99 62 2b |....@ym...[\{.b+| +00000040 4a 1a b2 0f 76 72 67 d1 ec 25 04 5f fb 25 f4 9c |J...vrg..%._.%..| +00000050 9c 47 bb b9 85 28 59 0c 0c 15 3f 86 a5 16 c8 ef |.G...(Y...?.....| +00000060 a4 e6 8e c0 96 37 47 5a c8 cd f2 90 41 9b 94 dc |.....7GZ....A...| +00000070 ec fe e2 df d4 |.....| >>> Flow 4 (server to client) 00000000 14 03 03 00 01 01 16 03 03 00 40 00 00 00 00 00 |..........@.....| -00000010 00 00 00 00 00 00 00 00 00 00 00 73 5f db 9e 08 |...........s_...| -00000020 10 38 3b c0 95 6b dd fc 16 b2 d1 db 63 13 ca d5 |.8;..k......c...| -00000030 b5 be 5a 1d 74 b5 75 f3 a2 63 59 be a7 d0 ab 0d |..Z.t.u..cY.....| -00000040 d3 43 83 8a 1d 59 ed fd ea f0 b9 17 03 03 00 40 |.C...Y.........@| +00000010 00 00 00 00 00 00 00 00 00 00 00 8a 19 1e 82 d0 |................| +00000020 46 f4 79 8d 9b fd 55 25 a9 6b d8 30 b3 41 f8 df |F.y...U%.k.0.A..| +00000030 a5 f8 9d 4c fe cc e1 1c 62 70 cf 60 12 cb 14 3e |...L....bp.`...>| +00000040 86 e9 d1 bb 46 60 7d b5 74 5f f5 17 03 03 00 40 |....F`}.t_.....@| 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| -00000060 cf 20 4f 4f bf c4 00 05 1e ca 7f 6f 69 77 e9 52 |. OO.......oiw.R| -00000070 14 61 02 6d f1 c0 ad 7c 1a 34 cf b2 7a 58 4a 70 |.a.m...|.4..zXJp| -00000080 11 36 5f e9 21 62 cb eb 8f e7 11 04 bf 66 03 69 |.6_.!b.......f.i| +00000060 97 1c 70 9d cf 17 89 8c c7 ad 84 38 6e f5 c6 d1 |..p........8n...| +00000070 c8 6e b2 a2 69 27 9a 59 fb bc af c0 15 47 40 b9 |.n..i'.Y.....G@.| +00000080 e1 35 9b 37 50 9f 05 53 60 f8 f9 91 40 67 36 a8 |.5.7P..S`...@g6.| 00000090 15 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........| -000000a0 00 00 00 00 00 f5 35 92 09 6c 45 c0 27 95 98 a9 |......5..lE.'...| -000000b0 86 56 53 1f a8 01 d5 0b 79 0e 91 15 3b 9a 07 21 |.VS.....y...;..!| -000000c0 cb ce f0 2b 6a |...+j| +000000a0 00 00 00 00 00 0f 90 a8 00 9e 0e 51 29 b5 96 da |...........Q)...| +000000b0 b1 0d 81 7b 71 ff c9 de f8 aa c4 bd e1 7d 0d 35 |...{q........}.5| +000000c0 b1 ed ae 20 3c |... <| diff --git a/testdata/Server-TLSv12-RSA-AES-GCM b/testdata/Server-TLSv12-RSA-AES-GCM index 4e52915a..4c1cbc9e 100644 --- a/testdata/Server-TLSv12-RSA-AES-GCM +++ b/testdata/Server-TLSv12-RSA-AES-GCM @@ -1,7 +1,7 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 73 01 00 00 6f 03 03 4e 1a d7 67 e4 |....s...o..N..g.| -00000010 d1 11 85 bc 62 59 da 8f ea d0 a0 2b 9b d3 47 aa |....bY.....+..G.| -00000020 d0 39 6f 3f 42 dc 7c 16 bb 25 ef 00 00 04 c0 2f |.9o?B.|..%...../| +00000000 16 03 01 00 73 01 00 00 6f 03 03 38 2b d9 54 15 |....s...o..8+.T.| +00000010 60 c3 a7 88 e6 c3 73 8f b0 76 4f d0 10 72 2c d6 |`.....s..vO..r,.| +00000020 55 fc c2 f0 ab 0f 62 43 f1 86 f8 00 00 04 c0 2f |U.....bC......./| 00000030 00 ff 01 00 00 42 00 0b 00 04 03 00 01 02 00 0a |.....B..........| 00000040 00 0a 00 08 00 1d 00 17 00 19 00 18 00 0d 00 20 |............... | 00000050 00 1e 06 01 06 02 06 03 05 01 05 02 05 03 04 01 |................| @@ -52,28 +52,28 @@ 00000290 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| 000002a0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| 000002b0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -000002c0 74 05 01 00 80 b2 49 30 60 b7 0c 48 cb 9f 1c 75 |t.....I0`..H...u| -000002d0 a6 b0 b0 7b 5e e6 f9 bc 5a 49 d4 51 e2 76 4c 01 |...{^...ZI.Q.vL.| -000002e0 55 bd 37 cf 86 75 4f 33 9b fd 3c fc bb da 81 a9 |U.7..uO3..<.....| -000002f0 26 7b 82 31 c5 51 0f d4 e8 fa a3 16 45 19 c8 40 |&{.1.Q......E..@| -00000300 23 fa 32 bc 05 36 fb a7 a2 d9 6f e7 bc b8 27 0b |#.2..6....o...'.| -00000310 2a 9e 7b 95 fd b4 c0 2e f0 73 fe fb a2 ea 20 a2 |*.{......s.... .| -00000320 73 73 96 c8 bc 82 58 09 84 fc f4 09 2a c8 68 cb |ss....X.....*.h.| -00000330 66 b0 de 2c 78 7a d4 ec 06 f1 1c 52 03 5a 69 24 |f..,xz.....R.Zi$| -00000340 c4 e6 bb 68 f4 16 03 03 00 04 0e 00 00 00 |...h..........| +000002c0 74 06 01 00 80 65 4e 5d 69 d6 97 39 e8 dc 13 58 |t....eN]i..9...X| +000002d0 c1 2a cf 72 12 42 34 8c 4a c1 b5 94 44 0c f2 97 |.*.r.B4.J...D...| +000002e0 46 ba 59 20 1c f2 9d 23 d7 2e 9f 7c 52 ac 08 fe |F.Y ...#...|R...| +000002f0 02 23 e3 ee ec 21 1f bd 08 8a 50 48 aa 21 b7 ed |.#...!....PH.!..| +00000300 be 30 be ac ff 8f e8 71 c9 bc d8 b8 56 63 8a fc |.0.....q....Vc..| +00000310 52 0e 3d e1 4e ce cc 53 d4 f8 36 70 1f 4e 16 61 |R.=.N..S..6p.N.a| +00000320 14 4d dd fe 17 08 f5 09 53 9b c6 24 7d de af dc |.M......S..$}...| +00000330 1b 84 23 c2 72 9c 25 73 1a 4f 42 27 b5 95 b1 06 |..#.r.%s.OB'....| +00000340 dd 36 de 0c 76 16 03 03 00 04 0e 00 00 00 |.6..v.........| >>> Flow 3 (client to server) -00000000 16 03 03 00 25 10 00 00 21 20 41 d4 8d 53 2e 47 |....%...! A..S.G| -00000010 b8 35 ba 86 3c 41 07 2e c1 a0 9d c2 e9 11 d8 20 |.5..>> Flow 4 (server to client) 00000000 14 03 03 00 01 01 16 03 03 00 28 00 00 00 00 00 |..........(.....| -00000010 00 00 00 ec 99 e0 9a 83 28 94 e6 72 4f be 28 24 |........(..rO.($| -00000020 64 bd 9d 86 79 cc ab 05 15 39 06 6e da 0c b8 4e |d...y....9.n...N| -00000030 6c a9 f3 17 03 03 00 25 00 00 00 00 00 00 00 01 |l......%........| -00000040 9a d7 b0 54 dd 3c ae 8e 3f 1f 41 68 a5 01 a0 da |...T.<..?.Ah....| -00000050 e8 8e 90 55 1a 11 f0 70 8d a3 af a4 29 15 03 03 |...U...p....)...| -00000060 00 1a 00 00 00 00 00 00 00 02 a8 96 cb 16 d7 b1 |................| -00000070 41 7e bc 0e 01 8f cc 47 40 e5 c7 2a |A~.....G@..*| +00000010 00 00 00 fb 80 e0 2e 22 3e 45 98 c2 64 a1 0d 0a |.......">E..d...| +00000020 0c 55 40 6e 1b a9 de 29 e3 c8 1a b3 36 ba 5d 88 |.U@n...)....6.].| +00000030 c0 c9 d6 17 03 03 00 25 00 00 00 00 00 00 00 01 |.......%........| +00000040 ef 6a 01 41 ec 78 94 2d d5 c3 48 b8 5e 57 93 34 |.j.A.x.-..H.^W.4| +00000050 82 03 33 ae 03 22 69 9b 32 8f 71 73 6c 15 03 03 |..3.."i.2.qsl...| +00000060 00 1a 00 00 00 00 00 00 00 02 31 37 35 60 f8 01 |..........175`..| +00000070 5d 1f ab be 0d 79 ac c8 34 f0 14 f9 |]....y..4...| diff --git a/testdata/Server-TLSv12-RSA-AES256-GCM-SHA384 b/testdata/Server-TLSv12-RSA-AES256-GCM-SHA384 index 36be9da0..f80f166a 100644 --- a/testdata/Server-TLSv12-RSA-AES256-GCM-SHA384 +++ b/testdata/Server-TLSv12-RSA-AES256-GCM-SHA384 @@ -1,7 +1,7 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 73 01 00 00 6f 03 03 b7 d2 dc fe 53 |....s...o......S| -00000010 d6 13 08 19 be 30 22 17 db a7 06 9b 62 82 14 38 |.....0".....b..8| -00000020 2e 68 70 08 02 7d 22 64 13 75 f5 00 00 04 c0 30 |.hp..}"d.u.....0| +00000000 16 03 01 00 73 01 00 00 6f 03 03 7c 43 b4 7c 36 |....s...o..|C.|6| +00000010 56 e5 d4 47 83 a7 ae 17 cb 5e 7d 5f b7 ef 41 dd |V..G.....^}_..A.| +00000020 63 d3 e6 a0 62 f7 af 91 25 75 15 00 00 04 c0 30 |c...b...%u.....0| 00000030 00 ff 01 00 00 42 00 0b 00 04 03 00 01 02 00 0a |.....B..........| 00000040 00 0a 00 08 00 1d 00 17 00 19 00 18 00 0d 00 20 |............... | 00000050 00 1e 06 01 06 02 06 03 05 01 05 02 05 03 04 01 |................| @@ -52,28 +52,28 @@ 00000290 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| 000002a0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| 000002b0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -000002c0 74 05 01 00 80 b8 c4 6a be 2a dd 47 03 7b 84 72 |t......j.*.G.{.r| -000002d0 0b a4 c0 a7 2e b5 a4 be c7 6a 2a 8b d0 23 6f b5 |.........j*..#o.| -000002e0 bc 0e ba 3c f5 9d a3 90 b0 af 80 11 bd 22 b5 7b |...<.........".{| -000002f0 3c 53 f8 54 d0 b4 b0 53 28 75 0d 15 58 88 c2 90 |R.....m.| +000002d0 8f de 69 34 58 71 9e 36 46 35 7e 73 ad f0 ee 30 |..i4Xq.6F5~s...0| +000002e0 0c 95 dc cc 28 ce 9b ee e6 44 3d ab ab 60 13 7c |....(....D=..`.|| +000002f0 3d 37 2d d0 36 95 04 74 df 5a a5 ef 9b 68 7c 58 |=7-.6..t.Z...h|X| +00000300 b4 22 e9 5d 15 aa 18 cc fc 8d 35 f4 ad aa dc 0d |.".]......5.....| +00000310 86 b6 e5 ac e3 8f ea c7 63 c6 a5 1e 2a 7e e2 9b |........c...*~..| +00000320 05 33 81 04 d4 87 ad 15 2d 7f 91 fd ca 85 a8 cb |.3......-.......| +00000330 66 56 e3 7a 4a 90 8c dc 7d 8f d0 af 6e 5e 88 7b |fV.zJ...}...n^.{| +00000340 34 2e 2f a0 2e 16 03 03 00 04 0e 00 00 00 |4./...........| >>> Flow 3 (client to server) -00000000 16 03 03 00 25 10 00 00 21 20 20 df 4a b8 02 4f |....%...! .J..O| -00000010 31 db 22 90 59 57 20 23 e1 72 8d 28 60 b3 f2 77 |1.".YW #.r.(`..w| -00000020 db 3a ce 64 5a a5 63 94 be 09 14 03 03 00 01 01 |.:.dZ.c.........| -00000030 16 03 03 00 28 de 72 f3 c3 b2 aa b4 9b b7 fe 35 |....(.r........5| -00000040 3b 25 af 74 47 d3 49 39 07 d9 70 37 30 d0 b7 47 |;%.tG.I9..p70..G| -00000050 bf ad 97 08 44 59 a7 3c 12 f2 4a 2d 7c |....DY.<..J-|| +00000000 16 03 03 00 25 10 00 00 21 20 a5 ce 37 03 eb 08 |....%...! ..7...| +00000010 67 8e 6b f8 37 b6 f8 cd c6 62 59 c1 8f 46 22 0d |g.k.7....bY..F".| +00000020 d8 e1 85 2e 26 dc 40 d3 f0 60 14 03 03 00 01 01 |....&.@..`......| +00000030 16 03 03 00 28 7d cf e0 cb 63 b3 22 fb b2 94 82 |....(}...c."....| +00000040 a7 1e 8d 71 15 a8 ba 14 b6 4b 67 37 f9 78 c4 33 |...q.....Kg7.x.3| +00000050 1b 7d 6c 8b 56 8f 85 d1 3e d3 9c 9f 95 |.}l.V...>....| >>> Flow 4 (server to client) 00000000 14 03 03 00 01 01 16 03 03 00 28 00 00 00 00 00 |..........(.....| -00000010 00 00 00 16 18 e1 e8 d4 c0 d1 19 3a 50 10 85 fc |...........:P...| -00000020 fc 3e 27 54 e4 57 b6 e7 c4 25 d5 4e 10 ad 0f ff |.>'T.W...%.N....| -00000030 ad 45 8c 17 03 03 00 25 00 00 00 00 00 00 00 01 |.E.....%........| -00000040 50 b8 af 5f a2 3e 0f f7 f0 81 1f 32 69 39 2f f2 |P.._.>.....2i9/.| -00000050 47 28 80 fb d0 46 d4 b7 a2 ba e3 71 ea 15 03 03 |G(...F.....q....| -00000060 00 1a 00 00 00 00 00 00 00 02 c4 64 7a 81 b3 3a |...........dz..:| -00000070 2c 71 35 ec f7 0c 52 36 20 2c eb fe |,q5...R6 ,..| +00000010 00 00 00 3e cd 20 97 7b b3 2c 24 f2 cc ac 70 a4 |...>. .{.,$...p.| +00000020 4f f5 db 05 51 52 a8 ff 6e 01 98 c3 ec c7 2c 97 |O...QR..n.....,.| +00000030 6f f9 2c 17 03 03 00 25 00 00 00 00 00 00 00 01 |o.,....%........| +00000040 67 b8 c3 d5 7e 02 18 6f b8 db 10 5c 28 29 3d f6 |g...~..o...\()=.| +00000050 d0 69 a1 4f e8 a4 ce 22 81 65 10 7e d1 15 03 03 |.i.O...".e.~....| +00000060 00 1a 00 00 00 00 00 00 00 02 b0 df 28 f8 b8 f2 |............(...| +00000070 32 43 c3 d0 01 55 8f 47 c1 52 8d e3 |2C...U.G.R..| diff --git a/testdata/Server-TLSv12-X25519-ECDHE-RSA-AES-GCM b/testdata/Server-TLSv12-X25519-ECDHE-RSA-AES-GCM index 89587e9b..17136d41 100644 --- a/testdata/Server-TLSv12-X25519-ECDHE-RSA-AES-GCM +++ b/testdata/Server-TLSv12-X25519-ECDHE-RSA-AES-GCM @@ -1,7 +1,7 @@ >>> Flow 1 (client to server) -00000000 16 03 01 00 73 01 00 00 6f 03 03 33 6d f4 4a 4b |....s...o..3m.JK| -00000010 48 35 ef 62 e9 bd 66 90 7e 73 62 bf 93 51 3d 90 |H5.b..f.~sb..Q=.| -00000020 9e f1 17 ae bd 24 28 54 44 50 8e 00 00 04 c0 2f |.....$(TDP...../| +00000000 16 03 01 00 73 01 00 00 6f 03 03 c3 5c 1e ad 54 |....s...o...\..T| +00000010 5b 03 af 49 42 dd cc 76 83 21 fe b4 4f 15 84 81 |[..IB..v.!..O...| +00000020 e5 07 5c 7d 58 3d 37 5a 3a ae f8 00 00 04 c0 2f |..\}X=7Z:....../| 00000030 00 ff 01 00 00 42 00 0b 00 04 03 00 01 02 00 0a |.....B..........| 00000040 00 0a 00 08 00 1d 00 17 00 19 00 18 00 0d 00 20 |............... | 00000050 00 1e 06 01 06 02 06 03 05 01 05 02 05 03 04 01 |................| @@ -52,28 +52,28 @@ 00000290 3b e9 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d |;...............| 000002a0 20 2f e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 | /.}.G.bC.(.._.)| 000002b0 07 30 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b |.0.........._X.;| -000002c0 74 05 01 00 80 61 aa 96 74 97 9f 2a 81 df 73 4d |t....a..t..*..sM| -000002d0 58 fb 8b 34 d9 51 02 1d 30 45 98 11 fa 20 cc 48 |X..4.Q..0E... .H| -000002e0 18 8d 92 4a bc bf 34 c2 52 cc 7b 7d 93 32 f9 98 |...J..4.R.{}.2..| -000002f0 eb d0 6d 58 4c 24 71 f1 78 cc ee 4d f8 26 26 d3 |..mXL$q.x..M.&&.| -00000300 b0 1c 46 67 ff 75 fc b5 b3 75 31 f3 9d d6 51 07 |..Fg.u...u1...Q.| -00000310 7a c1 2f 52 3f 88 23 f2 90 74 d0 77 6d 2b c7 31 |z./R?.#..t.wm+.1| -00000320 3d 81 a8 b9 84 a6 8f 96 25 91 e8 31 3b e9 20 b8 |=.......%..1;. .| -00000330 c4 11 68 da 58 0a ee 79 de fe 32 29 d6 24 b0 56 |..h.X..y..2).$.V| -00000340 ab e8 b5 57 fc 16 03 03 00 04 0e 00 00 00 |...W..........| +000002c0 74 06 01 00 80 d1 1b d9 90 1c 69 ef 70 d8 76 10 |t.........i.p.v.| +000002d0 fe ea ce c5 42 ea e7 da 1a 45 83 11 75 51 e9 a4 |....B....E..uQ..| +000002e0 fe 4c c6 b2 76 62 35 83 ae 45 08 80 07 76 0c d2 |.L..vb5..E...v..| +000002f0 b6 a7 7d b4 ca 5d a0 70 88 2c ad 03 44 30 14 d7 |..}..].p.,..D0..| +00000300 0b 9e 19 77 5f 2f 95 83 8a 5e 07 3e 7f 22 ca 86 |...w_/...^.>."..| +00000310 b9 ae 0d eb b8 0e ce ec 5d 1f 72 95 cf a5 3f 2c |........].r...?,| +00000320 82 2f 17 f7 63 07 cd 01 d1 50 31 49 e4 d1 2c 75 |./..c....P1I..,u| +00000330 1a 18 b9 76 51 33 f4 ff 74 37 cc bd 18 f9 3a 09 |...vQ3..t7....:.| +00000340 25 38 56 a4 7b 16 03 03 00 04 0e 00 00 00 |%8V.{.........| >>> Flow 3 (client to server) -00000000 16 03 03 00 25 10 00 00 21 20 eb 0e 38 40 3f 32 |....%...! ..8@?2| -00000010 a4 95 fb c4 de e5 82 9a 4b 46 37 de 29 e5 6b e6 |........KF7.).k.| -00000020 44 bf f0 af 0c 62 19 bd 5c 0e 14 03 03 00 01 01 |D....b..\.......| -00000030 16 03 03 00 28 67 ad 91 f6 8d 8a 39 f7 f2 a6 42 |....(g.....9...B| -00000040 f2 8c 2f 1d b3 1d dd f1 88 65 7e 66 d2 d9 70 09 |../......e~f..p.| -00000050 4e 12 90 0d 0b d5 a5 a6 20 bc 32 63 05 |N....... .2c.| +00000000 16 03 03 00 25 10 00 00 21 20 71 94 86 30 e3 73 |....%...! q..0.s| +00000010 65 46 cb e3 ea 30 0b 32 77 f5 52 28 6f 98 a2 ed |eF...0.2w.R(o...| +00000020 52 6e 14 eb 5f 89 33 98 13 4a 14 03 03 00 01 01 |Rn.._.3..J......| +00000030 16 03 03 00 28 31 f7 9a 7d 84 21 17 7f c4 6e 9e |....(1..}.!...n.| +00000040 78 59 64 d1 d0 e7 74 fb 77 1b 7a b9 d5 e0 a6 c6 |xYd...t.w.z.....| +00000050 ec a4 9f 64 38 dd 24 8c d8 13 71 69 4f |...d8.$...qiO| >>> Flow 4 (server to client) 00000000 14 03 03 00 01 01 16 03 03 00 28 00 00 00 00 00 |..........(.....| -00000010 00 00 00 56 b1 b8 16 9a 27 c6 ee d4 7f b7 68 83 |...V....'.....h.| -00000020 43 3b 04 92 ec cc c7 db 82 f8 7d 04 64 1d 55 cf |C;........}.d.U.| -00000030 02 69 ac 17 03 03 00 25 00 00 00 00 00 00 00 01 |.i.....%........| -00000040 d6 69 51 5d 3b 00 93 c2 a6 19 97 7d bf a9 d9 96 |.iQ];......}....| -00000050 43 1d ae 32 c3 52 1a f0 18 ba 10 4c e0 15 03 03 |C..2.R.....L....| -00000060 00 1a 00 00 00 00 00 00 00 02 1e 8a 5e 37 c0 b1 |............^7..| -00000070 0d 1e c9 6a 90 23 d6 4c 5c 47 5b bf |...j.#.L\G[.| +00000010 00 00 00 65 fc d6 aa c0 c7 6d 5e 94 bb cb 7c 19 |...e.....m^...|.| +00000020 f4 4f 4b 0e d5 b1 66 cc fb 7b d0 bb bc d3 de 55 |.OK...f..{.....U| +00000030 79 d5 57 17 03 03 00 25 00 00 00 00 00 00 00 01 |y.W....%........| +00000040 bf d0 4a cb ab f0 86 9a ec 92 19 5e 51 6e 63 4e |..J........^QncN| +00000050 00 c6 1f e8 af 15 ec e7 29 45 f5 54 dd 15 03 03 |........)E.T....| +00000060 00 1a 00 00 00 00 00 00 00 02 7e 20 a1 70 fa b9 |..........~ .p..| +00000070 6f b3 3b b0 65 b5 96 15 b0 f6 db 8a |o.;.e.......| diff --git a/testdata/example-cert.pem b/testdata/example-cert.pem new file mode 100644 index 00000000..e0bf7db5 --- /dev/null +++ b/testdata/example-cert.pem @@ -0,0 +1,11 @@ +-----BEGIN CERTIFICATE----- +MIIBhTCCASugAwIBAgIQIRi6zePL6mKjOipn+dNuaTAKBggqhkjOPQQDAjASMRAw +DgYDVQQKEwdBY21lIENvMB4XDTE3MTAyMDE5NDMwNloXDTE4MTAyMDE5NDMwNlow +EjEQMA4GA1UEChMHQWNtZSBDbzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABD0d +7VNhbWvZLWPuj/RtHFjvtJBEwOkhbN/BnnE8rnZR8+sbwnc/KhCk3FhnpHZnQz7B +5aETbbIgmuvewdjvSBSjYzBhMA4GA1UdDwEB/wQEAwICpDATBgNVHSUEDDAKBggr +BgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MCkGA1UdEQQiMCCCDmxvY2FsaG9zdDo1 +NDUzgg4xMjcuMC4wLjE6NTQ1MzAKBggqhkjOPQQDAgNIADBFAiEA2zpJEPQyz6/l +Wf86aX6PepsntZv2GYlA5UpabfT2EZICICpJ5h/iI+i341gBmLiAFQOyTDT+/wQc +6MF9+Yw1Yy0t +-----END CERTIFICATE----- diff --git a/testdata/example-key.pem b/testdata/example-key.pem new file mode 100644 index 00000000..104fb099 --- /dev/null +++ b/testdata/example-key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIIrYSSNQFaA2Hwf1duRSxKtLYX5CB04fSeQ6tF1aY/PuoAoGCCqGSM49 +AwEHoUQDQgAEPR3tU2Fta9ktY+6P9G0cWO+0kETA6SFs38GecTyudlHz6xvCdz8q +EKTcWGekdmdDPsHloRNtsiCa697B2O9IFA== +-----END EC PRIVATE KEY----- diff --git a/testenv/testenv.go b/testenv/testenv.go index f7c4ad26..8f69fe0d 100644 --- a/testenv/testenv.go +++ b/testenv/testenv.go @@ -33,8 +33,15 @@ func Builder() string { // HasGoBuild reports whether the current system can build programs with ``go build'' // and then run them with os.StartProcess or exec.Command. func HasGoBuild() bool { + if os.Getenv("GO_GCFLAGS") != "" { + // It's too much work to require every caller of the go command + // to pass along "-gcflags="+os.Getenv("GO_GCFLAGS"). + // For now, if $GO_GCFLAGS is set, report that we simply can't + // run go build. + return false + } switch runtime.GOOS { - case "android", "nacl": + case "android", "nacl", "js": return false case "darwin": if strings.HasPrefix(runtime.GOARCH, "arm") { @@ -47,7 +54,10 @@ func HasGoBuild() bool { // MustHaveGoBuild checks that the current system can build programs with ``go build'' // and then run them with os.StartProcess or exec.Command. // If not, MustHaveGoBuild calls t.Skip with an explanation. -func MustHaveGoBuild(t *testing.T) { +func MustHaveGoBuild(t testing.TB) { + if os.Getenv("GO_GCFLAGS") != "" { + t.Skipf("skipping test: 'go build' not compatible with setting $GO_GCFLAGS") + } if !HasGoBuild() { t.Skipf("skipping test: 'go build' not available on %s/%s", runtime.GOOS, runtime.GOARCH) } @@ -61,7 +71,7 @@ func HasGoRun() bool { // MustHaveGoRun checks that the current system can run programs with ``go run.'' // If not, MustHaveGoRun calls t.Skip with an explanation. -func MustHaveGoRun(t *testing.T) { +func MustHaveGoRun(t testing.TB) { if !HasGoRun() { t.Skipf("skipping test: 'go run' not available on %s/%s", runtime.GOOS, runtime.GOARCH) } @@ -71,7 +81,7 @@ func MustHaveGoRun(t *testing.T) { // It is a convenience wrapper around GoTool. // If the tool is unavailable GoToolPath calls t.Skip. // If the tool should be available and isn't, GoToolPath calls t.Fatal. -func GoToolPath(t *testing.T) string { +func GoToolPath(t testing.TB) string { MustHaveGoBuild(t) path, err := GoTool() if err != nil { @@ -103,6 +113,19 @@ func GoTool() (string, error) { // HasExec reports whether the current system can start new processes // using os.StartProcess or (more commonly) exec.Command. func HasExec() bool { + switch runtime.GOOS { + case "nacl", "js": + return false + case "darwin": + if strings.HasPrefix(runtime.GOARCH, "arm") { + return false + } + } + return true +} + +// HasSrc reports whether the entire source tree is available under GOROOT. +func HasSrc() bool { switch runtime.GOOS { case "nacl": return false @@ -117,7 +140,7 @@ func HasExec() bool { // MustHaveExec checks that the current system can start new processes // using os.StartProcess or (more commonly) exec.Command. // If not, MustHaveExec calls t.Skip with an explanation. -func MustHaveExec(t *testing.T) { +func MustHaveExec(t testing.TB) { if !HasExec() { t.Skipf("skipping test: cannot exec subprocess on %s/%s", runtime.GOOS, runtime.GOARCH) } @@ -126,13 +149,16 @@ func MustHaveExec(t *testing.T) { // HasExternalNetwork reports whether the current system can use // external (non-localhost) networks. func HasExternalNetwork() bool { - return !testing.Short() + return !testing.Short() && runtime.GOOS != "nacl" && runtime.GOOS != "js" } // MustHaveExternalNetwork checks that the current system can use // external (non-localhost) networks. // If not, MustHaveExternalNetwork calls t.Skip with an explanation. -func MustHaveExternalNetwork(t *testing.T) { +func MustHaveExternalNetwork(t testing.TB) { + if runtime.GOOS == "nacl" || runtime.GOOS == "js" { + t.Skipf("skipping test: no external network on %s", runtime.GOOS) + } if testing.Short() { t.Skipf("skipping test: no external network in -short mode") } @@ -140,8 +166,13 @@ func MustHaveExternalNetwork(t *testing.T) { var haveCGO bool +// HasCGO reports whether the current system can use cgo. +func HasCGO() bool { + return haveCGO +} + // MustHaveCGO calls t.Skip if cgo is not available. -func MustHaveCGO(t *testing.T) { +func MustHaveCGO(t testing.TB) { if !haveCGO { t.Skipf("skipping test: no cgo") } @@ -155,7 +186,7 @@ func HasSymlink() bool { // MustHaveSymlink reports whether the current system can use os.Symlink. // If not, MustHaveSymlink calls t.Skip with an explanation. -func MustHaveSymlink(t *testing.T) { +func MustHaveSymlink(t testing.TB) { ok, reason := hasSymlink() if !ok { t.Skipf("skipping test: cannot make symlinks on %s/%s%s", runtime.GOOS, runtime.GOARCH, reason) @@ -172,7 +203,7 @@ func HasLink() bool { // MustHaveLink reports whether the current system can use os.Link. // If not, MustHaveLink calls t.Skip with an explanation. -func MustHaveLink(t *testing.T) { +func MustHaveLink(t testing.TB) { if !HasLink() { t.Skipf("skipping test: hardlinks are not supported on %s/%s", runtime.GOOS, runtime.GOARCH) } @@ -180,14 +211,38 @@ func MustHaveLink(t *testing.T) { var flaky = flag.Bool("flaky", false, "run known-flaky tests too") -func SkipFlaky(t *testing.T, issue int) { +func SkipFlaky(t testing.TB, issue int) { + t.Helper() if !*flaky { t.Skipf("skipping known flaky test without the -flaky flag; see golang.org/issue/%d", issue) } } -func SkipFlakyNet(t *testing.T) { +func SkipFlakyNet(t testing.TB) { + t.Helper() if v, _ := strconv.ParseBool(os.Getenv("GO_BUILDER_FLAKY_NET")); v { t.Skip("skipping test on builder known to have frequent network failures") } } + +// CleanCmdEnv will fill cmd.Env with the environment, excluding certain +// variables that could modify the behavior of the Go tools such as +// GODEBUG and GOTRACEBACK. +func CleanCmdEnv(cmd *exec.Cmd) *exec.Cmd { + if cmd.Env != nil { + panic("environment already set") + } + for _, env := range os.Environ() { + // Exclude GODEBUG from the environment to prevent its output + // from breaking tests that are trying to parse other command output. + if strings.HasPrefix(env, "GODEBUG=") { + continue + } + // Exclude GOTRACEBACK for the same reason. + if strings.HasPrefix(env, "GOTRACEBACK=") { + continue + } + cmd.Env = append(cmd.Env, env) + } + return cmd +} diff --git a/testenv/testenv_windows.go b/testenv/testenv_windows.go index e593f647..eb8d6ac1 100644 --- a/testenv/testenv_windows.go +++ b/testenv/testenv_windows.go @@ -30,7 +30,6 @@ func initWinHasSymlink() { winSymlinkErr = err } } - os.Remove("target") } func hasSymlink() (ok bool, reason string) { diff --git a/tls.go b/tls.go index 615d1e55..8fd42943 100644 --- a/tls.go +++ b/tls.go @@ -237,15 +237,14 @@ func X509KeyPair(certPEMBlock, keyPEMBlock []byte) (Certificate, error) { skippedBlockTypes = append(skippedBlockTypes, keyDERBlock.Type) } - var err error - cert.PrivateKey, err = parsePrivateKey(keyDERBlock.Bytes) + // We don't need to parse the public key for TLS, but we so do anyway + // to check that it looks sane and matches the private key. + x509Cert, err := x509.ParseCertificate(cert.Certificate[0]) if err != nil { return fail(err) } - // We don't need to parse the public key for TLS, but we so do anyway - // to check that it looks sane and matches the private key. - x509Cert, err := x509.ParseCertificate(cert.Certificate[0]) + cert.PrivateKey, err = parsePrivateKey(keyDERBlock.Bytes) if err != nil { return fail(err) } diff --git a/tls_test.go b/tls_test.go index 8ad01736..698dcfca 100644 --- a/tls_test.go +++ b/tls_test.go @@ -9,7 +9,7 @@ import ( "crypto/x509" "errors" "fmt" - "github.com/Jigsaw-Code/utls/testenv" + "github.com/refraction-networking/utls/testenv" "io" "io/ioutil" "math" @@ -566,6 +566,58 @@ func TestConnCloseWrite(t *testing.T) { } } +func TestWarningAlertFlood(t *testing.T) { + ln := newLocalListener(t) + defer ln.Close() + + server := func() error { + sconn, err := ln.Accept() + if err != nil { + return fmt.Errorf("accept: %v", err) + } + defer sconn.Close() + + serverConfig := testConfig.Clone() + srv := Server(sconn, serverConfig) + if err := srv.Handshake(); err != nil { + return fmt.Errorf("handshake: %v", err) + } + defer srv.Close() + + _, err = ioutil.ReadAll(srv) + if err == nil { + return errors.New("unexpected lack of error from server") + } + const expected = "too many warn" + if str := err.Error(); !strings.Contains(str, expected) { + return fmt.Errorf("expected error containing %q, but saw: %s", expected, str) + } + + return nil + } + + errChan := make(chan error, 1) + go func() { errChan <- server() }() + + clientConfig := testConfig.Clone() + conn, err := Dial("tcp", ln.Addr().String(), clientConfig) + if err != nil { + t.Fatal(err) + } + defer conn.Close() + if err := conn.Handshake(); err != nil { + t.Fatal(err) + } + + for i := 0; i < maxWarnAlertCount+1; i++ { + conn.sendAlert(alertNoRenegotiation) + } + + if err := <-errChan; err != nil { + t.Fatal(err) + } +} + func TestCloneFuncFields(t *testing.T) { const expectedCount = 5 called := 0 diff --git a/u_common.go b/u_common.go index a2e36450..92f2c1be 100644 --- a/u_common.go +++ b/u_common.go @@ -42,19 +42,13 @@ const ( // newest signatures var ( - fakeRsaPssSha256 = SignatureAndHash{0x08, 0x04} // also declared in common.go as type SignatureScheme, - fakeRsaPssSha384 = SignatureAndHash{0x08, 0x05} // but not used by default and not implemented - fakeRsaPssSha512 = SignatureAndHash{0x08, 0x06} + FakePKCS1WithSHA224 SignatureScheme = 0x0301 + FakeECDSAWithSHA224 SignatureScheme = 0x0303 + // fakeEd25519 = SignatureAndHash{0x08, 0x07} // fakeEd448 = SignatureAndHash{0x08, 0x08} ) -// IDs of hash functions in signatures -const ( - disabledHashSHA512 uint8 = 6 // Supported, but disabled by default. Will be enabled, as needed - fakeHashSHA224 uint8 = 3 // Supported, but we won't enable it: sounds esoteric and fishy -) - type ClientHelloID struct { Browser string Version uint16 @@ -114,12 +108,9 @@ func utlsMacSHA384(version uint16, key []byte) macFunction { return tls10MAC{hmac.New(sha512.New384, key)} } -var utlsSupportedSignatureAlgorithms []signatureAndHash var utlsSupportedCipherSuites []*cipherSuite func init() { - utlsSupportedSignatureAlgorithms = append(supportedSignatureAlgorithms, - []signatureAndHash{{disabledHashSHA512, signatureRSA}, {disabledHashSHA512, signatureECDSA}}...) utlsSupportedCipherSuites = append(cipherSuites, []*cipherSuite{ {OLD_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, 32, 0, 12, ecdheRSAKA, suiteECDHE | suiteTLS12 | suiteDefaultOff, nil, nil, aeadChaCha20Poly1305}, diff --git a/u_conn.go b/u_conn.go index 22667854..e3851ceb 100644 --- a/u_conn.go +++ b/u_conn.go @@ -13,7 +13,6 @@ import ( "io" "net" "strconv" - "sync" "sync/atomic" ) @@ -145,51 +144,30 @@ func (c *UConn) Handshake() error { c.handshakeMutex.Lock() defer c.handshakeMutex.Unlock() - for { - if err := c.handshakeErr; err != nil { - return err - } - if c.handshakeComplete { - return nil - } - if c.handshakeCond == nil { - break - } - - c.handshakeCond.Wait() + if err := c.handshakeErr; err != nil { + return err + } + if c.handshakeComplete { + return nil } - - // Set handshakeCond to indicate that this goroutine is committing to - // running the handshake. - c.handshakeCond = sync.NewCond(&c.handshakeMutex) - c.handshakeMutex.Unlock() c.in.Lock() defer c.in.Unlock() - c.handshakeMutex.Lock() - - // The handshake cannot have completed when handshakeMutex was unlocked - // because this goroutine set handshakeCond. - if c.handshakeErr != nil || c.handshakeComplete { - panic("handshake should not have been able to complete after handshakeCond was set") - } - - if !c.isClient { - panic("Servers should not call ClientHandshakeWithState()") - } - - if !c.HandshakeStateBuilt { - err := c.BuildHandshakeState() - if err != nil { - return err + if c.isClient { + if !c.HandshakeStateBuilt { + err := c.BuildHandshakeState() + if err != nil { + return err + } } - } - - privateState := c.HandshakeState.getPrivatePtr() - c.handshakeErr = c.clientHandshakeWithState(privateState) - c.HandshakeState = *privateState.getPublicPtr() + privateState := c.HandshakeState.getPrivatePtr() + c.handshakeErr = c.clientHandshakeWithState(privateState) + c.HandshakeState = *privateState.getPublicPtr() + } else { + c.handshakeErr = c.serverHandshake() + } if c.handshakeErr == nil { c.handshakes++ } else { @@ -202,10 +180,6 @@ func (c *UConn) Handshake() error { panic("handshake should have had a result.") } - // Wake any other goroutines that are waiting for this handshake to complete. - c.handshakeCond.Broadcast() - c.handshakeCond = nil - return c.handshakeErr } @@ -268,16 +242,18 @@ func (c *UConn) Write(b []byte) (int, error) { } // c.out.Mutex <= L; c.handshakeMutex <= L. -func (c *UConn) clientHandshakeWithState(hs *clientHandshakeState) error { - // This code was copied almost as is from tls/handshake_client.go +func (c *Conn) clientHandshakeWithState(hs *clientHandshakeState) error { if c.config == nil { - c.config = &Config{} + c.config = defaultConfig() } // This may be a renegotiation handshake, in which case some fields // need to be reset. c.didResume = false + // UTLS: don't make new ClientHello, use hs.hello + + // UTLS: preserve the check from makeClientHello [start] if len(c.config.ServerName) == 0 && !c.config.InsecureSkipVerify { return errors.New("tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config") } @@ -290,51 +266,67 @@ func (c *UConn) clientHandshakeWithState(hs *clientHandshakeState) error { nextProtosLength += 1 + l } } + if nextProtosLength > 0xffff { return errors.New("tls: NextProtos values too large") } + // UTLS: preserve the check from makeClientHello [end] + + if c.handshakes > 0 { + hs.hello.secureRenegotiation = c.clientFinished[:] + } var session *ClientSessionState + var cacheKey string sessionCache := c.config.ClientSessionCache - cacheKey := clientSessionCacheKey(c.conn.RemoteAddr(), c.config) - // If sessionCache is set but session itself isn't - try to retrieve session from cache - if sessionCache != nil && hs.session != nil { + if c.config.SessionTicketsDisabled { + sessionCache = nil + } + + if sessionCache != nil { hs.hello.ticketSupported = true - // Session resumption is not allowed if renegotiating because - // renegotiation is primarily used to allow a client to send a client - // certificate, which would be skipped if session resumption occurred. - if c.handshakes == 0 { - // Try to resume a previously negotiated TLS session, if - // available. - candidateSession, ok := sessionCache.Get(cacheKey) - if ok { - // Check that the ciphersuite/version used for the - // previous session are still valid. - cipherSuiteOk := false - for _, id := range hs.hello.cipherSuites { - if id == candidateSession.cipherSuite { - cipherSuiteOk = true - break - } - } + } - versOk := candidateSession.vers >= c.config.minVersion() && - candidateSession.vers <= c.config.maxVersion() - if versOk && cipherSuiteOk { - session = candidateSession - } - if session != nil { - hs.hello.sessionTicket = session.sessionTicket - // A random session ID is used to detect when the - // server accepted the ticket and is resuming a session - // (see RFC 5077). - hs.hello.sessionId = make([]byte, 16) - if _, err := io.ReadFull(c.config.rand(), hs.hello.sessionId); err != nil { - return errors.New("tls: short read from Rand: " + err.Error()) - } + // Session resumption is not allowed if renegotiating because + // renegotiation is primarily used to allow a client to send a client + // certificate, which would be skipped if session resumption occurred. + if sessionCache != nil && c.handshakes == 0 { + // Try to resume a previously negotiated TLS session, if + // available. + cacheKey = clientSessionCacheKey(c.conn.RemoteAddr(), c.config) + candidateSession, ok := sessionCache.Get(cacheKey) + if ok { + // Check that the ciphersuite/version used for the + // previous session are still valid. + cipherSuiteOk := false + for _, id := range hs.hello.cipherSuites { + if id == candidateSession.cipherSuite { + cipherSuiteOk = true + break } - hs.session = session + } + + versOk := candidateSession.vers >= c.config.minVersion() && + candidateSession.vers <= c.config.maxVersion() + if versOk && cipherSuiteOk { + session = candidateSession + } + } + } + + if session != nil { + if hs.hello.sessionTicket == nil { // [UTLS] check + hs.hello.sessionTicket = session.sessionTicket + } + // A random session ID is used to detect when the + // server accepted the ticket and is resuming a session + // (see RFC 5077). + + if hs.hello.sessionId == nil { // [UTLS] check + hs.hello.sessionId = make([]byte, 16) + if _, err := io.ReadFull(c.config.rand(), hs.hello.sessionId); err != nil { + return errors.New("tls: short read from Rand: " + err.Error()) } } } @@ -342,10 +334,13 @@ func (c *UConn) clientHandshakeWithState(hs *clientHandshakeState) error { if err := hs.handshake(); err != nil { return err } - // If we had a successful handshake and hs.session is different from the one already cached - cache a new one - if sessionCache != nil && hs.session != nil && hs.session != session { + + // If we had a successful handshake and hs.session is different from + // the one already cached - cache a new one + if sessionCache != nil && hs.session != nil && session != hs.session { sessionCache.Put(cacheKey, hs.session) } + return nil } diff --git a/u_parrots.go b/u_parrots.go index 38dc297e..1b985ccc 100644 --- a/u_parrots.go +++ b/u_parrots.go @@ -131,18 +131,18 @@ func (uconn *UConn) parrotFirefox_55() error { } alpn := ALPNExtension{AlpnProtocols: []string{"h2", "http/1.1"}} status := StatusRequestExtension{} - sigAndHash := SignatureAlgorithmsExtension{SignatureAndHashes: []SignatureAndHash{ - {hashSHA256, signatureECDSA}, - {hashSHA384, signatureECDSA}, - {disabledHashSHA512, signatureECDSA}, - fakeRsaPssSha256, - fakeRsaPssSha384, - fakeRsaPssSha512, - {hashSHA256, signatureRSA}, - {hashSHA384, signatureRSA}, - {disabledHashSHA512, signatureRSA}, - {hashSHA1, signatureECDSA}, - {hashSHA1, signatureRSA}}, + sigAndHash := SignatureAlgorithmsExtension{SupportedSignatureAlgorithms: []SignatureScheme{ + ECDSAWithP256AndSHA256, + ECDSAWithP384AndSHA384, + ECDSAWithP521AndSHA512, + PSSWithSHA256, + PSSWithSHA384, + PSSWithSHA512, + PKCS1WithSHA256, + PKCS1WithSHA384, + PKCS1WithSHA512, + ECDSAWithSHA1, + PKCS1WithSHA1}, } padding := utlsPaddingExtension{GetPaddingLen: boringPaddingStyle} uconn.Extensions = []TLSExtension{ @@ -160,155 +160,6 @@ func (uconn *UConn) parrotFirefox_55() error { return nil } -func (uconn *UConn) parrotAndroid_6_0() error { - hello := uconn.HandshakeState.Hello - session := uconn.HandshakeState.Session - - hello.CipherSuites = []uint16{ - OLD_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, - OLD_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, - FAKE_OLD_TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256, - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, - FAKE_TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, - FAKE_TLS_DHE_RSA_WITH_AES_256_CBC_SHA, - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, - FAKE_TLS_DHE_RSA_WITH_AES_128_CBC_SHA, - TLS_RSA_WITH_AES_128_GCM_SHA256, - TLS_RSA_WITH_AES_256_CBC_SHA, - TLS_RSA_WITH_AES_128_CBC_SHA, - TLS_RSA_WITH_3DES_EDE_CBC_SHA, - FAKE_TLS_EMPTY_RENEGOTIATION_INFO_SCSV, - } - err := uconn.fillClientHelloHeader() - if err != nil { - return err - } - - sni := SNIExtension{uconn.config.ServerName} - ems := utlsExtendedMasterSecretExtension{} - sessionTicket := SessionTicketExtension{Session: session} - if session != nil { - sessionTicket.Session = session - if len(session.SessionTicket()) > 0 { - sessionId := sha256.Sum256(session.SessionTicket()) - hello.SessionId = sessionId[:] - } - } - sigAndHash := SignatureAlgorithmsExtension{SignatureAndHashes: []SignatureAndHash{ - {disabledHashSHA512, signatureRSA}, - {disabledHashSHA512, signatureECDSA}, - {hashSHA384, signatureRSA}, - {hashSHA384, signatureECDSA}, - {hashSHA256, signatureRSA}, - {hashSHA256, signatureECDSA}, - {fakeHashSHA224, signatureRSA}, - {fakeHashSHA224, signatureECDSA}, - {hashSHA1, signatureRSA}, - {hashSHA1, signatureECDSA}}, - } - status := StatusRequestExtension{} - npn := NPNExtension{} - sct := SCTExtension{} - alpn := ALPNExtension{AlpnProtocols: []string{"http/1.1", "spdy/8.1"}} - points := SupportedPointsExtension{SupportedPoints: []byte{pointFormatUncompressed}} - curves := SupportedCurvesExtension{[]CurveID{CurveP256, CurveP384}} - padding := utlsPaddingExtension{GetPaddingLen: boringPaddingStyle} - - uconn.Extensions = []TLSExtension{ - &sni, - &ems, - &sessionTicket, - &sigAndHash, - &status, - &npn, - &sct, - &alpn, - &points, - &curves, - &padding, - } - return nil -} -func (uconn *UConn) parrotAndroid_5_1() error { - hello := uconn.HandshakeState.Hello - session := uconn.HandshakeState.Session - - hello.CipherSuites = []uint16{ - OLD_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, - OLD_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, - FAKE_OLD_TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256, - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, - FAKE_TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, - FAKE_TLS_DHE_RSA_WITH_AES_256_CBC_SHA, - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, - FAKE_TLS_DHE_RSA_WITH_AES_128_CBC_SHA, - TLS_ECDHE_RSA_WITH_RC4_128_SHA, - TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, - TLS_RSA_WITH_AES_128_GCM_SHA256, - TLS_RSA_WITH_AES_256_CBC_SHA, - TLS_RSA_WITH_AES_128_CBC_SHA, - TLS_RSA_WITH_RC4_128_SHA, - FAKE_TLS_RSA_WITH_RC4_128_MD5, - TLS_RSA_WITH_3DES_EDE_CBC_SHA, - FAKE_TLS_EMPTY_RENEGOTIATION_INFO_SCSV, - } - err := uconn.fillClientHelloHeader() - if err != nil { - return err - } - - sni := SNIExtension{uconn.config.ServerName} - sessionTicket := SessionTicketExtension{Session: session} - if session != nil { - sessionTicket.Session = session - if len(session.SessionTicket()) > 0 { - sessionId := sha256.Sum256(session.SessionTicket()) - hello.SessionId = sessionId[:] - } - } - sigAndHash := SignatureAlgorithmsExtension{SignatureAndHashes: []SignatureAndHash{ - {disabledHashSHA512, signatureRSA}, - {disabledHashSHA512, signatureECDSA}, - {hashSHA384, signatureRSA}, - {hashSHA384, signatureECDSA}, - {hashSHA256, signatureRSA}, - {hashSHA256, signatureECDSA}, - {fakeHashSHA224, signatureRSA}, - {fakeHashSHA224, signatureECDSA}, - {hashSHA1, signatureRSA}, - {hashSHA1, signatureECDSA}}, - } - status := StatusRequestExtension{} - npn := NPNExtension{} - sct := SCTExtension{} - alpn := ALPNExtension{AlpnProtocols: []string{"http/1.1", "spdy/3", "spdy/3.1"}} - points := SupportedPointsExtension{SupportedPoints: []byte{pointFormatUncompressed}} - curves := SupportedCurvesExtension{[]CurveID{CurveP256, CurveP384, CurveP521}} - padding := utlsPaddingExtension{GetPaddingLen: boringPaddingStyle} - - uconn.Extensions = []TLSExtension{ - &sni, - &sessionTicket, - &sigAndHash, - &status, - &npn, - &sct, - &alpn, - &points, - &curves, - &padding, - } - return nil -} - func (uconn *UConn) parrotChrome_58() error { hello := uconn.HandshakeState.Hello session := uconn.HandshakeState.Session @@ -353,16 +204,17 @@ func (uconn *UConn) parrotChrome_58() error { hello.SessionId = sessionId[:] } } - sigAndHash := SignatureAlgorithmsExtension{SignatureAndHashes: []SignatureAndHash{ - {hashSHA256, signatureECDSA}, - fakeRsaPssSha256, - {hashSHA256, signatureRSA}, - {hashSHA384, signatureECDSA}, - fakeRsaPssSha384, - {hashSHA384, signatureRSA}, - fakeRsaPssSha512, - {disabledHashSHA512, signatureRSA}, - {hashSHA1, signatureRSA}}, + + sigAndHash := SignatureAlgorithmsExtension{SupportedSignatureAlgorithms: []SignatureScheme{ + ECDSAWithP256AndSHA256, + PSSWithSHA256, + PKCS1WithSHA256, + ECDSAWithP384AndSHA384, + PSSWithSHA384, + PKCS1WithSHA384, + PSSWithSHA512, + PKCS1WithSHA512, + PKCS1WithSHA1}, } status := StatusRequestExtension{} sct := SCTExtension{} @@ -429,27 +281,38 @@ func (uconn *UConn) parrotRandomizedNoALPN() error { hello.SessionId = sessionId[:] } } - sigAndHashAlgos := []SignatureAndHash{ - {hashSHA256, signatureECDSA}, - {hashSHA256, signatureRSA}, - {hashSHA384, signatureECDSA}, - {hashSHA384, signatureRSA}, - {hashSHA1, signatureRSA}, + sigAndHashAlgos := []SignatureScheme{ + ECDSAWithP256AndSHA256, + PKCS1WithSHA256, + ECDSAWithP384AndSHA384, + PKCS1WithSHA384, + PKCS1WithSHA1, + } + + if tossBiasedCoin(0.5) { + sigAndHashAlgos = append(sigAndHashAlgos, ECDSAWithSHA1) + } + if tossBiasedCoin(0.5) { + sigAndHashAlgos = append(sigAndHashAlgos, ECDSAWithP521AndSHA512) } if tossBiasedCoin(0.5) { - sigAndHashAlgos = append(sigAndHashAlgos, SignatureAndHash{disabledHashSHA512, signatureECDSA}) + sigAndHashAlgos = append(sigAndHashAlgos, PKCS1WithSHA512) } if tossBiasedCoin(0.5) { - sigAndHashAlgos = append(sigAndHashAlgos, SignatureAndHash{disabledHashSHA512, signatureRSA}) + sigAndHashAlgos = append(sigAndHashAlgos, PSSWithSHA256) } if tossBiasedCoin(0.5) { - sigAndHashAlgos = append(sigAndHashAlgos, SignatureAndHash{hashSHA1, signatureECDSA}) + sigAndHashAlgos = append(sigAndHashAlgos, PSSWithSHA384) } + if tossBiasedCoin(0.5) { + sigAndHashAlgos = append(sigAndHashAlgos, PSSWithSHA512) + } + err = shuffleSignatures(sigAndHashAlgos) if err != nil { return err } - sigAndHash := SignatureAlgorithmsExtension{SignatureAndHashes: sigAndHashAlgos} + sigAndHash := SignatureAlgorithmsExtension{SupportedSignatureAlgorithms: sigAndHashAlgos} status := StatusRequestExtension{} sct := SCTExtension{} @@ -620,7 +483,7 @@ func shuffleTLSExtensions(s []TLSExtension) error { } // so much for generics -func shuffleSignatures(s []SignatureAndHash) error { +func shuffleSignatures(s []SignatureScheme) error { // shuffles array in place perm, err := getRandPerm(len(s)) if err != nil { diff --git a/u_public.go b/u_public.go index 97b13d26..e2ae90a0 100644 --- a/u_public.go +++ b/u_public.go @@ -138,7 +138,7 @@ type ClientHelloMsg struct { SupportedPoints []uint8 TicketSupported bool SessionTicket []uint8 - SignatureAndHashes []SignatureAndHash + SupportedSignatureAlgorithms []SignatureScheme SecureRenegotiation []byte SecureRenegotiationSupported bool AlpnProtocols []string @@ -164,7 +164,7 @@ func (chm *ClientHelloMsg) getPrivatePtr() *clientHelloMsg { supportedPoints: chm.SupportedPoints, ticketSupported: chm.TicketSupported, sessionTicket: chm.SessionTicket, - signatureAndHashes: sigAndHashGetMakePrivate(chm.SignatureAndHashes), + supportedSignatureAlgorithms: chm.SupportedSignatureAlgorithms, secureRenegotiation: chm.SecureRenegotiation, secureRenegotiationSupported: chm.SecureRenegotiationSupported, alpnProtocols: chm.AlpnProtocols, @@ -192,7 +192,7 @@ func (chm *clientHelloMsg) getPublicPtr() *ClientHelloMsg { SupportedPoints: chm.supportedPoints, TicketSupported: chm.ticketSupported, SessionTicket: chm.sessionTicket, - SignatureAndHashes: sigAndHashMakePublic(chm.signatureAndHashes), + SupportedSignatureAlgorithms: chm.supportedSignatureAlgorithms, SecureRenegotiation: chm.secureRenegotiation, SecureRenegotiationSupported: chm.secureRenegotiationSupported, AlpnProtocols: chm.alpnProtocols, @@ -200,30 +200,6 @@ func (chm *clientHelloMsg) getPublicPtr() *ClientHelloMsg { } } -// SignatureAndHash mirrors the TLS 1.2, SignatureAndHashAlgorithm struct. See -// RFC 5246, section A.4.1. -type SignatureAndHash struct { - Hash, Signature uint8 -} - -func sigAndHashGetMakePrivate(sahSlice []SignatureAndHash) []signatureAndHash { - res := []signatureAndHash{} - for _, sah := range sahSlice { - res = append(res, signatureAndHash{hash: sah.Hash, - signature: sah.Signature}) - } - return res -} - -func sigAndHashMakePublic(sahSlice []signatureAndHash) []SignatureAndHash { - res := []SignatureAndHash{} - for _, sah := range sahSlice { - res = append(res, SignatureAndHash{Hash: sah.hash, - Signature: sah.signature}) - } - return res -} - // A CipherSuite is a specific combination of key agreement, cipher and MAC // function. All cipher suites currently assume RSA key agreement. type CipherSuite struct { diff --git a/u_tls_extensions.go b/u_tls_extensions.go index 66791ae7..0826f18c 100644 --- a/u_tls_extensions.go +++ b/u_tls_extensions.go @@ -162,16 +162,16 @@ func (e *SupportedPointsExtension) Read(b []byte) (int, error) { } type SignatureAlgorithmsExtension struct { - SignatureAndHashes []SignatureAndHash + SupportedSignatureAlgorithms []SignatureScheme } func (e *SignatureAlgorithmsExtension) writeToUConn(uc *UConn) error { - uc.HandshakeState.Hello.SignatureAndHashes = e.SignatureAndHashes + uc.HandshakeState.Hello.SupportedSignatureAlgorithms = e.SupportedSignatureAlgorithms return nil } func (e *SignatureAlgorithmsExtension) Len() int { - return 6 + 2*len(e.SignatureAndHashes) + return 6 + 2*len(e.SupportedSignatureAlgorithms) } func (e *SignatureAlgorithmsExtension) Read(b []byte) (int, error) { @@ -181,13 +181,13 @@ func (e *SignatureAlgorithmsExtension) Read(b []byte) (int, error) { // https://tools.ietf.org/html/rfc5246#section-7.4.1.4.1 b[0] = byte(extensionSignatureAlgorithms >> 8) b[1] = byte(extensionSignatureAlgorithms) - b[2] = byte((2 + 2*len(e.SignatureAndHashes)) >> 8) - b[3] = byte((2 + 2*len(e.SignatureAndHashes))) - b[4] = byte((2 * len(e.SignatureAndHashes)) >> 8) - b[5] = byte((2 * len(e.SignatureAndHashes))) - for i, sigAndHash := range e.SignatureAndHashes { - b[6+2*i] = byte(sigAndHash.Hash) - b[7+2*i] = byte(sigAndHash.Signature) + b[2] = byte((2 + 2*len(e.SupportedSignatureAlgorithms)) >> 8) + b[3] = byte((2 + 2*len(e.SupportedSignatureAlgorithms))) + b[4] = byte((2 * len(e.SupportedSignatureAlgorithms)) >> 8) + b[5] = byte((2 * len(e.SupportedSignatureAlgorithms))) + for i, sigAndHash := range e.SupportedSignatureAlgorithms { + b[6+2*i] = byte(sigAndHash >> 8) + b[7+2*i] = byte(sigAndHash) } return e.Len(), io.EOF }