silc_mac_register

SYNOPSIS

    SilcBool silc_mac_register(const SilcMacObject *mac);

DESCRIPTION

Registers a new MAC into Crypto Toolkit. This function can be used at the initialization. All registered MACs should be unregistered with silc_mac_unregister. Returns FALSE on error. Usually this function is not needed. The default MAC algorithms are automatically registered. This can be used to change the order of the registered MAC algorithms by re-registering them in desired order, or add new algorithms.