Lines Matching defs:input_len
186 SHA1Update(SHA1_CTX *ctx, const void *inptr, size_t input_len)
198 if (input_len == 0)
205 if ((ctx->count[1] += (input_len << 3)) < (input_len << 3))
208 ctx->count[0] += (input_len >> 29);
214 if (input_len >= buf_len) {
219 uint32_t len = (input_len + buf_index) & ~0x3f;
285 for (; i + 63 < input_len; i += 64) {
295 for (; i + 63 < input_len; i += 64) {
307 for (; i + 63 < input_len; i += 64) {
315 * if i and input_len are the same, return now instead
320 if (input_len == i)
327 bcopy(&input[i], &ctx->buf_un.buf8[buf_index], input_len - i);
333 SHA1Update(SHA1_CTX *ctx, const void *inptr, size_t input_len)
342 if (input_len == 0)
349 if ((ctx->count[1] += (input_len << 3)) < (input_len << 3))
352 ctx->count[0] += (input_len >> 29);
358 if (input_len >= buf_len) {
377 for (; i + 63 < input_len; i += 64)
380 block_count = (input_len - i) >> 6;
390 * if i and input_len are the same, return now instead
395 if (input_len == i)
402 bcopy(&input[i], &ctx->buf_un.buf8[buf_index], input_len - i);