2019-04-16 14:15:03 +01:00
|
|
|
#ifndef SPX_THASH_H
|
|
|
|
#define SPX_THASH_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
2019-07-17 07:37:14 +01:00
|
|
|
#include "hash_state.h"
|
2019-04-16 14:15:03 +01:00
|
|
|
|
|
|
|
void PQCLEAN_SPHINCSSHAKE256128FROBUST_CLEAN_thash_1(
|
|
|
|
unsigned char *out, const unsigned char *in,
|
2019-06-21 13:34:36 +01:00
|
|
|
const unsigned char *pub_seed, uint32_t addr[8],
|
2019-07-17 07:37:14 +01:00
|
|
|
const hash_state *hash_state_seeded);
|
2019-04-16 14:15:03 +01:00
|
|
|
|
|
|
|
void PQCLEAN_SPHINCSSHAKE256128FROBUST_CLEAN_thash_2(
|
|
|
|
unsigned char *out, const unsigned char *in,
|
2019-06-21 13:34:36 +01:00
|
|
|
const unsigned char *pub_seed, uint32_t addr[8],
|
2019-07-17 07:37:14 +01:00
|
|
|
const hash_state *hash_state_seeded);
|
2019-04-16 14:15:03 +01:00
|
|
|
|
|
|
|
void PQCLEAN_SPHINCSSHAKE256128FROBUST_CLEAN_thash_WOTS_LEN(
|
|
|
|
unsigned char *out, const unsigned char *in,
|
2019-06-21 13:34:36 +01:00
|
|
|
const unsigned char *pub_seed, uint32_t addr[8],
|
2019-07-17 07:37:14 +01:00
|
|
|
const hash_state *hash_state_seeded);
|
2019-04-16 14:15:03 +01:00
|
|
|
|
|
|
|
void PQCLEAN_SPHINCSSHAKE256128FROBUST_CLEAN_thash_FORS_TREES(
|
|
|
|
unsigned char *out, const unsigned char *in,
|
2019-06-21 13:34:36 +01:00
|
|
|
const unsigned char *pub_seed, uint32_t addr[8],
|
2019-07-17 07:37:14 +01:00
|
|
|
const hash_state *hash_state_seeded);
|
2019-04-16 14:15:03 +01:00
|
|
|
|
|
|
|
#endif
|