Lines Matching refs:output
299 void sha1_finish( sha1_context *ctx, unsigned char output[20] )
318 PUT_ULONG_BE( ctx->state[0], output, 0 );
319 PUT_ULONG_BE( ctx->state[1], output, 4 );
320 PUT_ULONG_BE( ctx->state[2], output, 8 );
321 PUT_ULONG_BE( ctx->state[3], output, 12 );
322 PUT_ULONG_BE( ctx->state[4], output, 16 );
326 * output = SHA-1( input buffer )
328 void sha1( unsigned char *input, int ilen, unsigned char output[20] )
334 sha1_finish( &ctx, output );
340 * output = SHA-1( file contents )
342 int sha1_file( char *path, unsigned char output[20] )
357 sha1_finish( &ctx, output );
412 void sha1_hmac_finish( sha1_context *ctx, unsigned char output[20] )
420 sha1_finish( ctx, output );
426 * output = HMAC-SHA-1( hmac key, input buffer )
430 unsigned char output[20] )
436 sha1_hmac_finish( &ctx, output );