]> git.codecow.com Git - Monocypher.git/commit
Elligator 2 script: fast scalarmult, explicit hash_to_curve
authorLoup Vaillant <loup@loup-vaillant.fr>
Wed, 19 Feb 2020 22:51:12 +0000 (23:51 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Wed, 19 Feb 2020 22:59:47 +0000 (23:59 +0100)
commit21dec971f5fe31389713adaf9c7b3e4917bc9dad
tree408984551565ad1a867fc93fd623aab77b8257fd
parenta57d39eb28f8849076b8475cdab3cfc929a4704a
Elligator 2 script: fast scalarmult, explicit hash_to_curve

The fast scalar multiplication will let us explore the merging of the
various exponentiations required to perform the conversion to Montgomery
then curve_to_hash.

The explicit hash_to_curve() serves as an implementation guide.  Note
the omission of the v coordinate, not needed for X25519.  I am not
aware of a compelling use case to convert to Edwards (not all PAKEs need
point addition).
tests/gen/elligator.py