mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-13 22:49:25 +00:00
Add embedwards25519 curve
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
# secq256k1
|
||||
|
||||
An implementation of the curve secp256k1 cycles with.
|
||||
|
||||
Scalars are encoded as little-endian and field elements are encoded as
|
||||
big-endian.
|
||||
|
||||
@@ -7,8 +7,8 @@ use crypto_bigint::{
|
||||
|
||||
const MODULUS_STR: &str = "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F";
|
||||
|
||||
impl_modulus!(HelioseleneQ, U256, MODULUS_STR);
|
||||
type ResidueType = Residue<HelioseleneQ, { HelioseleneQ::LIMBS }>;
|
||||
impl_modulus!(SecQ, U256, MODULUS_STR);
|
||||
type ResidueType = Residue<SecQ, { SecQ::LIMBS }>;
|
||||
|
||||
/// The Scalar field of secq256k1.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user