Searched refs:dh_yc_len (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_write.c | 212 size_t csecret_len, dh_yc_len, shared_len; in tlsv1_key_x_anon_dh() local 244 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_anon_dh() 245 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_anon_dh() 257 dh_yc, &dh_yc_len)) { in tlsv1_key_x_anon_dh() 266 dh_yc, dh_yc_len); in tlsv1_key_x_anon_dh() 268 WPA_PUT_BE16(*pos, dh_yc_len); in tlsv1_key_x_anon_dh() 270 if (*pos + dh_yc_len > end) { in tlsv1_key_x_anon_dh() 279 os_memcpy(*pos, dh_yc, dh_yc_len); in tlsv1_key_x_anon_dh() 280 *pos += dh_yc_len; in tlsv1_key_x_anon_dh()
|
D | tlsv1_server_read.c | 589 u16 dh_yc_len; in tls_process_client_key_exchange_dh_anon() local 622 dh_yc_len = WPA_GET_BE16(pos); in tls_process_client_key_exchange_dh_anon() 625 if (dh_yc + dh_yc_len > end) { in tls_process_client_key_exchange_dh_anon() 627 "(length %d)", dh_yc_len); in tls_process_client_key_exchange_dh_anon() 634 dh_yc, dh_yc_len); in tls_process_client_key_exchange_dh_anon() 655 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/ |
D | tlsv1_client_write.c | 215 size_t csecret_len, dh_yc_len, shared_len; in tlsv1_key_x_anon_dh() local 247 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_anon_dh() 248 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_anon_dh() 260 dh_yc, &dh_yc_len)) { in tlsv1_key_x_anon_dh() 269 dh_yc, dh_yc_len); in tlsv1_key_x_anon_dh() 271 WPA_PUT_BE16(*pos, dh_yc_len); in tlsv1_key_x_anon_dh() 273 if (*pos + dh_yc_len > end) { in tlsv1_key_x_anon_dh() 282 os_memcpy(*pos, dh_yc, dh_yc_len); in tlsv1_key_x_anon_dh() 283 *pos += dh_yc_len; in tlsv1_key_x_anon_dh()
|
D | tlsv1_server_read.c | 572 u16 dh_yc_len; in tls_process_client_key_exchange_dh_anon() local 605 dh_yc_len = WPA_GET_BE16(pos); in tls_process_client_key_exchange_dh_anon() 608 if (dh_yc + dh_yc_len > end) { in tls_process_client_key_exchange_dh_anon() 610 "(length %d)", dh_yc_len); 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()
|