Lines Matching refs:q
70 const BIGNUM *p = NULL, *q = NULL, *g = NULL; in dsa_test() local
96 DSA_get0_pqg(dsa, &p, &q, &g); in dsa_test()
97 i = BN_bn2bin(q, 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
355 || !TEST_ptr(q = BN_bin2bn(out_q, sizeof(out_q), 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()
413 BN_free(q); 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
444 || !TEST_ptr(q = BN_bin2bn(out_q, sizeof(out_q), NULL)) in test_dsa_sig_neg_param()
451 if (!TEST_true(DSA_set0_pqg(dsa, p, q, g))) in test_dsa_sig_neg_param()
464 BN_set_negative(q, 1); in test_dsa_sig_neg_param()
468 BN_set_negative(q, 0); in test_dsa_sig_neg_param()
474 BN_set_negative(q, 1); in test_dsa_sig_neg_param()
486 BN_free(q); in test_dsa_sig_neg_param()