]> git.codecow.com Git - Monocypher.git/commitdiff
Cosmetic: renamed variable to match comments
authorLoup Vaillant <loup@loup-vaillant.fr>
Mon, 9 Jan 2023 17:41:52 +0000 (18:41 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Mon, 9 Jan 2023 17:41:52 +0000 (18:41 +0100)
src/monocypher.c

index 3be9f52abb847ca1f15d9856f5d3559ebf6d43af..cf307c65b62b04d57ec4133fe68eaa7d195ab4a6 100644 (file)
@@ -2308,9 +2308,9 @@ void crypto_eddsa_sign(u8 signature [64], const u8 secret_key[32],
 int crypto_eddsa_check(const u8  signature[64], const u8 public_key[32],
                        const u8 *message, size_t message_size)
 {
-       u8 h_ram  [32];
-       hash_reduce(h_ram, signature, 32, public_key, 32, message, message_size);
-       return crypto_eddsa_check_equation(signature, public_key, h_ram);
+       u8 h[32];
+       hash_reduce(h, signature, 32, public_key, 32, message, message_size);
+       return crypto_eddsa_check_equation(signature, public_key, h);
 }
 
 /////////////////////////