45 .message = { 0x31, 0x32, 0x33, 0x34, 0x30, 0x30 },
48 .is_valid_signature =
true,
49 .is_circuit_satisfied =
false,
50 .comment =
"Arithmetic error, s is larger than (n+1)/2",
52 "ECDSA input validation: the s component of the signature is bigger than (Fr::modulus + 1)/2.: hi limb.",
57 .message = { 0x31, 0x32, 0x33, 0x34, 0x30, 0x30 },
60 .is_valid_signature =
true,
61 .is_circuit_satisfied =
true,
62 .comment =
"Arithmetic error, r component is small",
69 .message = { 0x31, 0x32, 0x33, 0x34, 0x30, 0x30 },
72 .is_valid_signature =
false,
73 .is_circuit_satisfied =
true,
74 .comment =
"Point duplication, public key shares x-coordinates with generator",
81 .message = { 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65 },
84 .is_valid_signature =
true,
85 .is_circuit_satisfied =
true,
86 .comment =
"Edge case public key, y coordinate is small",
100 .message = { 0x31, 0x32, 0x33, 0x34, 0x30, 0x30 },
103 .is_valid_signature =
true,
104 .is_circuit_satisfied =
true,
105 .comment =
"Arithmetic error",
112 .message = { 0x31, 0x32, 0x33, 0x34, 0x30, 0x30 },
115 .is_valid_signature =
false,
116 .is_circuit_satisfied =
118 .comment =
"Point duplication, public key shares x-coordinates with generator",
119 .failure_msg =
"ECDSA input validation: the public key is equal to plus or minus the generator point.",
125 .message = { 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65 },
128 .is_valid_signature =
true,
129 .is_circuit_satisfied =
true,
130 .comment =
"Edge case public key, x-coordinate has many trailing zeros",