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-aes-ccm.c268 unsigned int processed = 0, to_process; in generate_pat() local
279 to_process = min_t(u32, assoclen - processed, in generate_pat()
285 &to_process); in generate_pat()
287 if ((to_process + processed) < assoclen) { in generate_pat()
315 processed += to_process; in generate_pat()
336 unsigned int processed = 0, to_process; in ccm_nx_decrypt() local
358 to_process = nbytes - processed; in ccm_nx_decrypt()
360 if ((to_process + processed) < nbytes) in ccm_nx_decrypt()
368 &to_process, processed + req->assoclen, in ccm_nx_decrypt()
394 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-sha512.c68 u64 to_process, leftover = 0, total; in nx_sha512_update() local
131 to_process = min_t(u64, total, in nx_sha512_update()
133 to_process = to_process & ~(SHA512_BLOCK_SIZE - 1); in nx_sha512_update()
135 data_len = to_process - buf_len; in nx_sha512_update()
141 if (data_len != (to_process - buf_len)) { in nx_sha512_update()
146 to_process = data_len + buf_len; in nx_sha512_update()
147 leftover = total - to_process; in nx_sha512_update()
168 total -= to_process; in nx_sha512_update()
169 data += to_process - buf_len; in nx_sha512_update()
Dnx-sha256.c68 u64 to_process = 0, leftover, total; in nx_sha256_update() local
132 to_process = min_t(u64, total, in nx_sha256_update()
134 to_process = to_process & ~(SHA256_BLOCK_SIZE - 1); in nx_sha256_update()
136 data_len = to_process - buf_len; in nx_sha256_update()
142 to_process = data_len + buf_len; in nx_sha256_update()
143 leftover = total - to_process; in nx_sha256_update()
164 total -= to_process; in nx_sha256_update()
165 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.c1188 int to_process = skb->len; in ncm_unwrap_ntb() local
1342 to_process -= block_len; in ncm_unwrap_ntb()
1348 if (to_process == 1 && in ncm_unwrap_ntb()
1350 to_process--; in ncm_unwrap_ntb()
1351 } else if (to_process > 0) { in ncm_unwrap_ntb()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c750 unsigned int processed = 0, to_process; in bcm_sysport_desc_rx() local
771 to_process = (p_index - priv->rx_c_index) & RDMA_CONS_INDEX_MASK; in bcm_sysport_desc_rx()
775 p_index, priv->rx_c_index, to_process); in bcm_sysport_desc_rx()
777 while ((processed < to_process) && (processed < budget)) { in bcm_sysport_desc_rx()