Trait curve25519_dalek::curve::CTAssignable
[−]
[src]
pub trait CTAssignable { fn conditional_assign(&mut self, other: &Self, choice: u8); }
Trait for items which can be conditionally assigned in constant time.
Required Methods
fn conditional_assign(&mut self, other: &Self, choice: u8)
If choice == 1u8
, assign other
to self
.
Otherwise, leave self
unchanged.
Executes in constant time.
Implementors
impl CTAssignable for CachedPoint
impl CTAssignable for PreComputedPoint