]> de.git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/builddeps/dp.linux64/include/d0_blind_id/d0_rijndael.h
Move libraries into subdirectories for better selectivity when building.
[xonotic/xonotic.git] / misc / builddeps / dp.linux64 / include / d0_blind_id / d0_rijndael.h
diff --git a/misc/builddeps/dp.linux64/include/d0_blind_id/d0_rijndael.h b/misc/builddeps/dp.linux64/include/d0_blind_id/d0_rijndael.h
deleted file mode 100644 (file)
index e1c8f71..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// from http://www.efgh.com/software/rijndael.htm (public domain)
-
-#ifndef H__RIJNDAEL
-#define H__RIJNDAEL
-
-#include "d0.h"
-
-D0_EXPORT int d0_rijndael_setup_encrypt(unsigned long *rk, const unsigned char *key,
-  int keybits);
-D0_EXPORT int d0_rijndael_setup_decrypt(unsigned long *rk, const unsigned char *key,
-  int keybits);
-D0_EXPORT void d0_rijndael_encrypt(const unsigned long *rk, int nrounds,
-  const unsigned char plaintext[16], unsigned char ciphertext[16]);
-D0_EXPORT void d0_rijndael_decrypt(const unsigned long *rk, int nrounds,
-  const unsigned char ciphertext[16], unsigned char plaintext[16]);
-
-#define D0_RIJNDAEL_KEYLENGTH(keybits) ((keybits)/8)
-#define D0_RIJNDAEL_RKLENGTH(keybits)  ((keybits)/8+28)
-#define D0_RIJNDAEL_NROUNDS(keybits)   ((keybits)/32+6)
-
-#endif