aztec-nr - noir_aztec::utils::point

Function point_to_bytes

pub fn point_to_bytes(p: EmbeddedCurvePoint) -> [u8; 32]

Converts a point to a byte array.

We don't serialize the point at infinity flag because this function is used in situations where we do not want to waste the extra byte (encrypted log).