summaryrefslogtreecommitdiff
path: root/MPQCryptography.h
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-08-05 11:36:56 -0700
committerPixel <pixel@nobis-crew.org>2009-08-05 11:59:23 -0700
commitc579f3458775ca45bd86dcb9b8ef09e7d2a03bdc (patch)
treea054b50a09c52e9f8f982c1b449cc6dddee18bea /MPQCryptography.h
parentd6323e7bd7f817c13ce992ef118cbcf4127ad076 (diff)
MPQCryptography.c doesn't really have anything to do anymore with its original piece of code; cleaning it up and renaming it.
Diffstat (limited to 'MPQCryptography.h')
-rw-r--r--MPQCryptography.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/MPQCryptography.h b/MPQCryptography.h
deleted file mode 100644
index 53bac82..0000000
--- a/MPQCryptography.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * MPQCryptography.h
- * MPQKit
- *
- * Created by Jean-Francois Roy on Sat Oct 05 2002.
- * Copyright (c) 2002-2007 MacStorm. All rights reserved.
- *
- */
-
-#include "mpqlib-stdint.h"
-
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
- void __mpqlib_init_cryptography(void);
-
- const uint32_t *__mpqlib_get_cryptography_table(void);
-
- void __mpqlib_encrypt(void *data, uint32_t length, uint32_t key,
- char disable_input_swapping);
- void __mpqlib_decrypt(void *data, uint32_t length, uint32_t key,
- char disable_output_swapping);
-
- uint32_t __mpqlib_hash_cstring(const char *string, uint32_t type);
- uint32_t __mpqlib_hash_data(const char *data, uint32_t length, uint32_t type);
-
-#if defined(__cplusplus)
-}
-#endif