Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_client_write.c214 u8 *csecret, *csecret_start, *dh_yc, *shared; in tlsv1_key_x_anon_dh() local
248 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_anon_dh()
249 if (dh_yc == NULL) { in tlsv1_key_x_anon_dh()
260 dh_yc, &dh_yc_len)) { in tlsv1_key_x_anon_dh()
264 os_free(dh_yc); in tlsv1_key_x_anon_dh()
269 dh_yc, dh_yc_len); in tlsv1_key_x_anon_dh()
279 os_free(dh_yc); in tlsv1_key_x_anon_dh()
282 os_memcpy(*pos, dh_yc, dh_yc_len); in tlsv1_key_x_anon_dh()
284 os_free(dh_yc); in tlsv1_key_x_anon_dh()
Dtlsv1_server_read.c570 const u8 *dh_yc; in tls_process_client_key_exchange_dh_anon() local
605 dh_yc = pos + 2; in tls_process_client_key_exchange_dh_anon()
607 if (dh_yc + dh_yc_len > end) { in tls_process_client_key_exchange_dh_anon()
616 dh_yc, dh_yc_len); in tls_process_client_key_exchange_dh_anon()
637 if (crypto_mod_exp(dh_yc, dh_yc_len, conn->dh_secret, in tls_process_client_key_exchange_dh_anon()
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dtlsv1_client_write.c214 u8 *csecret, *csecret_start, *dh_yc, *shared; in tlsv1_key_x_anon_dh() local
248 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_anon_dh()
249 if (dh_yc == NULL) { in tlsv1_key_x_anon_dh()
260 dh_yc, &dh_yc_len)) { in tlsv1_key_x_anon_dh()
264 os_free(dh_yc); in tlsv1_key_x_anon_dh()
269 dh_yc, dh_yc_len); in tlsv1_key_x_anon_dh()
279 os_free(dh_yc); in tlsv1_key_x_anon_dh()
282 os_memcpy(*pos, dh_yc, dh_yc_len); in tlsv1_key_x_anon_dh()
284 os_free(dh_yc); in tlsv1_key_x_anon_dh()
Dtlsv1_server_read.c571 const u8 *dh_yc; in tls_process_client_key_exchange_dh_anon() local
606 dh_yc = pos + 2; in tls_process_client_key_exchange_dh_anon()
608 if (dh_yc + dh_yc_len > end) { in tls_process_client_key_exchange_dh_anon()
617 dh_yc, dh_yc_len); in tls_process_client_key_exchange_dh_anon()
638 if (crypto_mod_exp(dh_yc, dh_yc_len, conn->dh_secret, in tls_process_client_key_exchange_dh_anon()
/external/wpa_supplicant/
Dtlsv1_client.c1223 u8 *csecret, *csecret_start, *dh_yc, *shared; in tlsv1_key_x_anon_dh() local
1257 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_anon_dh()
1258 if (dh_yc == NULL) { in tlsv1_key_x_anon_dh()
1269 dh_yc, &dh_yc_len); in tlsv1_key_x_anon_dh()
1272 dh_yc, dh_yc_len); in tlsv1_key_x_anon_dh()
1282 os_free(dh_yc); in tlsv1_key_x_anon_dh()
1285 os_memcpy(*pos, dh_yc, dh_yc_len); in tlsv1_key_x_anon_dh()
1287 os_free(dh_yc); in tlsv1_key_x_anon_dh()