Home
last modified time | relevance | path

Searched refs:premaster_secret (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/ssl/
Ds3_srvr.c1461 uint8_t *premaster_secret = NULL; in ssl3_get_client_key_exchange() local
1595 premaster_secret = OPENSSL_malloc(premaster_secret_len); in ssl3_get_client_key_exchange()
1596 if (premaster_secret == NULL) { in ssl3_get_client_key_exchange()
1600 if (!RAND_bytes(premaster_secret, premaster_secret_len)) { in ssl3_get_client_key_exchange()
1632 premaster_secret[i] = constant_time_select_8( in ssl3_get_client_key_exchange()
1633 good, decrypt_buf[padding_len + i], premaster_secret[i]); in ssl3_get_client_key_exchange()
1658 if (!SSL_ECDH_CTX_compute_secret(&ssl->s3->tmp.ecdh_ctx, &premaster_secret, in ssl3_get_client_key_exchange()
1671 premaster_secret = OPENSSL_malloc(premaster_secret_len); in ssl3_get_client_key_exchange()
1672 if (premaster_secret == NULL) { in ssl3_get_client_key_exchange()
1676 memset(premaster_secret, 0, premaster_secret_len); in ssl3_get_client_key_exchange()
[all …]