pub struct ExponentiationConfig {
pub algorithm: Algorithm,
pub max_bits: Option<u32>,
pub constant_time: bool,
}Expand description
Configuration for exponentiation operations.
Fields§
§algorithm: AlgorithmAlgorithm to use
max_bits: Option<u32>Maximum exponent bit length to handle
constant_time: boolWhether to use constant-time operations
Trait Implementations§
Source§impl Clone for ExponentiationConfig
impl Clone for ExponentiationConfig
Source§fn clone(&self) -> ExponentiationConfig
fn clone(&self) -> ExponentiationConfig
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 ExponentiationConfig
impl Debug for ExponentiationConfig
Auto Trait Implementations§
impl Freeze for ExponentiationConfig
impl RefUnwindSafe for ExponentiationConfig
impl Send for ExponentiationConfig
impl Sync for ExponentiationConfig
impl Unpin for ExponentiationConfig
impl UnwindSafe for ExponentiationConfig
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