* SUCH DAMAGE.
*
* $Format:commit %H$
- * $Id: a6b551ba6968466f5bf1003bd1f000cd29beb698 $
+ * $Id: 0f9b41999f2a57f07067272a8b89919394c4b04f $
*/
#ifndef __D0_H__
void d0_setmallocfuncs(d0_malloc_t *m, d0_free_t *f);
void d0_setmutexfuncs(d0_createmutex_t *c, d0_destroymutex_t *d, d0_lockmutex_t *l, d0_unlockmutex_t *u);
+void d0_initfuncs(void); // initializes them, this needs to be only called internally once
extern const char *d0_bsd_license_notice;
* SUCH DAMAGE.
*
* $Format:commit %H$
- * $Id: cbb0b2c932cb3a3c921ef6969522ba6250d54ece $
+ * $Id: bf838f43093aceadcd2d20071684f1e7148a4332 $
*/
#ifndef __D0_BLIND_ID_H__
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_verify_public_id(const d0_blind_id_t *ctx, D0_BOOL *status);
+D0_EXPORT D0_WARN_UNUSED_RESULT D0_BOOL d0_blind_id_verify_private_id(const d0_blind_id_t *ctx);
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
D0_EXPORT D0_WARN_UNUSED_RESULT D0_BOOL d0_blind_id_INITIALIZE(void);
Name: Blind-ID
Description: Library for user identification using RSA blind signatures
Requires:
-Version: 0.4
+Version: 0.5
Libs: -L${libdir} -ld0_blind_id
Cflags: -I${includedir}/d0_blind_id
Name: Rijndael
Description: Library for Rijndael encryption
Requires:
-Version: 0.4
+Version: 0.5
Libs: -L${libdir} -ld0_rijndael
Cflags: -I${includedir}/d0_blind_id
* SUCH DAMAGE.
*
* $Format:commit %H$
- * $Id: a6b551ba6968466f5bf1003bd1f000cd29beb698 $
+ * $Id: 0f9b41999f2a57f07067272a8b89919394c4b04f $
*/
#ifndef __D0_H__
void d0_setmallocfuncs(d0_malloc_t *m, d0_free_t *f);
void d0_setmutexfuncs(d0_createmutex_t *c, d0_destroymutex_t *d, d0_lockmutex_t *l, d0_unlockmutex_t *u);
+void d0_initfuncs(void); // initializes them, this needs to be only called internally once
extern const char *d0_bsd_license_notice;
* SUCH DAMAGE.
*
* $Format:commit %H$
- * $Id: cbb0b2c932cb3a3c921ef6969522ba6250d54ece $
+ * $Id: bf838f43093aceadcd2d20071684f1e7148a4332 $
*/
#ifndef __D0_BLIND_ID_H__
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_verify_public_id(const d0_blind_id_t *ctx, D0_BOOL *status);
+D0_EXPORT D0_WARN_UNUSED_RESULT D0_BOOL d0_blind_id_verify_private_id(const d0_blind_id_t *ctx);
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
D0_EXPORT D0_WARN_UNUSED_RESULT D0_BOOL d0_blind_id_INITIALIZE(void);
Name: Blind-ID
Description: Library for user identification using RSA blind signatures
Requires:
-Version: 0.4
+Version: 0.5
Libs: -L${libdir} -ld0_blind_id
Cflags: -I${includedir}/d0_blind_id
Name: Rijndael
Description: Library for Rijndael encryption
Requires:
-Version: 0.4
+Version: 0.5
Libs: -L${libdir} -ld0_rijndael
Cflags: -I${includedir}/d0_blind_id