Lines Matching refs:AES_BLOCK_SIZE
235 round_down(nbytes, AES_BLOCK_SIZE)); in ecb_encrypt()
236 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in ecb_encrypt()
260 round_down(nbytes, AES_BLOCK_SIZE)); in ecb_decrypt()
261 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in ecb_decrypt()
284 round_down(nbytes, AES_BLOCK_SIZE), in cbc_encrypt()
286 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in cbc_encrypt()
310 round_down(nbytes, AES_BLOCK_SIZE), in cbc_decrypt()
312 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in cbc_decrypt()
323 u64 keystream[AES_BLOCK_SIZE / sizeof(u64)]; in ctr_crypt_final()
329 keystream, AES_BLOCK_SIZE); in ctr_crypt_final()
331 crypto_inc(ctrblk, AES_BLOCK_SIZE); in ctr_crypt_final()
347 while ((nbytes = walk.nbytes) >= AES_BLOCK_SIZE) { in ctr_crypt()
350 round_down(nbytes, AES_BLOCK_SIZE), in ctr_crypt()
352 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in ctr_crypt()
367 .cra_blocksize = AES_BLOCK_SIZE,
387 .base.cra_blocksize = AES_BLOCK_SIZE,
400 .base.cra_blocksize = AES_BLOCK_SIZE,
406 .ivsize = AES_BLOCK_SIZE,
420 .ivsize = AES_BLOCK_SIZE,
424 .chunksize = AES_BLOCK_SIZE,