Home
last modified time | relevance | path

Searched refs:dh_p_len (Results 1 – 18 of 18) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_server.c839 size_t *dh_p_len) in tlsv1_server_get_dh_p() argument
842 *dh_p_len = conn->cred->dh_p_len; in tlsv1_server_get_dh_p()
848 *dh_p_len = sizeof(test_tls_prime511b); in tlsv1_server_get_dh_p()
852 *dh_p_len = sizeof(test_tls_prime767b); in tlsv1_server_get_dh_p()
856 *dh_p_len = sizeof(test_tls_prime15); in tlsv1_server_get_dh_p()
860 *dh_p_len = sizeof(test_tls_prime58); in tlsv1_server_get_dh_p()
864 *dh_p_len = sizeof(test_tls_non_prime); in tlsv1_server_get_dh_p()
Dtlsv1_server_write.c378 size_t dh_p_len; in tls_write_server_key_exchange() local
404 tlsv1_server_get_dh_p(conn, &dh_p, &dh_p_len); in tls_write_server_key_exchange()
407 conn->dh_secret_len = dh_p_len; in tls_write_server_key_exchange()
441 dh_ys_len = dh_p_len; in tls_write_server_key_exchange()
452 dh_p, dh_p_len, dh_ys, &dh_ys_len)) { in tls_write_server_key_exchange()
500 if (2 + dh_p_len > (size_t) (end - pos)) { in tls_write_server_key_exchange()
508 WPA_PUT_BE16(pos, dh_p_len); in tls_write_server_key_exchange()
510 os_memcpy(pos, dh_p, dh_p_len); in tls_write_server_key_exchange()
511 pos += dh_p_len; in tls_write_server_key_exchange()
Dtlsv1_cred.h24 size_t dh_p_len; member
Dtlsv1_client_write.c342 csecret_len = conn->dh_p_len; in tlsv1_key_x_dh()
372 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_dh()
384 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_dh()
418 shared_len = conn->dh_p_len; in tlsv1_key_x_dh()
432 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_dh()
Dtlsv1_server_i.h87 size_t *dh_p_len);
Dtlsv1_client_read.c687 conn->dh_p_len = val; in tlsv1_process_diffie_hellman()
688 bits = count_bits(pos, conn->dh_p_len); in tlsv1_process_diffie_hellman()
693 pos, conn->dh_p_len); in tlsv1_process_diffie_hellman()
696 conn->dh_p = os_memdup(pos, conn->dh_p_len); in tlsv1_process_diffie_hellman()
699 pos += conn->dh_p_len; in tlsv1_process_diffie_hellman()
701 conn->dh_p, conn->dh_p_len); in tlsv1_process_diffie_hellman()
Dtlsv1_client_i.h56 size_t dh_p_len; member
Dtlsv1_server_read.c710 size_t dh_p_len; in tls_process_client_key_exchange_dh() local
762 tlsv1_server_get_dh_p(conn, &dh_p, &dh_p_len); in tls_process_client_key_exchange_dh()
764 shared_len = dh_p_len; in tls_process_client_key_exchange_dh()
776 conn->dh_secret_len, dh_p, dh_p_len, in tls_process_client_key_exchange_dh()
Dtlsv1_cred.c1109 cred->dh_p_len = hdr.length; in tlsv1_set_dhparams_der()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_server.c839 size_t *dh_p_len) in tlsv1_server_get_dh_p() argument
842 *dh_p_len = conn->cred->dh_p_len; in tlsv1_server_get_dh_p()
848 *dh_p_len = sizeof(test_tls_prime511b); in tlsv1_server_get_dh_p()
852 *dh_p_len = sizeof(test_tls_prime767b); in tlsv1_server_get_dh_p()
856 *dh_p_len = sizeof(test_tls_prime15); in tlsv1_server_get_dh_p()
860 *dh_p_len = sizeof(test_tls_prime58); in tlsv1_server_get_dh_p()
864 *dh_p_len = sizeof(test_tls_non_prime); in tlsv1_server_get_dh_p()
Dtlsv1_server_write.c378 size_t dh_p_len; in tls_write_server_key_exchange() local
404 tlsv1_server_get_dh_p(conn, &dh_p, &dh_p_len); in tls_write_server_key_exchange()
407 conn->dh_secret_len = dh_p_len; in tls_write_server_key_exchange()
441 dh_ys_len = dh_p_len; in tls_write_server_key_exchange()
452 dh_p, dh_p_len, dh_ys, &dh_ys_len)) { in tls_write_server_key_exchange()
500 if (2 + dh_p_len > (size_t) (end - pos)) { in tls_write_server_key_exchange()
508 WPA_PUT_BE16(pos, dh_p_len); in tls_write_server_key_exchange()
510 os_memcpy(pos, dh_p, dh_p_len); in tls_write_server_key_exchange()
511 pos += dh_p_len; in tls_write_server_key_exchange()
Dtlsv1_cred.h24 size_t dh_p_len; member
Dtlsv1_client_write.c354 csecret_len = conn->dh_p_len; in tlsv1_key_x_dh()
384 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_dh()
396 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_dh()
430 shared_len = conn->dh_p_len; in tlsv1_key_x_dh()
444 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_dh()
Dtlsv1_server_i.h87 size_t *dh_p_len);
Dtlsv1_client_read.c679 conn->dh_p_len = val; in tlsv1_process_diffie_hellman()
680 bits = count_bits(pos, conn->dh_p_len); in tlsv1_process_diffie_hellman()
685 pos, conn->dh_p_len); in tlsv1_process_diffie_hellman()
688 conn->dh_p = os_memdup(pos, conn->dh_p_len); in tlsv1_process_diffie_hellman()
691 pos += conn->dh_p_len; in tlsv1_process_diffie_hellman()
693 conn->dh_p, conn->dh_p_len); in tlsv1_process_diffie_hellman()
Dtlsv1_client_i.h56 size_t dh_p_len; member
Dtlsv1_server_read.c710 size_t dh_p_len; in tls_process_client_key_exchange_dh() local
762 tlsv1_server_get_dh_p(conn, &dh_p, &dh_p_len); in tls_process_client_key_exchange_dh()
764 shared_len = dh_p_len; in tls_process_client_key_exchange_dh()
776 conn->dh_secret_len, dh_p, dh_p_len, in tls_process_client_key_exchange_dh()
Dtlsv1_cred.c1172 cred->dh_p_len = hdr.length; in tlsv1_set_dhparams_der()