pqc/crypto_kem
Sebastian 33232a0343
HQC submission (#202)
* Sebastian's HQC merge request

* Clean up changes to common infrastructure

* Fix Bitmask macro

It assumed that ``unsigned long`` was 64 bit

* Remove maxlen from nistseedexpander

It's a complicated thing to handle because the value is larger than size_t supports on 32-bit platforms

* Initialize buffers to help linter

* Add Nistseedexpander test

* Resolve UB in gf2x.c

Some of the shifts could be larger than WORD_SIZE_BITS, ie. larger than
the width of uint64_t. This apparently on Intel gets interpreted as the
shift mod 64, but on ARM something else happened.

* Fix Windows complaints

* rename log, exp which appear to be existing functions on MS

* Solve endianness problems

* remove all spaces before ';'

* Fix duplicate consistency

* Fix duplicate consistency

* Fix complaints by MSVC about narrowing int

* Add nistseedexpander.obj to COMMON_OBJECTS_NOPATH

* astyle format util.[ch]

* add util.h to makefile

* Sort includes in util.h

* Fix more Windows MSVC complaints

Co-authored-by: Sebastian Verschoor <sebastian@zeroknowledge.me>
Co-authored-by: Thom Wiggers <thom@thomwiggers.nl>
2020-04-01 13:57:21 +08:00
..
babybear Put all common primitives on the heap (#266) 2020-02-11 11:15:14 +01:00
babybear-ephem Put all common primitives on the heap (#266) 2020-02-11 11:15:14 +01:00
firesaber Clean up SABER 2020-03-13 13:00:57 -04:00
frodokem640aes fixup! Fix uint8_t to uint16_t upcast in Frodo 2020-03-13 16:30:01 -04:00
frodokem640shake fixup! Fix uint8_t to uint16_t upcast in Frodo 2020-03-13 16:30:01 -04:00
frodokem976aes fixup! Fix uint8_t to uint16_t upcast in Frodo 2020-03-13 16:30:01 -04:00
frodokem976shake fixup! Fix uint8_t to uint16_t upcast in Frodo 2020-03-13 16:30:01 -04:00
frodokem1344aes fixup! Fix uint8_t to uint16_t upcast in Frodo 2020-03-13 16:30:01 -04:00
frodokem1344shake fixup! Fix uint8_t to uint16_t upcast in Frodo 2020-03-13 16:30:01 -04:00
hqc-128-1-cca2 HQC submission (#202) 2020-04-01 13:57:21 +08:00
hqc-192-1-cca2 HQC submission (#202) 2020-04-01 13:57:21 +08:00
hqc-192-2-cca2 HQC submission (#202) 2020-04-01 13:57:21 +08:00
hqc-256-1-cca2 HQC submission (#202) 2020-04-01 13:57:21 +08:00
hqc-256-2-cca2 HQC submission (#202) 2020-04-01 13:57:21 +08:00
hqc-256-3-cca2 HQC submission (#202) 2020-04-01 13:57:21 +08:00
kyber512 Fix reduce.c's overflowing multiplication 2020-03-09 17:57:43 -04:00
kyber512-90s Fix reduce.c's overflowing multiplication 2020-03-09 17:57:43 -04:00
kyber768 Fix reduce.c's overflowing multiplication 2020-03-09 17:57:43 -04:00
kyber768-90s Fix reduce.c's overflowing multiplication 2020-03-09 17:57:43 -04:00
kyber1024 Fix reduce.c's overflowing multiplication 2020-03-09 17:57:43 -04:00
kyber1024-90s Fix reduce.c's overflowing multiplication 2020-03-09 17:57:43 -04:00
ledakemlt12 Fix duplicate consistency 2020-03-03 10:15:57 -05:00
ledakemlt32 Fix memory leaks in LEDAkem 2020-03-03 10:15:56 -05:00
ledakemlt52 Fix memory leaks in LEDAkem 2020-03-03 10:15:56 -05:00
lightsaber Clean up SABER 2020-03-13 13:00:57 -04:00
mamabear Put all common primitives on the heap (#266) 2020-02-11 11:15:14 +01:00
mamabear-ephem Put all common primitives on the heap (#266) 2020-02-11 11:15:14 +01:00
mceliece348864 Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2020-02-07 11:13:59 +01:00
mceliece348864f Fix too-large shift in mceliece*f 2020-03-13 13:27:02 -04:00
mceliece460896 Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2020-02-07 11:13:59 +01:00
mceliece460896f Fix too-large shift in mceliece*f 2020-03-13 13:27:02 -04:00
mceliece6688128 Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2020-02-07 11:13:59 +01:00
mceliece6688128f Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2020-02-07 11:13:59 +01:00
mceliece6960119 Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2020-02-07 11:13:59 +01:00
mceliece6960119f Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2020-02-07 11:13:59 +01:00
mceliece8192128 Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2020-02-07 11:13:59 +01:00
mceliece8192128f Fix McEliece8192128f makefile 2020-02-11 09:17:55 +01:00
newhope512cca fix MSVS warning 2020-03-09 15:45:20 -04:00
newhope512cpa fix MSVS warning 2020-03-09 15:45:20 -04:00
newhope1024cca fix MSVS warning 2020-03-09 15:45:20 -04:00
newhope1024cpa fix MSVS warning 2020-03-09 15:45:20 -04:00
ntruhps2048509 Enable optimizers on Windows (#244) 2019-10-21 14:23:59 +02:00
ntruhps2048677 Enable optimizers on Windows (#244) 2019-10-21 14:23:59 +02:00
ntruhps4096821 Enable optimizers on Windows (#244) 2019-10-21 14:23:59 +02:00
ntruhrss701 Fix overflowing mults in NTRUHRSS701 2020-03-09 18:02:44 -04:00
papabear Put all common primitives on the heap (#266) 2020-02-11 11:15:14 +01:00
papabear-ephem Put all common primitives on the heap (#266) 2020-02-11 11:15:14 +01:00
saber Clean up SABER 2020-03-13 13:00:57 -04:00