Struct curve25519_dalek::backend::vector::ifma::edwards::ExtendedPoint
source · pub struct ExtendedPoint(_);
Available on
curve25519_dalek_backend="simd"
and nightly
only.Implementations§
source§impl ExtendedPoint
impl ExtendedPoint
pub fn double(&self) -> ExtendedPoint
pub fn mul_by_pow_2(&self, k: u32) -> ExtendedPoint
Trait Implementations§
source§impl<'a, 'b> Add<&'b CachedPoint> for &'a ExtendedPoint
impl<'a, 'b> Add<&'b CachedPoint> for &'a ExtendedPoint
source§fn add(self, other: &'b CachedPoint) -> ExtendedPoint
fn add(self, other: &'b CachedPoint) -> ExtendedPoint
Add an ExtendedPoint
and a CachedPoint
.
§type Output = ExtendedPoint
type Output = ExtendedPoint
The resulting type after applying the
+
operator.source§impl Clone for ExtendedPoint
impl Clone for ExtendedPoint
source§fn clone(&self) -> ExtendedPoint
fn clone(&self) -> ExtendedPoint
Returns a copy 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 ExtendedPoint
impl Debug for ExtendedPoint
source§impl Default for ExtendedPoint
impl Default for ExtendedPoint
source§fn default() -> ExtendedPoint
fn default() -> ExtendedPoint
Returns the “default value” for a type. Read more
source§impl From<EdwardsPoint> for ExtendedPoint
impl From<EdwardsPoint> for ExtendedPoint
source§fn from(P: EdwardsPoint) -> ExtendedPoint
fn from(P: EdwardsPoint) -> ExtendedPoint
Converts to this type from the input type.
source§impl From<ExtendedPoint> for CachedPoint
impl From<ExtendedPoint> for CachedPoint
source§fn from(P: ExtendedPoint) -> CachedPoint
fn from(P: ExtendedPoint) -> CachedPoint
Converts to this type from the input type.
source§impl From<ExtendedPoint> for EdwardsPoint
impl From<ExtendedPoint> for EdwardsPoint
source§fn from(P: ExtendedPoint) -> EdwardsPoint
fn from(P: ExtendedPoint) -> EdwardsPoint
Converts to this type from the input type.
source§impl Identity for ExtendedPoint
impl Identity for ExtendedPoint
source§fn identity() -> ExtendedPoint
fn identity() -> ExtendedPoint
Returns the identity element of the curve.
Can be used as a constructor.
source§impl<'a, 'b> Sub<&'b CachedPoint> for &'a ExtendedPoint
impl<'a, 'b> Sub<&'b CachedPoint> for &'a ExtendedPoint
source§fn sub(self, other: &'b CachedPoint) -> ExtendedPoint
fn sub(self, other: &'b CachedPoint) -> ExtendedPoint
Implement subtraction by negating the point and adding.
§type Output = ExtendedPoint
type Output = ExtendedPoint
The resulting type after applying the
-
operator.impl Copy for ExtendedPoint
Auto Trait Implementations§
impl RefUnwindSafe for ExtendedPoint
impl Send for ExtendedPoint
impl Sync for ExtendedPoint
impl Unpin for ExtendedPoint
impl UnwindSafe for ExtendedPoint
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