Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should randomness failure during signature generation cause an error? #8

Open
sfluhrer opened this issue Mar 24, 2021 · 0 comments
Open
Labels
question Further information is requested

Comments

@sfluhrer
Copy link
Collaborator

sfluhrer commented Mar 24, 2021

The signature generation process allows the application to provide optional randomness. If they pass in a 0 pointer, we'll fall back to deterministic signatures (which are perfectly secure); if the application passes in a pointer to a random function, we call that to get the randomness (which we stir into the final R value).

What happens if the application passes a random function, and that function returns failure? Presumably, if the application gave us a function, it wants a nondeterministic signature; however we can't do that. Currently, we do fall back to a deterministic mode; is this correct?

@sfluhrer sfluhrer added the question Further information is requested label Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant