Home
last modified time | relevance | path

Searched refs:to_process (Results 1 – 10 of 10) sorted by relevance

/drivers/crypto/nx/
Dnx-aes-gcm.c109 unsigned int processed = 0, to_process; in nx_gca() local
132 to_process = min_t(u64, nbytes - processed, in nx_gca()
134 to_process = min_t(u64, to_process, in nx_gca()
138 req->src, processed, &to_process); in nx_gca()
140 if ((to_process + processed) < nbytes) in nx_gca()
161 processed += to_process; in nx_gca()
177 unsigned int processed = 0, to_process; in gmac() local
199 to_process = min_t(u64, nbytes - processed, in gmac()
201 to_process = min_t(u64, to_process, in gmac()
205 req->src, processed, &to_process); in gmac()
[all …]
Dnx-sha512.c63 u64 to_process, leftover = 0, total; in nx_sha512_update() local
126 to_process = min_t(u64, total, in nx_sha512_update()
128 to_process = to_process & ~(SHA512_BLOCK_SIZE - 1); in nx_sha512_update()
130 data_len = to_process - buf_len; in nx_sha512_update()
136 if (data_len != (to_process - buf_len)) { in nx_sha512_update()
141 to_process = data_len + buf_len; in nx_sha512_update()
142 leftover = total - to_process; in nx_sha512_update()
163 total -= to_process; in nx_sha512_update()
164 data += to_process - buf_len; in nx_sha512_update()
Dnx-aes-ccm.c271 unsigned int processed = 0, to_process; in generate_pat() local
282 to_process = min_t(u32, assoclen - processed, in generate_pat()
288 &to_process); in generate_pat()
290 if ((to_process + processed) < assoclen) { in generate_pat()
318 processed += to_process; in generate_pat()
339 unsigned int processed = 0, to_process; in ccm_nx_decrypt() local
361 to_process = nbytes - processed; in ccm_nx_decrypt()
363 if ((to_process + processed) < nbytes) in ccm_nx_decrypt()
371 &to_process, processed + req->assoclen, in ccm_nx_decrypt()
397 processed += to_process; in ccm_nx_decrypt()
[all …]
Dnx-aes-xcbc.c174 u32 to_process = 0, leftover, total; in nx_xcbc_update() local
213 to_process = total - to_process; in nx_xcbc_update()
214 to_process = to_process & ~(AES_BLOCK_SIZE - 1); in nx_xcbc_update()
216 leftover = total - to_process; in nx_xcbc_update()
224 to_process -= AES_BLOCK_SIZE; in nx_xcbc_update()
240 data_len = to_process - sctx->count; in nx_xcbc_update()
246 if (data_len != to_process - sctx->count) { in nx_xcbc_update()
277 total -= to_process; in nx_xcbc_update()
278 data += to_process - sctx->count; in nx_xcbc_update()
Dnx-sha256.c63 u64 to_process = 0, leftover, total; in nx_sha256_update() local
127 to_process = min_t(u64, total, in nx_sha256_update()
129 to_process = to_process & ~(SHA256_BLOCK_SIZE - 1); in nx_sha256_update()
131 data_len = to_process - buf_len; in nx_sha256_update()
137 to_process = data_len + buf_len; in nx_sha256_update()
138 leftover = total - to_process; in nx_sha256_update()
159 total -= to_process; in nx_sha256_update()
160 data += to_process - buf_len; in nx_sha256_update()
Dnx-aes-ecb.c60 unsigned int processed = 0, to_process; in ecb_aes_nx_crypt() local
71 to_process = req->cryptlen - processed; in ecb_aes_nx_crypt()
74 &to_process, processed, NULL); in ecb_aes_nx_crypt()
92 processed += to_process; in ecb_aes_nx_crypt()
Dnx-aes-cbc.c60 unsigned int processed = 0, to_process; in cbc_aes_nx_crypt() local
71 to_process = req->cryptlen - processed; in cbc_aes_nx_crypt()
74 &to_process, processed, in cbc_aes_nx_crypt()
94 processed += to_process; in cbc_aes_nx_crypt()
Dnx-aes-ctr.c78 unsigned int processed = 0, to_process; in ctr_aes_nx_crypt() local
84 to_process = req->cryptlen - processed; in ctr_aes_nx_crypt()
87 &to_process, processed, in ctr_aes_nx_crypt()
108 processed += to_process; in ctr_aes_nx_crypt()
/drivers/usb/gadget/function/
Df_ncm.c1197 int to_process = skb->len; in ncm_unwrap_ntb() local
1351 to_process -= block_len; in ncm_unwrap_ntb()
1357 if (to_process == 1 && in ncm_unwrap_ntb()
1359 to_process--; in ncm_unwrap_ntb()
1360 } else if (to_process > 0) { in ncm_unwrap_ntb()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c745 unsigned int processed = 0, to_process; in bcm_sysport_desc_rx() local
766 to_process = (p_index - priv->rx_c_index) & RDMA_CONS_INDEX_MASK; in bcm_sysport_desc_rx()
770 p_index, priv->rx_c_index, to_process); in bcm_sysport_desc_rx()
772 while ((processed < to_process) && (processed < budget)) { in bcm_sysport_desc_rx()