Lines Matching defs:input
224 void sha1_update(sha1_context *ctx, const unsigned char *input,
243 memcpy ((void *) (ctx->buffer + left), (void *) input, fill);
245 input += fill;
251 sha1_process (ctx, input);
252 input += 64;
257 memcpy ((void *) (ctx->buffer + left), (void *) input, ilen);
299 * Output = SHA-1( input buffer )
302 void sha1_csum(const unsigned char *input, unsigned int ilen,
308 sha1_update (&ctx, input, ilen);
477 void sha256_update(sha256_context *ctx, const uint8_t *input, uint32_t length)
494 memcpy((void *) (ctx->buffer + left), (void *) input, fill);
497 input += fill;
502 sha256_process(ctx, input);
504 input += 64;
508 memcpy((void *) (ctx->buffer + left), (void *) input, length);
549 * Output = SHA-256( input buffer ).
552 void sha256_csum(const unsigned char *input, unsigned int ilen,
558 sha256_update(&ctx, input, ilen);
1151 "\t\tSpecify input/output image path.\n");