silc_mac_make_with_key

SYNOPSIS

    void silc_mac_make_with_key(SilcMac mac, unsigned char *data,
                                SilcUInt32 data_len,
                                unsigned char *key, SilcUInt32 key_len,
                                unsigned char *return_hash,
                                SilcUInt32 *return_len);

DESCRIPTION

Same as the silc_mac_make but takes the key for the MAC as argument. If this is used the key that may have been set by calling silc_mac_set_key is ignored.