PHP Classes
elePHPant
Icontem

File: tests/unit/Int64FastTest.php

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  PHP Sodium Compat  >  tests/unit/Int64FastTest.php  >  Download  
File: tests/unit/Int64FastTest.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: 15 days ago
Size: 321 bytes
 

Contents

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