• Home
  • Raw
  • Download

Lines Matching refs:bsize

23 	int bsize = crypto_cipher_blocksize(tfm);  in crypto_pcbc_encrypt_segment()  local
30 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment()
32 crypto_xor_cpy(iv, dst, src, bsize); in crypto_pcbc_encrypt_segment()
34 src += bsize; in crypto_pcbc_encrypt_segment()
35 dst += bsize; in crypto_pcbc_encrypt_segment()
36 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_segment()
45 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_encrypt_inplace() local
52 memcpy(tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace()
53 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_inplace()
55 crypto_xor_cpy(iv, tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace()
57 src += bsize; in crypto_pcbc_encrypt_inplace()
58 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_inplace()
90 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_decrypt_segment() local
98 crypto_xor(dst, iv, bsize); in crypto_pcbc_decrypt_segment()
99 crypto_xor_cpy(iv, dst, src, bsize); in crypto_pcbc_decrypt_segment()
101 src += bsize; in crypto_pcbc_decrypt_segment()
102 dst += bsize; in crypto_pcbc_decrypt_segment()
103 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_segment()
112 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_decrypt_inplace() local
119 memcpy(tmpbuf, src, bsize); in crypto_pcbc_decrypt_inplace()
121 crypto_xor(src, iv, bsize); in crypto_pcbc_decrypt_inplace()
122 crypto_xor_cpy(iv, src, tmpbuf, bsize); in crypto_pcbc_decrypt_inplace()
124 src += bsize; in crypto_pcbc_decrypt_inplace()
125 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_decrypt_inplace()