Document inversion ladder in curve25519
authorEmilia Kasper <emilia@openssl.org>
Fri, 29 Apr 2016 17:19:58 +0000 (19:19 +0200)
committerEmilia Kasper <emilia@openssl.org>
Thu, 5 May 2016 16:51:53 +0000 (18:51 +0200)
commit0eadff033fea00f1b9abe0a83bf0d6637690f085
tree4db67197d11dbea0ce2755dd06b3216ee641f3f0
parentfb37410ee0cbda3c5b4a9fb48e67165e8f2c01c5
Document inversion ladder in curve25519

This demystifies two for-loops that do nothing. They were used to write
the ladder in a unified way. Now that the ladder is otherwise commented,
remove the dead loops.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/ec/curve25519.c