mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 20:59:23 +00:00
repr(transparent) on dalek_ff_group::FieldElement
This commit is contained in:
@@ -36,6 +36,7 @@ type ResidueType = Residue<FieldModulus, { FieldModulus::LIMBS }>;
|
||||
|
||||
/// A constant-time implementation of the Ed25519 field.
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Default, Debug, Zeroize)]
|
||||
#[repr(transparent)]
|
||||
pub struct FieldElement(ResidueType);
|
||||
|
||||
// Square root of -1.
|
||||
|
||||
Reference in New Issue
Block a user