Skip to content
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

feat: optimized HTTPVerification #82

Merged
merged 9 commits into from
Dec 7, 2024

Conversation

Autoparallel
Copy link
Contributor

Uses a polynomial hash technique to reduce file size and constraint count greatly.

@Autoparallel Autoparallel force-pushed the feat/http_headers_digest branch from 3820e9a to fb02670 Compare December 6, 2024 20:07
- Trying to reduce file size and constraints substantially
- Also need to make this so it doesn't matter if there is padding around headers / etc.
@Autoparallel Autoparallel force-pushed the feat/http_headers_digest branch from fb02670 to 624ff53 Compare December 6, 2024 20:09
@Autoparallel Autoparallel merged commit da99172 into release/v0-7-0 Dec 7, 2024
@Autoparallel Autoparallel deleted the feat/http_headers_digest branch December 7, 2024 00:01
@Autoparallel Autoparallel mentioned this pull request Dec 7, 2024
2 tasks
Autoparallel added a commit that referenced this pull request Dec 18, 2024
* Update CHANGELOG.md

* Update package.json

* feat: optimized `HTTPVerification` (#82)

* wip: better HTTP

- Trying to reduce file size and constraints substantially
- Also need to make this so it doesn't matter if there is padding around headers / etc.

* WIP: improving HTTP digesting

* WIP: http rewrite

* WIP: almost working no-header test

* WIP: working start/body

* working tests!

* cleanup

* Update masker.circom

* Update CHANGELOG.md

* feat: hash-based JSON circuit (#41)

* feat: hash based JSON verification

* WIP: save

* resetting for clearer approach

* good save state

* feat: working hash version

Though this will be too expensive, the idea works!

* WIP: need to clear after comma

* WIP: good progress

* WIP: getting keys also now

* feat: (mostly?) working tree hasher

* seems to be correct for spotify

* perf: first optimization

* wip: brain hurty

left a note to myself

* fix: tree hasher seems correct now

* TODO: note to self

* feat: hash based JSON verification

* WIP: save

* resetting for clearer approach

* good save state

* feat: working hash version

Though this will be too expensive, the idea works!

* WIP: need to clear after comma

* WIP: good progress

* WIP: getting keys also now

* feat: (mostly?) working tree hasher

* seems to be correct for spotify

* perf: first optimization

* wip: brain hurty

left a note to myself

* fix: tree hasher seems correct now

* TODO: note to self

* cleanup from rebase

* cleanup

* WIP: seems to monomial correctly

* rename

* add in value to eval at

* WIP: start looking for matches

* made some fixes

* it may be working!

* now i can write tests!

* more tests

* more JSON hasher tests

* cleanup

* remove excess stuff

* adjust builds

* fix: build

* feat: manifest digest verification (#83)

* feat: `PolynomialDigest`

* WIP: working to get through NIVC

* feat: HTTP circuit digesting

* feat: ChaCha circuit digesting

* feat: JSON circuit digesting

* fix: `JSONExtraction`

* IT WORKS

* feat: TS init digest

* feat: separate sequence/value

* cleanup

* fix: builds

* fix: warnings

* Update CHANGELOG.md

* fix: PR feedback

* Fix/http verification (#85)

* fix: `zeroed_data` for `data_digest` in `http_verification`

* add test for 1024

* cleanup readme

---------

Co-authored-by: Sambhav Dusad <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant