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 * cleanup the script * Update ed25519/src/curves/mod.rs * Update ed25519/src/curves/mod.rs Co-authored-by: onewayfunc <onewayfunc@gmail.com>
8 lines
256 B
Rust
8 lines
256 B
Rust
use ark_ff::fields::{Fp256, MontBackend, MontConfig};
|
|
|
|
#[derive(MontConfig)]
|
|
#[modulus = "7237005577332262213973186563042994240857116359379907606001950938285454250989"]
|
|
#[generator = "2"]
|
|
pub struct FrConfig;
|
|
pub type Fr = Fp256<MontBackend<FrConfig, 4>>;
|