Packages

object GF2_192

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

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. def add(res: GF2_192, a: GF2_192, b: GF2_192): Unit

    Computes a plus b and puts the result into res.

    Computes a plus b and puts the result into res.

    res

    output; must be not null; may be equal to a and/or b

    a

    multiplicand; may be equal to res, in which case will get overwritten

    b

    multiplier; may be equal to res, in which case will get overwritten

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def invert(res: GF2_192, z: GF2_192): Unit
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def mul(res: GF2_192, a: GF2_192, b: GF2_192): Unit

    Computes a times b and puts the result into res.

    Computes a times b and puts the result into res. Uses table lookups, which may not preserve the secrecy of the inputs in case of side-channel attacks.

    res

    output; must be not null; may be equal to a and/or b

    a

    multiplicand; may be equal to res, in which case will get overwritten

    b

    multiplier; may be equal to res, in which case will get overwritten

  15. def mul(res: GF2_192, a: GF2_192, b: Byte): Unit

    Computes a times b and puts the result into res.

    Computes a times b and puts the result into res. More efficient than mul(res, a, new GF2_192(b))

    res

    output; must be not null; may be equal to a and/or b

    a

    multiplicand; may be equal to res, in which case will get overwritten

    b

    multiplier; may be equal to res, in which case will get overwritten

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def power2To2ToK(res: GF2_192, z: GF2_192, k: Int): Unit

    Raises z to the power 2{2k} and puts the result into res.

    Raises z to the power 2{2k} and puts the result into res. Same sqr(z, z) 2^k times. Takes only about as much time as mul(res, z, z) (even more efficient implementations are possible, but not provided here because of risk of side-channel attacks)

    res

    output; must be not null; may be equal to z

    z

    input to be squared; may be equal to res, in which case will get overwritten

  20. def sqr(res: GF2_192, z: GF2_192): Unit

    Squares z and puts the result into res.

    Squares z and puts the result into res. Same as power2To2ToK(res, z, 0). About same efficiency as mul(res, z, z) (more efficient implementations are possible, but not provided here because of risk of side-channel attacks)

    res

    output; must be not null; may be equal to z

    z

    input to be squared; may be equal to res, in which case will get overwritten

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped