Searched refs:dhg (Results 1 – 1 of 1) sorted by relevance
46 parse_prime(int linenum, char *line, struct dhgroup *dhg) in parse_prime() argument53 dhg->p = dhg->g = NULL; in parse_prime()95 (dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 || in parse_prime()101 dhg->size++; in parse_prime()112 if ((dhg->g = BN_new()) == NULL || in parse_prime()113 (dhg->p = BN_new()) == NULL) { in parse_prime()117 if (BN_hex2bn(&dhg->g, gen) == 0) { in parse_prime()121 if (BN_hex2bn(&dhg->p, prime) == 0) { in parse_prime()125 if (BN_num_bits(dhg->p) != dhg->size) { in parse_prime()127 linenum, BN_num_bits(dhg->p), dhg->size - 1); in parse_prime()[all …]