We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc7d8fd commit dabfea7Copy full SHA for dabfea7
src/field.h
@@ -32,10 +32,12 @@
32
33
#include "util.h"
34
35
-/** Normalize a field element. */
+/** Normalize a field element. This brings the field element to a canonical representation, reduces
36
+ * its magnitude to 1, and reduces it modulo field size `p`.
37
+ */
38
static void secp256k1_fe_normalize(secp256k1_fe *r);
39
-/** Weakly normalize a field element: reduce it magnitude to 1, but don't fully normalize. */
40
+/** Weakly normalize a field element: reduce its magnitude to 1, but don't fully normalize. */
41
static void secp256k1_fe_normalize_weak(secp256k1_fe *r);
42
43
/** Normalize a field element, without constant-time guarantee. */
0 commit comments