Lines Matching refs:tfm
15 static int crypto_cbc_encrypt_segment(struct crypto_lskcipher *tfm,
19 unsigned int bsize = crypto_lskcipher_blocksize(tfm);
23 crypto_lskcipher_encrypt(tfm, iv, dst, bsize, NULL);
30 static int crypto_cbc_encrypt_inplace(struct crypto_lskcipher *tfm,
33 unsigned int bsize = crypto_lskcipher_blocksize(tfm);
41 crypto_lskcipher_encrypt(tfm, src, src, bsize, NULL);
53 static int crypto_cbc_encrypt(struct crypto_lskcipher *tfm, const u8 *src,
56 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm);
69 static int crypto_cbc_decrypt_segment(struct crypto_lskcipher *tfm,
73 unsigned int bsize = crypto_lskcipher_blocksize(tfm);
80 crypto_lskcipher_decrypt(tfm, src, dst, bsize, NULL);
94 static int crypto_cbc_decrypt_inplace(struct crypto_lskcipher *tfm,
97 unsigned int bsize = crypto_lskcipher_blocksize(tfm);
108 crypto_lskcipher_decrypt(tfm, src, src, bsize, NULL);
122 static int crypto_cbc_decrypt(struct crypto_lskcipher *tfm, const u8 *src,
125 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm);