Lines Matching refs:tfm
242 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in qat_rsa_enc() local
243 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_enc()
373 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in qat_rsa_dec() local
374 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_dec()
604 static int qat_rsa_setkey(struct crypto_akcipher *tfm, const void *key, in qat_rsa_setkey() argument
607 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_setkey()
664 static int qat_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key, in qat_rsa_setpubkey() argument
667 return qat_rsa_setkey(tfm, key, keylen, false); in qat_rsa_setpubkey()
670 static int qat_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key, in qat_rsa_setprivkey() argument
673 return qat_rsa_setkey(tfm, key, keylen, true); in qat_rsa_setprivkey()
676 static int qat_rsa_max_size(struct crypto_akcipher *tfm) in qat_rsa_max_size() argument
678 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_max_size()
683 static int qat_rsa_init_tfm(struct crypto_akcipher *tfm) in qat_rsa_init_tfm() argument
685 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_init_tfm()
697 static void qat_rsa_exit_tfm(struct crypto_akcipher *tfm) in qat_rsa_exit_tfm() argument
699 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_exit_tfm()