Function silc_hash_register
SYNOPSIS
SilcBool silc_hash_register(const SilcHashObject *hash);
DESCRIPTION
Registers a new hash function into the SILC. This function is used
at the initialization of the SILC. All registered hash functions
should be unregistered with silc_hash_unregister. The `hash' includes
the name of the hash function, digest length and block length. Usually
this function is not called directly. Instead, application can call
the silc_hash_register_default to register all default hash functions
that are builtin the sources. Returns FALSE on error.
|