Fabcoin Core
0.16.2
P2P Digital Currency
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
secp256k1
src
java
org_fabcoin_Secp256k1Context.c
Go to the documentation of this file.
1
#include <stdlib.h>
2
#include <stdint.h>
3
#include "
org_fabcoin_Secp256k1Context.h
"
4
#include "
include/secp256k1.h
"
5
6
SECP256K1_API
jlong JNICALL
Java_org_fabcoin_Secp256k1Context_secp256k1_1init_1context
7
(JNIEnv* env, jclass classObject)
8
{
9
secp256k1_context
*ctx =
secp256k1_context_create
(
SECP256K1_CONTEXT_SIGN
|
SECP256K1_CONTEXT_VERIFY
);
10
11
(void)classObject;(void)env;
12
13
return
(uintptr_t)ctx;
14
}
15
org_fabcoin_Secp256k1Context.h
secp256k1_context_struct
Definition:
secp256k1.c:51
SECP256K1_CONTEXT_SIGN
#define SECP256K1_CONTEXT_SIGN
Definition:
secp256k1.h:155
SECP256K1_CONTEXT_VERIFY
#define SECP256K1_CONTEXT_VERIFY
Flags to pass to secp256k1_context_create.
Definition:
secp256k1.h:154
secp256k1.h
SECP256K1_API
#define SECP256K1_API
Definition:
secp256k1.h:126
Java_org_fabcoin_Secp256k1Context_secp256k1_1init_1context
SECP256K1_API jlong JNICALL Java_org_fabcoin_Secp256k1Context_secp256k1_1init_1context(JNIEnv *env, jclass classObject)
Definition:
org_fabcoin_Secp256k1Context.c:7
secp256k1_context_create
SECP256K1_API secp256k1_context * secp256k1_context_create(unsigned int flags) SECP256K1_WARN_UNUSED_RESULT
Create a secp256k1 context object.
Definition:
secp256k1.c:58
Generated on Mon Oct 22 2018 15:15:39 for Fabcoin Core by
1.8.11