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

Expression of the Blake3 permutation #13

Open
storojs72 opened this issue Feb 17, 2025 · 0 comments
Open

Expression of the Blake3 permutation #13

storojs72 opened this issue Feb 17, 2025 · 0 comments

Comments

@storojs72
Copy link

Hi there!

I'm working on a Blake3 implemented as a Binius circuit (IrreducibleOSS/binius#16). I'm currently thinking about way of writing a gadget for the Blake3 permutation. In order to define a proving system (Binius) constraint I need to know the expression the produces equivalent outputs for a given inputs of a MSG_PERMUTATION lookup.

For example the Rijendael S-Box has following expression (they call it "affine transformation"):

Image

This expression can be naturally turned into the proving system constraint. I haven't found such expression in the specification and after some digging and reading several related posts on Math.StackExchange, my understanding on this is that getting similar expression for the S-box defined as a lookup is not a trivial task. Does anyone know such an expression for Blake3 if it ever exists?

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

No branches or pull requests

1 participant