forked from paragonie/sodium_compat
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also make Int32 multiplication faster.
- Loading branch information
1 parent
5d45f89
commit ed0e9ec
Showing
5 changed files
with
168 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
require_once __DIR__ . '/Int32Test.php'; | ||
|
||
class Int32FastTest extends Int32Test | ||
{ | ||
public function setUp() | ||
{ | ||
if (PHP_INT_SIZE === 8) { | ||
$this->markTestSkipped('Only relevant to 32-bit platforms.'); | ||
} else { | ||
ParagonIE_Sodium_Compat::$fastMult = true; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
require_once __DIR__ . '/Int64Test.php'; | ||
|
||
class Int64FastTest extends Int64Test | ||
{ | ||
public function setUp() | ||
{ | ||
if (PHP_INT_SIZE === 8) { | ||
$this->markTestSkipped('Only relevant to 32-bit platforms.'); | ||
} else { | ||
ParagonIE_Sodium_Compat::$fastMult = true; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters