pqc/crypto_kem/mceliece348864f/avx/scalars.inc
Thom Wiggers b3f9d4f8d6
Classic McEliece (#259)
* Add McEliece reference implementations

* Add Vec implementations of McEliece

* Add sse implementations

* Add AVX2 implementations

* Get rid of stuff not supported by Mac ABI

* restrict to two cores

* Ditch .data files

* Remove .hidden from all .S files

* speed up duplicate consistency tests by batching

* make cpuinfo more robust

* Hope to stabilize macos cpuinfo without ccache

* Revert "Hope to stabilize macos cpuinfo without ccache"

This reverts commit 6129c3cabe1abbc8b956bc87e902a698e32bf322.

* Just hardcode what's available at travis

* Fixed-size types in api.h

* namespace all header files in mceliece

* Ditch operations.h

* Get rid of static inline functions

* fixup! Ditch operations.h
2020-02-05 13:09:56 +01:00

71 рядки
1.3 KiB
PHP

{
0XF3CFC030FC30F003,
0X3FCF0F003C00C00C,
0X30033CC300C0C03C,
0XCCFF0F3C0F30F0C0,
0X0300C03FF303C3F0,
0X3FFF3C0FF0CCCCC0,
0XF3FFF0C00F3C3CC0,
0X3003333FFFC3C000,
0X0FF30FFFC3FFF300,
0XFFC0F300F0F0CC00,
0XC0CFF3FCCC3CFC00,
0XFC3C03F0F330C000,
},
{
0X000F00000000F00F,
0X00000F00F00000F0,
0X0F00000F00000F00,
0XF00F00F00F000000,
0X00F00000000000F0,
0X0000000F00000000,
0XF00000000F00F000,
0X00F00F00000F0000,
0X0000F00000F00F00,
0X000F00F00F00F000,
0X00F00F0000000000,
0X0000000000F00000,
},
{
0X0000FF00FF0000FF,
0X0000FF000000FF00,
0XFF0000FF00FF0000,
0XFFFF0000FF000000,
0X00FF00FF00FF0000,
0X0000FFFFFF000000,
0X00FFFF00FF000000,
0XFFFFFF0000FF0000,
0XFFFF00FFFF00FF00,
0X0000FF0000000000,
0XFFFFFF00FF000000,
0X00FF000000000000,
},
{
0X000000000000FFFF,
0X00000000FFFF0000,
0X0000000000000000,
0XFFFF000000000000,
0X00000000FFFF0000,
0X0000FFFF00000000,
0X0000000000000000,
0X00000000FFFF0000,
0X0000FFFF00000000,
0X0000000000000000,
0X0000000000000000,
0X0000000000000000,
},
{
0X00000000FFFFFFFF,
0XFFFFFFFF00000000,
0XFFFFFFFF00000000,
0X0000000000000000,
0X0000000000000000,
0XFFFFFFFF00000000,
0X0000000000000000,
0X0000000000000000,
0XFFFFFFFF00000000,
0X0000000000000000,
0X0000000000000000,
0X0000000000000000,
}