From b0a7fe75e243bdb150386d0d21551fe90506ba61 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Mon, 9 Jan 2023 18:41:52 +0100 Subject: [PATCH] Cosmetic: renamed variable to match comments --- src/monocypher.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/monocypher.c b/src/monocypher.c index 3be9f52..cf307c6 100644 --- a/src/monocypher.c +++ b/src/monocypher.c @@ -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); } ///////////////////////// -- 2.47.3