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
31 lines
1.7 KiB
C
31 lines
1.7 KiB
C
#ifndef PQCLEAN_MCELIECE460896F_AVX2_crypto_int32_h
|
|
#define PQCLEAN_MCELIECE460896F_AVX2_crypto_int32_h
|
|
|
|
#include <inttypes.h>
|
|
typedef int32_t crypto_int32;
|
|
|
|
#include "namespace.h"
|
|
|
|
#define crypto_int32_negative_mask CRYPTO_NAMESPACE(crypto_int32_negative_mask)
|
|
crypto_int32 crypto_int32_negative_mask(crypto_int32 crypto_int32_x);
|
|
#define crypto_int32_nonzero_mask CRYPTO_NAMESPACE(crypto_int32_nonzero_mask)
|
|
crypto_int32 crypto_int32_nonzero_mask(crypto_int32 crypto_int32_x);
|
|
#define crypto_int32_zero_mask CRYPTO_NAMESPACE(crypto_int32_zero_mask)
|
|
crypto_int32 crypto_int32_zero_mask(crypto_int32 crypto_int32_x);
|
|
#define crypto_int32_positive_mask CRYPTO_NAMESPACE(crypto_int32_positive_mask)
|
|
crypto_int32 crypto_int32_positive_mask(crypto_int32 crypto_int32_x);
|
|
#define crypto_int32_unequal_mask CRYPTO_NAMESPACE(crypto_int32_unequal_mask)
|
|
crypto_int32 crypto_int32_unequal_mask(crypto_int32 crypto_int32_x, crypto_int32 crypto_int32_y);
|
|
#define crypto_int32_equal_mask CRYPTO_NAMESPACE(crypto_int32_equal_mask)
|
|
crypto_int32 crypto_int32_equal_mask(crypto_int32 crypto_int32_x, crypto_int32 crypto_int32_y);
|
|
#define crypto_int32_smaller_mask CRYPTO_NAMESPACE(crypto_int32_smaller_mask)
|
|
crypto_int32 crypto_int32_smaller_mask(crypto_int32 crypto_int32_x, crypto_int32 crypto_int32_y);
|
|
#define crypto_int32_min CRYPTO_NAMESPACE(crypto_int32_min)
|
|
crypto_int32 crypto_int32_min(crypto_int32 crypto_int32_x, crypto_int32 crypto_int32_y);
|
|
#define crypto_int32_max CRYPTO_NAMESPACE(crypto_int32_max)
|
|
crypto_int32 crypto_int32_max(crypto_int32 crypto_int32_x, crypto_int32 crypto_int32_y);
|
|
#define crypto_int32_minmax CRYPTO_NAMESPACE(crypto_int32_minmax)
|
|
void crypto_int32_minmax(crypto_int32 *crypto_int32_a, crypto_int32 *crypto_int32_b);
|
|
|
|
#endif
|