Lines Matching refs:order
41 BIGNUM *n1 = NULL, *n2 = NULL, *order = NULL; in group_order_tests() local
49 || !TEST_ptr(order = BN_new()) in group_order_tests()
58 if (!TEST_true(EC_GROUP_get_order(group, order, ctx)) in group_order_tests()
59 || !TEST_true(EC_POINT_mul(group, Q, order, NULL, NULL, ctx)) in group_order_tests()
64 || !TEST_true(EC_POINT_mul(group, Q, order, NULL, NULL, ctx)) in group_order_tests()
70 || !TEST_true(BN_sub(n1, order, n1)) in group_order_tests()
91 || !TEST_true(BN_sub(n1, n1, order)) in group_order_tests()
96 || !TEST_true(BN_add(n2, order, BN_value_one())) in group_order_tests()
154 BN_free(order); in group_order_tests()
617 const char *order; member
824 || !TEST_true(BN_hex2bn(&z, test->order)) in char2_curve_test()
844 || !TEST_true(BN_hex2bn(&z, test->order)) in char2_curve_test()
1219 const char *p, *a, *b, *Qx, *Qy, *Gx, *Gy, *order, *d; member
1317 BIGNUM *n = NULL, *m = NULL, *order = NULL, *yplusone = NULL; in nistp_single_test() local
1332 || !TEST_ptr(order = BN_new()) in nistp_single_test()
1359 || !TEST_true(BN_hex2bn(&order, test->order)) in nistp_single_test()
1360 || !TEST_true(EC_GROUP_set_generator(NISTP, G, order, BN_value_one())) in nistp_single_test()
1377 || !TEST_true(EC_GROUP_set_generator(NISTP, P, order, BN_value_one())) in nistp_single_test()
1408 || !TEST_true(EC_GROUP_set_generator(NISTP, G, order, BN_value_one()))) in nistp_single_test()
1442 BN_free(order); in nistp_single_test()