pub struct GfaCore { /* private fields */ }Implementations§
Source§impl GfaCore
Microcode for finite field arithmetics.
impl GfaCore
Microcode for finite field arithmetics.
pub fn fq(&self) -> u256
pub fn test(&self, src: RegE) -> Status
pub fn fits(&self, src: RegE, bits: Bits) -> Option<bool>
pub fn mov(&mut self, dst: RegE, src: RegE)
pub fn eqv(&mut self, src1: RegE, src2: RegE) -> Status
pub fn add_mod(&mut self, dst_src: RegE, src: RegE) -> Status
pub fn mul_mod(&mut self, dst_src: RegE, src: RegE) -> Status
pub fn neg_mod(&mut self, dst_src: RegE, src: RegE) -> Status
Trait Implementations§
Source§impl CoreExt for GfaCore
impl CoreExt for GfaCore
type Reg = RegE
type Config = GfaConfig
fn with(config: <GfaCore as CoreExt>::Config) -> GfaCore
fn get(&self, reg: <GfaCore as CoreExt>::Reg) -> Option<fe256>
fn clr(&mut self, reg: <GfaCore as CoreExt>::Reg)
fn put(&mut self, reg: <GfaCore as CoreExt>::Reg, val: Option<fe256>)
fn reset(&mut self)
fn set(&mut self, reg: Self::Reg, val: <Self::Reg as Register>::Value)
Source§impl Supercore<GfaCore> for UsonicCore
impl Supercore<GfaCore> for UsonicCore
impl Copy for GfaCore
impl Eq for GfaCore
impl StructuralPartialEq for GfaCore
Auto Trait Implementations§
impl Freeze for GfaCore
impl RefUnwindSafe for GfaCore
impl Send for GfaCore
impl Sync for GfaCore
impl Unpin for GfaCore
impl UnwindSafe for GfaCore
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.