1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-30 03:11:43 +00:00
pqcrypto/crypto_sign/sphincs-shake256-128s-simple/avx2/fips202x4.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

28 lines
834 B
C

#ifndef PQCLEAN_SPHINCSSHAKE256128SSIMPLE_AVX2_FIPS202X4_H
#define PQCLEAN_SPHINCSSHAKE256128SSIMPLE_AVX2_FIPS202X4_H
#include <immintrin.h>
void PQCLEAN_SPHINCSSHAKE256128SSIMPLE_AVX2_shake128x4(unsigned char *out0,
unsigned char *out1,
unsigned char *out2,
unsigned char *out3,
unsigned long long outlen,
unsigned char *in0,
unsigned char *in1,
unsigned char *in2,
unsigned char *in3, unsigned long long inlen);
void PQCLEAN_SPHINCSSHAKE256128SSIMPLE_AVX2_shake256x4(unsigned char *out0,
unsigned char *out1,
unsigned char *out2,
unsigned char *out3,
unsigned long long outlen,
unsigned char *in0,
unsigned char *in1,
unsigned char *in2,
unsigned char *in3,
unsigned long long inlen);
#endif