Lines Matching refs:buffer
108 const unsigned char buffer[64]);
136 const unsigned char buffer[64]) in SHA1Transform()
147 memcpy(block, buffer, 64); in SHA1Transform()
149 block = (CHAR64LONG16*)buffer; in SHA1Transform()
226 memcpy(&context->buffer[j], data, (i = 64-j)); in SHA1Update()
227 SHA1Transform(context->state, context->buffer); in SHA1Update()
235 memcpy(&context->buffer[j], &data[i], len - i); in SHA1Update()
264 memset(context->buffer, 0, 64); in SHA1Final()
270 SHA1Transform(context->state, context->buffer); in SHA1Final()
286 unsigned char buffer[16384]; in sha1file() local
306 bytesread = fread(buffer, 1, 16384, f); in sha1file()
307 SHA1Update(&context, buffer, bytesread); in sha1file()