update blind_id lib

This commit is contained in:
Rudolf Polzer 2010-08-27 10:34:44 +02:00
parent 23e1d5f0c0
commit 93b2b35708
9 changed files with 8 additions and 7 deletions

View File

@ -34,10 +34,11 @@ EXPORT WARN_UNUSED_RESULT BOOL d0_blind_id_authenticate_with_private_id_start(d0
EXPORT WARN_UNUSED_RESULT BOOL d0_blind_id_authenticate_with_private_id_challenge(d0_blind_id_t *ctx, BOOL is_first, BOOL recv_modulus, const char *inbuf, size_t inbuflen, char *outbuf, size_t *outbuflen, BOOL *status);
EXPORT WARN_UNUSED_RESULT BOOL d0_blind_id_authenticate_with_private_id_response(d0_blind_id_t *ctx, const char *inbuf, size_t inbuflen, char *outbuf, size_t *outbuflen);
EXPORT WARN_UNUSED_RESULT BOOL d0_blind_id_authenticate_with_private_id_verify(d0_blind_id_t *ctx, const char *inbuf, size_t inbuflen, char *msg, size_t *msglen, BOOL *status);
EXPORT WARN_UNUSED_RESULT BOOL d0_blind_id_authenticate_with_private_id_generate_missing_signature(d0_blind_id_t *ctx);
EXPORT WARN_UNUSED_RESULT BOOL d0_blind_id_fingerprint64_public_id(const d0_blind_id_t *ctx, char *outbuf, size_t *outbuflen);
EXPORT WARN_UNUSED_RESULT BOOL d0_blind_id_sessionkey_public_id(const d0_blind_id_t *ctx, char *outbuf, size_t *outbuflen); // can only be done after successful key exchange, this performs a modpow; key length is limited by SHA_DIGESTSIZE for now; also ONLY valid after successful d0_blind_id_authenticate_with_private_id_verify/d0_blind_id_fingerprint64_public_id
EXPORT void d0_blind_id_INITIALIZE(void);
EXPORT WARN_UNUSED_RESULT BOOL d0_blind_id_INITIALIZE(void);
EXPORT void d0_blind_id_SHUTDOWN(void);
EXPORT void d0_blind_id_util_sha256(char *out, const char *in, size_t n);

View File

@ -14,7 +14,7 @@ library_names='libd0_blind_id.so.0.0.0 libd0_blind_id.so.0 libd0_blind_id.so'
old_library='libd0_blind_id.a'
# Libraries that this one depends upon.
dependency_libs=' /usr/lib/libgmp.la'
dependency_libs=' -L/home/xonotic/dp.linux32/lib /usr/lib/libgmp.la'
# Version information for libd0_blind_id.
current=0
@ -32,4 +32,4 @@ dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/home/xonotic/xonotic.linux32/misc/builddeps/dp.linux32/lib'
libdir='/home/xonotic/dp.linux32/lib'

View File

@ -14,7 +14,7 @@ library_names='libd0_rijndael.so.0.0.0 libd0_rijndael.so.0 libd0_rijndael.so'
old_library='libd0_rijndael.a'
# Libraries that this one depends upon.
dependency_libs=' /usr/lib/libgmp.la'
dependency_libs=' -L/home/xonotic/dp.linux32/lib /usr/lib/libgmp.la'
# Version information for libd0_rijndael.
current=0
@ -32,4 +32,4 @@ dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/home/xonotic/xonotic.linux32/misc/builddeps/dp.linux32/lib'
libdir='/home/xonotic/dp.linux32/lib'

View File

@ -1,4 +1,4 @@
prefix=/home/xonotic/xonotic.linux32/misc/builddeps/dp.linux32
prefix=/home/xonotic/dp.linux32
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

View File

@ -1,4 +1,4 @@
prefix=/home/xonotic/xonotic.linux32/misc/builddeps/dp.linux32
prefix=/home/xonotic/dp.linux32
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include