Logo Search packages:      
Sourcecode: u3-tool version File versions  Download package

void md5 ( unsigned char *  input,
int  ilen,
unsigned char *  output 
)

Output = MD5( input buffer ).

Parameters:
input buffer holding the data
ilen length of the input data
output MD5 checksum result

Definition at line 278 of file md5.c.

{
    md5_context ctx;

    md5_starts( &ctx );
    md5_update( &ctx, input, ilen );
    md5_finish( &ctx, output );

    memset( &ctx, 0, sizeof( md5_context ) );
}


Generated by  Doxygen 1.6.0   Back to index