Class/Object

sigmastate.crypto

GF2_192_Poly

Related Docs: object GF2_192_Poly | package crypto

Permalink

class GF2_192_Poly extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GF2_192_Poly
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GF2_192_Poly(maxDeg: Int, constantTerm: Int)

    Permalink

    Constructs a constant polynomial

    Constructs a constant polynomial

    maxDeg

    the maximum degree this polynomial could possibly have (to allocate space)

    constantTerm

    the polynomial is initially created with degree 0 and given constantTerm

  2. new GF2_192_Poly(coeff0: Array[Byte], moreCoeffs: Array[Byte])

    Permalink

    Constructs the polynomial given the byte array representation of the coefficients.

    Constructs the polynomial given the byte array representation of the coefficients. Coefficient of degree zero is given separately. Each coefficient should be given as a 24-byte representation of a GF2_192 value. Coefficient of degree 1 should start at moreCoeffs[0].

    coeff0

    byte array representing lowest coefficient (24 bytes)

    moreCoeffs

    byte array with concatenation of byte-converted coefficients (24 bytes each) from degree 1 to the highest

  3. new GF2_192_Poly()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def coeff0Bytes: Array[Byte]

    Permalink

    returns

    The degree-0 coefficient, converted to an array of 24 bytes

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    GF2_192_Poly → AnyRef → Any
  9. def evaluate(x: Byte): GF2_192

    Permalink

    Evaluates the polynomial at a given point

    Evaluates the polynomial at a given point

    x

    the last byte of a field element (all other bits are assumed to be 0)

    returns

    the value of this polynomial evaluated at the field element

  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    GF2_192_Poly → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toByteArray(coeff0: Boolean): Array[Byte]

    Permalink

    Returns a byte array that contains the concatenation of all the coefficients (except possibly the degree-0 coefficient, which is omitted if coeff0 is false).

    Returns a byte array that contains the concatenation of all the coefficients (except possibly the degree-0 coefficient, which is omitted if coeff0 is false). Lowest-degree coefficient (0 or 1 depending on coeff0) starts at index 0 of the returned array. Each coefficient takes 24 bytes, for a total of degree*24 bytes if coeff0 is false, or (degree+1)*24 bytes if coeff0 is true

    coeff0

    whether to include coeff0

    returns

    array of all coefficients (except possibly 0th depending on coeff0)

  19. def toString(): String

    Permalink

    returns

    this represented in usual polynomial notation (but possibly leading 0s), with X as the free variable

    Definition Classes
    GF2_192_Poly → AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped