16 unsigned char msg[32];
17 unsigned char sig[64];
19 for (
int i = 0; i < 32; i++) msg[i] = 1 + i;
20 for (
int i = 0; i < 64; i++) sig[i] = 65 + i;
22 unsigned char pubkey[33];
23 for (
int i=0; i<1000000; i++) {
26 for (
int j = 0; j < 32; j++) {
29 sig[j] = pubkey[j + 1];
33 static const unsigned char fini[33] = {
35 0x52, 0x63, 0xae, 0x9a, 0x9d, 0x47, 0x1f, 0x1a,
36 0xb2, 0x36, 0x65, 0x89, 0x11, 0xe7, 0xcc, 0x86,
37 0xa3, 0xab, 0x97, 0xb6, 0xf1, 0xaf, 0xfd, 0x8f,
38 0x9b, 0x38, 0xb6, 0x18, 0x55, 0xe5, 0xc2, 0x43
40 CHECK(memcmp(fini, pubkey, 33) == 0);