Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A Drsa-pkcs1pad.c110 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_set_pub_key()
131 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_set_priv_key()
151 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_get_max_size()
177 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_encrypt_sign_complete()
229 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_encrypt()
277 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_decrypt_complete()
344 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_decrypt()
377 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_sign()
434 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_verify_complete()
531 struct pkcs1pad_ctx *ctx = akcipher_tfm_ctx(tfm); in pkcs1pad_verify()
[all …]
H A Decdsa.c140 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_verify()
224 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_set_pub_key()
256 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_exit_tfm()
263 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_max_size()
270 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_nist_p384_init_tfm()
292 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_nist_p256_init_tfm()
314 struct ecc_ctx *ctx = akcipher_tfm_ctx(tfm); in ecdsa_nist_p192_init_tfm()
H A Drsa.c90 return akcipher_tfm_ctx(tfm); in rsa_get_key()
239 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); in rsa_set_pub_key()
278 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); in rsa_set_priv_key()
340 struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm); in rsa_max_size()
347 struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm); in rsa_exit_tfm()
H A Dsm2.c381 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_verify()
423 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_set_pub_key()
455 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_init_tfm()
462 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_exit_tfm()
H A Decrdsa.c74 struct ecrdsa_ctx *ctx = akcipher_tfm_ctx(tfm); in ecrdsa_verify()
194 struct ecrdsa_ctx *ctx = akcipher_tfm_ctx(tfm); in ecrdsa_set_pub_key()
254 struct ecrdsa_ctx *ctx = akcipher_tfm_ctx(tfm); in ecrdsa_max_size()
/openbmc/linux/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 …]
/openbmc/linux/drivers/crypto/starfive/
H A Djh7110-rsa.c309 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_enc()
341 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_dec()
475 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_setkey()
526 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_set_pub_key()
539 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_set_priv_key()
551 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_max_size()
561 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_init_tfm()
581 struct starfive_cryp_ctx *ctx = akcipher_tfm_ctx(tfm); in starfive_rsa_exit_tfm()
/openbmc/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c329 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(atfm); in virtio_crypto_rsa_req()
372 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(tfm); in virtio_crypto_rsa_set_key()
468 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(tfm); in virtio_crypto_rsa_max_size()
476 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(tfm); in virtio_crypto_rsa_init_tfm()
488 struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(tfm); in virtio_crypto_rsa_exit_tfm()
/openbmc/linux/include/crypto/internal/
H A Dakcipher.h59 static inline void *akcipher_tfm_ctx(struct crypto_akcipher *tfm) in akcipher_tfm_ctx() function
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c648 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_enc()
782 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_dec()
1161 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_setkey()
1219 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_max_size()
1226 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_init_tfm()
1242 struct qat_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in qat_rsa_exit_tfm()
/openbmc/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c796 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_enc()
844 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_dec()
1134 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_setpubkey()
1147 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_setprivkey()
1159 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_max_size()
1171 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_init_tfm()
1192 struct hpre_ctx *ctx = akcipher_tfm_ctx(tfm); in hpre_rsa_exit_tfm()