]> git.meshlink.io Git - meshlink/blobdiff - src/ed25519/add_scalar.c
Fix spelling errors.
[meshlink] / src / ed25519 / add_scalar.c
index 262ec725119035986fba7ee6b409c1d8c7cb0ed8..37fed7b08e493ea95835395d38f7e1675588cdd4 100644 (file)
@@ -30,9 +30,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 {