-
Notifications
You must be signed in to change notification settings - Fork 86
Add options to use blank external dependencies #31
base: master
Are you sure you want to change the base?
Conversation
26473dc
to
81ad33a
Compare
Hi @contrun, Thanks for your interest and your PR to libecc. Regarding this PR, although I understand the need for this The "shims" for Finally, I would be interested in understanding why and how this approach would solve integration in webassembly environment without breaking the non deterministic signatures? Regards, |
81ad33a
to
b461d96
Compare
Hi @rb-anssi, thanks for the review. I am not an expert on webassembly. My main use case is deterministic signature generation and verification. As far as I know, it is impossible to generate non-deterministic signatures with standard webassembly runtime. I think in some webassembly environment, many cryptography functions are provides as primitives to their specific runtime, while some webassembly runtimes use WebAssembly/wasi-random: Entropy source API for WASI. I can add a thread-unsafe monotonic counter to |
Hi @contrun, Thanks for the clarification and for the patches. I have taken some time to test Regarding EDIT: comment updated since the Regards, |
This commit makes external dependencies unnecessary when `WITH_BLANK_EXTERNAL_DEPENDENCIES` is specified. It is useful in some restricted environments (e.g. webassembly) or in some specific applications (e.g. deterministic signature generation).
b461d96
to
8b0f10b
Compare
This commit makes external dependencies unnecessary when
WITH_BLANK_EXTERNAL_DEPENDENCIES
is specified.It is useful in some restricted environment or in some specific applications (e.g. deterministic signature generation).
I think it is something nice to have.