summaryrefslogtreecommitdiffhomepage
path: root/src/crypto
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-07-07 03:40:35 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-07-07 03:40:35 +0200
commita79e13c55483d4d6b1aa7d9623e56a743bcdbb7c (patch)
tree1f6977dc26f53215e4f7c0e27bf161e9a8642a54 /src/crypto
parentd62fa841bd9b5e110a9d38ef2475f104809753f1 (diff)
curve25519: unneeded zeros variable
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/curve25519.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/crypto/curve25519.c b/src/crypto/curve25519.c
index d3d7fa7..021bbd1 100644
--- a/src/crypto/curve25519.c
+++ b/src/crypto/curve25519.c
@@ -17,8 +17,6 @@ static __always_inline void normalize_secret(uint8_t secret[CURVE25519_POINT_SIZ
secret[31] |= 64;
}
-static const uint8_t zeros[CURVE25519_POINT_SIZE] = { 0 };
-
#ifdef __SIZEOF_INT128__
typedef uint64_t limb;
typedef limb felem[5];