Merge branch '3.0'

This commit is contained in:
terrafrost 2021-12-10 07:32:50 -06:00
commit 013de5ad16

View File

@ -480,7 +480,7 @@ class Salsa20 extends StreamCipher
{
$z = $x = unpack('V*', $x);
for ($i = 0; $i < 10; $i++) {
static::doubleRound(...$z);
static::doubleRound($z[1], $z[2], $z[3], $z[4], $z[5], $z[6], $z[7], $z[8], $z[9], $z[10], $z[11], $z[12], $z[13], $z[14], $z[15], $z[16]);
}
for ($i = 1; $i <= 16; $i++) {