Lines Matching refs:bsize
31 unsigned int bsize = crypto_cipher_blocksize(tfm); in crypto_ctr_crypt_final() local
43 crypto_inc(ctrblk, bsize); in crypto_ctr_crypt_final()
51 unsigned int bsize = crypto_cipher_blocksize(tfm); in crypto_ctr_crypt_segment() local
60 crypto_xor(dst, src, bsize); in crypto_ctr_crypt_segment()
63 crypto_inc(ctrblk, bsize); in crypto_ctr_crypt_segment()
65 src += bsize; in crypto_ctr_crypt_segment()
66 dst += bsize; in crypto_ctr_crypt_segment()
67 } while ((nbytes -= bsize) >= bsize); in crypto_ctr_crypt_segment()
77 unsigned int bsize = crypto_cipher_blocksize(tfm); in crypto_ctr_crypt_inplace() local
88 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace()
91 crypto_inc(ctrblk, bsize); in crypto_ctr_crypt_inplace()
93 src += bsize; in crypto_ctr_crypt_inplace()
94 } while ((nbytes -= bsize) >= bsize); in crypto_ctr_crypt_inplace()
103 const unsigned int bsize = crypto_cipher_blocksize(cipher); in crypto_ctr_crypt() local
110 while (walk.nbytes >= bsize) { in crypto_ctr_crypt()