Lines Matching refs:partLen
225 unsigned int index, partLen; in PHP_SHA224Update() local
237 partLen = 64 - index; in PHP_SHA224Update()
241 if (inputLen >= partLen) { in PHP_SHA224Update()
242 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA224Update()
245 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_SHA224Update()
303 unsigned int index, partLen; in PHP_SHA256Update() local
315 partLen = 64 - index; in PHP_SHA256Update()
319 if (inputLen >= partLen) { in PHP_SHA256Update()
320 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA256Update()
323 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_SHA256Update()
518 unsigned int index, partLen; in PHP_SHA384Update() local
531 partLen = 128 - index; in PHP_SHA384Update()
535 if (inputLen >= partLen) { in PHP_SHA384Update()
536 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA384Update()
539 for (i = partLen; i + 127 < inputLen; i += 128) { in PHP_SHA384Update()
673 unsigned int index, partLen; in PHP_SHA512Update() local
686 partLen = 128 - index; in PHP_SHA512Update()
690 if (inputLen >= partLen) { in PHP_SHA512Update()
691 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA512Update()
694 for (i = partLen; i + 127 < inputLen; i += 128) { in PHP_SHA512Update()