Home
last modified time | relevance | path

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

/PHP-5.3/ext/hash/
H A Dhash_whirlpool.c285 int bufferPos = context->buffer.pos; in PHP_WHIRLPOOLUpdate() local
322 bufferBits = bufferPos = 0; in PHP_WHIRLPOOLUpdate()
354 bufferPos++; in PHP_WHIRLPOOLUpdate()
368 bufferBits = bufferPos = 0; in PHP_WHIRLPOOLUpdate()
374 context->buffer.pos = bufferPos; in PHP_WHIRLPOOLUpdate()
383 int bufferPos = context->buffer.pos; in PHP_WHIRLPOOLFinal() local
394 if (bufferPos < WBLOCKBYTES) { in PHP_WHIRLPOOLFinal()
395 memset(&buffer[bufferPos], 0, WBLOCKBYTES - bufferPos); in PHP_WHIRLPOOLFinal()
404 bufferPos = 0; in PHP_WHIRLPOOLFinal()
407 memset(&buffer[bufferPos], 0, (WBLOCKBYTES - LENGTHBYTES) - bufferPos); in PHP_WHIRLPOOLFinal()
[all …]

Completed in 4 milliseconds