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

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

Functions

double_scalar_mult_basepoint

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).

multiscalar_mult

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