Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_client_write.c352 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()
Dtlsv1_server_read.c705 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_client_write.c340 size_t csecret_len, dh_yc_len, shared_len; in tlsv1_key_x_dh() local
372 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_dh()
373 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_dh()
385 dh_yc, &dh_yc_len)) { in tlsv1_key_x_dh()
394 dh_yc, dh_yc_len); in tlsv1_key_x_dh()
403 WPA_PUT_BE16(*pos, dh_yc_len); in tlsv1_key_x_dh()
405 if (dh_yc_len > (size_t) (end - *pos)) { in tlsv1_key_x_dh()
414 os_memcpy(*pos, dh_yc, dh_yc_len); in tlsv1_key_x_dh()
415 *pos += dh_yc_len; in tlsv1_key_x_dh()
Dtlsv1_server_read.c705 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()