Struct secp256k1::curve::ECMultContext [−][src]
Context for accelerating the computation of aP + bG.
Implementations
impl ECMultContext
[src]
pub fn ecmult(&self, r: &mut Jacobian, a: &Jacobian, na: &Scalar, ng: &Scalar)
[src]
pub fn ecmult_const(&self, r: &mut Jacobian, a: &Affine, scalar: &Scalar)
[src]
impl ECMultContext
[src]
pub fn verify_raw(
&self,
sigr: &Scalar,
sigs: &Scalar,
pubkey: &Affine,
message: &Scalar
) -> bool
[src]
&self,
sigr: &Scalar,
sigs: &Scalar,
pubkey: &Affine,
message: &Scalar
) -> bool
pub fn recover_raw(
&self,
sigr: &Scalar,
sigs: &Scalar,
rec_id: u8,
message: &Scalar
) -> Result<Affine, Error>
[src]
&self,
sigr: &Scalar,
sigs: &Scalar,
rec_id: u8,
message: &Scalar
) -> Result<Affine, Error>
impl ECMultContext
[src]
pub fn ecdh_raw<D: Digest + Default>(
&self,
point: &Affine,
scalar: &Scalar
) -> Option<GenericArray<u8, D::OutputSize>>
[src]
&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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,