25 lines
490 B
C++
25 lines
490 B
C++
/**
|
|
* @file wraplibsnark.hpp
|
|
* @author Jacob Eberhardt <jacob.eberhardt@tu-berlin.de
|
|
* @author Dennis Kuhnert <dennis.kuhnert@campus.tu-berlin.de>
|
|
* @date 2017
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
char* _sha256RoundConstraints();
|
|
char* _sha256RoundWitness(const uint8_t* input, int input_length);
|
|
|
|
// External interface to free memory
|
|
void _free_string(char const *str) {
|
|
delete[] str;
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|