Searched refs:dh_yc_len (Results 1 – 2 of 2) 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_dh() local 244 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_dh() 245 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_dh() 257 dh_yc, &dh_yc_len)) { in tlsv1_key_x_dh() 266 dh_yc, dh_yc_len); in tlsv1_key_x_dh() 268 WPA_PUT_BE16(*pos, dh_yc_len); in tlsv1_key_x_dh() 270 if (*pos + dh_yc_len > end) { in tlsv1_key_x_dh() 279 os_memcpy(*pos, dh_yc, dh_yc_len); in tlsv1_key_x_dh() 280 *pos += dh_yc_len; in tlsv1_key_x_dh()
|
D | tlsv1_server_read.c | 591 u16 dh_yc_len; in tls_process_client_key_exchange_dh() local 626 dh_yc_len = WPA_GET_BE16(pos); in tls_process_client_key_exchange_dh() 629 if (dh_yc_len > end - dh_yc) { in tls_process_client_key_exchange_dh() 631 dh_yc_len); in tls_process_client_key_exchange_dh() 638 dh_yc, dh_yc_len); in tls_process_client_key_exchange_dh() 661 if (crypto_mod_exp(dh_yc, dh_yc_len, conn->dh_secret, in tls_process_client_key_exchange_dh()
|