Skip to content
Snippets Groups Projects
  • Simon Tatham's avatar
    992f98d5
    Fix two misstatements of the Montgomery curve equation. · 992f98d5
    Simon Tatham authored
    I got it right in all the serious code (or else my Curve25519 key
    exchange wouldn't have worked), but I wrote it down wrongly in the
    comment in ecc.h, putting the coefficient b on the RHS x term rather
    than the LHS y^2. Then I repeated the same error in the point
    decompression function in eccref.py.
    992f98d5
    History
    Fix two misstatements of the Montgomery curve equation.
    Simon Tatham authored
    I got it right in all the serious code (or else my Curve25519 key
    exchange wouldn't have worked), but I wrote it down wrongly in the
    comment in ecc.h, putting the coefficient b on the RHS x term rather
    than the LHS y^2. Then I repeated the same error in the point
    decompression function in eccref.py.