Lines Matching refs:q
178 BIGNUM *p = NULL, *q = NULL, *g = NULL; in ffc_params_validate_g_unverified_test() local
187 if (!TEST_ptr(q = BN_bin2bn(dsa_2048_224_sha256_q, in ffc_params_validate_g_unverified_test()
196 ossl_ffc_params_set0_pqg(¶ms, p, q, NULL); in ffc_params_validate_g_unverified_test()
198 q = NULL; in ffc_params_validate_g_unverified_test()
207 ossl_ffc_params_set0_pqg(¶ms, p, q, g); in ffc_params_validate_g_unverified_test()
239 BN_free(q); in ffc_params_validate_g_unverified_test()
248 BIGNUM *p = NULL, *q = NULL; in ffc_params_validate_pq_test() local
255 if (!TEST_ptr(q = BN_bin2bn(dsa_2048_224_sha224_q, in ffc_params_validate_pq_test()
261 ossl_ffc_params_set0_pqg(¶ms, NULL, q, NULL); in ffc_params_validate_pq_test()
262 q = NULL; in ffc_params_validate_pq_test()
312 if (!TEST_ptr(q = BN_bin2bn(dsa_3072_256_sha512_q, in ffc_params_validate_pq_test()
318 ossl_ffc_params_set0_pqg(¶ms, p, q, NULL); in ffc_params_validate_pq_test()
319 p = q = NULL; in ffc_params_validate_pq_test()
340 BN_free(q); in ffc_params_validate_pq_test()
557 if (!TEST_false(ossl_ffc_validate_private_key(params->q, priv, &res))) in ffc_private_validate_test()
565 if (!TEST_false(ossl_ffc_validate_private_key(params->q, priv, &res))) in ffc_private_validate_test()
571 if (!TEST_true(ossl_ffc_validate_private_key(params->q, BN_value_one(), in ffc_private_validate_test()
575 if (!TEST_ptr(BN_copy(priv, params->q))) in ffc_private_validate_test()
578 if (!TEST_false(ossl_ffc_validate_private_key(params->q, priv, &res))) in ffc_private_validate_test()
586 if (!TEST_true(ossl_ffc_validate_private_key(params->q, priv, &res))) in ffc_private_validate_test()
594 if (!TEST_false(ossl_ffc_validate_private_key(params->q, NULL, &res))) in ffc_private_validate_test()
624 N = BN_num_bits(params->q); in ffc_private_gen_test()
638 if (!TEST_true(ossl_ffc_validate_private_key(params->q, priv, &res))) in ffc_private_gen_test()
643 if (!TEST_true(ossl_ffc_validate_private_key(params->q, priv, &res))) in ffc_private_gen_test()
652 if (!TEST_true(ossl_ffc_validate_private_key(params->q, priv, &res))) in ffc_private_gen_test()