Lines Matching refs:n1
41 BIGNUM *n1 = NULL, *n2 = NULL, *order = NULL; in group_order_tests() local
47 if (!TEST_ptr(n1 = BN_new()) in group_order_tests()
67 || !TEST_true(BN_one(n1)) in group_order_tests()
68 || !TEST_true(EC_POINT_mul(group, Q, n1, NULL, NULL, ctx)) in group_order_tests()
70 || !TEST_true(BN_sub(n1, order, n1)) in group_order_tests()
71 || !TEST_true(EC_POINT_mul(group, Q, n1, NULL, NULL, ctx)) in group_order_tests()
82 if (!TEST_true(BN_set_word(n1, i)) in group_order_tests()
87 || !TEST_true(EC_POINT_mul(group, P, n1, NULL, NULL, ctx)) in group_order_tests()
89 || !TEST_true(BN_one(n1)) in group_order_tests()
91 || !TEST_true(BN_sub(n1, n1, order)) in group_order_tests()
92 || !TEST_true(EC_POINT_mul(group, Q, NULL, P, n1, ctx)) in group_order_tests()
101 || !TEST_true(BN_mul(n2, n1, n2, ctx)) in group_order_tests()
125 scalars[0] = n1; in group_order_tests()
129 scalars[2] = n1; in group_order_tests()
133 scalars[4] = n1; in group_order_tests()
152 BN_free(n1); in group_order_tests()