Lines Matching defs:tfm
107 static int pkcs1pad_set_pub_key(struct crypto_akcipher *tfm, const void *key,
110 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
128 static int pkcs1pad_set_priv_key(struct crypto_akcipher *tfm, const void *key,
131 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
149 static unsigned int pkcs1pad_get_max_size(struct crypto_akcipher *tfm)
151 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
176 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
177 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
229 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
230 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
277 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
278 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
345 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
346 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
378 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
379 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
381 struct akcipher_instance *inst = akcipher_alg_instance(tfm);
435 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
436 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
438 struct akcipher_instance *inst = akcipher_alg_instance(tfm);
532 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
533 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
565 static int pkcs1pad_init_tfm(struct crypto_akcipher *tfm)
567 struct akcipher_instance *inst = akcipher_alg_instance(tfm);
569 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
580 static void pkcs1pad_exit_tfm(struct crypto_akcipher *tfm)
582 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);