Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 2007 Pekka Riikonen
+ Copyright (C) 2007 - 2008 Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
*/
-#include "silc.h"
+#include "silccrypto.h"
#ifndef SILC_SYMBIAN
SilcStack crypto_stack = NULL; /* Crypto Toolkit's global stack */
SILC_LOG_ERROR(("Error registering hash functions"));
goto err;
}
- if (!silc_hmac_register_default()) {
+ if (!silc_mac_register_default()) {
SILC_LOG_ERROR(("Error registering hash HMACs"));
goto err;
}
/* Uninit crypto library */
silc_pkcs_unregister_all();
- silc_hmac_unregister_all();
+ silc_mac_unregister_all();
silc_hash_unregister_all();
silc_cipher_unregister_all();