1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-23 07:59:01 +00:00
pqcrypto/crypto_kem/hqc-128-1-cca2/leaktime
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
..
api.h HQC submission (#202) 2021-03-24 21:02:46 +00:00
bch.c HQC submission (#202) 2021-03-24 21:02:46 +00:00
bch.h HQC submission (#202) 2021-03-24 21:02:46 +00:00
fft.c HQC submission (#202) 2021-03-24 21:02:46 +00:00
fft.h HQC submission (#202) 2021-03-24 21:02:46 +00:00
gf2x.c HQC submission (#202) 2021-03-24 21:02:46 +00:00
gf2x.h HQC submission (#202) 2021-03-24 21:02:46 +00:00
gf.c HQC submission (#202) 2021-03-24 21:02:46 +00:00
gf.h HQC submission (#202) 2021-03-24 21:02:46 +00:00
hqc.c HQC submission (#202) 2021-03-24 21:02:46 +00:00
hqc.h HQC submission (#202) 2021-03-24 21:02:46 +00:00
kem.c HQC submission (#202) 2021-03-24 21:02:46 +00:00
LICENSE HQC submission (#202) 2021-03-24 21:02:46 +00:00
Makefile HQC submission (#202) 2021-03-24 21:02:46 +00:00
Makefile.Microsoft_nmake HQC submission (#202) 2021-03-24 21:02:46 +00:00
parameters.h HQC submission (#202) 2021-03-24 21:02:46 +00:00
parsing.c HQC submission (#202) 2021-03-24 21:02:46 +00:00
parsing.h HQC submission (#202) 2021-03-24 21:02:46 +00:00
repetition.c HQC submission (#202) 2021-03-24 21:02:46 +00:00
repetition.h HQC submission (#202) 2021-03-24 21:02:46 +00:00
tensor.c HQC submission (#202) 2021-03-24 21:02:46 +00:00
tensor.h HQC submission (#202) 2021-03-24 21:02:46 +00:00
util.c HQC submission (#202) 2021-03-24 21:02:46 +00:00
util.h HQC submission (#202) 2021-03-24 21:02:46 +00:00
vector.c HQC submission (#202) 2021-03-24 21:02:46 +00:00
vector.h HQC submission (#202) 2021-03-24 21:02:46 +00:00