Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_client_write.c351 u8 *csecret, *csecret_start, *dh_yc, *shared; in tlsv1_key_x_dh() local
385 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_dh()
386 if (dh_yc == NULL) { in tlsv1_key_x_dh()
397 dh_yc, &dh_yc_len)) { in tlsv1_key_x_dh()
401 os_free(dh_yc); in tlsv1_key_x_dh()
406 dh_yc, dh_yc_len); in tlsv1_key_x_dh()
412 os_free(dh_yc); in tlsv1_key_x_dh()
423 os_free(dh_yc); in tlsv1_key_x_dh()
426 os_memcpy(*pos, dh_yc, dh_yc_len); in tlsv1_key_x_dh()
428 os_free(dh_yc); in tlsv1_key_x_dh()
Dtlsv1_server_read.c704 const u8 *dh_yc; in tls_process_client_key_exchange_dh() local
741 dh_yc = pos + 2; in tls_process_client_key_exchange_dh()
743 if (dh_yc_len > end - dh_yc) { in tls_process_client_key_exchange_dh()
752 dh_yc, dh_yc_len); in tls_process_client_key_exchange_dh()
775 if (crypto_mod_exp(dh_yc, dh_yc_len, conn->dh_secret, in tls_process_client_key_exchange_dh()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_client_write.c339 u8 *csecret, *csecret_start, *dh_yc, *shared; in tlsv1_key_x_dh() local
373 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_dh()
374 if (dh_yc == NULL) { in tlsv1_key_x_dh()
385 dh_yc, &dh_yc_len)) { in tlsv1_key_x_dh()
389 os_free(dh_yc); in tlsv1_key_x_dh()
394 dh_yc, dh_yc_len); in tlsv1_key_x_dh()
400 os_free(dh_yc); in tlsv1_key_x_dh()
411 os_free(dh_yc); in tlsv1_key_x_dh()
414 os_memcpy(*pos, dh_yc, dh_yc_len); in tlsv1_key_x_dh()
416 os_free(dh_yc); in tlsv1_key_x_dh()
Dtlsv1_server_read.c704 const u8 *dh_yc; in tls_process_client_key_exchange_dh() local
741 dh_yc = pos + 2; in tls_process_client_key_exchange_dh()
743 if (dh_yc_len > end - dh_yc) { in tls_process_client_key_exchange_dh()
752 dh_yc, dh_yc_len); in tls_process_client_key_exchange_dh()
775 if (crypto_mod_exp(dh_yc, dh_yc_len, conn->dh_secret, in tls_process_client_key_exchange_dh()