remove unused variables
authorDr. Stephen Henson <steve@openssl.org>
Mon, 29 Feb 2016 14:33:44 +0000 (14:33 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 29 Feb 2016 15:13:31 +0000 (15:13 +0000)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
crypto/ec/curve25519.c

index b20834cdbb0887351ce383ac3315a4953174757a..7bd953ceade8bad330916c58d33dfc3329109805 100644 (file)
@@ -957,12 +957,6 @@ typedef struct {
   fe T2d;
 } ge_cached;
 
-static const fe d = {-10913610, 13857413, -15372611, 6949391,   114729,
-                     -8787816,  -6275908, -3247719,  -18696448, -12055116};
-
-static const fe sqrtm1 = {-32595792, -7943725,  9377950,  3500415, 12389472,
-                          -272473,   -25146209, -2005654, 326686,  11406482};
-
 static void ge_p3_0(ge_p3 *h) {
   fe_0(h->X);
   fe_1(h->Y);
@@ -983,9 +977,6 @@ static void ge_p3_to_p2(ge_p2 *r, const ge_p3 *p) {
   fe_copy(r->Z, p->Z);
 }
 
-static const fe d2 = {-21827239, -5839606,  -30745221, 13898782, 229458,
-                      15978800,  -12551817, -6495438,  29715968, 9444199};
-
 /* r = p */
 static void ge_p1p1_to_p2(ge_p2 *r, const ge_p1p1 *p) {
   fe_mul(r->X, p->X, p->T);