Struct secp256k1::curve::ECMultContext
source · [−]pub struct ECMultContext { /* private fields */ }
Expand description
Context for accelerating the computation of aP + bG.
Implementations
sourceimpl ECMultContext
impl ECMultContext
sourceimpl ECMultContext
impl ECMultContext
sourceimpl ECMultContext
impl ECMultContext
pub fn ecdh_raw<D: Digest + Default>(
&self,
point: &Affine,
scalar: &Scalar
) -> Option<GenericArray<u8, D::OutputSize>>
Auto Trait Implementations
impl RefUnwindSafe for ECMultContext
impl Send for ECMultContext
impl Sync for ECMultContext
impl Unpin for ECMultContext
impl UnwindSafe for ECMultContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more