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: Better aes #35

Merged
merged 8 commits into from
Aug 11, 2024
Merged

feat: Better aes #35

merged 8 commits into from
Aug 11, 2024

Conversation

0xJepsen
Copy link
Contributor

@0xJepsen 0xJepsen commented Aug 11, 2024

These AES constructions come from crema labs implementation https://github.com/crema-labs/aes-circom which seems to be of much higher quality than the electron labs implementation. These are modular over key sizes, well documented, and have more testing, and are more constrained.

These circuits implement everything up to AES-CTR with any of FIPs compatible keys sizes.

I prepose we work to build our ghash and GCM implementation on top of this and perhaps then see if we can upstream those changes to the crema-labs work.

@0xJepsen 0xJepsen requested review from devloper and thor314 August 11, 2024 01:03
@0xJepsen 0xJepsen merged commit 88febf4 into main Aug 11, 2024
2 checks passed
@0xJepsen 0xJepsen deleted the better_aes branch September 9, 2024 17:32
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