Lines Matching refs:g
70 const BIGNUM *p = NULL, *q = NULL, *g = NULL; in dsa_test() local
96 DSA_get0_pqg(dsa, &p, &q, &g); in dsa_test()
107 i = BN_bn2bin(g, buf); in dsa_test()
332 BIGNUM *p = NULL, *q = NULL, *g = NULL, *priv = NULL, *pub = NULL, *priv2 = NULL; in test_dsa_sig_infinite_loop() local
356 || !TEST_ptr(g = BN_bin2bn(out_g, sizeof(out_g), NULL)) in test_dsa_sig_infinite_loop()
367 if (!TEST_true(DSA_set0_pqg(dsa, p, q, g))) in test_dsa_sig_infinite_loop()
369 p = q = g = NULL; in test_dsa_sig_infinite_loop()
412 BN_free(g); in test_dsa_sig_infinite_loop()
423 BIGNUM *p = NULL, *q = NULL, *g = NULL, *priv = NULL, *pub = NULL; in test_dsa_sig_neg_param() local
445 || !TEST_ptr(g = BN_bin2bn(out_g, sizeof(out_g), NULL)) in test_dsa_sig_neg_param()
451 if (!TEST_true(DSA_set0_pqg(dsa, p, q, g))) in test_dsa_sig_neg_param()
469 BN_set_negative(g, 1); in test_dsa_sig_neg_param()
475 BN_set_negative(g, 1); in test_dsa_sig_neg_param()
485 BN_free(g); in test_dsa_sig_neg_param()