pqc/crypto_kem
Sebastian 4054af0c42 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>
2021-03-24 21:02:46 +00:00
..
babybear Put all common primitives on the heap (#266) 2021-03-24 21:02:45 +00:00
babybear-ephem Put all common primitives on the heap (#266) 2021-03-24 21:02:45 +00:00
firesaber Clean up SABER 2021-03-24 21:02:46 +00:00
frodokem640aes fixup! Fix uint8_t to uint16_t upcast in Frodo 2021-03-24 21:02:46 +00:00
frodokem640shake fixup! Fix uint8_t to uint16_t upcast in Frodo 2021-03-24 21:02:46 +00:00
frodokem976aes fixup! Fix uint8_t to uint16_t upcast in Frodo 2021-03-24 21:02:46 +00:00
frodokem976shake fixup! Fix uint8_t to uint16_t upcast in Frodo 2021-03-24 21:02:46 +00:00
frodokem1344aes fixup! Fix uint8_t to uint16_t upcast in Frodo 2021-03-24 21:02:46 +00:00
frodokem1344shake fixup! Fix uint8_t to uint16_t upcast in Frodo 2021-03-24 21:02:46 +00:00
hqc-128-1-cca2 HQC submission (#202) 2021-03-24 21:02:46 +00:00
hqc-192-1-cca2 HQC submission (#202) 2021-03-24 21:02:46 +00:00
hqc-192-2-cca2 HQC submission (#202) 2021-03-24 21:02:46 +00:00
hqc-256-1-cca2 HQC submission (#202) 2021-03-24 21:02:46 +00:00
hqc-256-2-cca2 HQC submission (#202) 2021-03-24 21:02:46 +00:00
hqc-256-3-cca2 HQC submission (#202) 2021-03-24 21:02:46 +00:00
kyber512 Fix reduce.c's overflowing multiplication 2021-03-24 21:02:46 +00:00
kyber512-90s Fix reduce.c's overflowing multiplication 2021-03-24 21:02:46 +00:00
kyber768 Fix reduce.c's overflowing multiplication 2021-03-24 21:02:46 +00:00
kyber768-90s Fix reduce.c's overflowing multiplication 2021-03-24 21:02:46 +00:00
kyber1024 Fix reduce.c's overflowing multiplication 2021-03-24 21:02:46 +00:00
kyber1024-90s Fix reduce.c's overflowing multiplication 2021-03-24 21:02:46 +00:00
ledakemlt12 Fix duplicate consistency 2021-03-24 21:02:46 +00:00
ledakemlt32 Fix memory leaks in LEDAkem 2021-03-24 21:02:46 +00:00
ledakemlt52 Fix memory leaks in LEDAkem 2021-03-24 21:02:46 +00:00
lightsaber Clean up SABER 2021-03-24 21:02:46 +00:00
mamabear Put all common primitives on the heap (#266) 2021-03-24 21:02:45 +00:00
mamabear-ephem Put all common primitives on the heap (#266) 2021-03-24 21:02:45 +00:00
mceliece348864 Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2021-03-24 21:02:45 +00:00
mceliece348864f Fix too-large shift in mceliece*f 2021-03-24 21:02:46 +00:00
mceliece460896 Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2021-03-24 21:02:45 +00:00
mceliece460896f Fix too-large shift in mceliece*f 2021-03-24 21:02:46 +00:00
mceliece6688128 Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2021-03-24 21:02:45 +00:00
mceliece6688128f Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2021-03-24 21:02:45 +00:00
mceliece6960119 Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2021-03-24 21:02:45 +00:00
mceliece6960119f Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2021-03-24 21:02:45 +00:00
mceliece8192128 Fix alignment problems with vectors in McEliece AVX2 and fix McEliece 8192128f (#267) 2021-03-24 21:02:45 +00:00
mceliece8192128f Fix McEliece8192128f makefile 2021-03-24 21:02:45 +00:00
newhope512cca fix MSVS warning 2021-03-24 21:02:46 +00:00
newhope512cpa fix MSVS warning 2021-03-24 21:02:46 +00:00
newhope1024cca fix MSVS warning 2021-03-24 21:02:46 +00:00
newhope1024cpa fix MSVS warning 2021-03-24 21:02:46 +00: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 2021-03-24 21:02:46 +00:00
papabear Put all common primitives on the heap (#266) 2021-03-24 21:02:45 +00:00
papabear-ephem Put all common primitives on the heap (#266) 2021-03-24 21:02:45 +00:00
saber Clean up SABER 2021-03-24 21:02:46 +00:00