-
Notifications
You must be signed in to change notification settings - Fork 4
Conversation
All right, this is ready for review. The diff is a bit daunting, but I've separated in roughly 3 phases of commits:
Overall, this makes the library more specific to DHE but also makes it simpler. And removes the extra dependency! |
Boom 💥! Now rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I have a few minor comments about the tests but this is a welcome change!
Slightly unrelated to this PR but I added a test/
dir in #44. Might be worth moving all tests there under test/wycheproof/
, test/p256/
and eventually test/functional/
if we wish to seperate them from the strictly speaking unit ones. Can be done in a separate PR ofc!
I moved the tests hierarchy under |
Thanks! |
(I forgot to push the last fix with ids - did it on master 🙀) |
CHANGES: *2019-07-23* ### Fixed - Fix a bug in `generate_key` where it would never actually work when used with a proper `rng` function (mirage/fiat#44, @NathanReb) - Fix benchmark executable. It is now built (but not executed) as part of tests (mirage/fiat#45, @emillon) ### Changed - Use `alcotest` instead of `ppx_expect` for tests (mirage/fiat#43, @emillon)
ppx_expect
is in theory usable in Mirage since it strips the code in the released binaries; but for now it causes some cross-compilation issues because of C stubs that rely on POSIX APIs. So for now let's do without it!See janestreet/ppx_expect#15