Lines Matching refs:bsize
19 unsigned int bsize = crypto_skcipher_blocksize(skcipher);
33 crypto_xor(iv, src, bsize);
35 memcpy(iv, dst, bsize);
37 src += bsize;
38 dst += bsize;
39 } while ((nbytes -= bsize) >= bsize);
47 unsigned int bsize = crypto_skcipher_blocksize(skcipher);
60 crypto_xor(src, iv, bsize);
64 src += bsize;
65 } while ((nbytes -= bsize) >= bsize);
67 memcpy(walk->iv, iv, bsize);
94 unsigned int bsize = crypto_skcipher_blocksize(skcipher);
109 crypto_xor(dst, iv, bsize);
112 src += bsize;
113 dst += bsize;
114 } while ((nbytes -= bsize) >= bsize);
116 memcpy(walk->iv, iv, bsize);
124 unsigned int bsize = crypto_skcipher_blocksize(skcipher);
137 src += nbytes - (nbytes & (bsize - 1)) - bsize;
138 memcpy(last_iv, src, bsize);
142 if ((nbytes -= bsize) < bsize)
144 crypto_xor(src, src - bsize, bsize);
145 src -= bsize;
148 crypto_xor(src, walk->iv, bsize);
149 memcpy(walk->iv, last_iv, bsize);