]> git.codecow.com Git - Monocypher.git/commit
Removed modulo operation in SHA-512
authorLoup Vaillant <loup@loup-vaillant.fr>
Fri, 14 Feb 2020 23:27:25 +0000 (00:27 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Fri, 14 Feb 2020 23:27:25 +0000 (00:27 +0100)
commitd36944946ecda0a48c885702fc4b0b20618ecd16
tree042a306972eab8a6dfe9ee5d5f9ba6b1e48cf050
parenta5af36668740029a6440d7ac61fd236b4b540646
Removed modulo operation in SHA-512

While I expect almost all compilers optimise those down to a bit mask in
practice, it can help naive compilers generate better code. The rest of
Monocypher already took this approach, I just forgot about this one.
src/optional/monocypher-ed25519.c