Lines Matching defs:length
477 void sha256_update(sha256_context *ctx, const uint8_t *input, uint32_t length)
481 if (!length)
487 ctx->total[0] += length;
490 if (ctx->total[0] < length)
493 if (left && length >= fill) {
496 length -= fill;
501 while (length >= 64) {
503 length -= 64;
507 if (length)
508 memcpy((void *) (ctx->buffer + left), (void *) input, length);