xmss_commons.h 450 B

12345678910111213141516171819202122
  1. #ifdef WITH_XMSS
  2. /* $OpenBSD: xmss_commons.h,v 1.3 2018/02/26 03:56:44 dtucker Exp $ */
  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. #include <stdlib.h>
  12. #ifdef HAVE_STDINT_H
  13. #include <stdint.h>
  14. #endif
  15. #endif
  16. void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes);
  17. #if 0
  18. void hexdump(const unsigned char *a, size_t len);
  19. #endif
  20. #endif /* WITH_XMSS */