Henry Case
188e672764
use aes_ctr_drbg crate
pirms 3 gadiem
Henry Case
de8d3ba43e
fix KEM
pirms 3 gadiem
Henry Case
95cc52f554
Run KAT in parallel 4 threads
pirms 3 gadiem
Henry Case
0b72f78582
Adds DRBG based on AES
In order to enable all KAT tests, the AES based
DRBG is need (for seed expansion). This PR adds
port of DRBG, initialy written by NIST.
Afterwards, the katrunner is modified to enable
key generation, encapsulation and signing KATs.
Testing of NTRU prime is disabled, as it doesn't
pass KAT tests now. The tests for SPHINCS+ are
now very slow.
pirms 3 gadiem
Henry Case
fddd697fc4
adds HQC-RMS-128/192/256
pirms 3 gadiem
Henry Case
2a4b051819
kat: add KEM schemes
pirms 3 gadiem
Henry Case
b24f31c7bd
adds kat tests for sphincs
pirms 3 gadiem
Henry Case
ec4f21b2de
WIP
pirms 3 gadiem
Henry Case
a8bb139ea6
Fix testing against KATs
pirms 3 gadiem
Henry Case
7023b7f0ff
fix some deteails in tests
pirms 3 gadiem
Henry Case
5cf635a26b
change name of the librarry
pirms 3 gadiem
Henry Case
58dabbafef
add first version of katrunner
pirms 3 gadiem
Henry Case
f02248d478
pqapi.h -> pqc.h
pirms 3 gadiem
Henry Case
b36a5ff8da
adds support for most of the schemes
pirms 3 gadiem
Henry Case
dbea135685
KEM and Sign C-API
pirms 3 gadiem
Henry Case
09db976f4c
Adds method registration
pirms 3 gadiem
Henry Case
badd0c81a6
adds C-API
pirms 3 gadiem
Henry Case
9d3e07e8d8
Use CMake
pirms 3 gadiem
Henry Case
0450bc3215
remove all Makefiles
pirms 3 gadiem
John Schanck
32c613e8ec
Round 3 update for Dilithium (from github source) ( #369 )
* Update Dilithium
* Alternative montgomery reduce to avoid i386 functest errors
* Explicit casts for msvc
* More casts; bump upstream version; fix metadata
* another cast
pirms 3 gadiem
Thom Wiggers
87c40ab558
Disable SPHINCS+ test taking too much RAM in ASAN
pirms 4 gadiem
Thom Wiggers
578a9d66ce
Disable asan if clang is mentioned in CC (like in 'ccache clang')
pirms 4 gadiem
Thom Wiggers
f5b1c258c4
Disable skipping slow tests
pirms 4 gadiem
John M. Schanck
acbb632daf
Use PQClean AES
pirms 4 gadiem
John M. Schanck
127e9ec326
Round 3 Kyber
pirms 4 gadiem
John M. Schanck
60111b36b2
Prepare for round 3 update with packaging script
pirms 4 gadiem
Thom Wiggers
c0f56ccdc2
Update Kyber from upstream
Makes Kyber-AVX run on MacOS (#251 )
pirms 4 gadiem
Matthias J. Kannwischer
7aef8a6f80
Update Rainbow to round 3 parameter sets ( #361 )
* rainbow update
* update workflows
* re-add /O2 in nmake Makefile
pirms 4 gadiem
John M. Schanck
4406f00784
simplify pack_unpack.c
pirms 4 gadiem
John M. Schanck
df9f4a17a4
Clean up AVX2 code
pirms 4 gadiem
John M. Schanck
39c00e8c47
Update Saber and add AVX2 implementation
pirms 4 gadiem
John M. Schanck
de8665bff2
duplicate_consistency: strip spaces before comparison
pirms 4 gadiem
John M. Schanck
79623b0765
Add AVX2 Falcon
pirms 4 gadiem
John M. Schanck
1113fdce69
HQC: remove bitmask macro
pirms 4 gadiem
John M. Schanck
a96df80f89
HQC: update from upstream
pirms 4 gadiem
Thom Wiggers
351d17ae70
Implement testing via Github actions
* Fix a bunch of issues in SPHINCS+ on Windows
* Fix testing makefile dependencies by fixing times of common files
(affected Windows testing mainly)
pirms 4 gadiem
Thom Wiggers
7bc63d020b
Fix test_symbol_namespace
pirms 4 gadiem
John M. Schanck
fdd73d893c
inspect initializations
pirms 4 gadiem
John M. Schanck
331733e9e0
Add test/test_boolean.py
pirms 4 gadiem
John M. Schanck
629b89ba73
readability changes
pirms 4 gadiem
John M. Schanck
d1a4fa5e68
uint8_t api for encode/decode in optimized rmrs
pirms 4 gadiem
John M. Schanck
26e0aea3e2
more endianness fixes
pirms 4 gadiem
John M. Schanck
646f9f4a05
satisfy MS compiler
pirms 4 gadiem
John M. Schanck
eb120a6b24
narrowing warnings
pirms 4 gadiem
John M. Schanck
bf7bd3650b
Rename log and exp to gf_log and gf_exp
pirms 4 gadiem
John M. Schanck
a3c627fe6b
Some MS compiler fixes
pirms 4 gadiem
John M. Schanck
9d35c7bb57
typo and more endianness fixes
pirms 4 gadiem
John M. Schanck
d73a713fd4
Fix endianness issues
pirms 4 gadiem
John M. Schanck
63d033cf02
Initialize arrays in fft.c and fix a few compiler warnings
pirms 4 gadiem
John M. Schanck
ae30e1f432
Avoid ==, !=, etc in arithmetic expressions. Some compilers will produce non-constant time code.
pirms 4 gadiem