Function silc_hmac_register
SYNOPSIS
SilcBool silc_hmac_register(const SilcHmacObject *hmac);
DESCRIPTION
Registers a new HMAC into the SILC. This function is used at the
initialization of the SILC. All registered HMACs should be
unregistered with silc_hmac_unregister. The `hmac' includes the
name of the HMAC and the length of the MAC. Usually this
function is not called directly. Instead, application can call
the silc_hmac_register_default to register all default HMACs
that are builtin the sources. Returns FALSE on error.
|