a655ec8a9d
* 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
17 lines
440 B
C
17 lines
440 B
C
#ifndef PQCLEAN_SPHINCSHARAKA256SSIMPLE_AESNI_HASHX4_H
|
|
#define PQCLEAN_SPHINCSHARAKA256SSIMPLE_AESNI_HASHX4_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "hash_state.h"
|
|
|
|
void PQCLEAN_SPHINCSHARAKA256SSIMPLE_AESNI_prf_addrx4(unsigned char *out0,
|
|
unsigned char *out1,
|
|
unsigned char *out2,
|
|
unsigned char *out3,
|
|
const unsigned char *key,
|
|
const uint32_t addrx4[4 * 8],
|
|
const hash_state *state_seeded);
|
|
|
|
#endif
|