summaryrefslogtreecommitdiff
path: root/lib/libcrypto/curve25519
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2016-11-06 10:45:18 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2016-11-06 10:45:18 +0000
commit11563cbbf4bc78610ab978404c4660edb1a6be62 (patch)
treee42de75ec338f5a336e80e5d49b8268db92eb08f /lib/libcrypto/curve25519
parent7094a857f2cbf75cf931804663653243532ad77f (diff)
adjust guards to elide unused Bi array
ok jsing@
Diffstat (limited to 'lib/libcrypto/curve25519')
-rw-r--r--lib/libcrypto/curve25519/curve25519.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libcrypto/curve25519/curve25519.c b/lib/libcrypto/curve25519/curve25519.c
index 0dffb154588..56c7f584c17 100644
--- a/lib/libcrypto/curve25519/curve25519.c
+++ b/lib/libcrypto/curve25519/curve25519.c
@@ -3657,7 +3657,6 @@ static void slide(signed char *r, const uint8_t *a) {
}
}
}
-#endif
static const ge_precomp Bi[8] = {
{
@@ -3726,7 +3725,6 @@ static const ge_precomp Bi[8] = {
},
};
-#ifdef ED25519
/* r = a * A + b * B
* where a = a[0]+256*a[1]+...+256^31 a[31].
* and b = b[0]+256*b[1]+...+256^31 b[31].