Alien-libsecp256k1
view release on metacpan or search on metacpan
libsecp256k1/src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h view on Meta::CPAN
{0, 0, 6, 15265, 69, 0 },
/* tcId: 107. flipped bit 48 in s */
{0, 0, 6, 15334, 69, 0 },
/* tcId: 108. flipped bit 64 in s */
{0, 0, 6, 15403, 69, 0 },
/* tcId: 109. length of s uses long form encoding */
{0, 0, 6, 15472, 72, 0 },
/* tcId: 110. length of s contains a leading 0 */
{0, 0, 6, 15544, 73, 0 },
/* tcId: 111. length of s uses 33 instead of 32 */
{0, 0, 6, 15617, 71, 0 },
/* tcId: 112. length of s uses 31 instead of 32 */
{0, 0, 6, 15688, 71, 0 },
/* tcId: 113. uint32 overflow in length of s */
{0, 0, 6, 15759, 76, 0 },
/* tcId: 114. uint64 overflow in length of s */
{0, 0, 6, 15835, 80, 0 },
/* tcId: 115. length of s = 2**31 - 1 */
{0, 0, 6, 15915, 75, 0 },
/* tcId: 116. length of s = 2**31 */
{0, 0, 6, 15990, 75, 0 },
/* tcId: 117. length of s = 2**32 - 1 */
{0, 0, 6, 16065, 75, 0 },
/* tcId: 118. length of s = 2**40 - 1 */
{0, 0, 6, 16140, 76, 0 },
/* tcId: 119. length of s = 2**64 - 1 */
{0, 0, 6, 16216, 79, 0 },
/* tcId: 120. incorrect length of s */
{0, 0, 6, 16295, 71, 0 },
/* tcId: 121. replaced s by an indefinite length tag without termination */
{0, 0, 6, 16366, 71, 0 },
/* tcId: 122. appending 0's to s */
{0, 0, 6, 16437, 73, 0 },
/* tcId: 123. prepending 0's to s */
{0, 0, 6, 16510, 73, 0 },
/* tcId: 124. appending null value to s */
{0, 0, 6, 16583, 73, 0 },
/* tcId: 125. prepending garbage to s */
{0, 0, 6, 16656, 76, 0 },
/* tcId: 126. prepending garbage to s */
{0, 0, 6, 16732, 75, 0 },
/* tcId: 127. appending garbage to s */
{0, 0, 6, 16807, 79, 0 },
/* tcId: 128. truncated length of s */
{0, 0, 6, 16886, 39, 0 },
/* tcId: 129. including undefined tags to s */
{0, 0, 6, 16925, 77, 0 },
/* tcId: 130. using composition with indefinite length for s */
{0, 0, 6, 17002, 75, 0 },
/* tcId: 131. using composition with wrong tag for s */
{0, 0, 6, 17077, 75, 0 },
/* tcId: 132. Replacing s with NULL */
{0, 0, 6, 17152, 39, 0 },
/* tcId: 133. changing tag value of s */
{0, 0, 6, 17191, 71, 0 },
/* tcId: 134. changing tag value of s */
{0, 0, 6, 17262, 71, 0 },
/* tcId: 135. changing tag value of s */
{0, 0, 6, 17333, 71, 0 },
/* tcId: 136. changing tag value of s */
{0, 0, 6, 17404, 71, 0 },
/* tcId: 137. changing tag value of s */
{0, 0, 6, 17475, 71, 0 },
/* tcId: 138. dropping value of s */
{0, 0, 6, 17546, 39, 0 },
/* tcId: 139. using composition for s */
{0, 0, 6, 17585, 75, 0 },
/* tcId: 140. modifying first byte of s */
{0, 0, 6, 17660, 71, 0 },
/* tcId: 141. modifying last byte of s */
{0, 0, 6, 17731, 71, 0 },
/* tcId: 142. truncated s */
{0, 0, 6, 17802, 70, 0 },
/* tcId: 143. truncated s */
{0, 0, 6, 17872, 70, 0 },
/* tcId: 144. s of size 4129 to check for overflows */
{0, 0, 6, 17942, 4172, 0 },
/* tcId: 145. leading ff in s */
{0, 0, 6, 22114, 72, 0 },
/* tcId: 146. replaced s by infinity */
{0, 0, 6, 22186, 40, 0 },
/* tcId: 147. replacing s with zero */
{0, 0, 6, 22226, 40, 0 },
/* tcId: 148. replaced r by r + n */
{0, 0, 6, 22266, 71, 0 },
/* tcId: 149. replaced r by r - n */
{0, 0, 6, 22337, 70, 0 },
/* tcId: 150. replaced r by r + 256 * n */
{0, 0, 6, 22407, 72, 0 },
/* tcId: 151. replaced r by -r */
{0, 0, 6, 22479, 71, 0 },
/* tcId: 152. replaced r by n - r */
{0, 0, 6, 22550, 70, 0 },
/* tcId: 153. replaced r by -n - r */
{0, 0, 6, 22620, 71, 0 },
/* tcId: 154. replaced r by r + 2**256 */
{0, 0, 6, 22691, 71, 0 },
/* tcId: 155. replaced r by r + 2**320 */
{0, 0, 6, 22762, 79, 0 },
/* tcId: 156. replaced s by s + n */
{0, 0, 6, 22841, 71, 0 },
/* tcId: 157. replaced s by s - n */
{0, 0, 6, 22912, 71, 0 },
/* tcId: 158. replaced s by s + 256 * n */
{0, 0, 6, 22983, 72, 0 },
/* tcId: 159. replaced s by -s */
{0, 0, 6, 23055, 70, 0 },
/* tcId: 160. replaced s by -n - s */
{0, 0, 6, 23125, 71, 0 },
/* tcId: 161. replaced s by s + 2**256 */
{0, 0, 6, 23196, 71, 0 },
/* tcId: 162. replaced s by s - 2**256 */
{0, 0, 6, 23267, 71, 0 },
/* tcId: 163. replaced s by s + 2**320 */
{0, 0, 6, 23338, 79, 0 },
/* tcId: 164. Signature with special case values r=0 and s=0 */
{0, 0, 6, 23417, 8, 0 },
/* tcId: 165. Signature with special case values r=0 and s=1 */
{0, 0, 6, 23425, 8, 0 },
/* tcId: 166. Signature with special case values r=0 and s=-1 */
{0, 0, 6, 23433, 8, 0 },
/* tcId: 167. Signature with special case values r=0 and s=n */
{0, 0, 6, 23441, 40, 0 },
/* tcId: 168. Signature with special case values r=0 and s=n - 1 */
{0, 0, 6, 23481, 40, 0 },
/* tcId: 169. Signature with special case values r=0 and s=n + 1 */
{0, 0, 6, 23521, 40, 0 },
/* tcId: 170. Signature with special case values r=0 and s=p */
{0, 0, 6, 23561, 40, 0 },
/* tcId: 171. Signature with special case values r=0 and s=p + 1 */
{0, 0, 6, 23601, 40, 0 },
/* tcId: 172. Signature with special case values r=1 and s=0 */
{0, 0, 6, 23641, 8, 0 },
/* tcId: 173. Signature with special case values r=1 and s=1 */
{0, 0, 6, 23649, 8, 0 },
/* tcId: 174. Signature with special case values r=1 and s=-1 */
{0, 0, 6, 23657, 8, 0 },
/* tcId: 175. Signature with special case values r=1 and s=n */
{0, 0, 6, 23665, 40, 0 },
/* tcId: 176. Signature with special case values r=1 and s=n - 1 */
{0, 0, 6, 23705, 40, 0 },
/* tcId: 177. Signature with special case values r=1 and s=n + 1 */
{0, 0, 6, 23745, 40, 0 },
/* tcId: 178. Signature with special case values r=1 and s=p */
{0, 0, 6, 23785, 40, 0 },
/* tcId: 179. Signature with special case values r=1 and s=p + 1 */
{0, 0, 6, 23825, 40, 0 },
/* tcId: 180. Signature with special case values r=-1 and s=0 */
{0, 0, 6, 23865, 8, 0 },
/* tcId: 181. Signature with special case values r=-1 and s=1 */
{0, 0, 6, 23873, 8, 0 },
/* tcId: 182. Signature with special case values r=-1 and s=-1 */
{0, 0, 6, 23881, 8, 0 },
/* tcId: 183. Signature with special case values r=-1 and s=n */
{0, 0, 6, 23889, 40, 0 },
/* tcId: 184. Signature with special case values r=-1 and s=n - 1 */
{0, 0, 6, 23929, 40, 0 },
/* tcId: 185. Signature with special case values r=-1 and s=n + 1 */
{0, 0, 6, 23969, 40, 0 },
/* tcId: 186. Signature with special case values r=-1 and s=p */
{0, 0, 6, 24009, 40, 0 },
/* tcId: 187. Signature with special case values r=-1 and s=p + 1 */
{0, 0, 6, 24049, 40, 0 },
/* tcId: 188. Signature with special case values r=n and s=0 */
{0, 0, 6, 24089, 40, 0 },
/* tcId: 189. Signature with special case values r=n and s=1 */
{0, 0, 6, 24129, 40, 0 },
/* tcId: 190. Signature with special case values r=n and s=-1 */
{0, 0, 6, 24169, 40, 0 },
/* tcId: 191. Signature with special case values r=n and s=n */
{0, 0, 6, 24209, 72, 0 },
/* tcId: 192. Signature with special case values r=n and s=n - 1 */
{0, 0, 6, 24281, 72, 0 },
/* tcId: 193. Signature with special case values r=n and s=n + 1 */
{0, 0, 6, 24353, 72, 0 },
/* tcId: 194. Signature with special case values r=n and s=p */
{0, 0, 6, 24425, 72, 0 },
/* tcId: 195. Signature with special case values r=n and s=p + 1 */
{0, 0, 6, 24497, 72, 0 },
/* tcId: 196. Signature with special case values r=n - 1 and s=0 */
{0, 0, 6, 24569, 40, 0 },
/* tcId: 197. Signature with special case values r=n - 1 and s=1 */
{0, 0, 6, 24609, 40, 0 },
/* tcId: 198. Signature with special case values r=n - 1 and s=-1 */
{0, 0, 6, 24649, 40, 0 },
/* tcId: 199. Signature with special case values r=n - 1 and s=n */
{0, 0, 6, 24689, 72, 0 },
/* tcId: 200. Signature with special case values r=n - 1 and s=n - 1 */
{0, 0, 6, 24761, 72, 0 },
/* tcId: 201. Signature with special case values r=n - 1 and s=n + 1 */
{0, 0, 6, 24833, 72, 0 },
/* tcId: 202. Signature with special case values r=n - 1 and s=p */
{0, 0, 6, 24905, 72, 0 },
/* tcId: 203. Signature with special case values r=n - 1 and s=p + 1 */
{0, 0, 6, 24977, 72, 0 },
/* tcId: 204. Signature with special case values r=n + 1 and s=0 */
{0, 0, 6, 25049, 40, 0 },
/* tcId: 205. Signature with special case values r=n + 1 and s=1 */
{0, 0, 6, 25089, 40, 0 },
/* tcId: 206. Signature with special case values r=n + 1 and s=-1 */
{0, 0, 6, 25129, 40, 0 },
/* tcId: 207. Signature with special case values r=n + 1 and s=n */
{0, 0, 6, 25169, 72, 0 },
/* tcId: 208. Signature with special case values r=n + 1 and s=n - 1 */
{0, 0, 6, 25241, 72, 0 },
/* tcId: 209. Signature with special case values r=n + 1 and s=n + 1 */
{0, 0, 6, 25313, 72, 0 },
/* tcId: 210. Signature with special case values r=n + 1 and s=p */
{0, 0, 6, 25385, 72, 0 },
/* tcId: 211. Signature with special case values r=n + 1 and s=p + 1 */
{0, 0, 6, 25457, 72, 0 },
/* tcId: 212. Signature with special case values r=p and s=0 */
{0, 0, 6, 25529, 40, 0 },
/* tcId: 213. Signature with special case values r=p and s=1 */
{0, 0, 6, 25569, 40, 0 },
/* tcId: 214. Signature with special case values r=p and s=-1 */
{0, 0, 6, 25609, 40, 0 },
/* tcId: 215. Signature with special case values r=p and s=n */
{0, 0, 6, 25649, 72, 0 },
/* tcId: 216. Signature with special case values r=p and s=n - 1 */
{0, 0, 6, 25721, 72, 0 },
/* tcId: 217. Signature with special case values r=p and s=n + 1 */
{0, 0, 6, 25793, 72, 0 },
libsecp256k1/src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h view on Meta::CPAN
/* tcId: 374. edge case modular inverse */
{1690, 0, 6, 32531, 70, 1 },
/* tcId: 375. edge case modular inverse */
{1755, 0, 6, 32601, 70, 1 },
/* tcId: 376. edge case modular inverse */
{1820, 0, 6, 32671, 70, 1 },
/* tcId: 377. edge case modular inverse */
{1885, 0, 6, 32741, 70, 1 },
/* tcId: 378. edge case modular inverse */
{1950, 0, 6, 32811, 70, 1 },
/* tcId: 379. edge case modular inverse */
{2015, 0, 6, 32881, 70, 1 },
/* tcId: 380. edge case modular inverse */
{2080, 0, 6, 32951, 70, 1 },
/* tcId: 381. edge case modular inverse */
{2145, 0, 6, 33021, 70, 1 },
/* tcId: 382. edge case modular inverse */
{2210, 0, 6, 33091, 70, 1 },
/* tcId: 383. edge case modular inverse */
{2275, 0, 6, 33161, 70, 1 },
/* tcId: 384. edge case modular inverse */
{2340, 0, 6, 33231, 70, 1 },
/* tcId: 385. edge case modular inverse */
{2405, 0, 6, 33301, 70, 1 },
/* tcId: 386. point at infinity during verify */
{2470, 0, 6, 33371, 70, 0 },
/* tcId: 387. edge case for signature malleability */
{2535, 0, 6, 33441, 70, 1 },
/* tcId: 388. edge case for signature malleability */
{2600, 0, 6, 33511, 70, 0 },
/* tcId: 389. u1 == 1 */
{2665, 0, 6, 33581, 70, 1 },
/* tcId: 390. u1 == n - 1 */
{2730, 0, 6, 33651, 70, 1 },
/* tcId: 391. u2 == 1 */
{2795, 0, 6, 33721, 70, 1 },
/* tcId: 392. u2 == n - 1 */
{2860, 0, 6, 33791, 70, 1 },
/* tcId: 393. edge case for u1 */
{2925, 0, 6, 33861, 70, 1 },
/* tcId: 394. edge case for u1 */
{2990, 0, 6, 33931, 70, 1 },
/* tcId: 395. edge case for u1 */
{3055, 0, 6, 34001, 70, 1 },
/* tcId: 396. edge case for u1 */
{3120, 0, 6, 34071, 70, 1 },
/* tcId: 397. edge case for u1 */
{3185, 0, 6, 34141, 70, 1 },
/* tcId: 398. edge case for u1 */
{3250, 0, 6, 34211, 70, 1 },
/* tcId: 399. edge case for u1 */
{3315, 0, 6, 34281, 70, 1 },
/* tcId: 400. edge case for u1 */
{3380, 0, 6, 34351, 70, 1 },
/* tcId: 401. edge case for u1 */
{3445, 0, 6, 34421, 70, 1 },
/* tcId: 402. edge case for u1 */
{3510, 0, 6, 34491, 70, 1 },
/* tcId: 403. edge case for u1 */
{3575, 0, 6, 34561, 70, 1 },
/* tcId: 404. edge case for u1 */
{3640, 0, 6, 34631, 70, 1 },
/* tcId: 405. edge case for u1 */
{3705, 0, 6, 34701, 70, 1 },
/* tcId: 406. edge case for u1 */
{3770, 0, 6, 34771, 70, 1 },
/* tcId: 407. edge case for u1 */
{3835, 0, 6, 34841, 70, 1 },
/* tcId: 408. edge case for u2 */
{3900, 0, 6, 34911, 70, 1 },
/* tcId: 409. edge case for u2 */
{3965, 0, 6, 34981, 70, 1 },
/* tcId: 410. edge case for u2 */
{4030, 0, 6, 35051, 70, 1 },
/* tcId: 411. edge case for u2 */
{4095, 0, 6, 35121, 70, 1 },
/* tcId: 412. edge case for u2 */
{4160, 0, 6, 35191, 70, 1 },
/* tcId: 413. edge case for u2 */
{4225, 0, 6, 35261, 69, 1 },
/* tcId: 414. edge case for u2 */
{4290, 0, 6, 35330, 70, 1 },
/* tcId: 415. edge case for u2 */
{4355, 0, 6, 35400, 70, 1 },
/* tcId: 416. edge case for u2 */
{4420, 0, 6, 35470, 70, 1 },
/* tcId: 417. edge case for u2 */
{4485, 0, 6, 35540, 70, 1 },
/* tcId: 418. edge case for u2 */
{4550, 0, 6, 35610, 70, 1 },
/* tcId: 419. edge case for u2 */
{4615, 0, 6, 35680, 70, 1 },
/* tcId: 420. edge case for u2 */
{4680, 0, 6, 35750, 70, 1 },
/* tcId: 421. edge case for u2 */
{4745, 0, 6, 35820, 70, 1 },
/* tcId: 422. edge case for u2 */
{4810, 0, 6, 35890, 70, 1 },
/* tcId: 423. point duplication during verification */
{4875, 0, 6, 35960, 70, 1 },
/* tcId: 424. duplication bug */
{4940, 0, 6, 36030, 70, 0 },
/* tcId: 425. comparison with point at infinity */
{5005, 0, 6, 36100, 70, 0 },
/* tcId: 426. extreme value for k and edgecase s */
{5070, 0, 6, 36170, 71, 1 },
/* tcId: 427. extreme value for k and s^-1 */
{5135, 0, 6, 36241, 71, 1 },
/* tcId: 428. extreme value for k and s^-1 */
{5200, 0, 6, 36312, 71, 1 },
/* tcId: 429. extreme value for k and s^-1 */
{5265, 0, 6, 36383, 71, 1 },
/* tcId: 430. extreme value for k and s^-1 */
{5330, 0, 6, 36454, 71, 1 },
/* tcId: 431. extreme value for k */
{5395, 0, 6, 36525, 71, 1 },
/* tcId: 432. extreme value for k and edgecase s */
{5460, 0, 6, 36596, 70, 1 },
/* tcId: 433. extreme value for k and s^-1 */
{5525, 0, 6, 36666, 70, 1 },
/* tcId: 434. extreme value for k and s^-1 */
( run in 1.002 second using v1.01-cache-2.11-cpan-39bf76dae61 )