Packages

c

gf2t

GF2_192_Poly

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(coeff0: Array[Byte], moreCoeffs: Array[Byte])

    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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def coeff0Bytes(): Array[Byte]

    returns

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

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def evaluate(x: Byte): GF2_192

    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
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toByteArray(coeff0: Boolean): Array[Byte]

    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

    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
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped