Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
multiplyAddPoints (array $points, array $scalars) | |
verifyPoint (array $p) | |
Fonctions membres publiques hérités de Prime | |
setModulo (BigInteger $modulo) | |
setCoefficients (BigInteger $a, BigInteger $b) | |
setBasePoint ($x, $y) | |
getBasePoint () | |
addPoint (array $p, array $q) | |
doublePoint (array $p) | |
derivePoint ($m) | |
verifyPoint (array $p) | |
getModulo () | |
getA () | |
getB () | |
multiplyAddPoints (array $points, array $scalars) | |
convertToAffine (array $p) | |
convertToInternal (array $p) | |
Fonctions membres publiques hérités de Base | |
randomInteger () | |
convertInteger (BigInteger $x) | |
getLengthInBytes () | |
getLength () | |
multiplyPoint (array $p, BigInteger $d) | |
createRandomMultiplier () | |
rangeCheck (BigInteger $x) | |
setOrder (BigInteger $order) | |
getOrder () | |
setReduction (callable $func) | |
convertToAffine (array $p) | |
convertToInternal (array $p) | |
negatePoint (array $p) | |
multiplyAddPoints (array $points, array $scalars) | |
Fonctions membres protégées | |
doublePointHelper (array $p) | |
jacobianDoublePoint (array $p) | |
jacobianDoublePointMixed (array $p) | |
Fonctions membres protégées hérités de Prime | |
jacobianAddPointMixedXY (array $p, array $q) | |
jacobianAddPointMixedX (array $p, array $q) | |
jacobianAddPoint (array $p, array $q) | |
doublePointHelper (array $p) | |
jacobianDoublePoint (array $p) | |
jacobianDoublePointMixed (array $p) | |
Fonctions membres protégées statiques | |
static | extendedGCD (BigInteger $u, BigInteger $v) |
Membres hérités additionnels | |
Attributs protégés hérités de Prime | |
$factory | |
$a | |
$b | |
$p | |
$one | |
$two | |
$three | |
$four | |
$eight | |
$modulo | |
$order | |
Attributs protégés hérités de Base | |
$doubles | |
$order | |
$factory | |
|
protected |
|
staticprotected |
Calculates the parameters needed from the Euclidean algorithm as discussed at http://diamond.boisestate.edu/~liljanab/MATH308/GuideToECC.pdf#page=148
BigInteger | $u | |
BigInteger | $v |
Références Prime\$a, Prime\$b, $c, Prime\$one, EC\$q, $temp, AsymmetricKey\$zero, BigInteger\bitwise_rightShift(), BigInteger\compare(), BigInteger\divide(), BigInteger\equals(), BigInteger\getLength(), et BigInteger\multiply().
|
protected |
Doubles a jacobian coordinate on the curve
See http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#doubling-dbl-2009-l
|
protected |
Doubles a "fresh" jacobian coordinate on the curve
See http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#doubling-mdbl-2007-bl
Références Prime\$p.
multiplyAddPoints | ( | array | $points, |
array | $scalars | ||
) |
Multiply and Add Points
Uses a efficiently computable endomorphism to achieve a slight speedup
Adapted from https://git.io/vxbrP
Références Prime\$factory, $i, Prime\$one, Prime\$order, Prime\$p, $r, Prime\$two, AsymmetricKey\$zero, Base\multiplyPoint(), et Base\negatePoint().
verifyPoint | ( | array | $p | ) |