Home
last modified time | relevance | path

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

/linux-6.12.1/crypto/
Ddh.c291 const struct dh_safe_prime *safe_prime; member
350 static void *dh_safe_prime_gen_privkey(const struct dh_safe_prime *safe_prime, in dh_safe_prime_gen_privkey() argument
374 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() argument
586 ctx->safe_prime = safe_prime; in __dh_safe_prime_create()