1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 17:31:38 +00:00
pqcrypto/crypto_sign/sphincs-sha256-256s-simple/avx2/hashx8.h
Thom Wiggers facb527c7c SPHINCS+ optimized implementations (#253)
* 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
2021-03-24 21:02:45 +00:00

20 lines
509 B
C

#ifndef PQCLEAN_SPHINCSSHA256256SSIMPLE_AVX2_HASHX8_H
#define PQCLEAN_SPHINCSSHA256256SSIMPLE_AVX2_HASHX8_H
#include <stdint.h>
#include "params.h"
void PQCLEAN_SPHINCSSHA256256SSIMPLE_AVX2_prf_addrx8(unsigned char *out0,
unsigned char *out1,
unsigned char *out2,
unsigned char *out3,
unsigned char *out4,
unsigned char *out5,
unsigned char *out6,
unsigned char *out7,
const unsigned char *key,
const uint32_t addrx8[8 * 8]);
#endif