File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,13 @@ static int secp256k1_fe_is_zero(const secp256k1_fe *a);
64
64
/** Check the "oddness" of a field element. Requires the input to be normalized. */
65
65
static int secp256k1_fe_is_odd (const secp256k1_fe * a );
66
66
67
- /** Compare two field elements. Requires magnitude-1 inputs. */
67
+ /** Compare two field elements. Requires both the inputs to have magnitude = 1.
68
+ * i.e. a->magnitude = 1 and b->magnitude = 1 */
68
69
static int secp256k1_fe_equal (const secp256k1_fe * a , const secp256k1_fe * b );
69
70
70
- /** Same as secp256k1_fe_equal, but may be variable time. */
71
+ /** Same as secp256k1_fe_equal, but may be variable time.
72
+ * Requires only the first input to have magnitude = 1.
73
+ * i.e. a->magnitude = 1 */
71
74
static int secp256k1_fe_equal_var (const secp256k1_fe * a , const secp256k1_fe * b );
72
75
73
76
/** Compare two field elements. Requires both inputs to be normalized */
You can’t perform that action at this time.
0 commit comments