]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
add missing d0_blind_id headers
authorRudolf Polzer <divverent@alientrap.org>
Thu, 5 Aug 2010 04:26:03 +0000 (06:26 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 5 Aug 2010 04:26:03 +0000 (06:26 +0200)
.gitignore
misc/builddeps/dp.linux64/include/d0_blind_id/d0_rijndael.h [new file with mode: 0644]
misc/builddeps/dp.linux64/lib/libd0_blind_id.la
misc/builddeps/dp.linux64/lib/libd0_rijndael.la

index 6711a9911779b5a18426ea63a92e08b9fef04d79..d4d9f3ef6bfb4c7e56e5a5abbb427303eb34cf62 100644 (file)
@@ -1,7 +1,7 @@
-darkplaces
-fteqcc
-div0-gittools
-netradiant
-mediasource
-d0_blind_id
-*.d0si
+/darkplaces
+/fteqcc
+/div0-gittools
+/netradiant
+/mediasource
+/d0_blind_id
+/*.d0si
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
new file mode 100644 (file)
index 0000000..59db778
--- /dev/null
@@ -0,0 +1,21 @@
+// from http://www.efgh.com/software/rijndael.htm (public domain)
+
+#ifndef H__RIJNDAEL
+#define H__RIJNDAEL
+
+#include "d0.h"
+
+EXPORT int d0_rijndael_setup_encrypt(unsigned long *rk, const unsigned char *key,
+  int keybits);
+EXPORT int d0_rijndael_setup_decrypt(unsigned long *rk, const unsigned char *key,
+  int keybits);
+EXPORT void d0_rijndael_encrypt(const unsigned long *rk, int nrounds,
+  const unsigned char plaintext[16], unsigned char ciphertext[16]);
+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
index 0dbd791abed23fad4e25a33003bfdad400c51617..23c6fec326a04ae1fe3e1deecf3898cd71c2fe14 100755 (executable)
@@ -11,7 +11,7 @@ dlname='libd0_blind_id.so.0'
 library_names='libd0_blind_id.so.0.0.0 libd0_blind_id.so.0 libd0_blind_id.so'
 
 # The name of the static archive.
 library_names='libd0_blind_id.so.0.0.0 libd0_blind_id.so.0 libd0_blind_id.so'
 
 # The name of the static archive.
-old_library='libd0_blind_id.a'
+old_library=''
 
 # Linker flags that can not go in dependency_libs.
 inherited_linker_flags=''
 
 # Linker flags that can not go in dependency_libs.
 inherited_linker_flags=''
index 9d61d5ebd2d6410850bc6dfb6c4d067e188f142e..07bd25bf175c190ac97c1971ce7b4251dd7451e3 100755 (executable)
@@ -11,7 +11,7 @@ dlname='libd0_rijndael.so.0'
 library_names='libd0_rijndael.so.0.0.0 libd0_rijndael.so.0 libd0_rijndael.so'
 
 # The name of the static archive.
 library_names='libd0_rijndael.so.0.0.0 libd0_rijndael.so.0 libd0_rijndael.so'
 
 # The name of the static archive.
-old_library='libd0_rijndael.a'
+old_library=''
 
 # Linker flags that can not go in dependency_libs.
 inherited_linker_flags=''
 
 # Linker flags that can not go in dependency_libs.
 inherited_linker_flags=''