For a generic-ish Frost implementation, I have need to determine if the output of distributed keygen has even y-coordinate, to perform the Taproot adjustment. I can get away with a local AffineYCoordinateParity trait (fn has_even_y(&self) -> bool) that I implement on k256 and bound on, but maybe "for symmetry" it wouldn't be that horrible to add either AffineYCoordinate or at least AffineYCoordinateParity to the AffineArithmetic::AffinePoint bounds?
Understanding the arguments pro/con coordinates from https://github.com/RustCrypto/traits/pull/817...
For a generic-ish Frost implementation, I have need to determine if the output of distributed keygen has even y-coordinate, to perform the Taproot adjustment. I can get away with a local
AffineYCoordinateParity
trait (fn has_even_y(&self) -> bool
) that I implement onk256
and bound on, but maybe "for symmetry" it wouldn't be that horrible to add eitherAffineYCoordinate
or at leastAffineYCoordinateParity
to theAffineArithmetic::AffinePoint
bounds?