Object/Class

sigmastate.crypto

GF2_192

Related Docs: class GF2_192 | package crypto

Permalink

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

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

    Permalink

    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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def invert(res: GF2_192, z: GF2_192): Unit

    Permalink
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def mul(res: GF2_192, a: GF2_192, b: GF2_192): Unit

    Permalink

    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

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def power2To2ToK(res: GF2_192, z: GF2_192, k: Int): Unit

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped