mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-30 11:21:25 +00:00
22 lines
644 B
C
22 lines
644 B
C
|
#ifndef SPX_SHA256_H
|
||
|
#define SPX_SHA256_H
|
||
|
|
||
|
#define SPX_SHA256_BLOCK_BYTES 64
|
||
|
#define SPX_SHA256_OUTPUT_BYTES 32 /* This does not necessarily equal SPX_N */
|
||
|
#define SPX_SHA256_ADDR_BYTES 22
|
||
|
|
||
|
#include <stddef.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
void PQCLEAN_SPHINCSSHA256256FSIMPLE_CLEAN_compress_address(unsigned char *out, const uint32_t addr[8]);
|
||
|
|
||
|
void PQCLEAN_SPHINCSSHA256256FSIMPLE_CLEAN_mgf1(
|
||
|
unsigned char *out, unsigned long outlen,
|
||
|
const unsigned char *in, unsigned long inlen);
|
||
|
|
||
|
uint8_t PQCLEAN_SPHINCSSHA256256FSIMPLE_CLEAN_state_seeded[40];
|
||
|
|
||
|
void PQCLEAN_SPHINCSSHA256256FSIMPLE_CLEAN_seed_state(const unsigned char *pub_seed);
|
||
|
|
||
|
#endif
|