/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
-#include "silc.h"
+#include "silccrypto.h"
#include "sha256_internal.h"
#include "sha256.h"
#pragma intrinsic(_lrotr,_lrotl)
#define RORc(x,n) _lrotr(x,n)
#else
-#define RORc(x, y) silc_ror(x, y)
+#define RORc(x, y) silc_rorc(x, y)
#endif /* _MSC_VER */
/* Various logical functions */
#define Gamma0(x) (S(x, 7) ^ S(x, 18) ^ R(x, 3))
#define Gamma1(x) (S(x, 17) ^ S(x, 19) ^ R(x, 10))
-#ifndef SILC_SHA256_ASM
+#ifndef SILC_SHA256_X86
/* Transform 512-bits */
void sha256_transform(SilcUInt32 *state, unsigned char *buf)
}
}
-#endif /* !SILC_SHA256_ASM */
+#endif /* !SILC_SHA256_X86 */
int sha256_init(sha256_state * md)
{