Home
last modified time | relevance | path

Searched refs:num_elem (Results 1 – 2 of 2) sorted by relevance

/net/mac80211/
Dfils_aead.c26 size_t num_elem, const u8 *addr[], size_t len[], u8 *v) in aes_s2v() argument
37 for (i = 0; i < num_elem - 1; i++) { in aes_s2v()
68 size_t num_elem, const u8 *addr[], in aes_siv_encrypt() argument
81 addr[num_elem] = plain; in aes_siv_encrypt()
82 len[num_elem] = plain_len; in aes_siv_encrypt()
83 num_elem++; in aes_siv_encrypt()
93 res = aes_s2v(tfm, num_elem, addr, len, v); in aes_siv_encrypt()
146 size_t num_elem, const u8 *addr[], size_t len[], in aes_siv_decrypt() argument
160 addr[num_elem] = out; in aes_siv_decrypt()
161 len[num_elem] = crypt_len; in aes_siv_decrypt()
[all …]
/net/tls/
Dtls_sw.c1361 int rc = 0, i = 0, num_elem = *pages_used, maxpages; in tls_setup_from_iter() local
1369 maxpages = to_max_pages - num_elem; in tls_setup_from_iter()
1389 sg_set_page(&to[num_elem], in tls_setup_from_iter()
1391 sg_unmark_end(&to[num_elem]); in tls_setup_from_iter()
1398 num_elem++; in tls_setup_from_iter()
1402 if (num_elem > *pages_used) in tls_setup_from_iter()
1403 sg_mark_end(&to[num_elem - 1]); in tls_setup_from_iter()
1407 *pages_used = num_elem; in tls_setup_from_iter()