|
@@ -37,6 +37,8 @@ type
|
|
|
|
|
|
|
|
public
|
|
public
|
|
|
|
|
|
|
|
|
|
+ constructor Create();
|
|
|
|
|
+ destructor Destroy; override;
|
|
|
function Multiply(const p: IECPoint; const k: TBigInteger)
|
|
function Multiply(const p: IECPoint; const k: TBigInteger)
|
|
|
: IECPoint; virtual;
|
|
: IECPoint; virtual;
|
|
|
|
|
|
|
@@ -46,6 +48,16 @@ implementation
|
|
|
|
|
|
|
|
{ TAbstractECMultiplier }
|
|
{ TAbstractECMultiplier }
|
|
|
|
|
|
|
|
|
|
+constructor TAbstractECMultiplier.Create;
|
|
|
|
|
+begin
|
|
|
|
|
+ Inherited Create();
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+destructor TAbstractECMultiplier.Destroy;
|
|
|
|
|
+begin
|
|
|
|
|
+ inherited Destroy;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
function TAbstractECMultiplier.Multiply(const p: IECPoint; const k: TBigInteger)
|
|
function TAbstractECMultiplier.Multiply(const p: IECPoint; const k: TBigInteger)
|
|
|
: IECPoint;
|
|
: IECPoint;
|
|
|
var
|
|
var
|