Searched refs:dh_yc_len (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_write.c | 352 size_t csecret_len, dh_yc_len, shared_len; in tlsv1_key_x_dh() local 384 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_dh() 385 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_dh() 397 dh_yc, &dh_yc_len)) { in tlsv1_key_x_dh() 406 dh_yc, dh_yc_len); in tlsv1_key_x_dh() 415 WPA_PUT_BE16(*pos, dh_yc_len); in tlsv1_key_x_dh() 417 if (dh_yc_len > (size_t) (end - *pos)) { in tlsv1_key_x_dh() 426 os_memcpy(*pos, dh_yc, dh_yc_len); in tlsv1_key_x_dh() 427 *pos += dh_yc_len; in tlsv1_key_x_dh()
|
D | tlsv1_server_read.c | 705 u16 dh_yc_len; in tls_process_client_key_exchange_dh() local 740 dh_yc_len = WPA_GET_BE16(pos); in tls_process_client_key_exchange_dh() 743 if (dh_yc_len > end - dh_yc) { in tls_process_client_key_exchange_dh() 745 dh_yc_len); 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()
|