• Michael Hamburg's avatar
    elligator overflow bits. · 650356c5
    Michael Hamburg authored
    Before, invert_elligator would invert to a gf, which wouldnt be a uniformly
    random string because, eg, curve25519 gfs only have 255 bits out of 256.
    Now add a random multiple of p.  This still wont work for future curves
    that have a field size of 1 mod 8, because those curves use elligator with
    no high bit set, but its a start
    650356c5
Name
Last commit
Last update
aux Loading commit data...
src Loading commit data...
test Loading commit data...
Doxyfile Loading commit data...
HISTORY.txt Loading commit data...
LICENSE.txt Loading commit data...
Makefile Loading commit data...
README.txt Loading commit data...
TODO.txt Loading commit data...