2022-11-23 16:32:25 +00:00
|
|
|
/* 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-23 16:32:25 +00:00
|
|
|
|
2022-11-25 13:28:03 +00:00
|
|
|
#ifndef _Included_ethereum_ckzg4844_CKzg4844JNI
|
|
|
|
#define _Included_ethereum_ckzg4844_CKzg4844JNI
|
2022-11-23 16:32:25 +00:00
|
|
|
#ifdef __cplusplus
|
2022-11-25 13:28:03 +00:00
|
|
|
extern "C"
|
|
|
|
{
|
2022-11-23 16:32:25 +00:00
|
|
|
#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-23 16:32:25 +00:00
|
|
|
|
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-23 16:32:25 +00:00
|
|
|
|
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-23 16:32:25 +00:00
|
|
|
|
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-23 16:32:25 +00:00
|
|
|
|
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-23 16:32:25 +00:00
|
|
|
|
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);
|
2022-11-23 16:32:25 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|