add missing d0_blind_id headers

This commit is contained in:
Rudolf Polzer 2010-08-05 06:26:03 +02:00
parent b0f9d2ca79
commit 1398fe71df
4 changed files with 30 additions and 9 deletions

14
.gitignore vendored
View 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

View File

@ -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

View File

@ -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.
old_library='libd0_blind_id.a'
old_library=''
# Linker flags that can not go in dependency_libs.
inherited_linker_flags=''

View File

@ -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.
old_library='libd0_rijndael.a'
old_library=''
# Linker flags that can not go in dependency_libs.
inherited_linker_flags=''