]> git.codecow.com Git - Monocypher.git/commit
Simplified crypto_x25519_dirty_fast()
authorLoup Vaillant <loup@loup-vaillant.fr>
Tue, 13 Jul 2021 22:19:56 +0000 (00:19 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Tue, 13 Jul 2021 22:24:42 +0000 (00:24 +0200)
commit11bb1f6a8e6c70bd39ff55fb2701d6ba99ce062c
tree9dd13b6921fe048eb59a8cbfc777d1c1c04e0a4c
parent55c9e2a8ee071ed3590963975331ba9e011b521b
Simplified crypto_x25519_dirty_fast()

I noticed a pattern that I didn't exploit optimally.  The current code
is a bit simpler.

Also, I couldn't reverse engineer my own code, so I've expanded the
comments to explain the trick in more detail.
src/monocypher.c