summaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorMichael Brown2012-03-04 15:59:32 +0100
committerMichael Brown2012-03-04 16:14:20 +0100
commitc5c1ae42e67254f5c4667c037ee92806d4703e64 (patch)
tree453c51e32d1f4f00ebba06eaa79c3bf18b2e812f /src/crypto
parent[802.11] Add missing #include <byteswap.h> (diff)
downloadipxe-c5c1ae42e67254f5c4667c037ee92806d4703e64.tar.gz
ipxe-c5c1ae42e67254f5c4667c037ee92806d4703e64.tar.xz
ipxe-c5c1ae42e67254f5c4667c037ee92806d4703e64.zip
[rng] Add missing #include <assert.h>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/hash_df.c1
-rw-r--r--src/crypto/hmac_drbg.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/hash_df.c b/src/crypto/hash_df.c
index 9e3da181a..1074f8ca6 100644
--- a/src/crypto/hash_df.c
+++ b/src/crypto/hash_df.c
@@ -37,6 +37,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <string.h>
+#include <assert.h>
#include <byteswap.h>
#include <ipxe/crypto.h>
#include <ipxe/hash_df.h>
diff --git a/src/crypto/hmac_drbg.c b/src/crypto/hmac_drbg.c
index efbd67dc0..9e70e4e6f 100644
--- a/src/crypto/hmac_drbg.c
+++ b/src/crypto/hmac_drbg.c
@@ -38,6 +38,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <string.h>
#include <errno.h>
+#include <assert.h>
#include <ipxe/crypto.h>
#include <ipxe/hmac.h>
#include <ipxe/hmac_drbg.h>