mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Begin group C interface + start/stop
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
#ifndef _SECP256K1_
|
||||
#define _SECP256K1_
|
||||
|
||||
namespace secp256k1 {
|
||||
int VerifyECDSA(const unsigned char *msg, int msglen, const unsigned char *sig, int siglen, const unsigned char *pubkey, int pubkeylen);
|
||||
extern "C" {
|
||||
void secp256k1_start(void);
|
||||
void secp256k1_stop(void);
|
||||
int secp256k1_ecdsa_verify(const unsigned char *msg, int msglen, const unsigned char *sig, int siglen, const unsigned char *pubkey, int pubkeylen);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user