Function bitcoin_serai::crypto::make_even
source ยท pub fn make_even(key: ProjectivePoint) -> (ProjectivePoint, u64)
Available on crate feature
hazmat
and (crate features std
or hazmat
) only.Expand description
Make a point even by adding the generator until it is even.
Returns the even point and the amount of additions required.