Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

org_bitcoin_Secp256k1Context.c
Go to the documentation of this file.
1 #include <stdlib.h>
2 #include <stdint.h>
4 #include "include/secp256k1.h"
5 
7  (JNIEnv* env, jclass classObject)
8 {
10 
11  (void)classObject;(void)env;
12 
13  return (uintptr_t)ctx;
14 }
15 
#define SECP256K1_CONTEXT_SIGN
Definition: secp256k1.h:168
static secp256k1_context * ctx
Definition: tests.c:46
SECP256K1_API jlong JNICALL Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context(JNIEnv *env, jclass classObject)
#define SECP256K1_CONTEXT_VERIFY
Flags to pass to secp256k1_context_create.
Definition: secp256k1.h:167
#define SECP256K1_API
Definition: secp256k1.h:139
SECP256K1_API secp256k1_context * secp256k1_context_create(unsigned int flags) SECP256K1_WARN_UNUSED_RESULT
Create a secp256k1 context object.
Definition: secp256k1.c:67
Released under the MIT license