Class WNafPreCompInfo

  • All Implemented Interfaces:
    PreCompInfo

    public class WNafPreCompInfo
    extends java.lang.Object
    implements PreCompInfo
    Class holding precomputation data for the WNAF (Window Non-Adjacent Form) algorithm.
    • Field Detail

      • preComp

        protected ECPoint[] preComp
        Array holding the precomputed ECPoints used for a Window NAF multiplication.
      • preCompNeg

        protected ECPoint[] preCompNeg
        Array holding the negations of the precomputed ECPoints used for a Window NAF multiplication.
      • twice

        protected ECPoint twice
        Holds an ECPoint representing twice(this). Used for the Window NAF multiplication to create or extend the precomputed values.
    • Constructor Detail

      • WNafPreCompInfo

        public WNafPreCompInfo()
    • Method Detail

      • getPreComp

        public ECPoint[] getPreComp()
      • setPreComp

        public void setPreComp​(ECPoint[] preComp)
      • getPreCompNeg

        public ECPoint[] getPreCompNeg()
      • setPreCompNeg

        public void setPreCompNeg​(ECPoint[] preCompNeg)
      • getTwice

        public ECPoint getTwice()
      • setTwice

        public void setTwice​(ECPoint twice)