ark_secp256k1/lib.rs
1#![cfg_attr(not(feature = "std"), no_std)]
2#![deny(
3 warnings,
4 unused,
5 future_incompatible,
6 nonstandard_style,
7 rust_2018_idioms
8)]
9#![forbid(unsafe_code)]
10
11//! This library implements the secp256k1 curve.
12//! Source: <https://en.bitcoin.it/wiki/Secp256k1>
13//!
14//! Curve information:
15//! * Base field: q =
16//! 115792089237316195423570985008687907853269984665640564039457584007908834671663
17//! * Scalar field: r =
18//! 115792089237316195423570985008687907852837564279074904382605163141518161494337
19//! * Curve equation: y^2 = x^3 + 7
20
21#[cfg(feature = "r1cs")]
22pub mod constraints;
23mod curves;
24mod fields;
25
26pub use curves::*;
27pub use fields::*;