2018-02-27 11:45:17 +08:00
|
|
|
#ifdef WITH_XMSS
|
2018-02-26 11:56:44 +08:00
|
|
|
/* $OpenBSD: xmss_commons.h,v 1.3 2018/02/26 03:56:44 dtucker Exp $ */
|
2018-02-23 23:58:37 +08:00
|
|
|
/*
|
|
|
|
xmss_commons.h 20160722
|
|
|
|
Andreas Hülsing
|
|
|
|
Joost Rijneveld
|
|
|
|
Public domain.
|
|
|
|
*/
|
|
|
|
#ifndef XMSS_COMMONS_H
|
|
|
|
#define XMSS_COMMONS_H
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
2018-02-26 14:42:56 +08:00
|
|
|
#ifdef HAVE_STDINT_H
|
2018-02-23 23:58:37 +08:00
|
|
|
#include <stdint.h>
|
2018-02-26 14:42:56 +08:00
|
|
|
#endif
|
2018-02-26 11:03:05 +08:00
|
|
|
#endif
|
2018-02-23 23:58:37 +08:00
|
|
|
void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes);
|
2018-02-26 11:51:59 +08:00
|
|
|
#if 0
|
2018-02-23 23:58:37 +08:00
|
|
|
void hexdump(const unsigned char *a, size_t len);
|
2018-02-26 11:51:59 +08:00
|
|
|
#endif
|
2018-02-27 11:45:17 +08:00
|
|
|
#endif /* WITH_XMSS */
|