Searched refs:premaster_secret (Results 1 – 1 of 1) sorted by relevance
1191 Array<uint8_t> premaster_secret; in do_read_client_key_exchange() local1232 if (!premaster_secret.Init(SSL_MAX_MASTER_KEY_LENGTH) || in do_read_client_key_exchange()1233 !RAND_bytes(premaster_secret.data(), premaster_secret.size())) { in do_read_client_key_exchange()1239 if (decrypt_len < 11 + premaster_secret.size()) { in do_read_client_key_exchange()1246 size_t padding_len = decrypt_len - premaster_secret.size(); in do_read_client_key_exchange()1263 for (size_t i = 0; i < premaster_secret.size(); i++) { in do_read_client_key_exchange()1264 premaster_secret[i] = constant_time_select_8( in do_read_client_key_exchange()1265 good, decrypt_buf[padding_len + i], premaster_secret[i]); in do_read_client_key_exchange()1279 if (!hs->key_shares[0]->Finish(&premaster_secret, &alert, peer_key)) { in do_read_client_key_exchange()1320 if (!premaster_secret.Init(psk_len)) { in do_read_client_key_exchange()[all …]