pub(crate) struct PrecomputedValues {
pub(crate) dp: BigUint,
pub(crate) dq: BigUint,
pub(crate) qinv: BigInt,
pub(crate) crt_values: Vec<CrtValue>,
}Fields§
§dp: BigUintD mod (P-1)
dq: BigUintD mod (Q-1)
qinv: BigIntQ^-1 mod P
crt_values: Vec<CrtValue>CRTValues is used for the 3rd and subsequent primes. Due to a historical accident, the CRT for the first two primes is handled differently in PKCS#1 and interoperability is sufficiently important that we mirror this.
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 Debug for PrecomputedValues
impl Debug for PrecomputedValues
Source§impl Drop for PrecomputedValues
impl Drop 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 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