Searched refs:hashbuf_size (Results 1 – 2 of 2) sorted by relevance
125 Sha1Update(&context, digest->hashbuf, digest->hashbuf_size); in digest_gen_hash()154 if (digest->hashbuf_size + buf_len < digest->hashbuf_size) { in digest_add_specfile()158 digest->hashbuf_size += buf_len; in digest_add_specfile()160 tmp_buf = realloc(digest->hashbuf, digest->hashbuf_size); in digest_add_specfile()168 if (fread(digest->hashbuf + (digest->hashbuf_size - buf_len), in digest_add_specfile()175 (digest->hashbuf_size - buf_len), in digest_add_specfile()
61 size_t hashbuf_size; /* buffer size */ member