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