Bitcoin ABC 0.30.5
P2P Digital Currency
Functions
org_bitcoin_NativeSecp256k1.c File Reference
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "org_bitcoin_NativeSecp256k1.h"
#include "include/secp256k1.h"
#include "include/secp256k1_ecdh.h"
#include "include/secp256k1_recovery.h"
#include "include/secp256k1_schnorr.h"
Include dependency graph for org_bitcoin_NativeSecp256k1.c:

Go to the source code of this file.

Functions

SECP256K1_API jlong JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ctx_1clone (JNIEnv *env, jclass classObject, jlong ctx_l)
 
SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1context_1randomize (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l)
 
SECP256K1_API void JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1destroy_1context (JNIEnv *env, jclass classObject, jlong ctx_l)
 
SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1verify (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l, jint siglen, jint publen)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1sign (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l)
 
SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1seckey_1verify (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1create (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1add (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1mul (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1add (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l, jint publen)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1mul (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l, jint publen)
 
SECP256K1_API jlong JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1pubkey_1combine (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l, jint numkeys)
 
SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1schnorr_1verify (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l, jint publen)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1schnorr_1sign (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdh (JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l, jint publen)
 

Function Documentation

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1context_1randomize()

SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1context_1randomize ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l 
)

Definition at line 23 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ctx_1clone()

SECP256K1_API jlong JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ctx_1clone ( JNIEnv *  env,
jclass  classObject,
jlong  ctx_l 
)

Definition at line 10 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1destroy_1context()

SECP256K1_API void JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1destroy_1context ( JNIEnv *  env,
jclass  classObject,
jlong  ctx_l 
)

Definition at line 36 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1create()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1create ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l 
)

Definition at line 126 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1seckey_1verify()

SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1seckey_1verify ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l 
)

Definition at line 115 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdh()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdh ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l,
jint  publen 
)

Definition at line 387 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1pubkey_1combine()

SECP256K1_API jlong JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1pubkey_1combine ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l,
jint  numkeys 
)

Definition at line 327 of file org_bitcoin_NativeSecp256k1.c.

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1sign()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1sign ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l 
)

Definition at line 73 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1verify()

SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1verify ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l,
jint  siglen,
jint  publen 
)

Definition at line 46 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1add()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1add ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l 
)

Definition at line 168 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1mul()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1mul ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l 
)

Definition at line 203 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1add()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1add ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l,
jint  publen 
)

Definition at line 238 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1mul()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1mul ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l,
jint  publen 
)

Definition at line 283 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1schnorr_1sign()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1schnorr_1sign ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l 
)

Definition at line 356 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function:

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1schnorr_1verify()

SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1schnorr_1verify ( JNIEnv *  env,
jclass  classObject,
jobject  byteBufferObject,
jlong  ctx_l,
jint  publen 
)

Definition at line 335 of file org_bitcoin_NativeSecp256k1.c.

Here is the call graph for this function: