148
148
// and at most 1 bit is leaked if it's false
149
149
bool fullValidate = (GetFieldType() == 2 && level >= 3) || !FastSubgroupCheckAvailable();
152
pass = pass && IsIdentity(gpc ? gpc->Exponentiate(GetGroupPrecomputation(), q) : ExponentiateElement(g, q));
156
153
else if (GetFieldType() == 1)
157
154
pass = pass && Jacobi(g, p) == 1;