Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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()
/external/e2fsprogs/e2fsck/
Dpass1b.c503 int shared_len; in pass1d() local
525 shared_len = 0; in pass1d()
559 for (i = 0; i < shared_len; i++) in pass1d()
562 if (i == shared_len) { in pass1d()
563 shared[shared_len++] = r->inode; in pass1d()
575 pctx.num = meta_data ? shared_len+1 : shared_len; in pass1d()
583 for (i = 0; i < shared_len; i++) { in pass1d()
600 if (file_ok && (meta_data ? shared_len+1 : shared_len) != 0) { in pass1d()
/external/wpa_supplicant_8/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()