diff options
author | Michael Brown <mcb30@ipxe.org> | 2012-02-20 21:24:30 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2012-02-21 12:42:37 +0000 |
commit | c2668b61ea5ac01279929be6be86cc04fd342ab5 (patch) | |
tree | 1a7e3434ceda88380366731ecd661423f093444d /src/config/entropy.h | |
parent | a99d5d5aca298c0618919d9be33ac5e73cb838e7 (diff) | |
download | ipxe-c2668b61ea5ac01279929be6be86cc04fd342ab5.tar.gz |
[rng] Record validity within DRBG state
Treat an empty (zeroed) DRBG as invalid. This ensures that a DRBG
that has not yet been instantiated (or that has been uninstantiated)
will refuse to attempt to generate random bits.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/entropy.h')
0 files changed, 0 insertions, 0 deletions