/drivers/crypto/nx/ |
D | nx-aes-gcm.c | 109 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 …]
|
D | nx-sha512.c | 63 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()
|
D | nx-aes-ccm.c | 271 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 …]
|
D | nx-aes-xcbc.c | 174 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()
|
D | nx-sha256.c | 63 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()
|
D | nx-aes-ecb.c | 60 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()
|
D | nx-aes-cbc.c | 60 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()
|
D | nx-aes-ctr.c | 78 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/ |
D | f_ncm.c | 1197 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/ |
D | bcmsysport.c | 745 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()
|