| 1 |
/* This file is for implementing the Nassimi-Sahni algorithm */ |
| 2 |
/* See David Nassimi, Sartaj Sahni "Parallel algorithms to set up the Benes permutationnetwork" */ |
| 3 |
/* See also https://cr.yp.to/papers/controlbits-20200923.pdf */ |
| 4 |
|
| 5 |
#ifndef CONTROLBITS_H |
| 6 |
#define CONTROLBITS_H |
| 7 |
|
| 8 |
#define controlbitsfrompermutation CRYPTO_NAMESPACE(controlbitsfrompermutation) |
| 9 |
|
| 10 |
#include <inttypes.h> |
| 11 |
|
| 12 |
extern void controlbitsfrompermutation(unsigned char *,const int16_t *,long long,long long); |
| 13 |
|
| 14 |
#endif |