mirror of
https://github.com/luxfi/pqclean.git
synced 2026-11-03 09:57:54 +00:00
* Update Classic McEliece This updates classic mceliece to the SUPERCOP-20221025 version. I'm generating this version from the SUPERCOP source code, and apply patches that are listed in the repository. The repository where this codes is coming from can be found at https://github.com/thomwiggers/mceliece-clean. * Fix linting warning in controlbits * MacOS compatibility fixes * Fix more MacOS conflicts * Fix strict prototypes problem
32 lines
1.7 KiB
C
32 lines
1.7 KiB
C
#ifndef PQCLEAN_MCELIECE6688128F_AVX2_crypto_int16_h
|
|
#define PQCLEAN_MCELIECE6688128F_AVX2_crypto_int16_h
|
|
|
|
#include <inttypes.h>
|
|
|
|
#include "namespace.h"
|
|
|
|
typedef int16_t crypto_int16;
|
|
|
|
#define crypto_int16_negative_mask CRYPTO_NAMESPACE(crypto_int16_negative_mask)
|
|
crypto_int16 crypto_int16_negative_mask(crypto_int16 crypto_int16_x);
|
|
#define crypto_int16_nonzero_mask CRYPTO_NAMESPACE(crypto_int16_nonzero_mask)
|
|
crypto_int16 crypto_int16_nonzero_mask(crypto_int16 crypto_int16_x);
|
|
#define crypto_int16_zero_mask CRYPTO_NAMESPACE(crypto_int16_zero_mask)
|
|
crypto_int16 crypto_int16_zero_mask(crypto_int16 crypto_int16_x);
|
|
#define crypto_int16_positive_mask CRYPTO_NAMESPACE(crypto_int16_positive_mask)
|
|
crypto_int16 crypto_int16_positive_mask(crypto_int16 crypto_int16_x);
|
|
#define crypto_int16_unequal_mask CRYPTO_NAMESPACE(crypto_int16_unequal_mask)
|
|
crypto_int16 crypto_int16_unequal_mask(crypto_int16 crypto_int16_x, crypto_int16 crypto_int16_y);
|
|
#define crypto_int16_equal_mask CRYPTO_NAMESPACE(crypto_int16_equal_mask)
|
|
crypto_int16 crypto_int16_equal_mask(crypto_int16 crypto_int16_x, crypto_int16 crypto_int16_y);
|
|
#define crypto_int16_smaller_mask CRYPTO_NAMESPACE(crypto_int16_smaller_mask)
|
|
crypto_int16 crypto_int16_smaller_mask(crypto_int16 crypto_int16_x, crypto_int16 crypto_int16_y);
|
|
#define crypto_int16_min CRYPTO_NAMESPACE(crypto_int16_min)
|
|
crypto_int16 crypto_int16_min(crypto_int16 crypto_int16_x, crypto_int16 crypto_int16_y);
|
|
#define crypto_int16_max CRYPTO_NAMESPACE(crypto_int16_max)
|
|
crypto_int16 crypto_int16_max(crypto_int16 crypto_int16_x, crypto_int16 crypto_int16_y);
|
|
#define crypto_int16_minmax CRYPTO_NAMESPACE(crypto_int16_minmax)
|
|
void crypto_int16_minmax(crypto_int16 *crypto_int16_a, crypto_int16 *crypto_int16_b);
|
|
|
|
#endif
|