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

Move CMUX logic from TFHE.sol to go-ethereum #149

Closed
tremblaythibaultl opened this issue Aug 1, 2023 · 2 comments
Closed

Move CMUX logic from TFHE.sol to go-ethereum #149

tremblaythibaultl opened this issue Aug 1, 2023 · 2 comments
Assignees
Milestone

Comments

@tremblaythibaultl
Copy link
Contributor

tremblaythibaultl commented Aug 1, 2023

The CMUX operator logic is currently the Solidity library (see here) and relies on high-level subtraction, addition and multiplication.
Since the TFHE-rs team will eventually expose an optimized version of the CMUX operator, we want create a new precompiled contract for it and eventually call directly into TFHE-rs. For now though, we will have to implement the CMUX logic in the precompiled contract while we wait for TFHE-rs' optimized version.

@tremblaythibaultl
Copy link
Contributor Author

Related to zama-ai/fhevm#55.

@tremblaythibaultl
Copy link
Contributor Author

Closed by zama-ai/fhevm-go#49.

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

3 participants