test: introduce group order byte-array constant for deduplication
This commit is contained in:
@@ -11,6 +11,14 @@
|
||||
#include "testrand.h"
|
||||
#include "util.h"
|
||||
|
||||
/* group order of the secp256k1 curve in 32-byte big endian representation */
|
||||
static const unsigned char secp256k1_group_order_bytes[32] = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe,
|
||||
0xba, 0xae, 0xdc, 0xe6, 0xaf, 0x48, 0xa0, 0x3b,
|
||||
0xbf, 0xd2, 0x5e, 0x8c, 0xd0, 0x36, 0x41, 0x41
|
||||
};
|
||||
|
||||
static void testutil_random_fe(secp256k1_fe *x) {
|
||||
unsigned char bin[32];
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user