diff options
| author | Michael Brown | 2012-02-20 22:24:30 +0100 |
|---|---|---|
| committer | Michael Brown | 2012-02-21 13:42:37 +0100 |
| commit | c2668b61ea5ac01279929be6be86cc04fd342ab5 (patch) | |
| tree | 1a7e3434ceda88380366731ecd661423f093444d /src/include/ipxe/hmac_drbg.h | |
| parent | [rng] Add missing #include <string.h> (diff) | |
| download | ipxe-c2668b61ea5ac01279929be6be86cc04fd342ab5.tar.gz ipxe-c2668b61ea5ac01279929be6be86cc04fd342ab5.tar.xz ipxe-c2668b61ea5ac01279929be6be86cc04fd342ab5.zip | |
[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/include/ipxe/hmac_drbg.h')
0 files changed, 0 insertions, 0 deletions
