]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[rng] Add ANS X9.82 Approved HMAC_DRBG algorithm
authorMichael Brown <mcb30@ipxe.org>
Mon, 23 Jan 2012 14:52:56 +0000 (14:52 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 23 Jan 2012 15:03:43 +0000 (15:03 +0000)
commit5c2d6fa3997f5ad82527914c5e2e35ef423c3119
tree5c4fe8da0c9b2ef2ba7e48c522e0d6f2d0cb1402
parentf5bbe7ec4a4b31ad197947b025c54a8e87402436
[rng] Add ANS X9.82 Approved HMAC_DRBG algorithm

ANS X9.82 specifies several Approved algorithms for use in a
Deterministic Random Bit Generator (DRBG).  One such algorithm is
HMAC_DRBG, which can be implemented using the existing iPXE SHA-1 and
HMAC functionality.  This algorithm provides a maximum security
strength of 128 bits.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/hmac_drbg.c [new file with mode: 0644]
src/include/ipxe/errfile.h
src/include/ipxe/hmac_drbg.h [new file with mode: 0644]