Home
last modified time | relevance | path

Searched refs:akcipher_tfm_ctx (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/crypto/
H A Drsa-pkcs1pad.c37 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_set_pub_key()
45 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_set_priv_key()
52 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_get_max_size()
78 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_encrypt_complete()
130 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_encrypt()
178 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_decrypt_complete()
245 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_decrypt()
279 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_init_tfm()
296 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_exit_tfm()
H A Drsa.c117 return akcipher_tfm_ctx(tfm); in rsa_get_key()
272 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); in rsa_set_pub_key()
311 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); in rsa_set_priv_key()
373 struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm); in rsa_max_size()
380 struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm); in rsa_exit_tfm()
/linux-6.15/drivers/crypto/aspeed/
H A Daspeed-acry.c149 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_do_fallback()
167 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_need_fallback()
187 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_do_request()
351 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_rsa_trigger()
416 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(cipher); in aspeed_acry_rsa_enc()
488 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); in aspeed_acry_rsa_setkey()
536 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); in aspeed_acry_rsa_set_pub_key()
550 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); in aspeed_acry_rsa_set_priv_key()
562 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); in aspeed_acry_rsa_max_size()
572 struct aspeed_acry_ctx *ctx = akcipher_tfm_ctx(tfm); in aspeed_acry_rsa_init_tfm()
[all …]
/linux-6.15/drivers/crypto/starfive/
H A Djh7110-rsa.c289 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_enc()
320 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_dec()
454 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_setkey()
505 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_set_pub_key()
518 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_set_priv_key()
530 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_max_size()
540 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_init_tfm()
558 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_exit_tfm()
/linux-6.15/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c215 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(atfm); in __virtio_crypto_akcipher_do_req()
276 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(atfm); in virtio_crypto_rsa_do_req()
313 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(atfm); in virtio_crypto_rsa_req()
344 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(tfm); in virtio_crypto_rsa_set_key()
440 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(tfm); in virtio_crypto_rsa_max_size()
456 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(tfm); in virtio_crypto_rsa_exit_tfm()
/linux-6.15/include/crypto/internal/
H A Dakcipher.h59 static inline void *akcipher_tfm_ctx(struct crypto_akcipher *tfm) in akcipher_tfm_ctx() function
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c701 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_enc()
835 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_dec()
1214 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_setkey()
1272 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_max_size()
1279 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_init_tfm()
1295 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_exit_tfm()
/linux-6.15/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c805 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_enc()
853 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_dec()
1143 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_setpubkey()
1156 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_setprivkey()
1168 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_max_size()
1180 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_init_tfm()
1201 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_exit_tfm()