kz.gamma.hardware.crypto.software.ec
Class ReferenceMultiplier

java.lang.Object
  extended by kz.gamma.hardware.crypto.software.ec.ReferenceMultiplier
All Implemented Interfaces:
ECMultiplier

 class ReferenceMultiplier
extends java.lang.Object
implements ECMultiplier


Constructor Summary
ReferenceMultiplier()
           
 
Method Summary
 ECPoint multiply(ECPoint p, java.math.BigInteger k, PreCompInfo preCompInfo)
          Simple shift-and-add multiplication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceMultiplier

ReferenceMultiplier()
Method Detail

multiply

public ECPoint multiply(ECPoint p,
                        java.math.BigInteger k,
                        PreCompInfo preCompInfo)
Simple shift-and-add multiplication. Serves as reference implementation to verify (possibly faster) implementations in ECPoint.

Specified by:
multiply in interface ECMultiplier
Parameters:
p - The point to multiply.
k - The factor by which to multiply.
Returns:
The result of the point multiplication k * p.


Copyright © 2013 Gamma Technologies. All Rights Reserved.