Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/crypto/
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.1.9/crypto/
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()
Ddh.c44 return kpp_tfm_ctx(tfm); in dh_get_ctx()
315 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_init_tfm()
326 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_exit_tfm()
458 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_set_secret()
514 kpp_tfm_ctx(crypto_kpp_reqtfm(req)); in dh_safe_prime_prepare_dh_req()
543 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_max_size()
Decdh.c23 return kpp_tfm_ctx(tfm); in ecdh_get_ctx()
/linux-6.1.9/arch/arm/crypto/
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.1.9/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c583 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_compute_value()
708 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_set_secret()
734 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_max_size()
741 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_init_tfm()
748 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_exit_tfm()
1379 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_set_secret()
1566 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_compute_value()
1608 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_max_size()
1616 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_nist_p192_init_tfm()
1625 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_nist_p256_init_tfm()
[all …]
/linux-6.1.9/drivers/crypto/keembay/
Dkeembay-ocs-ecc.c125 return kpp_tfm_ctx(crypto_kpp_reqtfm(req)); in kmb_ocs_ecc_tctx()
543 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_set_secret()
806 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_nist_p256_init_tfm()
813 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_nist_p384_init_tfm()
820 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_exit_tfm()
827 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_max_size()
/linux-6.1.9/include/crypto/internal/
Dkpp.h53 static inline void *kpp_tfm_ctx(struct crypto_kpp *tfm) in kpp_tfm_ctx() function
/linux-6.1.9/arch/x86/crypto/
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()
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c221 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_compute_value()
450 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_set_secret()
483 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_max_size()
490 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_init_tfm()
505 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_exit_tfm()