-
Notifications
You must be signed in to change notification settings - Fork 25
Dev #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fix: fix clippy
Add root Cargo.toml
update file names
add a trivial circuit biulder
* use gnark expr * fix cmp * use unsafe.Slice instead of C.GoBytes due to 2^31 limit
* implement cross layer circuit and gates * rewrite connect_wires to use whole circuit layout_ids * cross layer relay * opt and test * support both circuit formats * add back export to expander * fmt * add example * fix * possible opt * fix
* hints * fmt
* rust const variables * clippy
* update expander version * update expander to current dev * add default gkr config (changes from #58)
* update expander version * implement cross layer circuit export * update expander to dev
* add sha256 for m31 field * move test to ./tests * format * pass clippy * support logup new api: rangeproof, arbitrary key table
* add sha256 for m31 field * move test to ./tests * format * pass clippy --------- Signed-off-by: siq1 <166227013+siq1@users.noreply.github.com> Co-authored-by: siq1 <166227013+siq1@users.noreply.github.com>
* sha256_test * optimize vanilla adder * minor * serialization * remove scripts * minor fix * minor * debugging sha256 * tmp commit * tmp * before switch to big endian * switch to big endian & fix a hidden error in hash parameters * clean up & fix brentkung * clippy * rename sha256 tests * sha256 circuit in std, debugging * update incorrect parameters * minor * fmt & switch to cross layer * clippy & optimize by replacing some adds with add_const * fmt after rebase * fix a typo & fix a comment & clippy * fmt.. --------- Co-authored-by: siq1 <siqi@polyhedra.network>
* add sha256 for m31 field * move test to ./tests * format * pass clippy * support logup new api: rangeproof, arbitrary key table * pass local clippy * make builder mod public to access get_variable_id fn * format * modify gitignore to ignore json txt witness * add poseidon_m31 api * move hint register to circuit-std-rs/utils * pass local clippy * remove builder public * fmt * unimport builder * unimport builder * remove tests * remove tests * add sha256 var byte api * pass maptog2 * pass hashtog2 * pass local clippy * remove hashtable unused import * pass cargo test * fix warnings * add attestation api * attestation test pass * add g1 g2 unmarshal (circuit) * fmt * add hashtog1 * Disable 7950x3d test in CI (#76) * resolve dev conflict * fmt * use new poseidon * rm tests * use new poseidon * remove test and delete empty point lib * add poseidon flatten, merge hashtog2 to shuffle circuit * fmt, clippy * entire shuffle circuit * rename bigint lib * fmt * remove old shuffle --------- Signed-off-by: Tiancheng Xie <tc@polyhedra.network> Co-authored-by: Tiancheng Xie <tc@polyhedra.network> Co-authored-by: siq1 <166227013+siq1@users.noreply.github.com>
* refactor GenericDefine trait * fix clippy * fix ci * remove attribute * remove unused * remove test unused import * fix fmt * refactor CompileGeneric * refactor build_generic, compile_generic_cross_layer --------- Co-authored-by: Dream <wwuwwei@126.com>
* update expander version * update expander to current dev * add default gkr config (changes from #58) * implement simd eval * add tests * fix pack_size * use simd by default in solve_witnesses * clippy * add multithreading witness solving example * allow simd witness (wip) * allow simd witness * allow generation of simd witness * add test * layered circuit simd eval * clippy
* check invalid variables * fix use --------- Signed-off-by: Tiancheng Xie <tc@polyhedra.network> Co-authored-by: Tiancheng Xie <tc@polyhedra.network>
* implement matrix mul circuit * fix ci * fix clippy * wrap helper * remove GF2 * fix type * loop depends on field * updates after merging dev latest * fix ci
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.