Module curve25519_dalek::edwards::vartime [] [src]

Variable-time operations on curve points, useful for non-secret data.

Functions

double_scalar_mul_basepoint

Compute \(aA + bB\) in variable time, where \(B\) is the Ed25519 basepoint.

multiscalar_mul

Given an iterator of public scalars and an iterator of public points, compute $$ Q = c_1 P_1 + \cdots + c_n P_n. $$