tari-project / triptych

BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

feat: allow for variable-time Kronecker delta #71

Closed AaronFeickert closed 6 months ago

AaronFeickert commented 6 months ago

The library supports both constant- and variable-time proving, depending on the caller's needs. However, the Kronecker delta function supported only constant-time operations. This PR adds a variable-time option for efficiency. It also adds unit tests for the function.