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

void md5_hmac_finish ( md5_context ctx,
unsigned char *  output 
)

MD5 HMAC final digest.

Parameters:
ctx HMAC context
output MD5 HMAC checksum result

Definition at line 357 of file md5.c.

References md5_context::opad.

{
    unsigned char tmpbuf[16];

    md5_finish( ctx, tmpbuf );
    md5_starts( ctx );
    md5_update( ctx, ctx->opad, 64 );
    md5_update( ctx, tmpbuf, 16 );
    md5_finish( ctx, output );

    memset( tmpbuf, 0, sizeof( tmpbuf ) );
}


Generated by  Doxygen 1.6.0   Back to index