fix: zerokit version

This commit is contained in:
Richard Ramos 2023-08-03 07:34:01 -04:00
parent 7859920c65
commit 9a7ef94d12
No known key found for this signature in database
GPG Key ID: 1CE87DB518195760
3 changed files with 8 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -39,6 +39,8 @@ bool delete_leaf(struct RLN *ctx, uintptr_t index);
bool set_leaf(struct RLN *ctx, uintptr_t index, const struct Buffer *input_buffer); bool set_leaf(struct RLN *ctx, uintptr_t index, const struct Buffer *input_buffer);
bool get_leaf(struct RLN *ctx, uintptr_t index, struct Buffer *output_buffer);
bool set_next_leaf(struct RLN *ctx, const struct Buffer *input_buffer); bool set_next_leaf(struct RLN *ctx, const struct Buffer *input_buffer);
bool set_leaves_from(struct RLN *ctx, uintptr_t index, const struct Buffer *input_buffer); bool set_leaves_from(struct RLN *ctx, uintptr_t index, const struct Buffer *input_buffer);
@ -88,6 +90,12 @@ bool recover_id_secret(const struct RLN *ctx,
const struct Buffer *input_proof_buffer_2, const struct Buffer *input_proof_buffer_2,
struct Buffer *output_buffer); struct Buffer *output_buffer);
bool set_metadata(struct RLN *ctx, const struct Buffer *input_buffer);
bool get_metadata(const struct RLN *ctx, struct Buffer *output_buffer);
bool flush(struct RLN *ctx);
bool hash(const struct Buffer *input_buffer, struct Buffer *output_buffer); bool hash(const struct Buffer *input_buffer, struct Buffer *output_buffer);
bool poseidon_hash(const struct Buffer *input_buffer, struct Buffer *output_buffer); bool poseidon_hash(const struct Buffer *input_buffer, struct Buffer *output_buffer);