mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-26 17:31:38 +00:00
facb527c7c
* Add state destroy to SHA2 API * Include optimized SPHINCS+ implementations I've generated new implementations from the sphincsplus repository. * Don't destroy sha256ctx after finalize * Attempt to shut up MSVC * Make sure to drop errors in rmtree
29 lines
966 B
C
29 lines
966 B
C
#ifndef PQCLEAN_SPHINCSHARAKA128SSIMPLE_AESNI_THASH_H
|
|
#define PQCLEAN_SPHINCSHARAKA128SSIMPLE_AESNI_THASH_H
|
|
|
|
#include "hash_state.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
void PQCLEAN_SPHINCSHARAKA128SSIMPLE_AESNI_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_SPHINCSHARAKA128SSIMPLE_AESNI_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_SPHINCSHARAKA128SSIMPLE_AESNI_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_SPHINCSHARAKA128SSIMPLE_AESNI_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
|