1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! This library implements the tom256 curve and is a copy of the secp256k1 implementation.
//! Parameters source: <https://neuromancer.sk/std/other/Tom-256#>
//! Paper: <https://eprint.iacr.org/2021/1183>
//!
//! Curve information - in parentheses names from neuromancer.sk:
//! * Base field: q (p) =
//! secp: 115792089237316195423570985008687907852837564279074904382605163141518161494337
//! 115792089210356248762697446949407573530594504085698471288169790229257723883799
//! * Scalar field: r (n) =
//! secp: 115792089237316195423570985008687907853269984665640564039457584007908834671663
//! 115792089210356248762697446949407573530086143415290314195533631308867097853951
//! * Curve equation a (a) =
//! secp: 0
//! 115792089210356248762697446949407573530594504085698471288169790229257723883796
//! * Curve equation b (b) =
//! secp: 7
//! 81531206846337786915455327229510804132577517753388365729879493166393691077718
//! * Base point G =
//! secp: (55066263022277343669578718895168534326250603453777594175500187360389116729240,
//! 32670510020758816978083085130507043184471273380659243275938904335757337482424)
//! (3, 40902200210088653215032584946694356296222563095503428277299570638400093548589)
//! * Curve equation: y^2 = x^3 + ax + b
pub use *;
pub use *;