Darren Tucker | a10d855 | 2018-02-27 14:45:17 +1100 | [diff] [blame] | 1 | #ifdef WITH_XMSS |
dtucker@openbsd.org | 27b9f39 | 2018-02-26 03:56:44 +0000 | [diff] [blame] | 2 | /* $OpenBSD: xmss_commons.h,v 1.3 2018/02/26 03:56:44 dtucker Exp $ */ |
markus@openbsd.org | 1b11ea7 | 2018-02-23 15:58:37 +0000 | [diff] [blame] | 3 | /* |
| 4 | xmss_commons.h 20160722 |
| 5 | Andreas Hülsing |
| 6 | Joost Rijneveld |
| 7 | Public domain. |
| 8 | */ |
| 9 | #ifndef XMSS_COMMONS_H |
| 10 | #define XMSS_COMMONS_H |
| 11 | |
| 12 | #include <stdlib.h> |
Darren Tucker | c7ef4a3 | 2018-02-26 17:42:56 +1100 | [diff] [blame] | 13 | #ifdef HAVE_STDINT_H |
markus@openbsd.org | 1b11ea7 | 2018-02-23 15:58:37 +0000 | [diff] [blame] | 14 | #include <stdint.h> |
Darren Tucker | c7ef4a3 | 2018-02-26 17:42:56 +1100 | [diff] [blame] | 15 | #endif |
dtucker@openbsd.org | afd8308 | 2018-02-26 03:03:05 +0000 | [diff] [blame] | 16 | #endif |
markus@openbsd.org | 1b11ea7 | 2018-02-23 15:58:37 +0000 | [diff] [blame] | 17 | void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes); |
Darren Tucker | 534b268 | 2018-02-26 14:51:59 +1100 | [diff] [blame] | 18 | #if 0 |
markus@openbsd.org | 1b11ea7 | 2018-02-23 15:58:37 +0000 | [diff] [blame] | 19 | void hexdump(const unsigned char *a, size_t len); |
Darren Tucker | 534b268 | 2018-02-26 14:51:59 +1100 | [diff] [blame] | 20 | #endif |
| 21 | #endif |
Darren Tucker | a10d855 | 2018-02-27 14:45:17 +1100 | [diff] [blame] | 22 | #endif /* WITH_XMSS */ |