Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

org_bitcoin_NativeSecp256k1.h File Reference
#include <jni.h>
#include "include/secp256k1.h"
+ Include dependency graph for org_bitcoin_NativeSecp256k1.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SECP256K1_API jlong JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ctx_1clone (JNIEnv *, jclass, jlong)
 
SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1context_1randomize (JNIEnv *, jclass, jobject, jlong)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1add (JNIEnv *, jclass, jobject, jlong)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1mul (JNIEnv *, jclass, jobject, jlong)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1add (JNIEnv *, jclass, jobject, jlong, jint)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1mul (JNIEnv *, jclass, jobject, jlong, jint)
 
SECP256K1_API void JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1destroy_1context (JNIEnv *, jclass, jlong)
 
SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1verify (JNIEnv *, jclass, jobject, jlong, jint, jint)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1sign (JNIEnv *, jclass, jobject, jlong)
 
SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1seckey_1verify (JNIEnv *, jclass, jobject, jlong)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1create (JNIEnv *, jclass, jobject, jlong)
 
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1parse (JNIEnv *, jclass, jobject, jlong, jint)
 
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 *  ,
jclass  ,
jobject  ,
jlong   
)

Definition at line 24 of file org_bitcoin_NativeSecp256k1.c.

References ctx, and secp256k1_context_randomize().

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ctx_1clone()

SECP256K1_API jlong JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ctx_1clone ( JNIEnv *  ,
jclass  ,
jlong   
)

Definition at line 11 of file org_bitcoin_NativeSecp256k1.c.

References ctx, and secp256k1_context_clone().

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1destroy_1context()

SECP256K1_API void JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1destroy_1context ( JNIEnv *  ,
jclass  ,
jlong   
)

Definition at line 37 of file org_bitcoin_NativeSecp256k1.c.

References ctx, and secp256k1_context_destroy().

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1create()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1create ( JNIEnv *  ,
jclass  ,
jobject  ,
jlong   
)

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1parse()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1parse ( JNIEnv *  ,
jclass  ,
jobject  ,
jlong  ,
jint   
)

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1seckey_1verify()

SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1seckey_1verify ( JNIEnv *  ,
jclass  ,
jobject  ,
jlong   
)

Definition at line 116 of file org_bitcoin_NativeSecp256k1.c.

References ctx, and secp256k1_ec_seckey_verify().

◆ 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 336 of file org_bitcoin_NativeSecp256k1.c.

References ctx, secp256k1_ec_pubkey_parse(), and secp256k1_ecdh().

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1sign()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1sign ( JNIEnv *  ,
jclass  ,
jobject  ,
jlong   
)

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1verify()

SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1verify ( JNIEnv *  ,
jclass  ,
jobject  ,
jlong  ,
jint  ,
jint   
)

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1add()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1add ( JNIEnv *  ,
jclass  ,
jobject  ,
jlong   
)

Definition at line 169 of file org_bitcoin_NativeSecp256k1.c.

References ctx, and secp256k1_ec_privkey_tweak_add().

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1mul()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1mul ( JNIEnv *  ,
jclass  ,
jobject  ,
jlong   
)

Definition at line 204 of file org_bitcoin_NativeSecp256k1.c.

References ctx, and secp256k1_ec_privkey_tweak_mul().

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1add()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1add ( JNIEnv *  ,
jclass  ,
jobject  ,
jlong  ,
jint   
)

◆ Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1mul()

SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1mul ( JNIEnv *  ,
jclass  ,
jobject  ,
jlong  ,
jint   
)
Released under the MIT license