diff options
Diffstat (limited to 'utils/imxtools/sbtools/misc.h')
-rw-r--r-- | utils/imxtools/sbtools/misc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/imxtools/sbtools/misc.h b/utils/imxtools/sbtools/misc.h index 5c6b2fc007..65386a728f 100644 --- a/utils/imxtools/sbtools/misc.h +++ b/utils/imxtools/sbtools/misc.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #define __MISC_H__ | 22 | #define __MISC_H__ |
23 | 23 | ||
24 | #include <stdbool.h> | 24 | #include <stdbool.h> |
25 | #include <stdint.h> | ||
25 | #include "crypto.h" | 26 | #include "crypto.h" |
26 | 27 | ||
27 | #define _STR(a) #a | 28 | #define _STR(a) #a |
@@ -53,8 +54,8 @@ void augment_array_ex(void **arr, size_t elem_sz, int *cnt, int *capacity, | |||
53 | void *aug, int aug_cnt); | 54 | void *aug, int aug_cnt); |
54 | void generate_random_data(void *buf, size_t sz); | 55 | void generate_random_data(void *buf, size_t sz); |
55 | void *xmalloc(size_t s); | 56 | void *xmalloc(size_t s); |
56 | int convxdigit(char digit, byte *val); | 57 | int convxdigit(char digit, uint8_t *val); |
57 | void print_hex(void *user, misc_printf_t printf, byte *data, int len, bool newline); | 58 | void print_hex(void *user, misc_printf_t printf, uint8_t *data, int len, bool newline); |
58 | void add_keys(key_array_t ka, int kac); | 59 | void add_keys(key_array_t ka, int kac); |
59 | bool parse_key(char **str, struct crypto_key_t *key); | 60 | bool parse_key(char **str, struct crypto_key_t *key); |
60 | bool add_keys_from_file(const char *key_file); | 61 | bool add_keys_from_file(const char *key_file); |