Searched refs:preMasterSecret (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/ssl/test/runner/ |
D | key_agreement.go | 100 preMasterSecret := make([]byte, 48) 101 _, err := io.ReadFull(config.rand(), preMasterSecret[2:]) 123 err = rsa.DecryptPKCS1v15SessionKey(config.rand(), key, ciphertext, preMasterSecret) 130 vers := uint16(preMasterSecret[0])<<8 | uint16(preMasterSecret[1]) 134 return preMasterSecret, nil 176 preMasterSecret := make([]byte, 48) 183 preMasterSecret[0] = byte(vers >> 8) 184 preMasterSecret[1] = byte(vers) 185 _, err := io.ReadFull(config.rand(), preMasterSecret[2:]) 190 sentPreMasterSecret := preMasterSecret [all …]
|
D | prf.go | 140 func masterFromPreMasterSecret(version uint16, suite *cipherSuite, preMasterSecret, clientRandom, s… argument 145 prfForVersion(version, suite)(masterSecret, preMasterSecret, masterSecretLabel, seed[0:]) 152 func extendedMasterFromPreMasterSecret(version uint16, suite *cipherSuite, preMasterSecret []byte, … 154 prfForVersion(version, suite)(masterSecret, preMasterSecret, extendedMasterSecretLabel, h.Sum())
|
D | handshake_client.go | 1308 preMasterSecret, ckx, err := keyAgreement.generateClientKeyExchange(c.config, hs.hello, leaf) 1321 …hs.masterSecret = extendedMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.finished… 1327 …hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.hello.random, hs…
|
D | handshake_server.go | 1764 preMasterSecret, err := keyAgreement.processClientKeyExchange(config, hs.cert, ckx, c.vers) 1770 …hs.masterSecret = extendedMasterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.finished… 1775 …hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret, hs.clientHello.rand…
|