Break malleability by producing S <= order/2
This commit is contained in:
@@ -26,6 +26,7 @@ typedef struct {
|
||||
/** Global constants related to the group */
|
||||
typedef struct {
|
||||
secp256k1_num_t order; // the order of the curve (= order of its generator)
|
||||
secp256k1_num_t half_order; // half the order of the curve (= order of its generator)
|
||||
secp256k1_ge_t g; // the generator point
|
||||
|
||||
// constants related to secp256k1's efficiently computable endomorphism
|
||||
|
||||
Reference in New Issue
Block a user