Use black_box to help obscure the dalek-ff-group bool -> Choice conversion

I have no idea if this will actually help, yet it can't hurt.

Feature gated due to MSRV requirements.

Fixes #242.
This commit is contained in:
Luke Parker
2023-03-07 04:22:57 -05:00
parent adb5f34fda
commit c358090f16
3 changed files with 12 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ group = "0.12"
curve25519-dalek = { version = "3", features = ["std"] }
transcript = { package = "flexible-transcript", path = "../crypto/transcript", features = ["recommended"] }
dalek-ff-group = { path = "../crypto/dalek-ff-group" }
dalek-ff-group = { path = "../crypto/dalek-ff-group", features = ["black_box"] }
frost = { package = "modular-frost", path = "../crypto/frost", features = ["ed25519"] }
monero-serai = { path = "../coins/monero", features = ["multisig"] }