Lines Matching refs:tfm

130 static int pkcs1pad_set_pub_key(struct crypto_akcipher *tfm, const void *key,
133 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
151 static int pkcs1pad_set_priv_key(struct crypto_akcipher *tfm, const void *key,
154 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
172 static unsigned int pkcs1pad_get_max_size(struct crypto_akcipher *tfm)
174 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
199 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
200 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
251 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
252 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
299 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
300 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
366 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
367 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
399 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
400 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
402 struct akcipher_instance *inst = akcipher_alg_instance(tfm);
456 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
457 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
459 struct akcipher_instance *inst = akcipher_alg_instance(tfm);
553 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
554 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
586 static int pkcs1pad_init_tfm(struct crypto_akcipher *tfm)
588 struct akcipher_instance *inst = akcipher_alg_instance(tfm);
590 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);
599 akcipher_set_reqsize(tfm, sizeof(struct pkcs1pad_request) +
605 static void pkcs1pad_exit_tfm(struct crypto_akcipher *tfm)
607 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm);