Home
last modified time | relevance | path

Searched refs:k2 (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
694 $k2 = $k2->toBigInteger();
698 while ($k1->compare(new BigInteger(-$d1)) > 0 || $k2->compare(new BigInteger(-$d2)) > 0) {
704 $m24 = $k2->testBit(0) + 2 * $k2->testBit(1);
726 $m8 = $k2->testBit(0) + 2 * $k2->testBit(1) + 4 * $k2->testBit(2);
741 $k2 = $k2->bitwise_rightShift(1);
H A DKoblitzPrime.php143 $k2 = $q1->add($q2)->negate();
168 if ($k2->isNegative()) {
169 $k2 = $k2->negate();
179 $nscalars[$pos] = $this->factory->newInteger($k2);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DHash.php203 private $k2; variable in phpseclib3\\Crypt\\Hash
977 * @param string $k2 string of length 4 bytes.
981 private static function L3Hash($k1, $k2, $m) argument
992 $y = $y ^ $k2;
1031 $k2 = new BigInteger($k1, 256);
1032 $k2->setPrecision(128);
1033 $k2 = $k2->bitwise_leftShift(1)->toBytes();
1035 $k2 = $msb ? $k2 ^ $constRb : $k2 | $constZero;
1038 $this->k2 = $k2;
1057 self::OMAC_padding($M[$n - 1], $const_Bsize) ^ $k2;