Lines Matching refs:buffer
105 const unsigned char buffer[64]);
133 const unsigned char buffer[64]) in SHA1Transform()
144 memcpy(block, buffer, 64); in SHA1Transform()
146 block = (CHAR64LONG16*)buffer; in SHA1Transform()
223 memcpy(&context->buffer[j], data, (i = 64-j)); in SHA1Update()
224 SHA1Transform(context->state, context->buffer); in SHA1Update()
232 memcpy(&context->buffer[j], &data[i], len - i); in SHA1Update()
261 memset(context->buffer, 0, 64); in SHA1Final()
267 SHA1Transform(context->state, context->buffer); in SHA1Final()
283 unsigned char buffer[16384]; in sha1file() local
303 bytesread = fread(buffer, 1, 16384, f); in sha1file()
304 SHA1Update(&context, buffer, bytesread); in sha1file()