Lines Matching +defs:curr +defs:buffer
88 * curr: offset into the next input data for the first byte.
93 int digested, block, step, curr;
219 * return value is the number of bytes added to the temp buffer
310 * return value is the number of bytes added to the randomness temp buffer
323 u_char buffer[4096];
331 while ((n = fread(buffer, sizeof(char), sizeof(buffer), pipe)) > 0) {
333 if (my_digest(work, buffer, (unsigned)n))
338 while ((n = fread(buffer, sizeof(char), sizeof(buffer), pipe)) > 0)
461 for (cnt = 0, i = hash->curr; i < size; i += hash->step, cnt++)
464 hash->curr = (hash->step - (i - size)) % hash->step;
582 new->digested = new->curr = 0;
598 * This function return the number of bytes added to the random output buffer.
685 * Returns the number of bytes put in the output buffer
790 * returns the number of bytes written to the output buffer