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

84 lines
2.8 KiB
C
Raw Normal View History

/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class ethereum_ckzg4844_CKZG4844JNI */
#ifndef _Included_ethereum_ckzg4844_CKZG4844JNI
#define _Included_ethereum_ckzg4844_CKZG4844JNI
#ifdef __cplusplus
2022-11-25 13:28:03 +00:00
extern "C"
{
#endif
#undef ethereum_ckzg4844_CKZG4844JNI_BYTES_PER_COMMITMENT
#define ethereum_ckzg4844_CKZG4844JNI_BYTES_PER_COMMITMENT 48L
#undef ethereum_ckzg4844_CKZG4844JNI_BYTES_PER_PROOF
#define ethereum_ckzg4844_CKZG4844JNI_BYTES_PER_PROOF 48L
#undef ethereum_ckzg4844_CKZG4844JNI_BYTES_PER_FIELD_ELEMENT
#define ethereum_ckzg4844_CKZG4844JNI_BYTES_PER_FIELD_ELEMENT 32L
2022-11-25 13:28:03 +00:00
/*
* Class: ethereum_ckzg4844_CKZG4844JNI
* Method: getFieldElementsPerBlob
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_ethereum_ckzg4844_CKZG4844JNI_getFieldElementsPerBlob(JNIEnv *, jclass);
/*
* Class: ethereum_ckzg4844_CKZG4844JNI
2022-11-25 13:28:03 +00:00
* Method: loadTrustedSetup
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_ethereum_ckzg4844_CKZG4844JNI_loadTrustedSetup__Ljava_lang_String_2(JNIEnv *, jclass, jstring);
/*
* Class: ethereum_ckzg4844_CKZG4844JNI
* Method: loadTrustedSetup
* Signature: ([BJ[BJ)V
*/
JNIEXPORT void JNICALL Java_ethereum_ckzg4844_CKZG4844JNI_loadTrustedSetup___3BJ_3BJ(JNIEnv *, jclass, jbyteArray, jlong, jbyteArray, jlong);
2022-11-25 13:28:03 +00:00
/*
* Class: ethereum_ckzg4844_CKZG4844JNI
2022-11-25 13:28:03 +00:00
* 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: computeKzgProof
* Signature: ([B[B)[B
*/
JNIEXPORT jbyteArray JNICALL Java_ethereum_ckzg4844_CKZG4844JNI_computeKzgProof(JNIEnv *, jclass, jbyteArray, jbyteArray);
/*
* Class: ethereum_ckzg4844_CKZG4844JNI
2022-11-25 13:28:03 +00:00
* 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
2022-11-25 13:28:03 +00:00
* 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
2022-11-25 13:28:03 +00:00
* 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
2022-11-25 13:28:03 +00:00
* 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