Final step in converting to C

This commit is contained in:
Pieter Wuille
2013-04-01 07:52:58 +02:00
parent d41e93a5e2
commit eb0be8eec6
23 changed files with 74 additions and 128 deletions

View File

@@ -3,8 +3,6 @@
#include "num.h"
extern "C" {
typedef struct {
secp256k1_num_t r, s;
} secp256k1_ecdsa_sig_t;
@@ -18,6 +16,4 @@ int static secp256k1_ecdsa_sig_serialize(unsigned char *sig, int *size, const se
int static secp256k1_ecdsa_sig_sign(secp256k1_ecdsa_sig_t *sig, const secp256k1_num_t *seckey, const secp256k1_num_t *message, const secp256k1_num_t *nonce);
void static secp256k1_ecdsa_sig_set_rs(secp256k1_ecdsa_sig_t *sig, const secp256k1_num_t *r, const secp256k1_num_t *s);
}
#endif