ECField
Modifier and Type | Field and Description |
---|---|
private final int[] | |
private final int | |
private BigInteger |
Access | Constructor and Description |
---|---|
public | ECFieldF2m(int
with 2^ m)m being the number of elements.Creates an elliptic curve characteristic 2 finite
field which has 2^ |
public | ECFieldF2m(int
with 2^ m, BigInteger m being the number of elements.the BigInteger whose i-th bit corresponds to
the i-th coefficient of the reduction polynomial. rp)Creates an elliptic curve characteristic 2 finite
field which has 2^ |
public | ECFieldF2m(int
with 2^ m, int[] m being the number of elements.the order of the middle term(s) of the
reduction polynomial. Contents of this array are copied
to protect against subsequent modification. ks)Creates an elliptic curve characteristic 2 finite
field which has 2^ |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true ifobj is an instance
of ECFieldF2m and both m and the reduction
polynomial match, false otherwise.the object to be compared. obj)Overrides java. Compares this finite field for equality with the specified object. |
public int | Returns: the field size in bits.Implements java. Returns the field size in bits which is |
public int | Returns: m with 2^m being the
number of elements.Returns the value |
public int[] | Returns: an integer array which contains the order of the middle term(s) of the reduction polynomial for polynomial basis or null for normal basis. A new array is returned each time this method is called.Returns an integer array which contains the order of the middle term(s) of the reduction polynomial for polynomial basis or null for normal basis. |
public BigInteger | Returns: a BigInteger whose i-th bit corresponds to the i-th coefficient of the reduction polynomial for polynomial basis or null for normal basis.Returns a BigInteger whose i-th bit corresponds to the i-th coefficient of the reduction polynomial for polynomial basis or null for normal basis. |
public int | Returns: the hash code value for this characteristic 2 finite fieldOverrides java. Returns the hash code value for this characteristic 2 finite field. |
ks | back to summary |
---|---|
private final int[] ks |
m | back to summary |
---|---|
private final int m |
rp | back to summary |
---|---|
private BigInteger rp |
ECFieldF2m | back to summary |
---|---|
public ECFieldF2m(int m) Creates an elliptic curve characteristic 2 finite
field which has 2^
|
ECFieldF2m | back to summary |
---|---|
public ECFieldF2m(int m, BigInteger rp) Creates an elliptic curve characteristic 2 finite
field which has 2^ Note A valid reduction polynomial is either a
trinomial (X^
|
ECFieldF2m | back to summary |
---|---|
public ECFieldF2m(int m, int[] ks) Creates an elliptic curve characteristic 2 finite
field which has 2^ Note A valid reduction polynomial is either a
trinomial (X^
|
equals | back to summary |
---|---|
public boolean equals(Object obj) Overrides java. Compares this finite field for equality with the specified object. |
getFieldSize | back to summary |
---|---|
public int getFieldSize() Implements java. Returns the field size in bits which is
|
getM | back to summary |
---|---|
public int getM() Returns the value
|
getMidTermsOfReductionPolynomial | back to summary |
---|---|
public int[] getMidTermsOfReductionPolynomial() Returns an integer array which contains the order of the middle term(s) of the reduction polynomial for polynomial basis or null for normal basis.
|
getReductionPolynomial | back to summary |
---|---|
public BigInteger getReductionPolynomial() Returns a BigInteger whose i-th bit corresponds to the i-th coefficient of the reduction polynomial for polynomial basis or null for normal basis.
|
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. Returns the hash code value for this characteristic 2 finite field.
|