Searched refs:kdf (Results 1 – 2 of 2) sorted by relevance
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/ |
| H A D | PKCS8.php | 356 $kdf = self::getPBES1KDF($algorithm); 368 $cipher->setPassword($password, $kdf, $hash, $salt, $iterationCount); 590 $kdf = 'pbkdf2'; 627 $kdf = self::getPBES1KDF($encryptionAlgorithm); 635 $crypto->setPassword($password, $kdf, $hash, $salt, $iterationCount); 753 $kdf = &$r['encryptionAlgorithm']['parameters']['keyDerivationFunc']; 754 switch ($kdf['algorithm']) { 756 $decoded = ASN1::decodeBER($kdf['parameters']->element); 760 $kdf['parameters'] = ASN1::asn1map($decoded[0], Maps\PBKDF2params::MAP);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
| H A D | Hash.php | 485 private function kdf($index, $numbytes) function in phpseclib3\\Crypt\\Hash 521 $kp = $this->kdf(0, 16); 554 $L1Key = $this->kdf(1, (1024 + ($iters - 1)) * 16); 555 $L2Key = $this->kdf(2, $iters * 24); 556 $L3Key1 = $this->kdf(3, $iters * 64); 557 $L3Key2 = $this->kdf(4, $iters * 4);
|