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.c502 int shared_len; in pass1d() local
524 shared_len = 0; in pass1d()
558 for (i = 0; i < shared_len; i++) in pass1d()
561 if (i == shared_len) { in pass1d()
562 shared[shared_len++] = r->inode; in pass1d()
574 pctx.num = meta_data ? shared_len+1 : shared_len; in pass1d()
582 for (i = 0; i < shared_len; i++) { in pass1d()
599 if (file_ok && (meta_data ? shared_len+1 : shared_len) != 0) { in pass1d()
/external/wpa_supplicant_8/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()