More NIST curves (#142)

Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
This commit is contained in:
Ruben De Smet
2023-01-10 13:59:32 +01:00
committed by GitHub
parent bf8c488263
commit 69a9c3513b
27 changed files with 343 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
use ark_ff::fields::{Fp384, MontBackend, MontConfig};
#[derive(MontConfig)]
#[modulus = "39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319"]
#[generator = "2"]
pub struct FqConfig;
pub type Fq = Fp384<MontBackend<FqConfig, 6>>;