-rw-r--r-- 478 libmceliece-20240812/crypto_kem/348864/avx/controlbits.h raw
/* This file is for implementing the Nassimi-Sahni algorithm */ /* See David Nassimi, Sartaj Sahni "Parallel algorithms to set up the Benes permutationnetwork" */ /* See also https://cr.yp.to/papers/controlbits-20200923.pdf */ #ifndef CONTROLBITS_H #define CONTROLBITS_H #define controlbitsfrompermutation CRYPTO_NAMESPACE(controlbitsfrompermutation) #include <inttypes.h> extern void controlbitsfrompermutation(unsigned char *,const int16_t *,long long,long long); #endif