summaryrefslogtreecommitdiff
path: root/mpi
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2017-05-23 17:28:46 +0200
committerWerner Koch <wk@gnupg.org>2017-05-23 17:29:43 +0200
commitc1bb3d9fdb6fe5f336af1d5a03fc42bfdc1f8b0b (patch)
treeba52b8ff4fc7156eb3d8d146c55660368bc47fd6 /mpi
parent4cd94994a9abec9b92fa5972869baf089a28fa76 (diff)
downloadlibgcrypt-c1bb3d9fdb6fe5f336af1d5a03fc42bfdc1f8b0b.tar.gz
doc: Comment fixes
Diffstat (limited to 'mpi')
-rw-r--r--mpi/ec.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mpi/ec.c b/mpi/ec.c
index 016af005..8a6a656c 100644
--- a/mpi/ec.c
+++ b/mpi/ec.c
@@ -1255,7 +1255,12 @@ _gcry_mpi_ec_mul_point (mpi_point_t result,
|| (ctx->model == MPI_EC_WEIERSTRASS
&& mpi_is_secure (scalar)))
{
- /* Simple left to right binary method. GECC Algorithm 3.27 */
+ /* Simple left to right binary method. Algorithm 3.27 from
+ * {author={Hankerson, Darrel and Menezes, Alfred J. and Vanstone, Scott},
+ * title = {Guide to Elliptic Curve Cryptography},
+ * year = {2003}, isbn = {038795273X},
+ * url = {http://www.cacr.math.uwaterloo.ca/ecc/},
+ * publisher = {Springer-Verlag New York, Inc.}} */
unsigned int nbits;
int j;