aboutsummaryrefslogtreecommitdiff
path: root/crypto/ec
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-02-29 14:33:44 +0000
committerDr. Stephen Henson <steve@openssl.org>2016-02-29 15:13:31 +0000
commit15e58273da866e47832ee46ef3023beeefb870a9 (patch)
treeb1766020ef32cabc06f5004e8dd5ee2635afb0a8 /crypto/ec
parent174a74ef0b089b087023357b94548a60de0668f7 (diff)
downloadopenssl-15e58273da866e47832ee46ef3023beeefb870a9.zip
openssl-15e58273da866e47832ee46ef3023beeefb870a9.tar.gz
openssl-15e58273da866e47832ee46ef3023beeefb870a9.tar.bz2
remove unused variables
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'crypto/ec')
-rw-r--r--crypto/ec/curve25519.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/crypto/ec/curve25519.c b/crypto/ec/curve25519.c
index b20834c..7bd953c 100644
--- a/crypto/ec/curve25519.c
+++ b/crypto/ec/curve25519.c
@@ -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);