Struct DF
Other items inmiracl32::rsa4096::ff
pub struct DF { /* fields omitted */ }
impl DF
pub fn new() -> DF
pub fn zero(&mut self)
pub fn copy(&mut self, b: &DF)
pub fn one(&mut self)
pub fn iszilch(&self) -> bool
pub fn shrw(&mut self, n: usize)
pub fn shlw(&mut self, n: usize)
pub fn add(&mut self, b: &DF)
pub fn sub(&mut self, b: &DF)
pub fn revsub(&mut self, b: &DF)
pub fn norm(&mut self)
pub fn inc(&mut self, m: isize)
pub fn dec(&mut self, m: isize)
pub fn shl(&mut self)
pub fn shr(&mut self)
pub fn tobytes(&mut self, b: &mut [u8])
pub fn comp(&self, b: &DF) -> isize
pub fn frombytes(&mut self, b: &[u8])
pub fn rmod(&mut self, m: &DF)
pub fn lmul(&mut self, y: &DF)
pub fn mod2m(&mut self, m: usize)
pub fn invmod2m(&self) -> DF
pub fn nres(&mut self, m: &DF)
pub fn redc(&mut self, m: &DF, md: &DF)
pub fn dsucopy(&mut self, b: &SF)
pub fn dscopy(&mut self, b: &SF)
pub fn sdcopy(&mut self, b: &QF)
pub fn sducopy(&mut self, b: &QF)
pub fn reduce(&mut self, ms: &SF, md: &SF) -> SF
pub fn dmod(&mut self, b: &SF) -> SF
pub fn modmul(&mut self, y: &DF, p: &DF, nd: &DF)
pub fn modsqr(&mut self, p: &DF, nd: &DF)
pub fn power(&mut self, e: isize, p: &DF)
pub fn mul(&self, y: &DF) -> QF
pub fn sqr(&self) -> QF
impl Send for DF
impl Sync for DF
impl Unpin for DF
impl<T> Any for T where T: 'static + ?Sized,
pub fn type_id(&self) -> TypeId
Gets the TypeId of self. Read more
TypeId
self
impl<T> Borrow<T> for T where T: ?Sized,
pub fn borrow(&self) -> &T
Immutably borrows from an owned value. Read more
impl<T> BorrowMut<T> for T where T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> From<T> for T
pub fn from(t: T) -> T
Performs the conversion.
impl<T, U> Into<U> for T where U: From<T>,
pub fn into(self) -> U
impl<T, U> TryFrom<U> for T where U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for T where U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>