Home
last modified time | relevance | path

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

/PHP-8.0/ext/hash/
H A Dhash_whirlpool.c281 int bufferPos = context->buffer.pos; in PHP_WHIRLPOOLUpdate() local
318 bufferBits = bufferPos = 0; in PHP_WHIRLPOOLUpdate()
350 bufferPos++; in PHP_WHIRLPOOLUpdate()
364 bufferBits = bufferPos = 0; in PHP_WHIRLPOOLUpdate()
370 context->buffer.pos = bufferPos; in PHP_WHIRLPOOLUpdate()
379 int bufferPos = context->buffer.pos; in PHP_WHIRLPOOLFinal() local
390 if (bufferPos < WBLOCKBYTES) { in PHP_WHIRLPOOLFinal()
391 memset(&buffer[bufferPos], 0, WBLOCKBYTES - bufferPos); in PHP_WHIRLPOOLFinal()
400 bufferPos = 0; in PHP_WHIRLPOOLFinal()
403 memset(&buffer[bufferPos], 0, (WBLOCKBYTES - LENGTHBYTES) - bufferPos); in PHP_WHIRLPOOLFinal()
[all …]

Completed in 6 milliseconds