Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/
H A Datmel-ecc.c91 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_set_secret()
153 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_generate_public_key()
181 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_compute_shared_secret()
264 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_init_tfm()
287 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_exit_tfm()
296 struct atmel_ecdh_ctx *ctx = kpp_tfm_ctx(tfm); in atmel_ecdh_max_size()
/OK3568_Linux_fs/kernel/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 Decdh.c23 return kpp_tfm_ctx(tfm); in ecdh_get_ctx()
H A Ddh.c45 return kpp_tfm_ctx(tfm); in dh_get_ctx()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/include/crypto/internal/
H A Dkpp.h21 static inline void *kpp_tfm_ctx(struct crypto_kpp *tfm) in kpp_tfm_ctx() function
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c517 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_compute_value()
642 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_set_secret()
668 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_max_size()
675 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_init_tfm()
682 struct hpre_ctx *ctx = kpp_tfm_ctx(tfm); in hpre_dh_exit_tfm()
/OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/
H A Dqat_asym_algs.c209 return kpp_tfm_ctx(tfm); in qat_dh_get_params()
215 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_compute_value()
446 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_set_secret()
479 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_max_size()
486 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_init_tfm()
501 struct qat_dh_ctx *ctx = kpp_tfm_ctx(tfm); in qat_dh_exit_tfm()
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Dcurve25519-x86_64.c1407 u8 *secret = kpp_tfm_ctx(tfm); in curve25519_set_secret()
1422 const u8 *secret = kpp_tfm_ctx(tfm); in curve25519_generate_public_key()
1444 const u8 *secret = kpp_tfm_ctx(tfm); in curve25519_compute_shared_secret()