Henry Case
188e672764
use aes_ctr_drbg crate
3 anos atrás
Henry Case
de8d3ba43e
fix KEM
3 anos atrás
Henry Case
95cc52f554
Run KAT in parallel 4 threads
3 anos atrás
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.
3 anos atrás
Henry Case
fddd697fc4
adds HQC-RMS-128/192/256
3 anos atrás
Henry Case
2a4b051819
kat: add KEM schemes
3 anos atrás
Henry Case
b24f31c7bd
adds kat tests for sphincs
3 anos atrás
Henry Case
ec4f21b2de
WIP
3 anos atrás
Henry Case
a8bb139ea6
Fix testing against KATs
3 anos atrás
Henry Case
7023b7f0ff
fix some deteails in tests
3 anos atrás
Henry Case
5cf635a26b
change name of the librarry
3 anos atrás
Henry Case
58dabbafef
add first version of katrunner
3 anos atrás
Henry Case
f02248d478
pqapi.h -> pqc.h
3 anos atrás
Henry Case
b36a5ff8da
adds support for most of the schemes
3 anos atrás
Henry Case
dbea135685
KEM and Sign C-API
3 anos atrás
Henry Case
09db976f4c
Adds method registration
3 anos atrás
Henry Case
badd0c81a6
adds C-API
3 anos atrás
Henry Case
9d3e07e8d8
Use CMake
3 anos atrás
Henry Case
0450bc3215
remove all Makefiles
3 anos atrás
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
3 anos atrás
Thom Wiggers
87c40ab558
Disable SPHINCS+ test taking too much RAM in ASAN
4 anos atrás
Thom Wiggers
578a9d66ce
Disable asan if clang is mentioned in CC (like in 'ccache clang')
4 anos atrás
Thom Wiggers
f5b1c258c4
Disable skipping slow tests
4 anos atrás
John M. Schanck
acbb632daf
Use PQClean AES
4 anos atrás
John M. Schanck
127e9ec326
Round 3 Kyber
4 anos atrás
John M. Schanck
60111b36b2
Prepare for round 3 update with packaging script
4 anos atrás
Thom Wiggers
c0f56ccdc2
Update Kyber from upstream
Makes Kyber-AVX run on MacOS (#251 )
4 anos atrás
Matthias J. Kannwischer
7aef8a6f80
Update Rainbow to round 3 parameter sets ( #361 )
* rainbow update
* update workflows
* re-add /O2 in nmake Makefile
4 anos atrás
John M. Schanck
4406f00784
simplify pack_unpack.c
4 anos atrás
John M. Schanck
df9f4a17a4
Clean up AVX2 code
4 anos atrás
John M. Schanck
39c00e8c47
Update Saber and add AVX2 implementation
4 anos atrás
John M. Schanck
de8665bff2
duplicate_consistency: strip spaces before comparison
4 anos atrás
John M. Schanck
79623b0765
Add AVX2 Falcon
4 anos atrás
John M. Schanck
1113fdce69
HQC: remove bitmask macro
4 anos atrás
John M. Schanck
a96df80f89
HQC: update from upstream
4 anos atrás
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)
4 anos atrás
Thom Wiggers
7bc63d020b
Fix test_symbol_namespace
4 anos atrás
John M. Schanck
fdd73d893c
inspect initializations
4 anos atrás
John M. Schanck
331733e9e0
Add test/test_boolean.py
4 anos atrás
John M. Schanck
629b89ba73
readability changes
4 anos atrás
John M. Schanck
d1a4fa5e68
uint8_t api for encode/decode in optimized rmrs
4 anos atrás
John M. Schanck
26e0aea3e2
more endianness fixes
4 anos atrás
John M. Schanck
646f9f4a05
satisfy MS compiler
4 anos atrás
John M. Schanck
eb120a6b24
narrowing warnings
4 anos atrás
John M. Schanck
bf7bd3650b
Rename log and exp to gf_log and gf_exp
4 anos atrás
John M. Schanck
a3c627fe6b
Some MS compiler fixes
4 anos atrás
John M. Schanck
9d35c7bb57
typo and more endianness fixes
4 anos atrás
John M. Schanck
d73a713fd4
Fix endianness issues
4 anos atrás
John M. Schanck
63d033cf02
Initialize arrays in fft.c and fix a few compiler warnings
4 anos atrás
John M. Schanck
ae30e1f432
Avoid ==, !=, etc in arithmetic expressions. Some compilers will produce non-constant time code.
4 anos atrás