From: Rudolf Polzer Date: Thu, 25 Nov 2010 20:17:41 +0000 (+0100) Subject: new blind-id lib for linux64 X-Git-Tag: xonotic-v0.1.0preview~33 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8984a76f2385443edca02df060d6f4d278ca5a5c;p=xonotic%2Fxonotic.git new blind-id lib for linux64 --- diff --git a/misc/builddeps/dp.linux64/bin/blind_id b/misc/builddeps/dp.linux64/bin/blind_id index 6e9de199..e448345d 100755 Binary files a/misc/builddeps/dp.linux64/bin/blind_id and b/misc/builddeps/dp.linux64/bin/blind_id differ diff --git a/misc/builddeps/dp.linux64/include/d0_blind_id/d0.h b/misc/builddeps/dp.linux64/include/d0_blind_id/d0.h index 858b020b..56a7a0b3 100644 --- a/misc/builddeps/dp.linux64/include/d0_blind_id/d0.h +++ b/misc/builddeps/dp.linux64/include/d0_blind_id/d0.h @@ -44,6 +44,6 @@ extern void *(*d0_malloc)(size_t len); extern void (*d0_free)(void *p); -extern const char *d0_bsd_license_notitce; +extern const char *d0_bsd_license_notice; #endif diff --git a/misc/builddeps/dp.linux64/include/d0_blind_id/d0_blind_id.h b/misc/builddeps/dp.linux64/include/d0_blind_id/d0_blind_id.h index a2ac822d..4723e761 100644 --- a/misc/builddeps/dp.linux64/include/d0_blind_id/d0_blind_id.h +++ b/misc/builddeps/dp.linux64/include/d0_blind_id/d0_blind_id.h @@ -30,7 +30,7 @@ * SUCH DAMAGE. * * $Format:commit %H$ - * $Id: a5ce51adb7f65e09a28a49ba8f96767ea1529d70 $ + * $Id: bea924581e2a7daf61a2fe20ab360ed1f05f5aaa $ */ #ifndef __D0_BLIND_ID_H__ @@ -71,7 +71,9 @@ D0_EXPORT D0_WARN_UNUSED_RESULT D0_BOOL d0_blind_id_authenticate_with_private_id D0_EXPORT D0_WARN_UNUSED_RESULT D0_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, D0_BOOL *status); D0_EXPORT D0_WARN_UNUSED_RESULT D0_BOOL d0_blind_id_authenticate_with_private_id_generate_missing_signature(d0_blind_id_t *ctx); D0_EXPORT D0_WARN_UNUSED_RESULT D0_BOOL d0_blind_id_sign_with_private_id_sign(d0_blind_id_t *ctx, D0_BOOL is_first, D0_BOOL send_modulus, const char *message, size_t msglen, char *outbuf, size_t *outbuflen); +D0_EXPORT D0_WARN_UNUSED_RESULT D0_BOOL d0_blind_id_sign_with_private_id_sign_detached(d0_blind_id_t *ctx, D0_BOOL is_first, D0_BOOL send_modulus, const char *message, size_t msglen, char *outbuf, size_t *outbuflen); D0_EXPORT D0_WARN_UNUSED_RESULT D0_BOOL d0_blind_id_sign_with_private_id_verify(d0_blind_id_t *ctx, D0_BOOL is_first, D0_BOOL recv_modulus, const char *inbuf, size_t inbuflen, char *msg, size_t *msglen, D0_BOOL *status); +D0_EXPORT D0_WARN_UNUSED_RESULT D0_BOOL d0_blind_id_sign_with_private_id_verify_detached(d0_blind_id_t *ctx, D0_BOOL is_first, D0_BOOL recv_modulus, const char *inbuf, size_t inbuflen, const char *msg, size_t msglen, D0_BOOL *status); D0_EXPORT D0_WARN_UNUSED_RESULT D0_BOOL d0_blind_id_fingerprint64_public_id(const d0_blind_id_t *ctx, char *outbuf, size_t *outbuflen); D0_EXPORT D0_WARN_UNUSED_RESULT D0_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 diff --git a/misc/builddeps/dp.linux64/lib/libd0_blind_id.a b/misc/builddeps/dp.linux64/lib/libd0_blind_id.a index eb493d81..18d03d68 100644 Binary files a/misc/builddeps/dp.linux64/lib/libd0_blind_id.a and b/misc/builddeps/dp.linux64/lib/libd0_blind_id.a differ diff --git a/misc/builddeps/dp.linux64/lib/libd0_blind_id.la b/misc/builddeps/dp.linux64/lib/libd0_blind_id.la index 0d3b4866..0dbd791a 100755 --- a/misc/builddeps/dp.linux64/lib/libd0_blind_id.la +++ b/misc/builddeps/dp.linux64/lib/libd0_blind_id.la @@ -5,10 +5,10 @@ # It is necessary for linking the library. # The name that we can dlopen(3). -dlname='' +dlname='libd0_blind_id.so.0' # Names of this library. -library_names='' +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' @@ -17,7 +17,7 @@ old_library='libd0_blind_id.a' inherited_linker_flags='' # Libraries that this one depends upon. -dependency_libs=' -L/tmp/Darkplaces.build.linux64.deps/lib /tmp/g/lib/libgmp.la' +dependency_libs=' /usr/lib/libgmp.la' # Names of additional weak libraries provided by this library weak_library_names='' @@ -38,4 +38,4 @@ dlopen='' dlpreopen='' # Directory that this library needs to be installed in: -libdir='/tmp/d0c/lib' +libdir='/home/rpolzer/Games/Xonotic/misc/builddeps/dp.linux64/lib' diff --git a/misc/builddeps/dp.linux64/lib/libd0_blind_id.so.0.0.0 b/misc/builddeps/dp.linux64/lib/libd0_blind_id.so.0.0.0 index 493c6342..519f92ed 100755 Binary files a/misc/builddeps/dp.linux64/lib/libd0_blind_id.so.0.0.0 and b/misc/builddeps/dp.linux64/lib/libd0_blind_id.so.0.0.0 differ diff --git a/misc/builddeps/dp.linux64/lib/libd0_rijndael.a b/misc/builddeps/dp.linux64/lib/libd0_rijndael.a index f1c8d733..bf76810d 100644 Binary files a/misc/builddeps/dp.linux64/lib/libd0_rijndael.a and b/misc/builddeps/dp.linux64/lib/libd0_rijndael.a differ diff --git a/misc/builddeps/dp.linux64/lib/libd0_rijndael.la b/misc/builddeps/dp.linux64/lib/libd0_rijndael.la index 729015db..9d61d5eb 100755 --- a/misc/builddeps/dp.linux64/lib/libd0_rijndael.la +++ b/misc/builddeps/dp.linux64/lib/libd0_rijndael.la @@ -5,10 +5,10 @@ # It is necessary for linking the library. # The name that we can dlopen(3). -dlname='' +dlname='libd0_rijndael.so.0' # Names of this library. -library_names='' +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' @@ -17,7 +17,7 @@ old_library='libd0_rijndael.a' inherited_linker_flags='' # Libraries that this one depends upon. -dependency_libs=' -L/tmp/Darkplaces.build.linux64.deps/lib /tmp/g/lib/libgmp.la' +dependency_libs=' /usr/lib/libgmp.la' # Names of additional weak libraries provided by this library weak_library_names='' @@ -38,4 +38,4 @@ dlopen='' dlpreopen='' # Directory that this library needs to be installed in: -libdir='/tmp/d0c/lib' +libdir='/home/rpolzer/Games/Xonotic/misc/builddeps/dp.linux64/lib' diff --git a/misc/builddeps/dp.linux64/lib/libd0_rijndael.so.0.0.0 b/misc/builddeps/dp.linux64/lib/libd0_rijndael.so.0.0.0 index 62f1ab53..1f004d88 100755 Binary files a/misc/builddeps/dp.linux64/lib/libd0_rijndael.so.0.0.0 and b/misc/builddeps/dp.linux64/lib/libd0_rijndael.so.0.0.0 differ diff --git a/misc/builddeps/dp.linux64/lib/pkgconfig/d0_blind_id.pc b/misc/builddeps/dp.linux64/lib/pkgconfig/d0_blind_id.pc index 6b2a2e1a..2aa42ed9 100644 --- a/misc/builddeps/dp.linux64/lib/pkgconfig/d0_blind_id.pc +++ b/misc/builddeps/dp.linux64/lib/pkgconfig/d0_blind_id.pc @@ -1,4 +1,4 @@ -prefix=/tmp/d0c +prefix=/home/rpolzer/Games/Xonotic/misc/builddeps/dp.linux64 exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include diff --git a/misc/builddeps/dp.linux64/lib/pkgconfig/d0_rijndael.pc b/misc/builddeps/dp.linux64/lib/pkgconfig/d0_rijndael.pc index 20d0d8f1..a2965d20 100644 --- a/misc/builddeps/dp.linux64/lib/pkgconfig/d0_rijndael.pc +++ b/misc/builddeps/dp.linux64/lib/pkgconfig/d0_rijndael.pc @@ -1,4 +1,4 @@ -prefix=/tmp/d0c +prefix=/home/rpolzer/Games/Xonotic/misc/builddeps/dp.linux64 exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include