crypto/tls.keyShare.data (field)
11 uses
crypto/tls (current package)
common.go#L129: data []byte
handshake_client.go#L131: hello.keyShares = []keyShare{{group: curveID, data: params.PublicKey()}}
handshake_client_tls13.go#L233: hs.hello.keyShares = []keyShare{{group: curveID, data: params.PublicKey()}}
handshake_client_tls13.go#L345: sharedKey := hs.ecdheParams.SharedKey(hs.serverHello.serverShare.data)
handshake_messages.go#L249: b.AddBytes(ks.data)
handshake_messages.go#L535: !readUint16LengthPrefixed(&clientShares, &ks.data) ||
handshake_messages.go#L536: len(ks.data) == 0 {
handshake_messages.go#L686: b.AddBytes(m.serverShare.data)
handshake_messages.go#L814: !readUint16LengthPrefixed(&extData, &m.serverShare.data) {
handshake_server_tls13.go#L228: hs.hello.serverShare = keyShare{group: selectedGroup, data: params.PublicKey()}
handshake_server_tls13.go#L229: hs.sharedKey = params.SharedKey(clientKeyShare.data)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |