Searched refs:safe_prime (Results 1 – 1 of 1) sorted by relevance
291 const struct dh_safe_prime *safe_prime; member350 static void *dh_safe_prime_gen_privkey(const struct dh_safe_prime *safe_prime, in dh_safe_prime_gen_privkey() argument374 n = roundup_pow_of_two(2 * safe_prime->max_strength); in dh_safe_prime_gen_privkey()476 params.p = inst_ctx->safe_prime->p; in dh_safe_prime_set_secret()477 params.p_size = inst_ctx->safe_prime->p_size; in dh_safe_prime_set_secret()482 key = dh_safe_prime_gen_privkey(inst_ctx->safe_prime, in dh_safe_prime_set_secret()553 const struct dh_safe_prime *safe_prime) in __dh_safe_prime_create() argument586 ctx->safe_prime = safe_prime; in __dh_safe_prime_create()