forked from premiere/premiere-libtorrent
[typos] fixing comment in ed25519_add_scalar (#1276)
This commit is contained in:
parent
8daa200d11
commit
9ed948b3b1
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue