pub struct ScalarParams;Expand description
Montgomery parameters for the NIST P-521 scalar modulus n.
Trait Implementations§
Source§impl Clone for ScalarParams
impl Clone for ScalarParams
Source§fn clone(&self) -> ScalarParams
fn clone(&self) -> ScalarParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConstMontyParams<{ <$uint_type>::LIMBS }> for ScalarParams
impl ConstMontyParams<{ <$uint_type>::LIMBS }> for ScalarParams
Source§impl ConstPrimeMontyParams<{ <$uint_type>::LIMBS }> for ScalarParams
impl ConstPrimeMontyParams<{ <$uint_type>::LIMBS }> for ScalarParams
Source§const PRIME_PARAMS: PrimeParams<{ Uint::LIMBS }>
const PRIME_PARAMS: PrimeParams<{ Uint::LIMBS }>
Prime parameters constant.
Source§impl Debug for ScalarParams
impl Debug for ScalarParams
Source§impl Default for ScalarParams
impl Default for ScalarParams
Source§fn default() -> ScalarParams
fn default() -> ScalarParams
Returns the “default value” for a type. Read more
Source§impl MontyFieldParams<{ <$uint>::LIMBS }> for ScalarParams
impl MontyFieldParams<{ <$uint>::LIMBS }> for ScalarParams
Source§const BYTE_ORDER: ByteOrder = primefield::ByteOrder::BigEndian
const BYTE_ORDER: ByteOrder = primefield::ByteOrder::BigEndian
Byte order to use when serializing a field element as byte.
Source§const MODULUS_HEX: &'static str = ORDER_HEX
const MODULUS_HEX: &'static str = ORDER_HEX
Field modulus as a hexadecimal string.
Source§impl PartialEq for ScalarParams
impl PartialEq for ScalarParams
impl Copy for ScalarParams
impl Eq for ScalarParams
impl StructuralPartialEq for ScalarParams
Auto Trait Implementations§
impl Freeze for ScalarParams
impl RefUnwindSafe for ScalarParams
impl Send for ScalarParams
impl Sync for ScalarParams
impl Unpin for ScalarParams
impl UnsafeUnpin for ScalarParams
impl UnwindSafe for ScalarParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more