Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EC_AffinePoint API improvements #4446

Merged
merged 1 commit into from
Nov 27, 2024
Merged

EC_AffinePoint API improvements #4446

merged 1 commit into from
Nov 27, 2024

Commits on Nov 27, 2024

  1. EC_AffinePoint API improvements

    This adds point negation and point addition.
    
    Point addition is not particularly efficient since it converts the
    result immediately to an affine coordinate, as we do not currently
    expose projective points at all. That said it is more than sufficient
    for simple protocols that just need to add a few points together.
    
    This also corrects the return result of EC_AffinePoint::mul_px_qy,
    which would previously crash if the resulting point was the identity
    element. Instead it should return nullopt.
    
    Discussion in #4027
    randombit committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    28bf67c View commit details
    Browse the repository at this point in the history