pub struct AuthenticatedPointResult<C: CurveGroup> { /* private fields */ }
Expand description
A maliciously secure wrapper around MpcPointResult
that includes a MAC as
per the SPDZ protocol: https://eprint.iacr.org/2011/535.pdf
Implementations§
Source§impl<C: CurveGroup> AuthenticatedPointResult<C>
impl<C: CurveGroup> AuthenticatedPointResult<C>
Creates a new authenticated point from a given underlying point
Creates a batch of AuthenticatedPointResult
s from a given batch of
underlying points
Creates a batch of AuthenticatedPointResult
s from a batch result
The batch result combines the batch into one result, so it must be split
out first before creating the AuthenticatedPointResult
s
Sourcepub fn open(&self) -> CurvePointResult<C>
pub fn open(&self) -> CurvePointResult<C>
Open the value without checking the MAC
Sourcepub fn open_batch(values: &[Self]) -> Vec<CurvePointResult<C>> ⓘ
pub fn open_batch(values: &[Self]) -> Vec<CurvePointResult<C>> ⓘ
Open a batch of values without checking the MAC
Sourcepub fn from_flattened_iterator<I>(iter: I) -> Vec<Self>where
I: Iterator<Item = CurvePointResult<C>>,
pub fn from_flattened_iterator<I>(iter: I) -> Vec<Self>where
I: Iterator<Item = CurvePointResult<C>>,
Convert a flattened iterator into a batch of AuthenticatedPointResult
s
We assume that the iterator has been flattened in the same way order
that Self::id
s returns the AuthenticatedScalar
’s values:
[share, mac, public_modifier]
Sourcepub fn open_authenticated(&self) -> AuthenticatedPointOpenResult<C> ⓘ
pub fn open_authenticated(&self) -> AuthenticatedPointOpenResult<C> ⓘ
Open the value and check the MAC
This follows the protocol detailed in https://securecomputation.org/docs/pragmaticmpc.pdf
Sourcepub fn open_authenticated_batch(
values: &[Self],
) -> Vec<AuthenticatedPointOpenResult<C>>
pub fn open_authenticated_batch( values: &[Self], ) -> Vec<AuthenticatedPointOpenResult<C>>
Open a batch of values and check the MACs
Source§impl<C: CurveGroup> AuthenticatedPointResult<C>
impl<C: CurveGroup> AuthenticatedPointResult<C>
Sourcepub fn batch_add(
a: &[AuthenticatedPointResult<C>],
b: &[AuthenticatedPointResult<C>],
) -> Vec<AuthenticatedPointResult<C>>
pub fn batch_add( a: &[AuthenticatedPointResult<C>], b: &[AuthenticatedPointResult<C>], ) -> Vec<AuthenticatedPointResult<C>>
Add two batches of AuthenticatedPointResult
s
Sourcepub fn batch_add_public(
a: &[AuthenticatedPointResult<C>],
b: &[CurvePointResult<C>],
) -> Vec<AuthenticatedPointResult<C>>
pub fn batch_add_public( a: &[AuthenticatedPointResult<C>], b: &[CurvePointResult<C>], ) -> Vec<AuthenticatedPointResult<C>>
Add a batch of AuthenticatedPointResult
s to a batch of
CurvePointResult
s
Source§impl<C: CurveGroup> AuthenticatedPointResult<C>
impl<C: CurveGroup> AuthenticatedPointResult<C>
Sourcepub fn batch_sub(
a: &[AuthenticatedPointResult<C>],
b: &[AuthenticatedPointResult<C>],
) -> Vec<AuthenticatedPointResult<C>>
pub fn batch_sub( a: &[AuthenticatedPointResult<C>], b: &[AuthenticatedPointResult<C>], ) -> Vec<AuthenticatedPointResult<C>>
Add two batches of AuthenticatedPointResult
s
Sourcepub fn batch_sub_public(
a: &[AuthenticatedPointResult<C>],
b: &[CurvePointResult<C>],
) -> Vec<AuthenticatedPointResult<C>>
pub fn batch_sub_public( a: &[AuthenticatedPointResult<C>], b: &[CurvePointResult<C>], ) -> Vec<AuthenticatedPointResult<C>>
Subtract a batch of AuthenticatedPointResult
s to a batch of
CurvePointResult
s
Source§impl<C: CurveGroup> AuthenticatedPointResult<C>
impl<C: CurveGroup> AuthenticatedPointResult<C>
Sourcepub fn batch_neg(
a: &[AuthenticatedPointResult<C>],
) -> Vec<AuthenticatedPointResult<C>>
pub fn batch_neg( a: &[AuthenticatedPointResult<C>], ) -> Vec<AuthenticatedPointResult<C>>
Negate a batch of AuthenticatedPointResult
s
Source§impl<C: CurveGroup> AuthenticatedPointResult<C>
impl<C: CurveGroup> AuthenticatedPointResult<C>
Sourcepub fn batch_mul(
a: &[AuthenticatedScalarResult<C>],
b: &[AuthenticatedPointResult<C>],
) -> Vec<AuthenticatedPointResult<C>>
pub fn batch_mul( a: &[AuthenticatedScalarResult<C>], b: &[AuthenticatedPointResult<C>], ) -> Vec<AuthenticatedPointResult<C>>
Multiply a batch of AuthenticatedPointResult
s by a batch of
AuthenticatedScalarResult
s
Sourcepub fn batch_mul_public(
a: &[ScalarResult<C>],
b: &[AuthenticatedPointResult<C>],
) -> Vec<AuthenticatedPointResult<C>>
pub fn batch_mul_public( a: &[ScalarResult<C>], b: &[AuthenticatedPointResult<C>], ) -> Vec<AuthenticatedPointResult<C>>
Multiply a batch of AuthenticatedPointResult
s by a batch of
ScalarResult
s
Sourcepub fn batch_mul_generator(
a: &[AuthenticatedScalarResult<C>],
) -> Vec<AuthenticatedPointResult<C>>
pub fn batch_mul_generator( a: &[AuthenticatedScalarResult<C>], ) -> Vec<AuthenticatedPointResult<C>>
Multiply a batch of scalars by the generator
Source§impl<C: CurveGroup> AuthenticatedPointResult<C>
impl<C: CurveGroup> AuthenticatedPointResult<C>
Sourcepub fn msm(
scalars: &[AuthenticatedScalarResult<C>],
points: &[AuthenticatedPointResult<C>],
) -> AuthenticatedPointResult<C>
pub fn msm( scalars: &[AuthenticatedScalarResult<C>], points: &[AuthenticatedPointResult<C>], ) -> AuthenticatedPointResult<C>
Multiscalar multiplication
TODO: Maybe make use of a fast MSM operation under the hood once the blinded points are revealed
Sourcepub fn msm_iter<S, P>(scalars: S, points: P) -> AuthenticatedPointResult<C>where
S: IntoIterator<Item = AuthenticatedScalarResult<C>>,
P: IntoIterator<Item = AuthenticatedPointResult<C>>,
pub fn msm_iter<S, P>(scalars: S, points: P) -> AuthenticatedPointResult<C>where
S: IntoIterator<Item = AuthenticatedScalarResult<C>>,
P: IntoIterator<Item = AuthenticatedPointResult<C>>,
Multiscalar multiplication on iterator types
Trait Implementations§
Source§impl<C: CurveGroup> Add<&AuthenticatedPointResult<C>> for &AuthenticatedPointResult<C>
impl<C: CurveGroup> Add<&AuthenticatedPointResult<C>> for &AuthenticatedPointResult<C>
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§fn add(self, other: &AuthenticatedPointResult<C>) -> AuthenticatedPointResult<C>
fn add(self, other: &AuthenticatedPointResult<C>) -> AuthenticatedPointResult<C>
+
operation. Read moreSource§impl<'a, C: CurveGroup> Add<&'a AuthenticatedPointResult<C>> for &'a CurvePoint<C>
lhs borrowed, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a AuthenticatedPointResult<C>> for &'a CurvePoint<C>
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<&'a AuthenticatedPointResult<C>> for &'a CurvePointResult<C>
lhs borrowed, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a AuthenticatedPointResult<C>> for &'a CurvePointResult<C>
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<&'a AuthenticatedPointResult<C>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a AuthenticatedPointResult<C>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<&'a AuthenticatedPointResult<C>> for CurvePoint<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a AuthenticatedPointResult<C>> for CurvePoint<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<&'a AuthenticatedPointResult<C>> for CurvePointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a AuthenticatedPointResult<C>> for CurvePointResult<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add<&CurvePoint<C>> for &AuthenticatedPointResult<C>
impl<C: CurveGroup> Add<&CurvePoint<C>> for &AuthenticatedPointResult<C>
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§fn add(self, other: &CurvePoint<C>) -> AuthenticatedPointResult<C>
fn add(self, other: &CurvePoint<C>) -> AuthenticatedPointResult<C>
+
operation. Read moreSource§impl<'a, C: CurveGroup> Add<&'a CurvePoint<C>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a CurvePoint<C>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add<&ResultHandle<C, CurvePoint<C>>> for &AuthenticatedPointResult<C>
impl<C: CurveGroup> Add<&ResultHandle<C, CurvePoint<C>>> for &AuthenticatedPointResult<C>
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§fn add(self, other: &CurvePointResult<C>) -> AuthenticatedPointResult<C>
fn add(self, other: &CurvePointResult<C>) -> AuthenticatedPointResult<C>
+
operation. Read moreSource§impl<'a, C: CurveGroup> Add<&'a ResultHandle<C, CurvePoint<C>>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a ResultHandle<C, CurvePoint<C>>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<AuthenticatedPointResult<C>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Add<AuthenticatedPointResult<C>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<AuthenticatedPointResult<C>> for &'a CurvePoint<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Add<AuthenticatedPointResult<C>> for &'a CurvePoint<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<AuthenticatedPointResult<C>> for &'a CurvePointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Add<AuthenticatedPointResult<C>> for &'a CurvePointResult<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add<AuthenticatedPointResult<C>> for CurvePoint<C>
lhs owned, rhs owned
impl<C: CurveGroup> Add<AuthenticatedPointResult<C>> for CurvePoint<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add<AuthenticatedPointResult<C>> for CurvePointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Add<AuthenticatedPointResult<C>> for CurvePointResult<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<CurvePoint<C>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Add<CurvePoint<C>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add<CurvePoint<C>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Add<CurvePoint<C>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<ResultHandle<C, CurvePoint<C>>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Add<ResultHandle<C, CurvePoint<C>>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add<ResultHandle<C, CurvePoint<C>>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Add<ResultHandle<C, CurvePoint<C>>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add for AuthenticatedPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Add for AuthenticatedPointResult<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
+
operator.Source§impl<C: Clone + CurveGroup> Clone for AuthenticatedPointResult<C>
impl<C: Clone + CurveGroup> Clone for AuthenticatedPointResult<C>
Source§fn clone(&self) -> AuthenticatedPointResult<C>
fn clone(&self) -> AuthenticatedPointResult<C>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<C: CurveGroup> Debug for AuthenticatedPointResult<C>
impl<C: CurveGroup> Debug for AuthenticatedPointResult<C>
Source§impl<'a, C: CurveGroup> Mul<&'a AuthenticatedPointResult<C>> for &'a AuthenticatedScalarResult<C>
lhs borrowed, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a AuthenticatedPointResult<C>> for &'a AuthenticatedScalarResult<C>
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a AuthenticatedPointResult<C>> for &'a ScalarResult<C>
lhs borrowed, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a AuthenticatedPointResult<C>> for &'a ScalarResult<C>
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a AuthenticatedPointResult<C>> for &'a Scalar<C>
lhs borrowed, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a AuthenticatedPointResult<C>> for &'a Scalar<C>
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a AuthenticatedPointResult<C>> for AuthenticatedScalarResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a AuthenticatedPointResult<C>> for AuthenticatedScalarResult<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a AuthenticatedPointResult<C>> for ScalarResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a AuthenticatedPointResult<C>> for ScalarResult<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a AuthenticatedPointResult<C>> for Scalar<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a AuthenticatedPointResult<C>> for Scalar<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<&AuthenticatedScalarResult<C>> for &AuthenticatedPointResult<C>
impl<C: CurveGroup> Mul<&AuthenticatedScalarResult<C>> for &AuthenticatedPointResult<C>
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§fn mul(self, rhs: &AuthenticatedScalarResult<C>) -> AuthenticatedPointResult<C>
fn mul(self, rhs: &AuthenticatedScalarResult<C>) -> AuthenticatedPointResult<C>
*
operation. Read moreSource§impl<'a, C: CurveGroup> Mul<&'a AuthenticatedScalarResult<C>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a AuthenticatedScalarResult<C>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<&ResultHandle<C, Scalar<C>>> for &AuthenticatedPointResult<C>
impl<C: CurveGroup> Mul<&ResultHandle<C, Scalar<C>>> for &AuthenticatedPointResult<C>
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§fn mul(self, other: &ScalarResult<C>) -> AuthenticatedPointResult<C>
fn mul(self, other: &ScalarResult<C>) -> AuthenticatedPointResult<C>
*
operation. Read moreSource§impl<'a, C: CurveGroup> Mul<&'a ResultHandle<C, Scalar<C>>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a ResultHandle<C, Scalar<C>>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<&Scalar<C>> for &AuthenticatedPointResult<C>
impl<C: CurveGroup> Mul<&Scalar<C>> for &AuthenticatedPointResult<C>
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a Scalar<C>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a Scalar<C>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
Source§impl<'a, C: CurveGroup> Mul<AuthenticatedPointResult<C>> for &'a AuthenticatedScalarResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Mul<AuthenticatedPointResult<C>> for &'a AuthenticatedScalarResult<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<AuthenticatedPointResult<C>> for &'a ScalarResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Mul<AuthenticatedPointResult<C>> for &'a ScalarResult<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<AuthenticatedPointResult<C>> for &'a Scalar<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Mul<AuthenticatedPointResult<C>> for &'a Scalar<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<AuthenticatedPointResult<C>> for AuthenticatedScalarResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Mul<AuthenticatedPointResult<C>> for AuthenticatedScalarResult<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<AuthenticatedPointResult<C>> for ScalarResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Mul<AuthenticatedPointResult<C>> for ScalarResult<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<AuthenticatedPointResult<C>> for Scalar<C>
lhs owned, rhs owned
impl<C: CurveGroup> Mul<AuthenticatedPointResult<C>> for Scalar<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<AuthenticatedScalarResult<C>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Mul<AuthenticatedScalarResult<C>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<AuthenticatedScalarResult<C>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Mul<AuthenticatedScalarResult<C>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<ResultHandle<C, Scalar<C>>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Mul<ResultHandle<C, Scalar<C>>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<ResultHandle<C, Scalar<C>>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Mul<ResultHandle<C, Scalar<C>>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<Scalar<C>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Mul<Scalar<C>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
Source§impl<C: CurveGroup> Mul<Scalar<C>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Mul<Scalar<C>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
Source§impl<C: CurveGroup> Neg for &AuthenticatedPointResult<C>
impl<C: CurveGroup> Neg for &AuthenticatedPointResult<C>
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§fn neg(self) -> AuthenticatedPointResult<C>
fn neg(self) -> AuthenticatedPointResult<C>
-
operation. Read moreSource§impl<C: CurveGroup> Neg for AuthenticatedPointResult<C>
impl<C: CurveGroup> Neg for AuthenticatedPointResult<C>
Source§impl<C: CurveGroup> Sub<&AuthenticatedPointResult<C>> for &AuthenticatedPointResult<C>
impl<C: CurveGroup> Sub<&AuthenticatedPointResult<C>> for &AuthenticatedPointResult<C>
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§fn sub(self, other: &AuthenticatedPointResult<C>) -> AuthenticatedPointResult<C>
fn sub(self, other: &AuthenticatedPointResult<C>) -> AuthenticatedPointResult<C>
-
operation. Read moreSource§impl<'a, C: CurveGroup> Sub<&'a AuthenticatedPointResult<C>> for &'a CurvePoint<C>
lhs borrowed, rhs borrowed
impl<'a, C: CurveGroup> Sub<&'a AuthenticatedPointResult<C>> for &'a CurvePoint<C>
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<&'a AuthenticatedPointResult<C>> for &'a CurvePointResult<C>
lhs borrowed, rhs borrowed
impl<'a, C: CurveGroup> Sub<&'a AuthenticatedPointResult<C>> for &'a CurvePointResult<C>
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<&'a AuthenticatedPointResult<C>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Sub<&'a AuthenticatedPointResult<C>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<&'a AuthenticatedPointResult<C>> for CurvePoint<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Sub<&'a AuthenticatedPointResult<C>> for CurvePoint<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<&'a AuthenticatedPointResult<C>> for CurvePointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Sub<&'a AuthenticatedPointResult<C>> for CurvePointResult<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sub<&CurvePoint<C>> for &AuthenticatedPointResult<C>
impl<C: CurveGroup> Sub<&CurvePoint<C>> for &AuthenticatedPointResult<C>
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§fn sub(self, other: &CurvePoint<C>) -> AuthenticatedPointResult<C>
fn sub(self, other: &CurvePoint<C>) -> AuthenticatedPointResult<C>
-
operation. Read moreSource§impl<'a, C: CurveGroup> Sub<&'a CurvePoint<C>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Sub<&'a CurvePoint<C>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sub<&ResultHandle<C, CurvePoint<C>>> for &AuthenticatedPointResult<C>
impl<C: CurveGroup> Sub<&ResultHandle<C, CurvePoint<C>>> for &AuthenticatedPointResult<C>
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§fn sub(self, other: &CurvePointResult<C>) -> AuthenticatedPointResult<C>
fn sub(self, other: &CurvePointResult<C>) -> AuthenticatedPointResult<C>
-
operation. Read moreSource§impl<'a, C: CurveGroup> Sub<&'a ResultHandle<C, CurvePoint<C>>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Sub<&'a ResultHandle<C, CurvePoint<C>>> for AuthenticatedPointResult<C>
lhs owned, rhs borrowed
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<AuthenticatedPointResult<C>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Sub<AuthenticatedPointResult<C>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<AuthenticatedPointResult<C>> for &'a CurvePoint<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Sub<AuthenticatedPointResult<C>> for &'a CurvePoint<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<AuthenticatedPointResult<C>> for &'a CurvePointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Sub<AuthenticatedPointResult<C>> for &'a CurvePointResult<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sub<AuthenticatedPointResult<C>> for CurvePoint<C>
lhs owned, rhs owned
impl<C: CurveGroup> Sub<AuthenticatedPointResult<C>> for CurvePoint<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sub<AuthenticatedPointResult<C>> for CurvePointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Sub<AuthenticatedPointResult<C>> for CurvePointResult<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<CurvePoint<C>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Sub<CurvePoint<C>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sub<CurvePoint<C>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Sub<CurvePoint<C>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<ResultHandle<C, CurvePoint<C>>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Sub<ResultHandle<C, CurvePoint<C>>> for &'a AuthenticatedPointResult<C>
lhs borrowed, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sub<ResultHandle<C, CurvePoint<C>>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Sub<ResultHandle<C, CurvePoint<C>>> for AuthenticatedPointResult<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sub for AuthenticatedPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Sub for AuthenticatedPointResult<C>
lhs owned, rhs owned
Source§type Output = AuthenticatedPointResult<C>
type Output = AuthenticatedPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sum for AuthenticatedPointResult<C>
impl<C: CurveGroup> Sum for AuthenticatedPointResult<C>
Auto Trait Implementations§
impl<C> Freeze for AuthenticatedPointResult<C>
impl<C> !RefUnwindSafe for AuthenticatedPointResult<C>
impl<C> Send for AuthenticatedPointResult<C>
impl<C> Sync for AuthenticatedPointResult<C>
impl<C> Unpin for AuthenticatedPointResult<C>
impl<C> !UnwindSafe for AuthenticatedPointResult<C>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more