pub fn swap_points(p: Point, q: Point, mask: usize) -> (Point, Point) {
    let mut res = (q, p);
    if mask == 0 {
	res = (p, q);
    }
    res
}
// FIXME: make constant time, probably will need a constant time swap on Fp and Fp2
make constant time, probably will need a constant time swap on Fp and Fp2
make constant time probably will need a constant time swap on Fp and Fp2
pub fn swap_points(p: Point, q: Point, mask: usize) -> (Point, Point) {
    let mut res = (q, p);
    if mask == 0 {
	res = (p, q);
    }
    res
}
pub fn swap_points ( p : Point , q : Point , mask : usize ) -> ( Point , Point ) { let mut res = ( q , p ) ; if mask == 0 { res = ( p , q ) ; } res }
FIXME: make constant time, probably will need a constant time swap on Fp and Fp2
FIXME : make constant time probably will need a constant time swap on Fp and Fp2
p
Point
q
Point
mask
usize
p
Point
q
Point
mask
usize