1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-30 03:11:43 +00:00
pqcrypto/crypto_kem/mceliece6960119f/vec/scalars_2x.inc
Thom Wiggers ac2c20045c 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
2021-03-24 21:02:45 +00:00

151 lines
2.7 KiB
PHP

{{
0X3C3CF30C0000C003,
0X0CCCC3F333C0000C,
0X03C33F33FCC0C03C,
0X0003000F3C03C0C0,
0XF33FF33030CF03F0,
0X0CF0303300F0CCC0,
0XFF3F0C0CC0FF3CC0,
0XCF3CF0FF003FC000,
0XC00FF3CF0303F300,
0X3CCC0CC00CF0CC00,
0XF30FFC3C3FCCFC00,
0X3F0FC3F0CCF0C000,
0X3000FF33CCF0F000
},
{
0X0C0F0FCF0F0CF330,
0XF0000FC33C3CCF3C,
0X3C0F3F00C3C300FC,
0X3C33CCC0F0F3CC30,
0XC0CFFFFFCCCC30CC,
0X3FC3F3CCFFFC033F,
0XFC3030CCCCC0CFCF,
0X0FCF0C00CCF333C3,
0XCFFCF33000CFF030,
0X00CFFCC330F30FCC,
0X3CCC3FCCC0F3FFF3,
0XF00F0C3FC003C0FF,
0X330CCFCC03C0FC33
}},
{{
0X0F0F0FF0F000000F,
0X00FFFFFFFF0000F0,
0XFFFF00FF00000F00,
0XFFF000F00F0FF000,
0XFFF0000F0FF000F0,
0X00FF000FFF000000,
0XFF0F0FFF0F0FF000,
0X0FFF0000000F0000,
0X00F000F0FFF00F00,
0X00F00FF00F00F000,
0XFFF000F000F00000,
0X00F00F000FF00000,
0X0000FF0F0000F000
},
{
0XF0FFFFFFF0F00F00,
0X00FFF0FFFF0000FF,
0X00FF00000F0F0FFF,
0XF000F0000F00FF0F,
0XFF000000FFF00000,
0XF0FF000FF00F0FF0,
0X0F0F0F00FF000F0F,
0X0F0F00F0F0F0F000,
0X00F00F00F00F000F,
0X00F0F0F00000FFF0,
0XFFFFFF0FF00F0FFF,
0X0F0FFFF00FFFFFFF,
0XFFFF0F0FFF0FFF00
}},
{{
0X00FF0000000000FF,
0XFFFFFFFFFF00FF00,
0XFF0000FF00FF0000,
0XFFFF000000FF0000,
0XFF00000000FF0000,
0X00FFFFFFFF000000,
0XFF0000FFFFFF0000,
0XFF00FF00FFFF0000,
0X00FFFFFFFF00FF00,
0XFFFF000000000000,
0X00FF0000FF000000,
0XFF00FF00FF000000,
0X00FF00FFFF000000
},
{
0X00FF00FF00FF0000,
0XFF00FFFF000000FF,
0X0000FFFF000000FF,
0X00FFFF00FF000000,
0XFFFFFF0000FF00FF,
0X0000FFFF00FFFF00,
0XFF00FF0000FFFF00,
0X00000000FFFFFFFF,
0X0000FF0000000000,
0XFF00FFFF00FFFF00,
0X00FFFF00000000FF,
0X0000FF00FF00FFFF,
0XFF0000FFFFFF0000
}},
{{
0X000000000000FFFF,
0XFFFFFFFFFFFF0000,
0X0000000000000000,
0XFFFF0000FFFF0000,
0XFFFFFFFFFFFF0000,
0X0000FFFF00000000,
0X0000FFFFFFFF0000,
0XFFFF0000FFFF0000,
0X0000FFFF00000000,
0XFFFF000000000000,
0XFFFF000000000000,
0XFFFF000000000000,
0XFFFFFFFF00000000
},
{
0X0000FFFF00000000,
0XFFFFFFFF0000FFFF,
0X00000000FFFFFFFF,
0X0000000000000000,
0X0000FFFF00000000,
0XFFFF0000FFFF0000,
0X0000FFFFFFFF0000,
0X0000FFFF0000FFFF,
0XFFFFFFFF0000FFFF,
0X00000000FFFF0000,
0XFFFF0000FFFFFFFF,
0XFFFF0000FFFFFFFF,
0X0000000000000000
}},
{{
0X00000000FFFFFFFF,
0X0000000000000000,
0XFFFFFFFF00000000,
0X0000000000000000,
0XFFFFFFFF00000000,
0XFFFFFFFF00000000,
0XFFFFFFFF00000000,
0X0000000000000000,
0XFFFFFFFF00000000,
0X0000000000000000,
0X0000000000000000,
0X0000000000000000,
0XFFFFFFFF00000000
},
{
0X0000000000000000,
0XFFFFFFFFFFFFFFFF,
0X0000000000000000,
0X0000000000000000,
0X00000000FFFFFFFF,
0XFFFFFFFF00000000,
0X0000000000000000,
0XFFFFFFFFFFFFFFFF,
0X00000000FFFFFFFF,
0XFFFFFFFF00000000,
0XFFFFFFFFFFFFFFFF,
0XFFFFFFFFFFFFFFFF,
0XFFFFFFFF00000000
}}