Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Ds3_srvr.c1850 int field_size = 0, ecdh_len; in ssl3_get_client_key_exchange() local
1914 ecdh_len = (field_size + 7) / 8; in ssl3_get_client_key_exchange()
1915 premaster_secret = OPENSSL_malloc(ecdh_len); in ssl3_get_client_key_exchange()
1923 ecdh_len = ECDH_compute_key(premaster_secret, ecdh_len, clnt_ecpoint, in ssl3_get_client_key_exchange()
1925 if (ecdh_len <= 0) { in ssl3_get_client_key_exchange()
1941 premaster_secret_len = ecdh_len; in ssl3_get_client_key_exchange()
Ds3_clnt.c1810 int field_size = 0, ecdh_len; in ssl3_send_client_key_exchange() local
1867 ecdh_len = ECDH_compute_key(pms, pms_len, srvr_ecpoint, clnt_ecdh, NULL); in ssl3_send_client_key_exchange()
1868 if (ecdh_len <= 0) { in ssl3_send_client_key_exchange()
1872 pms_len = ecdh_len; in ssl3_send_client_key_exchange()