Skip to content

Commit 3928b7c

Browse files
doc: improve secp256k1_fe_set_b32_mod doc
1 parent 5e9a4d7 commit 3928b7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/field.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ static int secp256k1_fe_equal(const secp256k1_fe *a, const secp256k1_fe *b);
184184
*/
185185
static int secp256k1_fe_cmp_var(const secp256k1_fe *a, const secp256k1_fe *b);
186186

187-
/** Set a field element equal to a provided 32-byte big endian value, reducing it.
187+
/** Set a field element equal to the element represented by a provided 32-byte big endian value
188+
* interpreted modulo p.
188189
*
189190
* On input, r does not need to be initialized. a must be a pointer to an initialized 32-byte array.
190191
* On output, r = a (mod p). It will have magnitude 1, and not be normalized.

0 commit comments

Comments
 (0)