#ifndef LIBETHJET_H #define LIBETHJET_H #include #include struct ethjet_context { secp256k1_context *ec; }; enum ethjet_operation { ETHJET_ECRECOVER = 1, ETHJET_EXAMPLE = 0xdeadbeef, }; struct ethjet_context * ethjet_init (); void ethjet_free (struct ethjet_context *ctx); int ethjet (struct ethjet_context *ctx, enum ethjet_operation op, uint8_t *in, size_t in_size, uint8_t *out, size_t out_size); #endif