Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_client_write.c349 size_t csecret_len, dh_yc_len, shared_len; in tlsv1_key_x_dh() local
381 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_dh()
382 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_dh()
394 dh_yc, &dh_yc_len)) { in tlsv1_key_x_dh()
403 dh_yc, dh_yc_len); in tlsv1_key_x_dh()
412 WPA_PUT_BE16(*pos, dh_yc_len); in tlsv1_key_x_dh()
414 if (dh_yc_len > (size_t) (end - *pos)) { in tlsv1_key_x_dh()
423 os_memcpy(*pos, dh_yc, dh_yc_len); in tlsv1_key_x_dh()
424 *pos += dh_yc_len; in tlsv1_key_x_dh()
Dtlsv1_server_read.c677 u16 dh_yc_len; in tls_process_client_key_exchange_dh() local
712 dh_yc_len = WPA_GET_BE16(pos); in tls_process_client_key_exchange_dh()
715 if (dh_yc_len > end - dh_yc) { in tls_process_client_key_exchange_dh()
717 dh_yc_len); in tls_process_client_key_exchange_dh()
724 dh_yc, dh_yc_len); in tls_process_client_key_exchange_dh()
747 if (crypto_mod_exp(dh_yc, dh_yc_len, conn->dh_secret, in tls_process_client_key_exchange_dh()