Home
last modified time | relevance | path

Searched refs:shared_len (Results 1 – 6 of 6) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Ddh_groups.c1242 size_t shared_len; in dh_derive_shared() local
1247 shared_len = dh->prime_len; in dh_derive_shared()
1248 shared = wpabuf_alloc(shared_len); in dh_derive_shared()
1257 wpabuf_mhead(shared), &shared_len) < 0) { in dh_derive_shared()
1262 wpabuf_put(shared, shared_len); in dh_derive_shared()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Ddh_groups.c1242 size_t shared_len; in dh_derive_shared() local
1247 shared_len = dh->prime_len; in dh_derive_shared()
1248 shared = wpabuf_alloc(shared_len); in dh_derive_shared()
1257 wpabuf_mhead(shared), &shared_len) < 0) { in dh_derive_shared()
1262 wpabuf_put(shared, shared_len); in dh_derive_shared()
/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
418 shared_len = conn->dh_p_len; in tlsv1_key_x_dh()
419 shared = os_malloc(shared_len); in tlsv1_key_x_dh()
433 shared, &shared_len)) { in tlsv1_key_x_dh()
441 shared, shared_len); in tlsv1_key_x_dh()
445 if (tls_derive_keys(conn, shared, shared_len)) { in tlsv1_key_x_dh()
452 os_memset(shared, 0, shared_len); in tlsv1_key_x_dh()
Dtlsv1_server_read.c707 size_t shared_len; in tls_process_client_key_exchange_dh() local
764 shared_len = dh_p_len; in tls_process_client_key_exchange_dh()
765 shared = os_malloc(shared_len); in tls_process_client_key_exchange_dh()
777 shared, &shared_len)) { in tls_process_client_key_exchange_dh()
784 shared, shared_len); in tls_process_client_key_exchange_dh()
790 res = tlsv1_server_derive_keys(conn, shared, shared_len); in tls_process_client_key_exchange_dh()
793 os_memset(shared, 0, shared_len); in tls_process_client_key_exchange_dh()
/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
430 shared_len = conn->dh_p_len; in tlsv1_key_x_dh()
431 shared = os_malloc(shared_len); in tlsv1_key_x_dh()
445 shared, &shared_len)) { in tlsv1_key_x_dh()
453 shared, shared_len); in tlsv1_key_x_dh()
457 if (tls_derive_keys(conn, shared, shared_len)) { in tlsv1_key_x_dh()
464 os_memset(shared, 0, shared_len); in tlsv1_key_x_dh()
Dtlsv1_server_read.c707 size_t shared_len; in tls_process_client_key_exchange_dh() local
764 shared_len = dh_p_len; in tls_process_client_key_exchange_dh()
765 shared = os_malloc(shared_len); in tls_process_client_key_exchange_dh()
777 shared, &shared_len)) { in tls_process_client_key_exchange_dh()
784 shared, shared_len); in tls_process_client_key_exchange_dh()
790 res = tlsv1_server_derive_keys(conn, shared, shared_len); in tls_process_client_key_exchange_dh()
793 os_memset(shared, 0, shared_len); in tls_process_client_key_exchange_dh()