Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/linux/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()
315 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_init_tfm()
329 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_exit_tfm()
461 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_set_secret()
516 kpp_tfm_ctx(crypto_kpp_reqtfm(req)); in dh_safe_prime_prepare_dh_req()
545 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()
/openbmc/linux/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()
/openbmc/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c593 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_compute_value()
718 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_set_secret()
744 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_max_size()
751 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_init_tfm()
760 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_exit_tfm()
1394 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_set_secret()
1587 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_compute_value()
1629 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_max_size()
1637 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_nist_p192_init_tfm()
1648 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_ecdh_nist_p256_init_tfm()
[all …]
/openbmc/linux/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()
/openbmc/linux/include/crypto/internal/
H A Dkpp.h76 static inline void *kpp_tfm_ctx(struct crypto_kpp *tfm) in kpp_tfm_ctx() function
/openbmc/linux/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()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c220 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_compute_value()
449 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_set_secret()
482 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_max_size()
489 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_init_tfm()
506 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_exit_tfm()