powVartime method
Implementation
JubJubNativeFq powVartime(List<BigInt> by) {
JubJubNativeFq res = JubJubNativeFq.one();
for (BigInt e in by.reversed) {
e = e.asU64;
for (int i = 63; i >= 0; i--) {
res = res.square();
if (((e >> i) & BigInt.one) == BigInt.one) {
res = res * this;
}
}
}
return res;
}