-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmod.rs
20 lines (18 loc) · 1.02 KB
/
mod.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! This module implements the YT6-776 application-specific curve.
//! The name denotes that it was generated using the Cocks--Pinch method for the
//! embedding degree 6. The main feature of this curve is that the scalar field
//! equals the base field of the BLS12-381 curve.
//!
//! The rough estimates give 124-bit security.
//!
//! Curve information:
//! * Base field: q = 302876569457825540224058720088493814197684678175517897646382999490010176693949664027430922002605277999717929660119065492046541203055097398745672542166604177101118255582761412697357085679229754433270902868922720449830309670836412672963
//! * Scalar field: r = 4002409555221667393417789825735904156556882819939007885332058136124031650490837864442687629129015664037894272559787
//! * Trace: t = 556334928175811767685866265168019893274028091673155517508216967661521459911236919644960862098008653606888062617430745
//! * Fundamental discriminant: D = -3
//!
//! Elliptic curve defined by y^2 = x^3 + 93312.
mod curves;
mod fields;
pub use curves::*;
pub use fields::*;