Struct curve25519_dalek::montgomery::MontgomeryPoint [−][src]
Expand description
Holds the \(u\)-coordinate of a point on the Montgomery form of Curve25519 or its twist.
Implementations
Attempt to convert to an EdwardsPoint
, using the supplied
choice of sign for the EdwardsPoint
.
Inputs
sign
: au8
donating the desired sign of the resultingEdwardsPoint
.0
denotes positive and1
negative.
Return
-
Some(EdwardsPoint)
ifself
is the \(u\)-coordinate of a point on (the Montgomery form of) Curve25519; -
None
ifself
is the \(u\)-coordinate of a point on the twist of (the Montgomery form of) Curve25519;
Trait Implementations
Returns the “default value” for a type. Read more
type Output = MontgomeryPoint
type Output = MontgomeryPoint
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = MontgomeryPoint
type Output = MontgomeryPoint
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = MontgomeryPoint
type Output = MontgomeryPoint
The resulting type after applying the *
operator.
Performs the *
operation. Read more
Multiply this MontgomeryPoint
by a Scalar
.
Given self
\( = u_0(P) \), and a Scalar
\(n\), return \( u_0([n]P) \).
type Output = MontgomeryPoint
type Output = MontgomeryPoint
The resulting type after applying the *
operator.
type Output = MontgomeryPoint
type Output = MontgomeryPoint
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = MontgomeryPoint
type Output = MontgomeryPoint
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = MontgomeryPoint
type Output = MontgomeryPoint
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = MontgomeryPoint
type Output = MontgomeryPoint
The resulting type after applying the *
operator.
Performs the *
operation. Read more
Performs the *=
operation. Read more
Performs the *=
operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for MontgomeryPoint
impl Send for MontgomeryPoint
impl Sync for MontgomeryPoint
impl Unpin for MontgomeryPoint
impl UnwindSafe for MontgomeryPoint
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self