◆ addPoint()
addPoint |
( |
array |
$p, |
|
|
array |
$q |
|
) |
| |
◆ convertToAffine()
convertToAffine |
( |
array |
$p | ) |
|
Returns the affine point
A Jacobian Coordinate is of the form (x, y, z). To convert a Jacobian Coordinate to an Affine Point you do (x / z^2, y / z^3)
- Renvoie
- []
Références Binary\$p, et EC\$x.
◆ convertToInternal()
convertToInternal |
( |
array |
$p | ) |
|
◆ derivePoint()
Returns the X coordinate and the derived Y coordinate
Not supported because it is covered by patents. Quoting https://www.openssl.org/docs/man1.1.0/apps/ecparam.html ,
"Due to patent issues the compressed option is disabled by default for binary curves and can be enabled by defining the preprocessor macro OPENSSL_EC_BIN_PT_COMP at compile time."
- Renvoie
- array
◆ doublePoint()
◆ getA()
Returns the a coefficient
- Renvoie
Références Binary\$a.
◆ getB()
Returns the a coefficient
- Renvoie
Références Binary\$b.
◆ getBasePoint()
Retrieve the base point as an array
- Renvoie
- array
Références Binary\$p.
◆ getModulo()
◆ setBasePoint()
Set x and y coordinates for the base point
- Paramètres
-
string | BinaryInteger | $x | |
string | BinaryInteger | $y | |
Références EC\$x.
Référencé par sect113r1\__construct(), sect571r1\__construct(), sect571k1\__construct(), sect409r1\__construct(), sect409k1\__construct(), sect283r1\__construct(), sect283k1\__construct(), sect239k1\__construct(), sect233r1\__construct(), sect233k1\__construct(), sect193r2\__construct(), sect193r1\__construct(), sect163r2\__construct(), sect163r1\__construct(), sect163k1\__construct(), sect131r2\__construct(), sect131r1\__construct(), et sect113r2\__construct().
◆ setCoefficients()
setCoefficients |
( |
|
$a, |
|
|
|
$b |
|
) |
| |
Set coefficients a and b
- Paramètres
-
Références Binary\$a, et Binary\$b.
Référencé par sect113r1\__construct(), sect571r1\__construct(), sect571k1\__construct(), sect409r1\__construct(), sect409k1\__construct(), sect283r1\__construct(), sect283k1\__construct(), sect239k1\__construct(), sect233r1\__construct(), sect233k1\__construct(), sect193r2\__construct(), sect193r1\__construct(), sect163r2\__construct(), sect163r1\__construct(), sect163k1\__construct(), sect131r2\__construct(), sect131r1\__construct(), et sect113r2\__construct().
◆ setModulo()
Sets the modulo
Références Binary\$modulo.
Référencé par sect113r1\__construct(), sect571r1\__construct(), sect571k1\__construct(), sect409r1\__construct(), sect409k1\__construct(), sect283r1\__construct(), sect283k1\__construct(), sect239k1\__construct(), sect233r1\__construct(), sect233k1\__construct(), sect193r2\__construct(), sect193r1\__construct(), sect163r2\__construct(), sect163r1\__construct(), sect163k1\__construct(), sect131r2\__construct(), sect131r1\__construct(), et sect113r2\__construct().
◆ verifyPoint()
Tests whether or not the x / y values satisfy the equation
- Renvoie
- boolean
Références Binary\$p, et EC\$x.
◆ $a
◆ $b
◆ $factory
◆ $modulo
◆ $one
◆ $order
◆ $p
La documentation de cette classe a été générée à partir du fichier suivant :