This commit is contained in:
dancoffman 2022-11-01 21:58:21 -07:00
parent 203033613f
commit 002fc3fa54
No known key found for this signature in database
GPG Key ID: 47B1F53E36A9B3CC
2 changed files with 12 additions and 7 deletions

View File

@ -20,7 +20,9 @@
#include <stdlib.h>
#include <string.h>
void test_function() {}
int test_function() {
return 5;
}
/**

View File

@ -29,8 +29,15 @@
#include "blst.h"
#ifdef __cplusplus
extern "C" {
#endif
#define FIELD_ELEMENTS_PER_BLOB 4096
typedef blst_p1 g1_t; /**< Internal G1 group element type */
typedef blst_p2 g2_t; /**< Internal G2 group element type */
typedef blst_fr fr_t; /**< Internal Fr field element type */
@ -54,12 +61,6 @@ typedef enum {
C_KZG_MALLOC, /**< Could not allocate memory */
} C_KZG_RET;
#ifdef __cplusplus
extern "C" {
#endif
void test_function();
/**
* KZGCommitment and KZGProof can be recovered as 48 bytes
*/
@ -91,6 +92,8 @@ typedef struct {
g2_t *g2_values; /**< G2 group elements from the trusted setup; both arrays have FIELD_ELEMENTS_PER_BLOB elements */
} KZGSettings;
int test_function();
/**
* Interface functions
*/