[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Class ParagonIE_Sodium_Core_BLAKE2b Based on the work of Devi Mandiri in devi/salt.
File Size: | 797 lines (24 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
new64($high, $low) X-Ref |
Turn two 32-bit integers into a fixed array representing a 64-bit integer. param: int $high param: int $low return: SplFixedArray |
to64($num) X-Ref |
Convert an arbitrary number into an SplFixedArray of two 32-bit integers that represents a 64-bit integer. param: int $num return: SplFixedArray |
add64($x, $y) X-Ref |
Adds two 64-bit integers together, returning their sum as a SplFixedArray containing two 32-bit integers (representing a 64-bit integer). param: SplFixedArray $x param: SplFixedArray $y return: SplFixedArray |
add364($x, $y, $z) X-Ref |
param: SplFixedArray $x param: SplFixedArray $y param: SplFixedArray $z return: SplFixedArray |
xor64(SplFixedArray $x, SplFixedArray $y) X-Ref |
param: SplFixedArray $x param: SplFixedArray $y return: SplFixedArray |
rotr64($x, $c) X-Ref |
param: SplFixedArray $x param: int $c return: SplFixedArray |
flatten64($x) X-Ref |
param: SplFixedArray $x return: int |
load64(SplFixedArray $x, $i) X-Ref |
param: SplFixedArray $x param: int $i return: SplFixedArray |
store64(SplFixedArray $x, $i, SplFixedArray $u) X-Ref |
param: SplFixedArray $x param: int $i param: SplFixedArray $u return: void |
pseudoConstructor() X-Ref |
This just sets the $iv static variable. return: void |
context() X-Ref |
Returns a fresh BLAKE2 context. return: SplFixedArray |
compress(SplFixedArray $ctx, SplFixedArray $buf) X-Ref |
param: SplFixedArray $ctx param: SplFixedArray $buf return: void |
G($r, $i, $a, $b, $c, $d, SplFixedArray $v, SplFixedArray $m) X-Ref |
param: int $r param: int $i param: int $a param: int $b param: int $c param: int $d param: SplFixedArray $v param: SplFixedArray $m return: SplFixedArray |
increment_counter($ctx, $inc) X-Ref |
param: SplFixedArray $ctx param: int $inc return: void |
update(SplFixedArray $ctx, SplFixedArray $p, $plen) X-Ref |
param: SplFixedArray $ctx param: SplFixedArray $p param: int $plen return: void |
finish(SplFixedArray $ctx, SplFixedArray $out) X-Ref |
param: SplFixedArray $ctx param: SplFixedArray $out return: SplFixedArray |
init($key = null,$outlen = 64,$salt = null,$personal = null) X-Ref |
param: SplFixedArray|null $key param: int $outlen param: SplFixedArray|null $salt param: SplFixedArray|null $personal return: SplFixedArray |
stringToSplFixedArray($str = '') X-Ref |
Convert a string into an SplFixedArray of integers param: string $str return: SplFixedArray |
SplFixedArrayToString(SplFixedArray $a) X-Ref |
Convert an SplFixedArray of integers into a string param: SplFixedArray $a return: string |
contextToString(SplFixedArray $ctx) X-Ref |
param: SplFixedArray $ctx return: string |
stringToContext($string) X-Ref |
Creates an SplFixedArray containing other SplFixedArray elements, from a string (compatible with \Sodium\crypto_generichash_{init, update, final}) param: string $string return: SplFixedArray |
Generated: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |