| 1 | <?php |
||
| 10 | class KeyDerivationTest extends AbstractTestCase |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @return array |
||
| 14 | */ |
||
| 15 | public function getKeyDerivationVectors() |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param BufferInterface $password |
||
| 29 | * @param BufferInterface $salt |
||
| 30 | * @param BufferInterface $expectedOutput |
||
| 31 | * @param int $iterations |
||
| 32 | * @dataProvider getKeyDerivationVectors |
||
| 33 | */ |
||
| 34 | public function testKeyDerivation(BufferInterface $password, BufferInterface $salt, $iterations, BufferInterface $expectedOutput) |
||
| 39 | } |
||
| 40 |