Package | Description |
---|---|
iaik.security.ec.math.curve | |
iaik.security.ec.math.field |
Modifier and Type | Method and Description |
---|---|
GenericFieldElement |
Coordinate.getDenominator()
Get denominator if available.
|
GenericFieldElement |
Coordinate.getX()
Returns the x-coordinate.
|
GenericFieldElement |
Coordinate.getY()
Returns the y-coordinate.
|
Modifier and Type | Method and Description |
---|---|
abstract ECPoint |
EllipticCurve.getPoint(GenericFieldElement x)
Returns a point on the curve corresponding to
x , if
x is a valid x-coordinate. |
abstract ECPoint |
EllipticCurve.getPoint(GenericFieldElement x,
int yBit)
Returns a point on the curve corresponding to
x and
yBit (which uniquely determines the y-coordinate), if
x is a valid x-coordinate. |
abstract ECPoint |
EllipticCurve.newPoint(GenericFieldElement x,
GenericFieldElement y)
Returns a point on the curve corresponding to
(x,y) , if
(x,y) is a point on the curve. |
Modifier and Type | Interface and Description |
---|---|
interface |
ExtensionFieldElement
This interface describes the methods every field element of an extension
field has to provide.
|
interface |
FieldElement
This interface represents elements of finite fields and provides the most
important arithmetical methods.
|
interface |
PrimeCharacteristicFieldElement
This interface describes the methods every prime characteristic field element
has to provide.
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryFieldElement
This class represents a mutable binary field element.
|
class |
PrimeFieldElement
This class represents a mutable prime field element.
|
class |
QuadraticExtensionFieldElement
This class represents elements of quadratic extension fields.
|
class |
SexticExtensionFieldElement
This class stores field elements of sextic extensions over some other field.
|
Modifier and Type | Field and Description |
---|---|
protected GenericFieldElement |
AbstractFieldBenchmark.a_ |
protected GenericFieldElement |
AbstractFieldBenchmark.b_ |
Modifier and Type | Method and Description |
---|---|
GenericFieldElement |
AbstractFieldBenchmark.add() |
GenericFieldElement |
GenericFieldElement.add(GenericFieldElement b)
Adds
b to this . |
GenericFieldElement |
GenericField.add(GenericFieldElement a,
GenericFieldElement b)
Adds
b to a , i.e. |
GenericFieldElement |
GenericFieldElement.addBase(GenericFieldElement b)
Adds
b to this where b is an element
of the underlying base field. |
GenericFieldElement |
AbstractFieldBenchmark.addOutOfPlace() |
GenericFieldElement |
GenericFieldElement.addOutOfPlace(GenericFieldElement b)
Adds
this with b which is an element of the base
field, where a new object holding the result is created. |
GenericFieldElement |
GenericFieldElement.clone()
Clones the value of this field element.
|
GenericFieldElement |
AbstractFieldBenchmark.divide() |
GenericFieldElement |
GenericFieldElement.divide(GenericFieldElement b)
Divides
this and another field elements. |
GenericFieldElement |
GenericField.divide(GenericFieldElement a,
GenericFieldElement b)
Divides
a by b , i.e. |
GenericFieldElement |
GenericFieldElement.exponentiate(BigInteger n)
Raises
this to the power n . |
GenericFieldElement |
GenericField.exponentiate(GenericFieldElement a,
BigInteger n)
Raises
a to the power n , i.e. |
GenericFieldElement |
GenericField.exponentiate(GenericFieldElement a,
int n)
Raises
a to the power n , i.e. |
GenericFieldElement |
GenericFieldElement.exponentiate(int n)
Raises
this to the power n . |
GenericFieldElement |
GenericField.exponentiateByPowerOf2(GenericFieldElement a,
int n)
Raises
a to the power 2n . |
GenericFieldElement |
GenericFieldElement.exponentiateByPowerOf2(int n)
Raise
this to the power of 2^n . |
GenericFieldElement |
GenericFieldElement.exponentiateOutOfPlace(BigInteger n)
Raises
this to the power n . |
GenericFieldElement |
GenericFieldElement.exponentiateOutOfPlace(int n)
Raises
this to the power n . |
GenericFieldElement |
GenericField.getOne()
Returns the one element.
|
GenericFieldElement[] |
ExtensionFieldElement.getValues()
Get subfield elements used to represent
this . |
GenericFieldElement[] |
SexticExtensionFieldElement.getValues() |
GenericFieldElement[] |
QuadraticExtensionFieldElement.getValues() |
GenericFieldElement |
GenericField.getZero()
Returns the zero element.
|
GenericFieldElement |
AbstractFieldBenchmark.invert() |
GenericFieldElement |
GenericFieldElement.invert()
Sets
this to its inverse. |
GenericFieldElement |
GenericField.invert(GenericFieldElement a)
Inverts
a , i.e. |
GenericFieldElement[] |
BinaryField.invertElements(GenericFieldElement[] elements) |
GenericFieldElement[] |
GenericField.invertElements(GenericFieldElement[] elements)
Simultaneously inverts an an array of field elements.
|
GenericFieldElement[] |
AbstractPrimeField.invertElements(GenericFieldElement[] elements) |
GenericFieldElement |
AbstractFieldBenchmark.multiply() |
GenericFieldElement |
GenericFieldElement.multiply(BigInteger n)
Multiples
this by n . |
GenericFieldElement |
GenericFieldElement.multiply(GenericFieldElement b)
Multiplies
this with b which is an element of the
same field. |
GenericFieldElement |
GenericField.multiply(GenericFieldElement a,
BigInteger n)
Multiplies
a by n , i.e. |
GenericFieldElement |
GenericField.multiply(GenericFieldElement a,
GenericFieldElement b)
Multiplies
a by b , i.e. |
GenericFieldElement |
GenericFieldElement.multiplyByBase(GenericFieldElement b)
Multiplies
this with b which is an element of the
base field. |
GenericFieldElement |
GenericFieldElement.multiplyByBaseOutOfPlace(GenericFieldElement b)
Multiplies
this with b which is an element of the
base field, where a new object holding the result is created. |
GenericFieldElement |
AbstractFieldBenchmark.multiplyOutOfPlace() |
GenericFieldElement |
GenericFieldElement.multiplyOutOfPlace(BigInteger n)
Multiples
this by n , where a new object holding
the result is created. |
GenericFieldElement |
GenericFieldElement.multiplyOutOfPlace(GenericFieldElement b)
Multiplies
this with b which is an element of the
same field, where a new object holding the result is created. |
GenericFieldElement |
GenericField.multiplyOutOfPlace(GenericFieldElement a,
BigInteger n)
Multiplies
a by n , i.e. |
GenericFieldElement |
GenericField.multiplyOutOfPlace(GenericFieldElement a,
GenericFieldElement b)
Multiplies
a by b , i.e. |
GenericFieldElement |
GenericFieldElement.negate()
Returns the negative of
this . |
GenericFieldElement |
GenericField.negate(GenericFieldElement a)
Negates
a , i.e. |
GenericFieldElement |
GenericFieldElement.negateOutOfPlace()
Returns the negative of
this , where a new object holding the
result is created. |
GenericFieldElement |
GenericField.negateOutOfPlace(GenericFieldElement a)
Negates
a , i.e. |
GenericFieldElement |
GenericField.newElement(byte[] bytes)
Create new field element from
byte -array representation. |
GenericFieldElement |
AbstractFieldBenchmark.square() |
GenericFieldElement |
GenericFieldElement.square()
Computes the square of
this in-place. |
GenericFieldElement |
GenericField.square(GenericFieldElement a)
Squares
a , i.e. |
GenericFieldElement |
AbstractFieldBenchmark.squareOutOfPlace() |
GenericFieldElement |
GenericFieldElement.squareOutOfPlace()
Computes the square of
this , where a new object holding the
result is created. |
GenericFieldElement |
GenericField.squareOutOfPlace(GenericFieldElement a)
Squares
a , i.e. |
GenericFieldElement |
AbstractFieldBenchmark.squareRoot() |
GenericFieldElement |
GenericFieldElement.squareRoot()
Computes the square root of
this in-place. |
GenericFieldElement |
AbstractFieldBenchmark.subtract() |
GenericFieldElement |
GenericFieldElement.subtract(GenericFieldElement b)
Subtracts
b from this . |
GenericFieldElement |
GenericField.subtract(GenericFieldElement a,
GenericFieldElement b)
Subtracts
b from a , i.e. |
GenericFieldElement |
AbstractFieldBenchmark.subtractOutOfPlace() |
GenericFieldElement |
GenericFieldElement.subtractOutOfPlace(GenericFieldElement b)
Subtracts
b from this which is an element of the
base field, where a new object holding the result is created. |
GenericFieldElement |
GenericField.toElement(byte[] bytes)
Create new field element from a
byte -array. |
Copyright © 2011–2022 Stiftung SIC. All rights reserved.