Bitcoin ABC 0.30.7
P2P Digital Currency
|
#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"
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) |
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.