Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Replenish function always using multiple backends? #10

Closed
solatis opened this issue Jan 16, 2015 · 1 comment
Closed

Replenish function always using multiple backends? #10

solatis opened this issue Jan 16, 2015 · 1 comment

Comments

@solatis
Copy link

solatis commented Jan 16, 2015

Hello,

I'm currently analyzing the code of the entropy generating function and the use of the backends by the replenish function. As I understand it, if the RDRAND backend generates enough entropy, the other backends are not used, is that correct ?

The reason I ask is because weaknesses are found in the RdRand instruction, and should only be used in combination of other entropy sources, not as the only one. On top of that, /dev/random already uses RdRand when available, so explicitly supporting it in this library might be redunandant (and even a security liability).

@sdroege
Copy link

sdroege commented Mar 21, 2015

First part of http://www.leonmergen.com/haskell/crypto/2015/03/21/on-the-state-of-cryptography-in-haskell.html has some background about what these weaknesses that are found (do we know for sure? but better safe then sorry...) are.

@vincenthz vincenthz closed this as not planned Won't fix, can't repro, duplicate, stale Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants