Lines Matching defs:input
36 unsigned char buffer[64]; /* input buffer */
107 static void MD4Update(MD4_CTX *context, const unsigned char *input,
124 memcpy(&context->buffer[bufindex], input, partLen);
128 MD4Transform (context->state, &input[i]);
135 /* Buffer remaining input */
136 memcpy(&context->buffer[bufindex], &input[i], inputLen-i);
246 /* Encodes input (UINT4) into output (unsigned char). Assumes len is
249 static void Encode(unsigned char *output, UINT4 *input, unsigned int len)
254 output[j] = (unsigned char)(input[i] & 0xff);
255 output[j+1] = (unsigned char)((input[i] >> 8) & 0xff);
256 output[j+2] = (unsigned char)((input[i] >> 16) & 0xff);
257 output[j+3] = (unsigned char)((input[i] >> 24) & 0xff);
261 /* Decodes input (unsigned char) into output (UINT4). Assumes len is
264 static void Decode (UINT4 *output, const unsigned char *input,
270 output[i] = ((UINT4)input[j]) | (((UINT4)input[j+1]) << 8) |
271 (((UINT4)input[j+2]) << 16) | (((UINT4)input[j+3]) << 24);
274 void Curl_md4it(unsigned char *output, const unsigned char *input, size_t len)
278 MD4Update(&ctx, input, (unsigned int)len);