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()
169 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in dh_compute_value()
251 static unsigned int dh_max_size(struct crypto_kpp *tfm) in dh_max_size()
258 static void dh_exit_tfm(struct crypto_kpp *tfm) in dh_exit_tfm()
295 struct crypto_kpp *dh_tfm;
307 struct crypto_kpp *tfm) in dh_safe_prime_instance_ctx()
312 static int dh_safe_prime_init_tfm(struct crypto_kpp *tfm) in dh_safe_prime_init_tfm()
328 static void dh_safe_prime_exit_tfm(struct crypto_kpp *tfm) in dh_safe_prime_exit_tfm()
457 static int dh_safe_prime_set_secret(struct crypto_kpp *tfm, const void *buffer, in dh_safe_prime_set_secret()
544 static unsigned int dh_safe_prime_max_size(struct crypto_kpp *tfm) in dh_safe_prime_max_size()