Home
last modified time | relevance | path

Searched refs:forcedEngine (Results 1 – 10 of 10) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
H A DPrivateKey.php63 if (self::$forcedEngine === 'OpenSSL') {
67 if (self::$forcedEngine === 'libsodium' && !$this->curve instanceof Curve25519) {
71 if ($this->curve instanceof Curve25519 && self::$forcedEngine !== 'PHP') {
72 … if (self::$forcedEngine === 'libsodium' && !function_exists('sodium_crypto_scalarmult')) {
124 if (self::$forcedEngine === 'libsodium' && !$this->curve instanceof Ed25519) {
130 …if ($this->curve instanceof Ed25519 && self::$forcedEngine !== 'PHP' && self::$forcedEngine !== 'O…
131 if (self::$forcedEngine === 'libsodium') {
148 if (self::$forcedEngine !== 'PHP') {
150 if (self::$forcedEngine === 'OpenSSL') {
169 if (self::$forcedEngine === 'OpenSSL') {
[all …]
H A DPublicKey.php56 if (self::$forcedEngine === 'libsodium' && !$this->curve instanceof Ed25519) {
62 …if ($this->curve instanceof Ed25519 && self::$forcedEngine !== 'PHP' && self::$forcedEngine !== 'O…
63 if (self::$forcedEngine === 'libsodium') {
87 if (self::$forcedEngine !== 'PHP') {
89 if (self::$forcedEngine === 'OpenSSL') {
104 if (self::$forcedEngine === 'OpenSSL') {
167 if (self::$forcedEngine === 'OpenSSL' && !function_exists('openssl_get_md_methods')) {
173 if (self::$forcedEngine !== 'PHP') {
182 if (self::$forcedEngine === 'OpenSSL') {
185 } elseif (self::$forcedEngine === 'OpenSSL') {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/
H A DPrivateKey.php83 if (self::$forcedEngine === 'libsodium') {
87 if (self::$forcedEngine === 'OpenSSL' && !function_exists('openssl_get_md_methods')) {
91 if (function_exists('openssl_get_md_methods') && self::$forcedEngine !== 'PHP') {
106 } elseif (self::$forcedEngine === 'OpenSSL') {
109 } elseif (self::$forcedEngine === 'OpenSSL') {
H A DPublicKey.php38 if (self::$forcedEngine === 'libsodium') {
42 if (self::$forcedEngine === 'OpenSSL' && !function_exists('openssl_get_md_methods')) {
55 if (function_exists('openssl_get_md_methods') && self::$forcedEngine !== 'PHP') {
64 } elseif (self::$forcedEngine === 'OpenSSL') {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRSA.php258 protected static $forcedEngine = null; variable in phpseclib3\\Crypt\\RSA
301 …if (self::$forcedEngine == 'libsodium' || (self::$forcedEngine == 'OpenSSL' && !function_exists('o…
302 …throw new BadConfigurationException('Engine ' . self::$forcedEngine . ' is forced but unsupported …
316 if (self::$forcedEngine !== 'PHP' && function_exists('openssl_pkey_new')) {
324 if (isset(self::$forcedEngine)) {
955 if (self::$forcedEngine === 'libsodium') {
959 …if ((isset(self::$forcedEngine) && self::$forcedEngine !== 'PHP') && $this->$paddingType === self:…
963 if (self::$forcedEngine !== 'PHP') {
964 if (self::$forcedEngine === 'OpenSSL' && !function_exists($func)) {
992 if (self::$forcedEngine === 'OpenSSL') {
[all …]
H A DDSA.php97 protected static $forcedEngine = null; variable in phpseclib3\\Crypt\\DSA
193 if (self::$forcedEngine == 'libsodium') {
194 …throw new BadConfigurationException('Engine ' . self::$forcedEngine . ' is forced but unsupported …
197 if (self::$forcedEngine == 'OpenSSL' && !defined('OPENSSL_KEYTYPE_DSA')) {
218 if (self::$forcedEngine !== 'PHP' && defined('OPENSSL_KEYTYPE_DSA')) {
238 } elseif (isset(self::$forcedEngine)) {
H A DDH.php314 $forcedEngine = EC::getForcedEngine();
315 if ($forcedEngine === 'libsodium' && $privateCurve !== 'Curve25519') {
318 if (!isset($forcedEngine) || $forcedEngine === 'OpenSSL') {
322 … if ($forcedEngine === 'OpenSSL' && !function_exists('openssl_pkey_derive')) {
332 if ($forcedEngine === 'OpenSSL') {
H A DEC.php135 protected static $forcedEngine = null; variable in phpseclib3\\Crypt\\EC
195 if (isset(self::$forcedEngine) && self::$forcedEngine !== $engine) {
204 if (self::$forcedEngine === $engine) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DAsymmetricKey.php444 static::$forcedEngine = null;
451 static::$forcedEngine = $engine;
460 return static::$forcedEngine;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/
H A DPublicKey.php339 …ignaturePadding === self::SIGNATURE_PKCS1 && isset(self::$forcedEngine) && self::$forcedEngine !==…