Lines Matching refs:ubytes
184 unsigned int ubytes; in ppc_ecb_encrypt() local
192 ubytes = nbytes > MAX_BYTES ? in ppc_ecb_encrypt()
194 nbytes -= ubytes; in ppc_ecb_encrypt()
201 err = blkcipher_walk_done(desc, &walk, ubytes); in ppc_ecb_encrypt()
212 unsigned int ubytes; in ppc_ecb_decrypt() local
220 ubytes = nbytes > MAX_BYTES ? in ppc_ecb_decrypt()
222 nbytes -= ubytes; in ppc_ecb_decrypt()
229 err = blkcipher_walk_done(desc, &walk, ubytes); in ppc_ecb_decrypt()
240 unsigned int ubytes; in ppc_cbc_encrypt() local
248 ubytes = nbytes > MAX_BYTES ? in ppc_cbc_encrypt()
250 nbytes -= ubytes; in ppc_cbc_encrypt()
257 err = blkcipher_walk_done(desc, &walk, ubytes); in ppc_cbc_encrypt()
268 unsigned int ubytes; in ppc_cbc_decrypt() local
276 ubytes = nbytes > MAX_BYTES ? in ppc_cbc_decrypt()
278 nbytes -= ubytes; in ppc_cbc_decrypt()
285 err = blkcipher_walk_done(desc, &walk, ubytes); in ppc_cbc_decrypt()
296 unsigned int pbytes, ubytes; in ppc_ctr_crypt() local
307 ubytes = walk.nbytes - pbytes; in ppc_ctr_crypt()
315 err = blkcipher_walk_done(desc, &walk, ubytes); in ppc_ctr_crypt()
326 unsigned int ubytes; in ppc_xts_encrypt() local
336 ubytes = nbytes > MAX_BYTES ? in ppc_xts_encrypt()
338 nbytes -= ubytes; in ppc_xts_encrypt()
346 err = blkcipher_walk_done(desc, &walk, ubytes); in ppc_xts_encrypt()
357 unsigned int ubytes; in ppc_xts_decrypt() local
367 ubytes = nbytes > MAX_BYTES ? in ppc_xts_decrypt()
369 nbytes -= ubytes; in ppc_xts_decrypt()
377 err = blkcipher_walk_done(desc, &walk, ubytes); in ppc_xts_decrypt()