#[repr(u8)]pub enum SwBaseFunct7 {
SwAddNe = 0,
SwDouble = 1,
SwSetup = 2,
}Expand description
Short Weierstrass curves are configurable.
The funct7 field equals curve_idx * SHORT_WEIERSTRASS_MAX_KINDS + base_funct7.
Variants§
Implementations§
Source§impl SwBaseFunct7
impl SwBaseFunct7
Source§impl SwBaseFunct7
impl SwBaseFunct7
pub const SHORT_WEIERSTRASS_MAX_KINDS: u8 = 8
Trait Implementations§
Source§impl Clone for SwBaseFunct7
impl Clone for SwBaseFunct7
impl Copy for SwBaseFunct7
Source§impl Debug for SwBaseFunct7
impl Debug for SwBaseFunct7
impl Eq for SwBaseFunct7
Source§impl PartialEq for SwBaseFunct7
impl PartialEq for SwBaseFunct7
impl StructuralPartialEq for SwBaseFunct7
Auto Trait Implementations§
impl Freeze for SwBaseFunct7
impl RefUnwindSafe for SwBaseFunct7
impl Send for SwBaseFunct7
impl Sync for SwBaseFunct7
impl Unpin for SwBaseFunct7
impl UnsafeUnpin for SwBaseFunct7
impl UnwindSafe for SwBaseFunct7
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