From 3928b7c38367947756b7d506f431bfb7bbbac5d0 Mon Sep 17 00:00:00 2001 From: Coding Enthusiast Date: Fri, 8 Dec 2023 08:13:16 +0330 Subject: [PATCH] doc: improve secp256k1_fe_set_b32_mod doc --- src/field.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/field.h b/src/field.h index df7411131b093..bd589bf8a8bc3 100644 --- a/src/field.h +++ b/src/field.h @@ -184,7 +184,8 @@ static int secp256k1_fe_equal(const secp256k1_fe *a, const secp256k1_fe *b); */ static int secp256k1_fe_cmp_var(const secp256k1_fe *a, const secp256k1_fe *b); -/** Set a field element equal to a provided 32-byte big endian value, reducing it. +/** Set a field element equal to the element represented by a provided 32-byte big endian value + * interpreted modulo p. * * On input, r does not need to be initialized. a must be a pointer to an initialized 32-byte array. * On output, r = a (mod p). It will have magnitude 1, and not be normalized.