]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Add FIXME comment.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 20 Jun 2016 05:11:34 +0000 (07:11 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 20 Jun 2016 05:11:34 +0000 (07:11 +0200)
curve25519-mul.c

index f5127d7794010f14f97f55d3dc5f874d9c332e9f..ba76bc0bb1b2b27307ef9990087ef7794ebb71ab 100644 (file)
@@ -122,6 +122,7 @@ curve25519_mul (uint8_t *q, const uint8_t *n, const uint8_t *p)
       ecc_modp_sqr (ecc, DA, C);
       ecc_modp_mul (ecc, z3, DA, x1);
 
+      /* FIXME: Could be combined with the loop's initial cnd_swap. */
       cnd_swap (bit, x2, x3, 2*ecc->p.size);
     }
   /* Do the 3 low zero bits, just duplicating x2 */