|
// See http://elligator.cr.yp.to/elligator-20130828.pdf. |
It is hard to understand how the paper relates to this function for non-experts. You wrote a nice blog post explaining it in https://www.imperialviolet.org/2013/12/25/elligator.html, which I found through googling only.
Please reference this instead of the paper (the paper is in the blog post, after all).