mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-27 14:13:46 +01:00
* add ed25519 curve * changelog * curve info * fix * edit * update * add more explanation * Update curve25519/src/curves/mod.rs * Update curve25519/src/curves/mod.rs * fixed the comment * Update curve25519/src/curves/mod.rs Co-authored-by: onewayfunc <onewayfunc@gmail.com>
8 lines
257 B
Rust
8 lines
257 B
Rust
use ark_ff::fields::{Fp256, MontBackend, MontConfig};
|
|
|
|
#[derive(MontConfig)]
|
|
#[modulus = "57896044618658097711785492504343953926634992332820282019728792003956564819949"]
|
|
#[generator = "2"]
|
|
pub struct FqConfig;
|
|
pub type Fq = Fp256<MontBackend<FqConfig, 4>>;
|