PHP Classes
elePHPant
Icontem

File: tests/unit/Int32FastTest.php

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  PHP Sodium Compat  >  tests/unit/Int32FastTest.php  >  Download  
File: tests/unit/Int32FastTest.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Sodium Compat
Cryptographic functions of libsodium in pure PHP
Author: By
Last change:
Date: 3 months ago
Size: 321 bytes
 

 

Contents

Class file image Download
<?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;
        }
    }
}