c-kzg-4844/bindings/java/c_kzg_4844_jni.h

57 lines
1.7 KiB
C
Raw Normal View History

/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
2022-11-25 13:28:03 +00:00
/* Header for class ethereum_ckzg4844_CKzg4844JNI */
2022-11-25 13:28:03 +00:00
#ifndef _Included_ethereum_ckzg4844_CKzg4844JNI
#define _Included_ethereum_ckzg4844_CKzg4844JNI
#ifdef __cplusplus
2022-11-25 13:28:03 +00:00
extern "C"
{
#endif
2022-11-25 13:28:03 +00:00
/*
* Class: ethereum_ckzg4844_CKzg4844JNI
* Method: loadTrustedSetup
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_ethereum_ckzg4844_CKzg4844JNI_loadTrustedSetup(JNIEnv *, jclass, jstring);
2022-11-25 13:28:03 +00:00
/*
* Class: ethereum_ckzg4844_CKzg4844JNI
* Method: freeTrustedSetup
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_ethereum_ckzg4844_CKzg4844JNI_freeTrustedSetup(JNIEnv *, jclass);
2022-11-25 13:28:03 +00:00
/*
* Class: ethereum_ckzg4844_CKzg4844JNI
* Method: computeAggregateKzgProof
* Signature: ([BJ)[B
*/
JNIEXPORT jbyteArray JNICALL Java_ethereum_ckzg4844_CKzg4844JNI_computeAggregateKzgProof(JNIEnv *, jclass, jbyteArray, jlong);
2022-11-25 13:28:03 +00:00
/*
* Class: ethereum_ckzg4844_CKzg4844JNI
* Method: verifyAggregateKzgProof
* Signature: ([B[BJ[B)Z
*/
JNIEXPORT jboolean JNICALL Java_ethereum_ckzg4844_CKzg4844JNI_verifyAggregateKzgProof(JNIEnv *, jclass, jbyteArray, jbyteArray, jlong, jbyteArray);
2022-11-25 13:28:03 +00:00
/*
* Class: ethereum_ckzg4844_CKzg4844JNI
* Method: blobToKzgCommitment
* Signature: ([B)[B
*/
JNIEXPORT jbyteArray JNICALL Java_ethereum_ckzg4844_CKzg4844JNI_blobToKzgCommitment(JNIEnv *, jclass, jbyteArray);
2022-11-25 13:28:03 +00:00
/*
* Class: ethereum_ckzg4844_CKzg4844JNI
* Method: verifyKzgProof
* Signature: ([B[B[B[B)Z
*/
JNIEXPORT jboolean JNICALL Java_ethereum_ckzg4844_CKzg4844JNI_verifyKzgProof(JNIEnv *, jclass, jbyteArray, jbyteArray, jbyteArray, jbyteArray);
#ifdef __cplusplus
}
#endif
#endif