pub(crate) struct PrecomputedValues {
pub(crate) dp: BoxedUint,
pub(crate) dq: BoxedUint,
pub(crate) qinv: BoxedMontyForm,
pub(crate) p_params: BoxedMontyParams,
pub(crate) q_params: BoxedMontyParams,
}Fields§
§dp: BoxedUintD mod (P-1)
dq: BoxedUintD mod (Q-1)
qinv: BoxedMontyFormQ^-1 mod P
p_params: BoxedMontyParamsMontgomery params for p
q_params: BoxedMontyParamsMontgomery params for q
Trait Implementations§
Source§impl Clone for PrecomputedValues
impl Clone for PrecomputedValues
Source§fn clone(&self) -> PrecomputedValues
fn clone(&self) -> PrecomputedValues
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 Drop for PrecomputedValues
impl Drop for PrecomputedValues
Source§impl Zeroize for PrecomputedValues
impl Zeroize for PrecomputedValues
impl ZeroizeOnDrop for PrecomputedValues
Auto Trait Implementations§
impl Freeze for PrecomputedValues
impl RefUnwindSafe for PrecomputedValues
impl Send for PrecomputedValues
impl Sync for PrecomputedValues
impl Unpin for PrecomputedValues
impl UnsafeUnpin for PrecomputedValues
impl UnwindSafe for PrecomputedValues
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