From: Loup Vaillant Date: Fri, 2 Dec 2022 22:45:13 +0000 (+0100) Subject: Replaced stray uint8_t by u8 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=69df67a2b41620991558cda1fe9edd08fcadba1c;p=Monocypher.git Replaced stray uint8_t by u8 --- diff --git a/src/monocypher.c b/src/monocypher.c index 2869c38..14b9d72 100644 --- a/src/monocypher.c +++ b/src/monocypher.c @@ -2581,7 +2581,7 @@ static const fe A = {486662}; // u2 = w * -1 * -non_square * r^2 // u2 = w * non_square * r^2 // u2 = u -void crypto_hidden_to_curve(uint8_t curve[32], const uint8_t hidden[32]) +void crypto_hidden_to_curve(u8 curve[32], const u8 hidden[32]) { fe r, u, t1, t2, t3; fe_frombytes_mask(r, hidden, 2); // r is encoded in 254 bits.