LoupVaillant / Monocypher

An easy to use, easy to deploy crypto library
https://monocypher.org
Other
614 stars 80 forks source link

Add some comments about what the EC functions do #151

Closed fscoto closed 4 years ago

fscoto commented 4 years ago

This hopefully helps both auditing the code (by giving a clear indication of what a function is supposed to be doing), and trying to work with it (by minimizing the amount of time people need to determine if a function is relevant to their interests).


This is basically just an assortment of things I wish I knew these before going into the code. I'm not entirely sure that ge stands for "group element", but that's what I suspect it means.

While already here, remove two spaces in front of semicolons.

LoupVaillant commented 4 years ago

This patch is perfect. As I suspected much better than I would have done. Merging right away, thanks.