Henry Case
85148087ad
katwalk for li2
3 years ago
Henry Case
5f380fb74a
reorg
3 years ago
Henry Case
188312f23c
reorg
3 years ago
Henry Case
354257df8e
remove all Makefiles
3 years ago
John Schanck
4f86c39515
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 years ago
Thom Wiggers
0d88ed65d9
Disable SPHINCS+ test taking too much RAM in ASAN
4 years ago
Thom Wiggers
7557be7471
Disable asan if clang is mentioned in CC (like in 'ccache clang')
4 years ago
Thom Wiggers
3e2c7b6b05
Disable skipping slow tests
4 years ago
Matthias J. Kannwischer
3d5079129d
Update Rainbow to round 3 parameter sets ( #361 )
* rainbow update
* update workflows
* re-add /O2 in nmake Makefile
4 years ago
John M. Schanck
bde916274f
Use PQClean AES
4 years ago
John M. Schanck
688ff2fe50
Round 3 Kyber
4 years ago
John M. Schanck
10d3f34b39
Prepare for round 3 update with packaging script
4 years ago
Thom Wiggers
c99c406551
Update Kyber from upstream
Makes Kyber-AVX run on MacOS (#251 )
4 years ago
John M. Schanck
f8503cbd71
simplify pack_unpack.c
4 years ago
John M. Schanck
135f95e15b
Clean up AVX2 code
4 years ago
John M. Schanck
0a3146831f
Update Saber and add AVX2 implementation
4 years ago
John M. Schanck
a439b498fc
HQC: remove bitmask macro
4 years ago
John M. Schanck
52e1b5c94b
HQC: update from upstream
4 years ago
John M. Schanck
2aab49b09e
duplicate_consistency: strip spaces before comparison
4 years ago
John M. Schanck
31190562b7
Add AVX2 Falcon
4 years ago
Thom Wiggers
32b066036d
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 years ago
Thom Wiggers
08154573f0
Fix test_symbol_namespace
4 years ago
John M. Schanck
8ec84d0c3a
inspect initializations
4 years ago
John M. Schanck
720fe60ace
Add test/test_boolean.py
4 years ago
John M. Schanck
0dee1d6aa6
readability changes
4 years ago
John M. Schanck
d4008c7f1e
uint8_t api for encode/decode in optimized rmrs
4 years ago
John M. Schanck
4da9f0b087
more endianness fixes
4 years ago
John M. Schanck
d9e093c1ad
satisfy MS compiler
4 years ago
John M. Schanck
0ff7886b08
narrowing warnings
4 years ago
John M. Schanck
4aab2dcb23
Rename log and exp to gf_log and gf_exp
4 years ago
John M. Schanck
04f7375c32
Some MS compiler fixes
4 years ago
John M. Schanck
cc7eae7ce7
typo and more endianness fixes
4 years ago
John M. Schanck
2a261a3f36
Fix endianness issues
4 years ago
John M. Schanck
23238dbed5
Initialize arrays in fft.c and fix a few compiler warnings
4 years ago
John M. Schanck
834f546349
Avoid ==, !=, etc in arithmetic expressions. Some compilers will produce non-constant time code.
4 years ago
John M. Schanck
9113313eab
Replace avx2 'reduce' in gf2x
4 years ago
John M. Schanck
c2083e13d7
New HQC and HQC-RMRS from upstream
4 years ago
John M. Schanck
4f6e00ed69
NTRU Prime: jump directly to crypto_sort_smallindices
4 years ago
John M. Schanck
55c6d04df6
NTRU Prime: Simplified patch set
4 years ago
John M. Schanck
70543bba37
Add sntrup{653,761,857} and ntrulpr{653,761,857}
Exported from SUPERCOP-20200826 using the scripts at:
https://github.com/jschanck/pqclean-package-ntruprime
4 years ago
John M. Schanck
f1287684e3
NTRU: duplicate consistency
4 years ago
Matthias J. Kannwischer
9fbfb230a9
remove threebears, ledakem, newhope, mqdss, qtesla
NIST announced the Round 3 finalists and alternate candidates today:
https://groups.google.com/a/list.nist.gov/d/msg/pqc-forum/0ieuPB-b8eg/Cl7Ji8TpCwAJ
Some of the schemes in PQClean did not make it to Round 3 and this commit
removes them.
4 years ago
Thom Wiggers
90630db2eb
Add MQDSS AVX2 implementations ( #288 )
* Add AVX2 version of mqdss
* Fix duplicate consistency
4 years ago
Thom Wiggers
9e4d07dba1
Speed up test collection ( #298 )
* don't do filesystem operations during collection
* Greatly speed up test collection
* fixup! Greatly speed up test collection
* Silence junit warning
* fixup! Greatly speed up test collection
4 years ago
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>
4 years ago
Thom Wiggers
cd8a6e684a
Filter out clang-tidy on alternate platforms
4 years ago
Thom Wiggers
b263cd07d7
Speed up circleci tests
4 years ago
Douglas Stebila
585a001fda
Split aes*_keyexp up into ecb and ctr variants
4 years ago
Thom Wiggers
9b06aedefe
Make sure tests respond to undefined behaviour
4 years ago
Thom Wiggers
2b267defdb
Enable leak check in Valgrind
4 years ago