[typos] fixing comment in ed25519_add_scalar (#1276)

This commit is contained in:
Angel Leon 2016-10-30 20:29:51 -06:00 committed by Arvid Norberg
parent 8daa200d11
commit 9ed948b3b1
1 changed files with 2 additions and 2 deletions

View File

@ -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 {