Home
last modified time | relevance | path

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

/PHP-8.1/ext/hash/
H A Dhash_sha.c225 unsigned int i, index, partLen; in PHP_SHA224Update() local
236 partLen = 64 - index; in PHP_SHA224Update()
240 if (inputLen >= partLen) { in PHP_SHA224Update()
302 unsigned int i, index, partLen; in PHP_SHA256Update() local
313 partLen = 64 - index; in PHP_SHA256Update()
317 if (inputLen >= partLen) { in PHP_SHA256Update()
527 partLen = 128 - index; in PHP_SHA384Update()
531 if (inputLen >= partLen) { in PHP_SHA384Update()
669 unsigned int i, index, partLen; in PHP_SHA512Update() local
680 partLen = 128 - index; in PHP_SHA512Update()
[all …]
H A Dhash_ripemd.c274 unsigned int i, index, partLen; in PHP_RIPEMD128Update() local
285 partLen = 64 - index; in PHP_RIPEMD128Update()
289 if (inputLen >= partLen) { in PHP_RIPEMD128Update()
372 unsigned int i, index, partLen; in PHP_RIPEMD256Update() local
383 partLen = 64 - index; in PHP_RIPEMD256Update()
387 if (inputLen >= partLen) { in PHP_RIPEMD256Update()
471 unsigned int i, index, partLen; in PHP_RIPEMD160Update() local
482 partLen = 64 - index; in PHP_RIPEMD160Update()
486 if (inputLen >= partLen) { in PHP_RIPEMD160Update()
590 partLen = 64 - index; in PHP_RIPEMD320Update()
[all …]
H A Dhash_md.c207 unsigned int i, index, partLen; in PHP_MD4Update() local
218 partLen = 64 - index; in PHP_MD4Update()
222 if (inputLen >= partLen) { in PHP_MD4Update()
223 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_MD4Update()
226 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_MD4Update()
H A Dhash_haval.c283 unsigned int i, index, partLen; in PHP_HAVALUpdate() local
293 partLen = 128 - index; in PHP_HAVALUpdate()
297 if (inputLen >= partLen) { in PHP_HAVALUpdate()
298 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_HAVALUpdate()
301 for (i = partLen; i + 127 < inputLen; i += 128) { in PHP_HAVALUpdate()
/PHP-8.1/ext/standard/
H A Dsha1.c176 unsigned int i, index, partLen; in PHP_SHA1Update() local
187 partLen = 64 - index; in PHP_SHA1Update()
191 if (inputLen >= partLen) { in PHP_SHA1Update()
193 ((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA1Update()
196 for (i = partLen; i + 63 < inputLen; i += 64) in PHP_SHA1Update()

Completed in 25 milliseconds