Home
last modified time | relevance | path

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

/PHP-8.0/ext/hash/
H A Dhash_whirlpool.c31 #define WBLOCKBYTES 64 macro
32 #define WBLOCKBITS (8*WBLOCKBYTES) /* 512 */
389 if (bufferPos > WBLOCKBYTES - LENGTHBYTES) { in PHP_WHIRLPOOLFinal()
390 if (bufferPos < WBLOCKBYTES) { in PHP_WHIRLPOOLFinal()
391 memset(&buffer[bufferPos], 0, WBLOCKBYTES - bufferPos); 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 6 milliseconds