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: byte pack NIVC #35

Merged
merged 9 commits into from
Nov 7, 2024
Merged

feat: byte pack NIVC #35

merged 9 commits into from
Nov 7, 2024

Conversation

Autoparallel
Copy link
Contributor

This PR byte packs the PT/CT into the step_out variables for AES, then unpacks them in the HTTP_PARSE_AND_LOCK_START_LINE circuit.

Currently this makes the NIVC_FULL test pass, but for obvious reasons some AESGCTRFOLD tests are now broken.

HTTP_PARSE_AND_LOCK_START_LINE tests should still work since if the data going in wasn't packed, it won't do anything anyway.

@Autoparallel Autoparallel marked this pull request as ready for review November 6, 2024 23:52
Copy link
Contributor

@devloper devloper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Change from 1024 to 512 is another step! 2x per day... tomorrow the final step with hash chaining. I won't review too deeply here the byte unpack logic unless we decide to keep it long term.

@devloper devloper merged commit 8035a0d into main Nov 7, 2024
3 checks passed
@lonerapier lonerapier deleted the feat/byte-pack-aes branch December 12, 2024 04:25
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.

2 participants