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

Add RNG implementation #42

Open
sirkrypt0 opened this issue Aug 31, 2022 · 2 comments
Open

Add RNG implementation #42

sirkrypt0 opened this issue Aug 31, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@sirkrypt0
Copy link
Contributor

Currently, we do not provide any RNG implementation in software.

It may be useful to add one, which, however, would require some sort of entropy function. This must be implemented by the user of the library for the respective board.

See the following section in the code:

int fido_get_random(void *buf, size_t len) {
// TODO: Implement randomness here according to the standard.
return 0;
}

@sirkrypt0 sirkrypt0 added the enhancement New feature or request label Aug 31, 2022
@felix-gohla felix-gohla changed the title Add software RNG implementation Add RNG implementation Aug 31, 2022
@felix-gohla
Copy link
Contributor

Also add hardware RNG where supported. 😊

@felix-gohla
Copy link
Contributor

Also think of disabling USE_SOFTWARE_RNG in the cmake configuration, as noted in #34.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants