Home
last modified time | relevance | path

Searched refs:k1 (Results 1 – 3 of 3) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/
H A DPrime.php685 private static function getJSFPoints(Integer $k1, Integer $k2) argument
693 $k1 = $k1->toBigInteger();
698 while ($k1->compare(new BigInteger(-$d1)) > 0 || $k2->compare(new BigInteger(-$d2)) > 0) {
700 $m14 = $k1->testBit(0) + 2 * $k1->testBit(1);
717 $m8 = $k1->testBit(0) + 2 * $k1->testBit(1) + 4 * $k1->testBit(2);
740 $k1 = $k1->bitwise_rightShift(1);
H A DKoblitzPrime.php142 $k1 = $k->subtract($p1)->subtract($p2);
163 if ($k1->isNegative()) {
164 $k1 = $k1->negate();
175 $nscalars[$pos] = $this->factory->newInteger($k1);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DHash.php202 private $k1; variable in phpseclib3\\Crypt\\Hash
976 * @param string $k1 string of length 64 bytes.
981 private static function L3Hash($k1, $k2, $m) argument
988 $k_i = $factory->newInteger(new BigInteger(substr($k1, 8 * $i, 8), 256));
1028 $k1 = $msb ? $l ^ $constRb : $l | $constZero;
1030 $msb = ($k1 & "\x80") == "\x80";
1031 $k2 = new BigInteger($k1, 256);
1037 $this->k1 = $k1;
1056 $M[$n - 1] ^ $k1 :