]> git.codecow.com Git - Monocypher.git/commit
Added the fe (field element) type for readability
authorLoup Vaillant <loup@loup-vaillant.fr>
Wed, 19 Feb 2020 20:30:47 +0000 (21:30 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Wed, 19 Feb 2020 20:30:47 +0000 (21:30 +0100)
commita57d39eb28f8849076b8475cdab3cfc929a4704a
tree5f37389742575f0df3729dea33c91fceef6d57c9
parent405e1b4e02b9aabdc24155ffb5c067967ac4a362
Added the fe (field element) type for readability

Having to write those modulo operators everywhere was tiresome. Having
an explicit field element type allows a more direct writing. It also
helps Python throw type errors if we misuse anything.
tests/gen/elligator.py