Lines Matching refs:group2
2385 long group1 = NULL, group2 = NULL, point1 = NULL, point2 = NULL, key1 = NULL;
2408 group2 = NativeCrypto.EC_GROUP_new_curve(type, p.toByteArray(),
2410 assertEquals(type, NativeCrypto.get_EC_GROUP_type(group2));
2412 point2 = NativeCrypto.EC_POINT_new(group2);
2414 NativeCrypto.EC_POINT_set_affine_coordinates(group2, point2, x.toByteArray(),
2417 NativeCrypto.EC_GROUP_set_generator(group2, point2, n.toByteArray(), h.toByteArray());
2419 point1 = NativeCrypto.EC_GROUP_get_generator(group2);
2422 byte[][] pab = NativeCrypto.EC_GROUP_get_curve(group2);
2434 byte[][] xy = NativeCrypto.EC_POINT_get_affine_coordinates(group2, point2);
2446 BigInteger h2 = new BigInteger(NativeCrypto.EC_GROUP_get_cofactor(group2));
2449 assertTrue(NativeCrypto.EC_GROUP_cmp(group1, group2));
2461 if (group2 != NULL) {
2462 NativeCrypto.EC_GROUP_clear_free(group2);