ark_vesta/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 prime-order curve Vesta, generated by
12//! [Daira Hopwood](https://github.com/zcash/pasta). The main feature of this
13//! curve is that it forms a cycle with Pallas, i.e. its scalar field and base
14//! field respectively are the base field and scalar field of Pallas.
15//!
16//!
17//! Curve information:
18//! Vesta:
19//! * Base field: q =
20//! 28948022309329048855892746252171976963363056481941647379679742748393362948097
21//! * Scalar field: r =
22//! 28948022309329048855892746252171976963363056481941560715954676764349967630337
23//! * Curve equation: y^2 = x^3 + 5
24//! * Valuation(q - 1, 2) = 32
25//! * Valuation(r - 1, 2) = 32
26
27#[cfg(feature = "r1cs")]
28pub mod constraints;
29mod curves;
30mod fields;
31
32pub use curves::*;
33pub use fields::*;