Browse Source

[rng] Add missing #include <string.h>

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
a99d5d5aca
5 changed files with 5 additions and 0 deletions
  1. 1
    0
      src/crypto/drbg.c
  2. 1
    0
      src/crypto/hash_df.c
  3. 1
    0
      src/crypto/hmac_drbg.c
  4. 1
    0
      src/tests/hash_df_test.c
  5. 1
    0
      src/tests/hmac_drbg_test.c

+ 1
- 0
src/crypto/drbg.c View File

@@ -36,6 +36,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
36 36
  */
37 37
 
38 38
 #include <stdint.h>
39
+#include <string.h>
39 40
 #include <errno.h>
40 41
 #include <assert.h>
41 42
 #include <ipxe/entropy.h>

+ 1
- 0
src/crypto/hash_df.c View File

@@ -36,6 +36,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
36 36
  */
37 37
 
38 38
 #include <stdint.h>
39
+#include <string.h>
39 40
 #include <byteswap.h>
40 41
 #include <ipxe/crypto.h>
41 42
 #include <ipxe/hash_df.h>

+ 1
- 0
src/crypto/hmac_drbg.c View File

@@ -36,6 +36,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
36 36
  */
37 37
 
38 38
 #include <stdint.h>
39
+#include <string.h>
39 40
 #include <errno.h>
40 41
 #include <ipxe/crypto.h>
41 42
 #include <ipxe/hmac.h>

+ 1
- 0
src/tests/hash_df_test.c View File

@@ -33,6 +33,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
33 33
 #undef NDEBUG
34 34
 
35 35
 #include <assert.h>
36
+#include <string.h>
36 37
 #include <ipxe/hash_df.h>
37 38
 #include <ipxe/test.h>
38 39
 

+ 1
- 0
src/tests/hmac_drbg_test.c View File

@@ -33,6 +33,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
33 33
 #undef NDEBUG
34 34
 
35 35
 #include <assert.h>
36
+#include <string.h>
36 37
 #include <ipxe/hmac_drbg.h>
37 38
 #include <ipxe/test.h>
38 39
 

Loading…
Cancel
Save