Lines Matching refs:engine
441 protected $engine; variable in phpseclib3\\Crypt\\Common\\SymmetricKey
1180 if ($this->engine === self::ENGINE_OPENSSL) {
1272 if ($this->engine === self::ENGINE_MCRYPT) {
1349 if ($this->engine === self::ENGINE_EVAL) {
1568 if ($this->engine === self::ENGINE_OPENSSL) {
1663 if ($this->engine === self::ENGINE_MCRYPT) {
1723 if ($this->engine === self::ENGINE_EVAL) {
2245 * @param int $engine
2249 protected function isValidEngineHelper($engine) argument
2251 switch ($engine) {
2295 * @param string $engine
2299 public function isValidEngine($engine) argument
2306 $engine = strtolower($engine);
2307 if (!isset($reverseMap[$engine])) {
2311 return $this->isValidEngineHelper($reverseMap[$engine]);
2332 * @param string $engine
2335 public function setPreferredEngine($engine) argument
2342 $engine = strtolower($engine);
2343 …$this->preferredEngine = isset($reverseMap[$engine]) ? $reverseMap[$engine] : self::ENGINE_LIBSODI…
2356 return self::ENGINE_MAP[$this->engine];
2367 $this->engine = null;
2383 foreach ($candidateEngines as $engine) {
2384 if ($this->isValidEngineHelper($engine)) {
2385 $this->engine = $engine;
2389 if (!$this->engine) {
2390 $this->engine = self::ENGINE_INTERNAL;
2393 if ($this->engine != self::ENGINE_MCRYPT && $this->enmcrypt) {
2492 …if ($this->mode == self::MODE_GCM && !in_array($this->engine, [self::ENGINE_LIBSODIUM, self::ENGIN…
2500 …if ($this->mode != self::MODE_GCM || !in_array($this->engine, [self::ENGINE_LIBSODIUM, self::ENGIN…
2511 switch ($this->engine) {