Lines Matching refs:input
126 uchar_t *input = (uchar_t *)inptr;
142 bcopy(input, &context->buffer[index], partLen);
146 MD4Transform(context->state, (uchar_t *)&input[i]);
154 /* Buffer remaining input */
155 bcopy(&input[i], &context->buffer[index], inputLen - i);
263 * Encodes input (uint32_t) into output (unsigned char). Assumes len is
267 Encode(unsigned char *output, uint32_t *input, unsigned int len)
273 *(uint32_t *)(void *)&output[j] = input[i];
276 output[j] = (unsigned char)(input[i] & 0xff);
277 output[j+1] = (unsigned char)((input[i] >> 8) & 0xff);
278 output[j+2] = (unsigned char)((input[i] >> 16) & 0xff);
279 output[j+3] = (unsigned char)((input[i] >> 24) & 0xff);
285 * Decodes input (unsigned char) into output (uint32_t). Assumes len is
289 Decode(uint32_t *output, unsigned char *input, unsigned int len)
295 output[i] = *(uint32_t *)(void *)&input[j];
298 output[i] = ((uint32_t)input[j]) |
299 (((uint32_t)input[j+1]) << 8) |
300 (((uint32_t)input[j+2]) << 16) |
301 (((uint32_t)input[j+3]) << 24);