Searched refs:shared_len (Results 1 – 6 of 6) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | dh_groups.c | 1242 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/ |
D | dh_groups.c | 1242 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/ |
D | tlsv1_client_write.c | 340 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()
|
D | tlsv1_server_read.c | 707 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/ |
D | tlsv1_client_write.c | 352 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()
|
D | tlsv1_server_read.c | 707 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()
|