silc_mac_final

SYNOPSIS

    void silc_mac_final(SilcMac mac, unsigned char *return_hash,
                        SilcUInt32 *return_len);

DESCRIPTION

This function is used to produce the final MAC from the data that has been added to the MAC context by calling the silc_mac_update function. The MAC is copied in to the `return_hash' pointer which must be at least the size that the silc_mac_len returns. The length of the MAC is still returned into `return_len'.