Function curve25519_dalek::curve::vartime::double_scalar_mult_basepoint
[−]
[src]
pub fn double_scalar_mult_basepoint(
a: &Scalar,
A: &ExtendedPoint,
b: &Scalar
) -> ProjectivePoint
Given a point A
and scalars a
and b
, compute the point
aA+bB
, where B
is the Ed25519 basepoint (i.e., B = (x,4/5)
with x positive).