2022-11-23 16:32:25 +00:00
|
|
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
|
|
#include <jni.h>
|
|
|
|
/* Header for class CKzg4844JNI */
|
|
|
|
|
|
|
|
#ifndef _Included_CKzg4844JNI
|
|
|
|
#define _Included_CKzg4844JNI
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
/*
|
|
|
|
* Class: CKzg4844JNI
|
|
|
|
* Method: loadTrustedSetup
|
2022-11-23 17:17:06 +00:00
|
|
|
* Signature: (Ljava/lang/String;)V
|
2022-11-23 16:32:25 +00:00
|
|
|
*/
|
2022-11-23 17:17:06 +00:00
|
|
|
JNIEXPORT void JNICALL Java_CKzg4844JNI_loadTrustedSetup
|
2022-11-23 16:32:25 +00:00
|
|
|
(JNIEnv *, jclass, jstring);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: CKzg4844JNI
|
|
|
|
* Method: freeTrustedSetup
|
2022-11-23 17:17:06 +00:00
|
|
|
* Signature: ()V
|
2022-11-23 16:32:25 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_CKzg4844JNI_freeTrustedSetup
|
2022-11-23 17:17:06 +00:00
|
|
|
(JNIEnv *, jclass);
|
2022-11-23 16:32:25 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: CKzg4844JNI
|
|
|
|
* Method: computeAggregateKzgProof
|
2022-11-24 18:15:26 +00:00
|
|
|
* Signature: ([BJ)[B
|
2022-11-23 16:32:25 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT jbyteArray JNICALL Java_CKzg4844JNI_computeAggregateKzgProof
|
2022-11-24 11:50:37 +00:00
|
|
|
(JNIEnv *, jclass, jbyteArray, jlong);
|
2022-11-23 16:32:25 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: CKzg4844JNI
|
|
|
|
* Method: verifyAggregateKzgProof
|
2022-11-24 18:15:26 +00:00
|
|
|
* Signature: ([B[BJ[B)Z
|
2022-11-23 16:32:25 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT jboolean JNICALL Java_CKzg4844JNI_verifyAggregateKzgProof
|
2022-11-24 11:50:37 +00:00
|
|
|
(JNIEnv *, jclass, jbyteArray, jbyteArray, jlong, jbyteArray);
|
2022-11-23 16:32:25 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: CKzg4844JNI
|
|
|
|
* Method: blobToKzgCommitment
|
2022-11-23 17:17:06 +00:00
|
|
|
* Signature: ([B)[B
|
2022-11-23 16:32:25 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT jbyteArray JNICALL Java_CKzg4844JNI_blobToKzgCommitment
|
2022-11-23 17:17:06 +00:00
|
|
|
(JNIEnv *, jclass, jbyteArray);
|
2022-11-23 16:32:25 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: CKzg4844JNI
|
|
|
|
* Method: verifyKzgProof
|
2022-11-23 17:17:06 +00:00
|
|
|
* Signature: ([B[B[B[B)Z
|
2022-11-23 16:32:25 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT jboolean JNICALL Java_CKzg4844JNI_verifyKzgProof
|
2022-11-23 17:17:06 +00:00
|
|
|
(JNIEnv *, jclass, jbyteArray, jbyteArray, jbyteArray, jbyteArray);
|
2022-11-23 16:32:25 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|