zama-ai / go-ethereum

fhEVM reference implementation
GNU Lesser General Public License v3.0
7 stars 1 forks source link

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

Closed tremblaythibaultl closed 9 months ago

tremblaythibaultl commented 1 year ago

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 commented 1 year ago

Related to zama-ai/fhevm-solidity#55.

tremblaythibaultl commented 9 months ago

Closed by https://github.com/zama-ai/fhevm-go/pull/49.