Lines Matching refs:inputLen
223 …SH_API void PHP_SHA224Update(PHP_SHA224_CTX * context, const unsigned char *input, size_t inputLen) in PHP_SHA224Update() argument
232 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_SHA224Update()
235 context->count[1] += (uint32_t) (inputLen >> 29); in PHP_SHA224Update()
241 if (inputLen >= partLen) { in PHP_SHA224Update()
245 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_SHA224Update()
255 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], inputLen - i); in PHP_SHA224Update()
301 …SH_API void PHP_SHA256Update(PHP_SHA256_CTX * context, const unsigned char *input, size_t inputLen) in PHP_SHA256Update() argument
310 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_SHA256Update()
313 context->count[1] += (uint32_t) (inputLen >> 29); in PHP_SHA256Update()
319 if (inputLen >= partLen) { in PHP_SHA256Update()
323 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_SHA256Update()
333 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], inputLen - i); in PHP_SHA256Update()
516 …SH_API void PHP_SHA384Update(PHP_SHA384_CTX * context, const unsigned char *input, size_t inputLen) in PHP_SHA384Update() argument
525 if ((context->count[0] += ((uint64_t) inputLen << 3)) < ((uint64_t) inputLen << 3)) { in PHP_SHA384Update()
529 context->count[1] += (uint64_t) inputLen >> 61; in PHP_SHA384Update()
535 if (inputLen >= partLen) { in PHP_SHA384Update()
539 for (i = partLen; i + 127 < inputLen; i += 128) { in PHP_SHA384Update()
547 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], inputLen - i); in PHP_SHA384Update()
671 …SH_API void PHP_SHA512Update(PHP_SHA512_CTX * context, const unsigned char *input, size_t inputLen) in PHP_SHA512Update() argument
680 if ((context->count[0] += ((uint64_t) inputLen << 3)) < ((uint64_t) inputLen << 3)) { in PHP_SHA512Update()
684 context->count[1] += (uint64_t) inputLen >> 61; in PHP_SHA512Update()
690 if (inputLen >= partLen) { in PHP_SHA512Update()
694 for (i = partLen; i + 127 < inputLen; i += 128) { in PHP_SHA512Update()
704 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], inputLen - i); in PHP_SHA512Update()