silc_mac_get_hash

SYNOPSIS

    SilcHash silc_mac_get_hash(SilcMac mac);

DESCRIPTION

Returns the SilcHash context that has been associated with the MAC context or NULL if the `mac' doesn't use hash function. In effect with HMACs this returns the underlaying hash function. The caller must not free the returned context.