Home
last modified time | relevance | path

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

/linux-6.15/drivers/crypto/
H A Datmel-ecc.c80 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_set_secret()
140 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_generate_public_key()
168 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_compute_shared_secret()
251 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_init_tfm()
275 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_exit_tfm()
284 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_max_size()
/linux-6.15/crypto/
H A Dcurve25519-generic.c12 u8 *secret = kpp_tfm_ctx(tfm); in curve25519_set_secret()
27 const u8 *secret = kpp_tfm_ctx(tfm); in curve25519_compute_value()
H A Ddh.c44 return kpp_tfm_ctx(tfm); in dh_get_ctx()
316 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_init_tfm()
330 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_exit_tfm()
462 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_set_secret()
517 kpp_tfm_ctx(crypto_kpp_reqtfm(req)); in dh_safe_prime_prepare_dh_req()
546 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_max_size()
H A Decdh.c23 return kpp_tfm_ctx(tfm); in ecdh_get_ctx()
/linux-6.15/arch/arm/crypto/
H A Dcurve25519-glue.c52 u8 *secret = kpp_tfm_ctx(tfm); in curve25519_set_secret()
67 const u8 *secret = kpp_tfm_ctx(tfm); in curve25519_compute_value()
/linux-6.15/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c602 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_compute_value()
727 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_set_secret()
753 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_max_size()
760 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_init_tfm()
769 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_exit_tfm()
1403 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_set_secret()
1596 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_compute_value()
1640 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_max_size()
1648 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_nist_p192_init_tfm()
1659 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_nist_p256_init_tfm()
[all …]
/linux-6.15/arch/powerpc/crypto/
H A Dcurve25519-ppc64le-core.c198 u8 *secret = kpp_tfm_ctx(tfm); in curve25519_set_secret()
213 const u8 *secret = kpp_tfm_ctx(tfm); in curve25519_generate_public_key()
235 const u8 *secret = kpp_tfm_ctx(tfm); in curve25519_compute_shared_secret()
/linux-6.15/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c120 return kpp_tfm_ctx(crypto_kpp_reqtfm(req)); in kmb_ocs_ecc_tctx()
538 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_set_secret()
797 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_nist_p256_init_tfm()
804 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_nist_p384_init_tfm()
811 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_exit_tfm()
818 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_max_size()
/linux-6.15/include/crypto/internal/
H A Dkpp.h76 static inline void *kpp_tfm_ctx(struct crypto_kpp *tfm) in kpp_tfm_ctx() function
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c222 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_compute_value()
390 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_generate_public_key()
405 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_compute_shared_secret()
478 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_set_secret()
518 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_max_size()
528 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_init_tfm()
556 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_exit_tfm()
/linux-6.15/arch/x86/crypto/
H A Dcurve25519-x86_64.c1618 u8 *secret = kpp_tfm_ctx(tfm); in curve25519_set_secret()
1633 const u8 *secret = kpp_tfm_ctx(tfm); in curve25519_generate_public_key()
1655 const u8 *secret = kpp_tfm_ctx(tfm); in curve25519_compute_shared_secret()