Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

^ operation not available for type bool #284

Open
franziskuskiefer opened this issue Aug 4, 2022 · 0 comments
Open

^ operation not available for type bool #284

franziskuskiefer opened this issue Aug 4, 2022 · 0 comments
Labels
bug 🐞 Something isn't working lib 📚 A hacspec library issue

Comments

@franziskuskiefer
Copy link
Member

This causes the hacspec typechecker to fail with the following error:

error[Hacspec]: operation not available for type bool
   --> examples/edwards25519-hash/src/edwards25519-hash.rs:244:31
    |
244 |     let y = cmov(y, zero - y, e2 ^ e3);
    |  

Should I open an issue regarding this?

Originally posted by @malteafg in #269 (comment)

@franziskuskiefer franziskuskiefer added bug 🐞 Something isn't working lib 📚 A hacspec library issue labels Sep 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🐞 Something isn't working lib 📚 A hacspec library issue
Projects
None yet
Development

No branches or pull requests

1 participant