Lines Matching refs:tfm
29 struct crypto_cipher *tfm) in crypto_ctr_crypt_final() argument
31 unsigned int bsize = crypto_cipher_blocksize(tfm); in crypto_ctr_crypt_final()
32 unsigned long alignmask = crypto_cipher_alignmask(tfm); in crypto_ctr_crypt_final()
40 crypto_cipher_encrypt_one(tfm, keystream, ctrblk); in crypto_ctr_crypt_final()
47 struct crypto_cipher *tfm) in crypto_ctr_crypt_segment() argument
50 crypto_cipher_alg(tfm)->cia_encrypt; in crypto_ctr_crypt_segment()
51 unsigned int bsize = crypto_cipher_blocksize(tfm); in crypto_ctr_crypt_segment()
59 fn(crypto_cipher_tfm(tfm), dst, ctrblk); in crypto_ctr_crypt_segment()
73 struct crypto_cipher *tfm) in crypto_ctr_crypt_inplace() argument
76 crypto_cipher_alg(tfm)->cia_encrypt; in crypto_ctr_crypt_inplace()
77 unsigned int bsize = crypto_cipher_blocksize(tfm); in crypto_ctr_crypt_inplace()
78 unsigned long alignmask = crypto_cipher_alignmask(tfm); in crypto_ctr_crypt_inplace()
87 fn(crypto_cipher_tfm(tfm), keystream, ctrblk); in crypto_ctr_crypt_inplace()
101 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_ctr_crypt() local
102 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ctr_crypt()
192 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_rfc3686_crypt() local
193 struct crypto_rfc3686_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_rfc3686_crypt()
195 unsigned long align = crypto_skcipher_alignmask(tfm); in crypto_rfc3686_crypt()
218 static int crypto_rfc3686_init_tfm(struct crypto_skcipher *tfm) in crypto_rfc3686_init_tfm() argument
220 struct skcipher_instance *inst = skcipher_alg_instance(tfm); in crypto_rfc3686_init_tfm()
222 struct crypto_rfc3686_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_rfc3686_init_tfm()
233 align = crypto_skcipher_alignmask(tfm); in crypto_rfc3686_init_tfm()
237 crypto_skcipher_set_reqsize(tfm, reqsize); in crypto_rfc3686_init_tfm()
242 static void crypto_rfc3686_exit_tfm(struct crypto_skcipher *tfm) in crypto_rfc3686_exit_tfm() argument
244 struct crypto_rfc3686_ctx *ctx = crypto_skcipher_ctx(tfm); in crypto_rfc3686_exit_tfm()