JubJubFq.fromRaw constructor
Implementation
factory JubJubFq.fromRaw(List<BigInt> val) {
assert(val.length == 4);
// Create JubJubFq element from raw limbs
JubJubFq tmp = JubJubFq(val);
// Convert to Montgomery form
return tmp.mul(JubJubFq.r2());
}