ge_double_scalarmult_vartime

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

@safe nothrow @nogc
ge_double_scalarmult_vartime
(
in ubyte[] a
,
in ref ge_p3 A
,
in ubyte[] b
)

Parameters

a
Type: ubyte[]

a[0]+256*a[1]+...+256^31 a[31].

b
Type: ubyte[]

b[0]+256*b[1]+...+256^31 b[31].

Return Value

Type: ge_p2

r = a * A + b * B

Meta