Lines Matching refs:bsize
20 unsigned int bsize = crypto_skcipher_blocksize(skcipher);
34 crypto_xor(iv, src, bsize);
36 memcpy(iv, dst, bsize);
38 src += bsize;
39 dst += bsize;
40 } while ((nbytes -= bsize) >= bsize);
48 unsigned int bsize = crypto_skcipher_blocksize(skcipher);
61 crypto_xor(src, iv, bsize);
65 src += bsize;
66 } while ((nbytes -= bsize) >= bsize);
68 memcpy(walk->iv, iv, bsize);
95 unsigned int bsize = crypto_skcipher_blocksize(skcipher);
110 crypto_xor(dst, iv, bsize);
113 src += bsize;
114 dst += bsize;
115 } while ((nbytes -= bsize) >= bsize);
117 memcpy(walk->iv, iv, bsize);
125 unsigned int bsize = crypto_skcipher_blocksize(skcipher);
138 src += nbytes - (nbytes & (bsize - 1)) - bsize;
139 memcpy(last_iv, src, bsize);
143 if ((nbytes -= bsize) < bsize)
145 crypto_xor(src, src - bsize, bsize);
146 src -= bsize;
149 crypto_xor(src, walk->iv, bsize);
150 memcpy(walk->iv, last_iv, bsize);