Lines Matching refs:partLen
336 unsigned int i, index, partLen; in PHP_SHA1Update() local
347 partLen = 64 - index; in PHP_SHA1Update()
351 if (inputLen >= partLen) { in PHP_SHA1Update()
353 ((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA1Update()
356 for (i = partLen; i + 63 < inputLen; i += 64) in PHP_SHA1Update()
544 unsigned int i, index, partLen; in PHP_SHA224Update() local
555 partLen = 64 - index; in PHP_SHA224Update()
559 if (inputLen >= partLen) { in PHP_SHA224Update()
560 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA224Update()
563 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_SHA224Update()
621 unsigned int i, index, partLen; in PHP_SHA256Update() local
632 partLen = 64 - index; in PHP_SHA256Update()
636 if (inputLen >= partLen) { in PHP_SHA256Update()
637 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA256Update()
640 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_SHA256Update()
835 unsigned int i, index, partLen; in PHP_SHA384Update() local
846 partLen = 128 - index; in PHP_SHA384Update()
850 if (inputLen >= partLen) { in PHP_SHA384Update()
851 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA384Update()
854 for (i = partLen; i + 127 < inputLen; i += 128) { in PHP_SHA384Update()
985 unsigned int i, index, partLen; in PHP_SHA512Update() local
996 partLen = 128 - index; in PHP_SHA512Update()
1000 if (inputLen >= partLen) { in PHP_SHA512Update()
1001 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA512Update()
1004 for (i = partLen; i + 127 < inputLen; i += 128) { in PHP_SHA512Update()