github.com/guiltylotus/go-ethereum@v1.9.7/crypto/secp256k1/libsecp256k1/src/java/org_bitcoin_NativeSecp256k1.h (about) 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 */ 16 SECP256K1_API jlong JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ctx_1clone 17 (JNIEnv *, jclass, jlong); 18 19 /* 20 * Class: org_bitcoin_NativeSecp256k1 21 * Method: secp256k1_context_randomize 22 * Signature: (Ljava/nio/ByteBuffer;J)I 23 */ 24 SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1context_1randomize 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 */ 32 SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1add 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 */ 40 SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1privkey_1tweak_1mul 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 */ 48 SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1add 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 */ 56 SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1pubkey_1tweak_1mul 57 (JNIEnv *, jclass, jobject, jlong, jint); 58 59 /* 60 * Class: org_bitcoin_NativeSecp256k1 61 * Method: secp256k1_destroy_context 62 * Signature: (J)V 63 */ 64 SECP256K1_API void JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1destroy_1context 65 (JNIEnv *, jclass, jlong); 66 67 /* 68 * Class: org_bitcoin_NativeSecp256k1 69 * Method: secp256k1_ecdsa_verify 70 * Signature: (Ljava/nio/ByteBuffer;JII)I 71 */ 72 SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1verify 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 */ 80 SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1sign 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 */ 88 SECP256K1_API jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1seckey_1verify 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 */ 96 SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1create 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 */ 104 SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ec_1pubkey_1parse 105 (JNIEnv *, jclass, jobject, jlong, jint); 106 107 /* 108 * Class: org_bitcoin_NativeSecp256k1 109 * Method: secp256k1_ecdh 110 * Signature: (Ljava/nio/ByteBuffer;JI)[[B 111 */ 112 SECP256K1_API jobjectArray JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdh 113 (JNIEnv* env, jclass classObject, jobject byteBufferObject, jlong ctx_l, jint publen); 114 115 116 #ifdef __cplusplus 117 } 118 #endif 119 #endif