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

@@ -29,3 +29,6 @@ curve25519-dalek = "^3.2"
[dev-dependencies]
ff-group-tests = { path = "../ff-group-tests" }
[features]
black_box = []