| 3736 | /***** GROUP TESTS *****/ |
| 3737 | |
| 3738 | static void ge_equals_ge(const secp256k1_ge *a, const secp256k1_ge *b) { |
| 3739 | CHECK(a->infinity == b->infinity); |
| 3740 | if (a->infinity) { |
| 3741 | return; |
| 3742 | } |
| 3743 | CHECK(secp256k1_fe_equal_var(&a->x, &b->x)); |
| 3744 | CHECK(secp256k1_fe_equal_var(&a->y, &b->y)); |
| 3745 | } |
| 3746 | |
| 3747 | /* This compares jacobian points including their Z, not just their geometric meaning. */ |
| 3748 | static int gej_xyz_equals_gej(const secp256k1_gej *a, const secp256k1_gej *b) { |
no test coverage detected