Searched refs:privatekey (Results 1 – 3 of 3) sorted by relevance
152 $privatekey = EC::loadFormat('libsodium', sodium_crypto_sign_secretkey($kp));155 $privatekey->curveName = 'Ed25519';158 return $privatekey;161 $privatekey = new PrivateKey();181 $privatekey->dA = $dA = $curve->createRandomMultiplier();188 $privatekey->QA = $curve->multiplyPoint($curve->getBasePoint(), $dA);190 $privatekey->curve = $curve;196 $privatekey->curveName = $curveName;199 if ($privatekey->curve instanceof TwistedEdwardsCurve) {200 return $privatekey->withHash($curve::HASH);[all …]
428 $privatekey = new PrivateKey();429 $privatekey->modulus = $n;430 $privatekey->k = $bits >> 3;431 $privatekey->publicExponent = $e;432 $privatekey->exponent = $d;433 $privatekey->primes = $primes;434 $privatekey->exponents = $exponents;435 $privatekey->coefficients = $coefficients;446 return $privatekey;
2658 private function privatekey_login($username, PrivateKey $privatekey) argument2660 $publickey = $privatekey->getPublicKey();2663 $privatekey = $privatekey->withPadding(RSA::SIGNATURE_PKCS1);2684 $privatekey = $privatekey->withSignatureFormat('SSH2');2685 $curveName = $privatekey->getCurve();2710 $privatekey = $privatekey->withSignatureFormat('SSH2');2754 $privatekey = $privatekey->withHash($hash);2755 $signature = $privatekey->sign(Strings::packSSH2('s', $this->session_id) . $packet);