Lines Matching refs:bsize

24 	int bsize = crypto_cipher_blocksize(tfm);  in crypto_pcbc_encrypt_segment()  local
31 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment()
33 crypto_xor_cpy(iv, dst, src, bsize); in crypto_pcbc_encrypt_segment()
35 src += bsize; in crypto_pcbc_encrypt_segment()
36 dst += bsize; in crypto_pcbc_encrypt_segment()
37 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_segment()
46 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_encrypt_inplace() local
53 memcpy(tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace()
54 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_inplace()
56 crypto_xor_cpy(iv, tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace()
58 src += bsize; in crypto_pcbc_encrypt_inplace()
59 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_inplace()
91 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_decrypt_segment() local
99 crypto_xor(dst, iv, bsize); in crypto_pcbc_decrypt_segment()
100 crypto_xor_cpy(iv, dst, src, bsize); in crypto_pcbc_decrypt_segment()
102 src += bsize; in crypto_pcbc_decrypt_segment()
103 dst += bsize; in crypto_pcbc_decrypt_segment()
104 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_segment()
113 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_decrypt_inplace() local
120 memcpy(tmpbuf, src, bsize); in crypto_pcbc_decrypt_inplace()
122 crypto_xor(src, iv, bsize); in crypto_pcbc_decrypt_inplace()
123 crypto_xor_cpy(iv, src, tmpbuf, bsize); in crypto_pcbc_decrypt_inplace()
125 src += bsize; in crypto_pcbc_decrypt_inplace()
126 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_inplace()