Lines Matching refs:partLen
225 unsigned int i, index, partLen; in PHP_SHA224Update() local
236 partLen = 64 - index; in PHP_SHA224Update()
240 if (inputLen >= partLen) { in PHP_SHA224Update()
241 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA224Update()
244 for (i = partLen; i + 63 < inputLen; i += 64) { 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()
318 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA256Update()
321 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_SHA256Update()
516 unsigned int i = 0, index, partLen; in PHP_SHA384Update() local
527 partLen = 128 - index; in PHP_SHA384Update()
531 if (inputLen >= partLen) { in PHP_SHA384Update()
532 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA384Update()
535 for (i = partLen; i + 127 < inputLen; i += 128) { in PHP_SHA384Update()
669 unsigned int i, index, partLen; in PHP_SHA512Update() local
680 partLen = 128 - index; in PHP_SHA512Update()
684 if (inputLen >= partLen) { in PHP_SHA512Update()
685 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA512Update()
688 for (i = partLen; i + 127 < inputLen; i += 128) { in PHP_SHA512Update()