Tweaks
This commit is contained in:
parent
203033613f
commit
002fc3fa54
|
@ -20,7 +20,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
void test_function() {}
|
||||
int test_function() {
|
||||
return 5;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue