Home
last modified time | relevance | path

Searched refs:LENGTHBYTES (Results 1 – 1 of 1) sorted by relevance

/PHP-8.0/ext/hash/
H A Dhash_whirlpool.c34 #define LENGTHBYTES 32 macro
35 #define LENGTHBITS (8*LENGTHBYTES) /* 256 */
389 if (bufferPos > WBLOCKBYTES - LENGTHBYTES) { in PHP_WHIRLPOOLFinal()
402 if (bufferPos < WBLOCKBYTES - LENGTHBYTES) { in PHP_WHIRLPOOLFinal()
403 memset(&buffer[bufferPos], 0, (WBLOCKBYTES - LENGTHBYTES) - bufferPos); in PHP_WHIRLPOOLFinal()
405 bufferPos = WBLOCKBYTES - LENGTHBYTES; in PHP_WHIRLPOOLFinal()
409 memcpy(&buffer[WBLOCKBYTES - LENGTHBYTES], bitLength, LENGTHBYTES); in PHP_WHIRLPOOLFinal()

Completed in 5 milliseconds