Lines Matching defs:tfm
44 static void crypto_akcipher_exit_tfm(struct crypto_tfm *tfm)
46 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm);
52 static int crypto_akcipher_init_tfm(struct crypto_tfm *tfm)
54 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm);
150 static int akcipher_default_set_key(struct crypto_akcipher *tfm,
194 unsigned int reqsize = crypto_akcipher_reqsize(data->tfm);
215 akcipher_request_set_tfm(req, data->tfm);
245 int crypto_akcipher_sync_encrypt(struct crypto_akcipher *tfm,
250 .tfm = tfm,
263 int crypto_akcipher_sync_decrypt(struct crypto_akcipher *tfm,
268 .tfm = tfm,
282 static void crypto_exit_akcipher_ops_sig(struct crypto_tfm *tfm)
284 struct crypto_akcipher **ctx = crypto_tfm_ctx(tfm);
289 int crypto_init_akcipher_ops_sig(struct crypto_tfm *tfm)
291 struct crypto_akcipher **ctx = crypto_tfm_ctx(tfm);
292 struct crypto_alg *calg = tfm->__crt_alg;
305 tfm->exit = crypto_exit_akcipher_ops_sig;