geP3Tobytes_ static method
Implementation
static List<int> geP3Tobytes_(GroupElementP3 h) {
final List<int> s = List<int>.filled(32, 0);
FieldElement recip = FieldElement();
FieldElement x = FieldElement();
FieldElement y = FieldElement();
feInvert(recip, h.z);
feMul(x, h.x, recip);
feMul(y, h.y, recip);
feTobytes(s, y);
s[31] ^= feIsnegative(x) << 7;
return s;
}