We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fecf436 commit 6c0be85Copy full SHA for 6c0be85
src/group_impl.h
@@ -67,6 +67,7 @@ static const secp256k1_fe secp256k1_fe_const_b = SECP256K1_FE_CONST(0, 0, 0, 0,
67
static void secp256k1_ge_set_gej_zinv(secp256k1_ge *r, const secp256k1_gej *a, const secp256k1_fe *zi) {
68
secp256k1_fe zi2;
69
secp256k1_fe zi3;
70
+ VERIFY_CHECK(!a->infinity);
71
secp256k1_fe_sqr(&zi2, zi);
72
secp256k1_fe_mul(&zi3, &zi2, zi);
73
secp256k1_fe_mul(&r->x, &a->x, &zi2);
0 commit comments