74efb10807
* Names passed around (mostly constant) value more clearly * Put ``const`` where applicable (almost everywhere) * Renamed ``primitive.h`` * Fixed some nits
28 lines
897 B
C
28 lines
897 B
C
#ifndef SPX_THASH_H
|
|
#define SPX_THASH_H
|
|
|
|
#include <stdint.h>
|
|
#include "hash_state.h"
|
|
|
|
void PQCLEAN_SPHINCSSHA256192FROBUST_CLEAN_thash_1(
|
|
unsigned char *out, const unsigned char *in,
|
|
const unsigned char *pub_seed, uint32_t addr[8],
|
|
const hash_state *hash_state_seeded);
|
|
|
|
void PQCLEAN_SPHINCSSHA256192FROBUST_CLEAN_thash_2(
|
|
unsigned char *out, const unsigned char *in,
|
|
const unsigned char *pub_seed, uint32_t addr[8],
|
|
const hash_state *hash_state_seeded);
|
|
|
|
void PQCLEAN_SPHINCSSHA256192FROBUST_CLEAN_thash_WOTS_LEN(
|
|
unsigned char *out, const unsigned char *in,
|
|
const unsigned char *pub_seed, uint32_t addr[8],
|
|
const hash_state *hash_state_seeded);
|
|
|
|
void PQCLEAN_SPHINCSSHA256192FROBUST_CLEAN_thash_FORS_TREES(
|
|
unsigned char *out, const unsigned char *in,
|
|
const unsigned char *pub_seed, uint32_t addr[8],
|
|
const hash_state *hash_state_seeded);
|
|
|
|
#endif
|