Function curve25519_dalek::curve::double_scalar_mult_vartime
[−]
[src]
pub fn double_scalar_mult_vartime(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).
Warning
This function is not constant time, hence its name.