Bitcoin ABC  0.24.7
P2P Digital Currency
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
9 extern "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  */
25  (JNIEnv *, jclass, jobject, jlong);
26 
27 /*
28  * Class: org_bitcoin_NativeSecp256k1
29  * Method: secp256k1_privkey_tweak_add
30  * Signature: (Ljava/nio/ByteBuffer;J)[[B
31  */
33  (JNIEnv *, jclass, jobject, jlong);
34 
35 /*
36  * Class: org_bitcoin_NativeSecp256k1
37  * Method: secp256k1_privkey_tweak_mul
38  * Signature: (Ljava/nio/ByteBuffer;J)[[B
39  */
41  (JNIEnv *, jclass, jobject, jlong);
42 
43 /*
44  * Class: org_bitcoin_NativeSecp256k1
45  * Method: secp256k1_pubkey_tweak_add
46  * Signature: (Ljava/nio/ByteBuffer;JI)[[B
47  */
49  (JNIEnv *, jclass, jobject, jlong, jint);
50 
51 /*
52  * Class: org_bitcoin_NativeSecp256k1
53  * Method: secp256k1_pubkey_tweak_mul
54  * Signature: (Ljava/nio/ByteBuffer;JI)[[B
55  */
57  (JNIEnv *, jclass, jobject, jlong, jint);
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  */
73  (JNIEnv *, jclass, jobject, jlong, jint, jint);
74 
75 /*
76  * Class: org_bitcoin_NativeSecp256k1
77  * Method: secp256k1_ecdsa_sign
78  * Signature: (Ljava/nio/ByteBuffer;J)[[B
79  */
81  (JNIEnv *, jclass, jobject, jlong);
82 
83 /*
84  * Class: org_bitcoin_NativeSecp256k1
85  * Method: secp256k1_ec_seckey_verify
86  * Signature: (Ljava/nio/ByteBuffer;J)I
87  */
89  (JNIEnv *, jclass, jobject, jlong);
90 
91 /*
92  * Class: org_bitcoin_NativeSecp256k1
93  * Method: secp256k1_ec_pubkey_create
94  * Signature: (Ljava/nio/ByteBuffer;J)[[B
95  */
97  (JNIEnv *, jclass, jobject, jlong);
98 
99 /*
100  * Class: org_bitcoin_NativeSecp256k1
101  * Method: secp256k1_ec_pubkey_parse
102  * Signature: (Ljava/nio/ByteBuffer;JI)[[B
103  */
105  (JNIEnv *, jclass, jobject, jlong, jint);
106 
107 /*
108  * Class: org_bitcoin_NativeSecp256k1
109  * Method: secp256k1_schnorr_verify
110  * Signature: (Ljava/nio/ByteBuffer;JI)I
111  */
113  (JNIEnv *, jclass, jobject, jlong, jint);
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  */
129  (JNIEnv* env, jclass classObject, jobject byteBufferObject, jlong ctx_l, jint publen);
130 
131 
132 #ifdef __cplusplus
133 }
134 #endif
135 #endif
Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1sign
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1sign(JNIEnv *, jclass, jobject, jlong)
Definition: org_bitcoin_NativeSecp256k1.c:74
Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1verify
SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1verify(JNIEnv *, jclass, jobject, jlong, jint, jint)
Definition: org_bitcoin_NativeSecp256k1.c:47
Java_org_bitcoin_NativeSecp256k1_secp256k1_1context_1randomize
SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1context_1randomize(JNIEnv *, jclass, jobject, jlong)
Definition: org_bitcoin_NativeSecp256k1.c:24
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)
Definition: org_bitcoin_NativeSecp256k1.c:239
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: org_bitcoin_NativeSecp256k1.c:116
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: org_bitcoin_NativeSecp256k1.c:388
Java_org_bitcoin_NativeSecp256k1_secp256k1_1ctx_1clone
SECP256K1_API jlong JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ctx_1clone(JNIEnv *, jclass, jlong)
Definition: org_bitcoin_NativeSecp256k1.c:11
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: org_bitcoin_NativeSecp256k1.c:204
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: org_bitcoin_NativeSecp256k1.c:169
SECP256K1_API
#define SECP256K1_API
Definition: secp256k1.h:140
secp256k1.h
Java_org_bitcoin_NativeSecp256k1_secp256k1_1destroy_1context
SECP256K1_API void JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1destroy_1context(JNIEnv *, jclass, jlong)
Definition: org_bitcoin_NativeSecp256k1.c:37
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_1pubkey_1create
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1create(JNIEnv *, jclass, jobject, jlong)
Definition: org_bitcoin_NativeSecp256k1.c:127
Java_org_bitcoin_NativeSecp256k1_secp256k1_1schnorr_1sign
SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1schnorr_1sign(JNIEnv *, jclass, jobject, jlong)
Definition: org_bitcoin_NativeSecp256k1.c:357
Java_org_bitcoin_NativeSecp256k1_secp256k1_1schnorr_1verify
SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1schnorr_1verify(JNIEnv *, jclass, jobject, jlong, jint)
Definition: org_bitcoin_NativeSecp256k1.c:336
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)
Definition: org_bitcoin_NativeSecp256k1.c:284