Lines Matching refs:crypto_kpp
42 static inline struct dh_ctx *dh_get_ctx(struct crypto_kpp *tfm) in dh_get_ctx()
71 static int dh_set_secret(struct crypto_kpp *tfm, const void *buf, in dh_set_secret()
168 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in dh_compute_value()
250 static unsigned int dh_max_size(struct crypto_kpp *tfm) in dh_max_size()
257 static void dh_exit_tfm(struct crypto_kpp *tfm) in dh_exit_tfm()
294 struct crypto_kpp *dh_tfm;
306 struct crypto_kpp *tfm) in dh_safe_prime_instance_ctx()
311 static int dh_safe_prime_init_tfm(struct crypto_kpp *tfm) in dh_safe_prime_init_tfm()
327 static void dh_safe_prime_exit_tfm(struct crypto_kpp *tfm) in dh_safe_prime_exit_tfm()
456 static int dh_safe_prime_set_secret(struct crypto_kpp *tfm, const void *buffer, in dh_safe_prime_set_secret()
543 static unsigned int dh_safe_prime_max_size(struct crypto_kpp *tfm) in dh_safe_prime_max_size()