+#ifndef __D0_BIGNUM_H__
+#define __D0_BIGNUM_H__
+
#include "d0.h"
#include "d0_iobuf.h"
WARN_UNUSED_RESULT d0_bignum_t *d0_bignum_gcd(d0_bignum_t *r, d0_bignum_t *s, d0_bignum_t *t, const d0_bignum_t *a, const d0_bignum_t *b);
WARN_UNUSED_RESULT char *d0_bignum_tostring(const d0_bignum_t *x, unsigned int base); // allocates!
+
+#endif
+#ifndef __D0_BLIND_ID_H__
+#define __D0_BLIND_ID_H__
+
#include "d0.h"
typedef struct d0_blind_id_s d0_blind_id_t;
void d0_blind_id_INITIALIZE();
void d0_blind_id_SHUTDOWN();
+
+#endif
+#ifndef __D0_IOBUF_H__
+#define __D0_IOBUF_H__
+
#include "d0.h"
typedef struct d0_iobuf_s d0_iobuf_t;
WARN_UNUSED_RESULT size_t d0_iobuf_read_raw(d0_iobuf_t *buf, void *s, size_t n);
WARN_UNUSED_RESULT BOOL d0_iobuf_write_packet(d0_iobuf_t *buf, const void *s, size_t n);
WARN_UNUSED_RESULT BOOL d0_iobuf_read_packet(d0_iobuf_t *buf, void *s, size_t *n);
+
+#endif
+#ifndef __SHA1_H__
+#define __SHA1_H__
+
#define SHA_DATASIZE 64
#define SHA_DATALEN 16
#define SHA_DIGESTSIZE 20
| EXTRACT_UCHAR(s+3))
unsigned char *sha(unsigned char *buffer, unsigned int len);
+
+#endif