Wrap <stdint.h> in #ifdef HAVE_STDINT_H.
This commit is contained in:
parent
ac53ce46cf
commit
c7ef4a3991
|
@ -10,7 +10,9 @@ Public domain.
|
|||
#include "xmss_commons.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
void to_byte(unsigned char *out, unsigned long long in, uint32_t bytes)
|
||||
{
|
||||
|
|
|
@ -8,7 +8,9 @@ Public domain.
|
|||
#define XMSS_COMMONS_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes);
|
||||
#if 0
|
||||
|
|
|
@ -10,7 +10,9 @@ Public domain.
|
|||
#include "xmss_fast.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#include "crypto_api.h"
|
||||
#include "xmss_wots.h"
|
||||
|
|
|
@ -12,7 +12,9 @@ Public domain.
|
|||
#include "xmss_hash.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <openssl/sha.h>
|
||||
|
|
|
@ -6,7 +6,9 @@ Public domain.
|
|||
*/
|
||||
#include "includes.h"
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#include "xmss_hash_address.h" /* prototypes */
|
||||
|
||||
void setLayerADRS(uint32_t adrs[8], uint32_t layer){
|
||||
|
|
|
@ -5,7 +5,9 @@ Joost Rijneveld
|
|||
Public domain.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
void setLayerADRS(uint32_t adrs[8], uint32_t layer);
|
||||
|
||||
|
|
|
@ -8,7 +8,9 @@ Public domain.
|
|||
#include "includes.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#include <limits.h>
|
||||
#include "xmss_commons.h"
|
||||
#include "xmss_hash.h"
|
||||
|
|
|
@ -8,7 +8,9 @@ Public domain.
|
|||
#ifndef WOTS_H
|
||||
#define WOTS_H
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include "stdint.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* WOTS parameter set
|
||||
|
|
Loading…
Reference in New Issue