diff options
-rw-r--r-- | xmss_commons.c | 2 | ||||
-rw-r--r-- | xmss_commons.h | 2 | ||||
-rw-r--r-- | xmss_fast.c | 2 | ||||
-rw-r--r-- | xmss_hash.c | 2 | ||||
-rw-r--r-- | xmss_hash_address.c | 2 | ||||
-rw-r--r-- | xmss_hash_address.h | 2 | ||||
-rw-r--r-- | xmss_wots.c | 2 | ||||
-rw-r--r-- | xmss_wots.h | 2 |
8 files changed, 16 insertions, 0 deletions
diff --git a/xmss_commons.c b/xmss_commons.c index cf031f883..ff3ddb4ae 100644 --- a/xmss_commons.c +++ b/xmss_commons.c | |||
@@ -10,7 +10,9 @@ Public domain. | |||
10 | #include "xmss_commons.h" | 10 | #include "xmss_commons.h" |
11 | #include <stdlib.h> | 11 | #include <stdlib.h> |
12 | #include <stdio.h> | 12 | #include <stdio.h> |
13 | #ifdef HAVE_STDINT_H | ||
13 | #include <stdint.h> | 14 | #include <stdint.h> |
15 | #endif | ||
14 | 16 | ||
15 | void to_byte(unsigned char *out, unsigned long long in, uint32_t bytes) | 17 | void to_byte(unsigned char *out, unsigned long long in, uint32_t bytes) |
16 | { | 18 | { |
diff --git a/xmss_commons.h b/xmss_commons.h index 2cb7cc555..d9a920c02 100644 --- a/xmss_commons.h +++ b/xmss_commons.h | |||
@@ -8,7 +8,9 @@ Public domain. | |||
8 | #define XMSS_COMMONS_H | 8 | #define XMSS_COMMONS_H |
9 | 9 | ||
10 | #include <stdlib.h> | 10 | #include <stdlib.h> |
11 | #ifdef HAVE_STDINT_H | ||
11 | #include <stdint.h> | 12 | #include <stdint.h> |
13 | #endif | ||
12 | 14 | ||
13 | void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes); | 15 | void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes); |
14 | #if 0 | 16 | #if 0 |
diff --git a/xmss_fast.c b/xmss_fast.c index 6aff36a07..b918f135a 100644 --- a/xmss_fast.c +++ b/xmss_fast.c | |||
@@ -10,7 +10,9 @@ Public domain. | |||
10 | #include "xmss_fast.h" | 10 | #include "xmss_fast.h" |
11 | #include <stdlib.h> | 11 | #include <stdlib.h> |
12 | #include <string.h> | 12 | #include <string.h> |
13 | #ifdef HAVE_STDINT_H | ||
13 | #include <stdint.h> | 14 | #include <stdint.h> |
15 | #endif | ||
14 | 16 | ||
15 | #include "crypto_api.h" | 17 | #include "crypto_api.h" |
16 | #include "xmss_wots.h" | 18 | #include "xmss_wots.h" |
diff --git a/xmss_hash.c b/xmss_hash.c index 9c42c4f40..c4cac47fd 100644 --- a/xmss_hash.c +++ b/xmss_hash.c | |||
@@ -12,7 +12,9 @@ Public domain. | |||
12 | #include "xmss_hash.h" | 12 | #include "xmss_hash.h" |
13 | 13 | ||
14 | #include <stddef.h> | 14 | #include <stddef.h> |
15 | #ifdef HAVE_STDINT_H | ||
15 | #include <stdint.h> | 16 | #include <stdint.h> |
17 | #endif | ||
16 | #include <stdio.h> | 18 | #include <stdio.h> |
17 | #include <string.h> | 19 | #include <string.h> |
18 | #include <openssl/sha.h> | 20 | #include <openssl/sha.h> |
diff --git a/xmss_hash_address.c b/xmss_hash_address.c index 385868de7..0ff4fdb5a 100644 --- a/xmss_hash_address.c +++ b/xmss_hash_address.c | |||
@@ -6,7 +6,9 @@ Public domain. | |||
6 | */ | 6 | */ |
7 | #include "includes.h" | 7 | #include "includes.h" |
8 | 8 | ||
9 | #ifdef HAVE_STDINT_H | ||
9 | #include <stdint.h> | 10 | #include <stdint.h> |
11 | #endif | ||
10 | #include "xmss_hash_address.h" /* prototypes */ | 12 | #include "xmss_hash_address.h" /* prototypes */ |
11 | 13 | ||
12 | void setLayerADRS(uint32_t adrs[8], uint32_t layer){ | 14 | void setLayerADRS(uint32_t adrs[8], uint32_t layer){ |
diff --git a/xmss_hash_address.h b/xmss_hash_address.h index 73cbfd61c..2bf434080 100644 --- a/xmss_hash_address.h +++ b/xmss_hash_address.h | |||
@@ -5,7 +5,9 @@ Joost Rijneveld | |||
5 | Public domain. | 5 | Public domain. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #ifdef HAVE_STDINT_H | ||
8 | #include <stdint.h> | 9 | #include <stdint.h> |
10 | #endif | ||
9 | 11 | ||
10 | void setLayerADRS(uint32_t adrs[8], uint32_t layer); | 12 | void setLayerADRS(uint32_t adrs[8], uint32_t layer); |
11 | 13 | ||
diff --git a/xmss_wots.c b/xmss_wots.c index 4120acf17..9f1900fcb 100644 --- a/xmss_wots.c +++ b/xmss_wots.c | |||
@@ -8,7 +8,9 @@ Public domain. | |||
8 | #include "includes.h" | 8 | #include "includes.h" |
9 | 9 | ||
10 | #include <stdlib.h> | 10 | #include <stdlib.h> |
11 | #ifdef HAVE_STDINT_H | ||
11 | #include <stdint.h> | 12 | #include <stdint.h> |
13 | #endif | ||
12 | #include <limits.h> | 14 | #include <limits.h> |
13 | #include "xmss_commons.h" | 15 | #include "xmss_commons.h" |
14 | #include "xmss_hash.h" | 16 | #include "xmss_hash.h" |
diff --git a/xmss_wots.h b/xmss_wots.h index 495431087..8bcb44e04 100644 --- a/xmss_wots.h +++ b/xmss_wots.h | |||
@@ -8,7 +8,9 @@ Public domain. | |||
8 | #ifndef WOTS_H | 8 | #ifndef WOTS_H |
9 | #define WOTS_H | 9 | #define WOTS_H |
10 | 10 | ||
11 | #ifdef HAVE_STDINT_H | ||
11 | #include "stdint.h" | 12 | #include "stdint.h" |
13 | #endif | ||
12 | 14 | ||
13 | /** | 15 | /** |
14 | * WOTS parameter set | 16 | * WOTS parameter set |