]> git.codecow.com Git - Monocypher.git/commitdiff
Typos
authorLoup Vaillant <loup@loup-vaillant.fr>
Tue, 24 Mar 2020 18:06:31 +0000 (19:06 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Tue, 24 Mar 2020 18:06:31 +0000 (19:06 +0100)
src/monocypher.c

index 0d656b5785caa9a23d2cfbf6d98adcdc01f87bb8..81a4a4f9be08b675bafdd0e159f0699989d0a21e 100644 (file)
@@ -2417,7 +2417,7 @@ static const fe A = {486662};
 // Elligator direct map
 //
 // Computes the point corresponding to a representative, encoded in 32
-// bytes (little Endian).  Since positive representatves fits in 254
+// bytes (little Endian).  Since positive representatives fits in 254
 // bits, The two most significant bits are ignored.
 //
 // From the paper:
@@ -2619,9 +2619,9 @@ void crypto_key_exchange(u8       shared_key[32],
     crypto_hchacha20(shared_key, shared_key, zero);
 }
 
-//////////////////////
-/// Scalar divison ///
-//////////////////////
+///////////////////////
+/// Scalar division ///
+///////////////////////
 void crypto_x25519_inverse(u8       blind_salt [32],
                            const u8 private_key[32],
                            const u8 curve_point[32])