summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmss_commons.c2
-rw-r--r--xmss_commons.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/xmss_commons.c b/xmss_commons.c
index 0752f29b2..cf031f883 100644
--- a/xmss_commons.c
+++ b/xmss_commons.c
@@ -21,9 +21,11 @@ void to_byte(unsigned char *out, unsigned long long in, uint32_t bytes)
21 } 21 }
22} 22}
23 23
24#if 0
24void hexdump(const unsigned char *a, size_t len) 25void hexdump(const unsigned char *a, size_t len)
25{ 26{
26 size_t i; 27 size_t i;
27 for (i = 0; i < len; i++) 28 for (i = 0; i < len; i++)
28 printf("%02x", a[i]); 29 printf("%02x", a[i]);
29} 30}
31#endif
diff --git a/xmss_commons.h b/xmss_commons.h
index 32fd4e2dc..2cb7cc555 100644
--- a/xmss_commons.h
+++ b/xmss_commons.h
@@ -11,5 +11,7 @@ Public domain.
11#include <stdint.h> 11#include <stdint.h>
12 12
13void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes); 13void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes);
14#if 0
14void hexdump(const unsigned char *a, size_t len); 15void hexdump(const unsigned char *a, size_t len);
15#endif \ No newline at end of file 16#endif
17#endif