2018-02-27 04:45:17 +01:00
|
|
|
#ifdef WITH_XMSS
|
2018-02-26 04:56:44 +01:00
|
|
|
/* $OpenBSD: xmss_commons.h,v 1.3 2018/02/26 03:56:44 dtucker Exp $ */
|
2018-02-23 16:58:37 +01: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 07:42:56 +01:00
|
|
|
#ifdef HAVE_STDINT_H
|
2018-02-23 16:58:37 +01:00
|
|
|
#include <stdint.h>
|
2018-02-26 07:42:56 +01:00
|
|
|
#endif
|
2018-02-26 04:03:05 +01:00
|
|
|
#endif
|
2018-02-23 16:58:37 +01:00
|
|
|
void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes);
|
2018-02-26 04:51:59 +01:00
|
|
|
#if 0
|
2018-02-23 16:58:37 +01:00
|
|
|
void hexdump(const unsigned char *a, size_t len);
|
2018-02-26 04:51:59 +01:00
|
|
|
#endif
|
2018-02-27 04:45:17 +01:00
|
|
|
#endif /* WITH_XMSS */
|