*/
/* $Id$ */
-#include "silcincludes.h"
+#include "silc.h"
/* HMAC context */
struct SilcHmacStruct {
/* Registers a new HMAC into the SILC. This function is used at the
initialization of the SILC. */
-bool silc_hmac_register(const SilcHmacObject *hmac)
+SilcBool silc_hmac_register(const SilcHmacObject *hmac)
{
#ifndef SILC_EPOC
SilcHmacObject *new;
/* Unregister a HMAC from the SILC. */
-bool silc_hmac_unregister(SilcHmacObject *hmac)
+SilcBool silc_hmac_unregister(SilcHmacObject *hmac)
{
#ifndef SILC_EPOC
SilcHmacObject *entry;
The application may use this to register the default hmacs if
specific hmacs in any specific order is not wanted. */
-bool silc_hmac_register_default(void)
+SilcBool silc_hmac_register_default(void)
{
#ifndef SILC_EPOC
int i;
return TRUE;
}
-bool silc_hmac_unregister_all(void)
+SilcBool silc_hmac_unregister_all(void)
{
#ifndef SILC_EPOC
SilcHmacObject *entry;
of the HMAC. If it is NULL then the hash function is allocated and
the name of the hash algorithm is derived from the `name'. */
-bool silc_hmac_alloc(const char *name, SilcHash hash, SilcHmac *new_hmac)
+SilcBool silc_hmac_alloc(const char *name, SilcHash hash, SilcHmac *new_hmac)
{
SILC_LOG_DEBUG(("Allocating new HMAC"));
/* Returns TRUE if HMAC `name' is supported. */
-bool silc_hmac_is_supported(const char *name)
+SilcBool silc_hmac_is_supported(const char *name)
{
#ifndef SILC_EPOC
SilcHmacObject *entry;