Home
last modified time | relevance | path

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

/PHP-5.3/ext/hash/
H A Dhash_whirlpool.c35 #define WBLOCKBYTES 64 macro
36 #define WBLOCKBITS (8*WBLOCKBYTES) /* 512 */
393 if (bufferPos > WBLOCKBYTES - LENGTHBYTES) { in PHP_WHIRLPOOLFinal()
394 if (bufferPos < WBLOCKBYTES) { in PHP_WHIRLPOOLFinal()
395 memset(&buffer[bufferPos], 0, WBLOCKBYTES - bufferPos); in PHP_WHIRLPOOLFinal()
406 if (bufferPos < WBLOCKBYTES - LENGTHBYTES) { in PHP_WHIRLPOOLFinal()
407 memset(&buffer[bufferPos], 0, (WBLOCKBYTES - LENGTHBYTES) - bufferPos); in PHP_WHIRLPOOLFinal()
409 bufferPos = WBLOCKBYTES - LENGTHBYTES; in PHP_WHIRLPOOLFinal()
413 memcpy(&buffer[WBLOCKBYTES - LENGTHBYTES], bitLength, LENGTHBYTES); in PHP_WHIRLPOOLFinal()

Completed in 5 milliseconds