Skip to content

fix collapsed RND nodes into one RND node in optimized circuits#3

Open
hellman wants to merge 1 commit intoCryptoExperts:mainfrom
hellman:fix_RND_collapse
Open

fix collapsed RND nodes into one RND node in optimized circuits#3
hellman wants to merge 1 commit intoCryptoExperts:mainfrom
hellman:fix_RND_collapse

Conversation

@hellman
Copy link
Copy Markdown

@hellman hellman commented Jun 14, 2024

Currently, OptArithmeticCircuit collapses all RND nodes into one, since it is the same operation + same arguments (no arguments). This is wrong, since each RND should be distinct. There is already a PRECOMPUTABLE flag for operations which is false for RND, so it makes sense to disable caching for these operations.

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