Searched refs:instanceID (Results 1 – 4 of 4) sorted by relevance
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/PrimeField/ |
| H A D | Integer.php | 38 protected $instanceID; variable in phpseclib3\\Math\\PrimeField\\Integer 64 * @param int $instanceID 67 public function __construct($instanceID, $num = null) argument 69 $this->instanceID = $instanceID; 73 $reduce = static::$reduce[$instanceID]; 81 * @param int $instanceID 84 public static function setModulo($instanceID, BigInteger $modulo) argument 86 static::$modulo[$instanceID] = $modulo; 92 * @param int $instanceID 95 public static function setRecurringModuloFunction($instanceID, callable $function) argument [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/ |
| H A D | PrimeField.php | 40 protected $instanceID; variable in phpseclib3\\Math\\PrimeField 51 $this->instanceID = self::$instanceCounter++; 52 Integer::setModulo($this->instanceID, $modulo); 53 … Integer::setRecurringModuloFunction($this->instanceID, $modulo->createRecurringModuloFunction()); 73 return new Integer($this->instanceID, $num); 88 …return new Integer($this->instanceID, BigInteger::randomRange($one, Integer::getModulo($this->inst… 98 return Integer::getModulo($this->instanceID)->getLengthInBytes(); 108 return Integer::getModulo($this->instanceID)->getLength(); 116 Integer::cleanupCache($this->instanceID);
|
| H A D | BinaryField.php | 40 protected $instanceID; variable in phpseclib3\\Math\\BinaryField 113 $this->instanceID = self::$instanceCounter++; 114 Integer::setModulo($this->instanceID, $modulo); 115 Integer::setRecurringModuloFunction($this->instanceID, $reduce); 128 return new Integer($this->instanceID, $num instanceof BigInteger ? $num->toBytes() : $num); 143 … return new Integer($this->instanceID, BigInteger::randomRange($one, $this->randomMax)->toBytes()); 153 return strlen(Integer::getModulo($this->instanceID)); 163 return strlen(Integer::getModulo($this->instanceID)) << 3;
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BinaryField/ |
| H A D | Integer.php | 47 protected $instanceID; variable in phpseclib3\\Math\\BinaryField\\Integer 66 public function __construct($instanceID, $num = '') argument 68 $this->instanceID = $instanceID; 72 $reduce = static::$reduce[$instanceID]; 79 * @param int $instanceID 82 public static function setModulo($instanceID, $modulo) argument 84 static::$modulo[$instanceID] = $modulo; 90 public static function setRecurringModuloFunction($instanceID, callable $function) argument 92 static::$reduce[$instanceID] = $function; 102 if ($x->instanceID != $y->instanceID) { [all …]
|