Home
last modified time | relevance | path

Searched refs:kdf (Results 1 – 2 of 2) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPKCS8.php356 $kdf = self::getPBES1KDF($algorithm);
366 $cipher->setPassword($password, $kdf, $hash, $salt, $iterationCount);
580 $kdf = 'pbkdf2';
617 $kdf = self::getPBES1KDF($encryptionAlgorithm);
625 $crypto->setPassword($password, $kdf, $hash, $salt, $iterationCount);
743 $kdf = &$r['encryptionAlgorithm']['parameters']['keyDerivationFunc'];
744 switch ($kdf['algorithm']) {
746 $decoded = ASN1::decodeBER($kdf['parameters']->element);
750 $kdf['parameters'] = ASN1::asn1map($decoded[0], Maps\PBKDF2params::MAP);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DHash.php459 private function kdf($index, $numbytes) function in phpseclib3\\Crypt\\Hash
495 $kp = $this->kdf(0, 16);
528 $L1Key = $this->kdf(1, (1024 + ($iters - 1)) * 16);
529 $L2Key = $this->kdf(2, $iters * 24);
530 $L3Key1 = $this->kdf(3, $iters * 64);
531 $L3Key2 = $this->kdf(4, $iters * 4);