From 9ed948b3b1ce0d7de4073fed935d7b67801b69d3 Mon Sep 17 00:00:00 2001 From: Angel Leon Date: Sun, 30 Oct 2016 20:29:51 -0600 Subject: [PATCH] [typos] fixing comment in ed25519_add_scalar (#1276) --- ed25519/src/add_scalar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ed25519/src/add_scalar.cpp b/ed25519/src/add_scalar.cpp index faa0089c5..ec09b68b4 100644 --- a/ed25519/src/add_scalar.cpp +++ b/ed25519/src/add_scalar.cpp @@ -47,9 +47,9 @@ void ed25519_add_scalar(unsigned char *public_key, unsigned char *private_key, c /* public key: A = nB + T */ if (public_key) { /* if we know the private key we don't need a point addition, which is faster */ - /* using a "timing attack" you could find out wether or not we know the private + /* using a "timing attack" you could find out whether or not we know the private key, but this information seems rather useless - if this is important pass - public_key and private_key seperately in 2 function calls */ + public_key and private_key separately in 2 function calls */ if (private_key) { ge_scalarmult_base(&A, private_key); } else {