Skip to content

Commit

Permalink
doc: improve secp256k1_fe_set_b32_mod doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Coding-Enthusiast committed Dec 8, 2023
1 parent 5e9a4d7 commit 3928b7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/field.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3928b7c

Please sign in to comment.