dcrypt.crypto.ecc.curved25519.groupElement

Undocumented in source.

Public Imports

dcrypt.crypto.ecc.curved25519.fieldElement
public import dcrypt.crypto.ecc.curved25519.fieldElement;

Members

Functions

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

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

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

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

ge_frombytes_negate_vartime
bool ge_frombytes_negate_vartime(ge_p3 h, ubyte[] s)
Undocumented in source.
ge_scalarmult_base
ge_p3 ge_scalarmult_base(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_cached
struct ge_cached
Undocumented in source.
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