Lines Matching refs:tfm
22 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_segment() argument
24 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_encrypt_segment()
32 crypto_cipher_encrypt_one(tfm, dst, iv); in crypto_pcbc_encrypt_segment()
44 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_inplace() argument
46 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_encrypt_inplace()
55 crypto_cipher_encrypt_one(tfm, src, iv); in crypto_pcbc_encrypt_inplace()
66 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_pcbc_encrypt() local
67 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_encrypt()
89 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_segment() argument
91 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_decrypt_segment()
98 crypto_cipher_decrypt_one(tfm, dst, src); in crypto_pcbc_decrypt_segment()
111 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_inplace() argument
113 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_decrypt_inplace()
121 crypto_cipher_decrypt_one(tfm, src, src); in crypto_pcbc_decrypt_inplace()
133 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_pcbc_decrypt() local
134 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_decrypt()