dcrypt.ecc.curved25519.groupElement

Members

Functions

cmov
void cmov(ref ge_precomp t, in ref ge_precomp u, in bool b)

Conditional move: t = u, if and only if b != 0.

ge_double_scalarmult_vartime
ge_p2 ge_double_scalarmult_vartime(in ubyte[] a, in ref ge_p3 A, in ubyte[] b)

calculates a * A + b * B B is the Ed25519 base point (x,4/5) with x positive.

ge_scalarmult_base
ge_p3 ge_scalarmult_base(in ubyte[] a)

h = a * B where a = a[0]+256*a[1]+...+256^31 a[31] B is the Ed25519 base point (x,4/5) with x positive.

Structs

ge_p1p1
struct ge_p1p1

ge_p1p1 (completed): ((X:Z),(Y:T)) satisfying x=X/Z, y=Y/T

ge_p2
struct ge_p2

ge means group element.

ge_p3
struct ge_p3

ge_p3 (extended): (X:Y:Z:T) satisfying x=X/Z, y=Y/Z, XY=ZT

ge_precomp
struct ge_precomp

ge_precomp (Duif): (y+x,y-x,2dxy)

Meta