crypto/tls.serverHelloMsg.random (field)
20 uses
crypto/tls (current package)
handshake_client.go#L190: tls12Downgrade := string(serverHello.random[24:]) == downgradeCanaryTLS12
handshake_client.go#L191: tls11Downgrade := string(serverHello.random[24:]) == downgradeCanaryTLS11
handshake_client.go#L442: c.ekm = ekmFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.hello.random, hs.serverHello.random)
handshake_client.go#L634: hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.hello.random, hs.serverHello.random)
handshake_client.go#L649: keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.hello.random, hs.serverHello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen)
handshake_client_tls13.go#L61: if bytes.Equal(hs.serverHello.random, helloRetryRequestRandom) {
handshake_client_tls13.go#L288: if bytes.Equal(hs.serverHello.random, helloRetryRequestRandom) {
handshake_messages.go#L595: random []byte
handshake_messages.go#L625: addBytesWithLength(b, m.random, 32)
handshake_messages.go#L737: !s.ReadUint16(&m.vers) || !s.ReadBytes(&m.random, 32) ||
handshake_server.go#L120: c.ekm = ekmFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random)
handshake_server.go#L187: hs.hello.random = make([]byte, 32)
handshake_server.go#L188: serverRandom := hs.hello.random
handshake_server.go#L596: hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.clientHello.random, hs.hello.random)
handshake_server.go#L656: keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen)
handshake_server_tls13.go#L125: hs.hello.random = make([]byte, 32)
handshake_server_tls13.go#L126: if _, err := io.ReadFull(c.config.rand(), hs.hello.random); err != nil {
handshake_server_tls13.go#L423: random: helloRetryRequestRandom,
key_agreement.go#L203: signed := hashForServerKeyExchange(sigType, sigHash, ka.version, clientHello.random, hello.random, serverECDHEParams)
key_agreement.go#L321: signed := hashForServerKeyExchange(sigType, sigHash, ka.version, clientHello.random, serverHello.random, serverECDHEParams)
 |
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. |