ParagonIE_Sodium_Core_BLAKE2b::add64() – Adds two 64-bit integers together, returning their sum as a SplFixedArray containing two 32-bit integers (representing a 64-bit integer).
You appear to be a bot. Output may be restricted
Description
Adds two 64-bit integers together, returning their sum as a SplFixedArray containing two 32-bit integers (representing a 64-bit integer).
Usage
$SplFixedArray = ParagonIE_Sodium_Core_BLAKE2b::add64( $x, $y );
Parameters
- $x
- ( SplFixedArray ) required –
- $y
- ( SplFixedArray ) required –
Returns
SplFixedArray
Source
File name: wordpress/wp-includes/sodium_compat/src/Core/BLAKE2b.php
Lines:
1 to 14 of 14
protected static function add64($x, $y) { if (PHP_INT_SIZE === 4) { throw new SodiumException("Error, use 32-bit"); } $l = ($x[1] + $y[1]) & 0xffffffff; return self::new64( (int) ($x[0] + $y[0] + ( ($l < $x[1]) ? 1 : 0 )), (int) $l ); }