Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
org_bitcoin_NativeSecp256k1.h
Go to the documentation of this file.
1/* DO NOT EDIT THIS FILE - it is machine generated */
2#include <jni.h>
3#include "include/secp256k1.h"
4/* Header for class org_bitcoin_NativeSecp256k1 */
5
6#ifndef _Included_org_bitcoin_NativeSecp256k1
7#define _Included_org_bitcoin_NativeSecp256k1
8#ifdef __cplusplus
9extern "C" {
10#endif
11/*
12 * Class: org_bitcoin_NativeSecp256k1
13 * Method: secp256k1_ctx_clone
14 * Signature: (J)J
15 */
17 (JNIEnv *, jclass, jlong);
18
19/*
20 * Class: org_bitcoin_NativeSecp256k1
21 * Method: secp256k1_context_randomize
22 * Signature: (Ljava/nio/ByteBuffer;J)I
23 */
26
27/*
28 * Class: org_bitcoin_NativeSecp256k1
29 * Method: secp256k1_privkey_tweak_add
30 * Signature: (Ljava/nio/ByteBuffer;J)[[B
31 */
34
35/*
36 * Class: org_bitcoin_NativeSecp256k1
37 * Method: secp256k1_privkey_tweak_mul
38 * Signature: (Ljava/nio/ByteBuffer;J)[[B
39 */
42
43/*
44 * Class: org_bitcoin_NativeSecp256k1
45 * Method: secp256k1_pubkey_tweak_add
46 * Signature: (Ljava/nio/ByteBuffer;JI)[[B
47 */
50
51/*
52 * Class: org_bitcoin_NativeSecp256k1
53 * Method: secp256k1_pubkey_tweak_mul
54 * Signature: (Ljava/nio/ByteBuffer;JI)[[B
55 */
58
59/*
60 * Class: org_bitcoin_NativeSecp256k1
61 * Method: secp256k1_destroy_context
62 * Signature: (J)V
63 */
65 (JNIEnv *, jclass, jlong);
66
67/*
68 * Class: org_bitcoin_NativeSecp256k1
69 * Method: secp256k1_ecdsa_verify
70 * Signature: (Ljava/nio/ByteBuffer;JII)I
71 */
74
75/*
76 * Class: org_bitcoin_NativeSecp256k1
77 * Method: secp256k1_ecdsa_sign
78 * Signature: (Ljava/nio/ByteBuffer;J)[[B
79 */
82
83/*
84 * Class: org_bitcoin_NativeSecp256k1
85 * Method: secp256k1_ec_seckey_verify
86 * Signature: (Ljava/nio/ByteBuffer;J)I
87 */
90
91/*
92 * Class: org_bitcoin_NativeSecp256k1
93 * Method: secp256k1_ec_pubkey_create
94 * Signature: (Ljava/nio/ByteBuffer;J)[[B
95 */
98
99/*
100 * Class: org_bitcoin_NativeSecp256k1
101 * Method: secp256k1_ec_pubkey_parse
102 * Signature: (Ljava/nio/ByteBuffer;JI)[[B
103 */
106
107/*
108 * Class: org_bitcoin_NativeSecp256k1
109 * Method: secp256k1_schnorr_verify
110 * Signature: (Ljava/nio/ByteBuffer;JI)I
111 */
114
115/*
116 * Class: org_bitcoin_NativeSecp256k1
117 * Method: secp256k1_schnorr_sign
118 * Signature: (Ljava/nio/ByteBuffer;J)[[B
119 */
121 (JNIEnv *, jclass, jobject, jlong);
122
123/*
124 * Class: org_bitcoin_NativeSecp256k1
125 * Method: secp256k1_ecdh
126 * Signature: (Ljava/nio/ByteBuffer;JI)[[B
127 */
130
131
132#ifdef __cplusplus
133}
134#endif
135#endif
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_1pubkey_1tweak_1add(JNIEnv *, jclass, jobject, jlong, jint)
SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1schnorr_1verify(JNIEnv *, jclass, jobject, jlong, jint)
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1parse(JNIEnv *, jclass, jobject, jlong, jint)
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 jlong JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ctx_1clone(JNIEnv *, jclass, jlong)
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdh(JNIEnv *env, jclass classObject, jobject byteBufferObject, jlong ctx_l, jint publen)
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1schnorr_1sign(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_1privkey_1tweak_1add(JNIEnv *, jclass, jobject, jlong)
SECP256K1_API void JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1destroy_1context(JNIEnv *, jclass, jlong)
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1sign(JNIEnv *, jclass, jobject, 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_1pubkey_1tweak_1mul(JNIEnv *, jclass, jobject, jlong, jint)
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85
#define SECP256K1_API
Definition secp256k1.h:143