1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-27 01:41:40 +00:00
Commit Graph

871 Commits

Author SHA1 Message Date
Thom Wiggers
75416c93f0
Kyber768 and Kyber1024 don't need -maes (see #296) 2020-05-29 10:01:44 +02:00
Thom Wiggers
a8a263de81
Merge pull request #290 from xvzcf/yml-updates
Update required_flags for Dilithium's META.ymls
2020-04-22 09:52:41 +02:00
xvzcf
4a5dc85cb9 Update required_flags for Dilithium's META.ymls. 2020-04-21 10:33:08 -04:00
mergify[bot]
6a0362c7ba
Merge pull request #287 from PQClean/update-mdss
Update MQDSS round numbers
2020-04-15 10:03:25 +00:00
Thom Wiggers
9a2385f308
Update MQDSS round numbers
Based on this change:

00608d7610
2020-04-15 10:23:08 +02:00
Thom Wiggers
3922725c6f
Merge pull request #285 from PQClean/one-more-aes-keyexp
One more aes256_keyexp renaming
2020-04-07 07:31:49 +02:00
Douglas Stebila
9944e6a81d Rename aes256_keyexp based on #279 2020-04-06 15:39:32 -04:00
Thom Wiggers
db0d5800c5
Merge pull request #279 from PQClean/ds-aes-keyexp
Split aes*_keyexp up into ecb and ctr variants
2020-04-03 10:00:50 +02:00
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>
2020-04-01 13:57:21 +08:00
Thom Wiggers
cd8a6e684a
Filter out clang-tidy on alternate platforms 2020-03-31 14:05:05 +02:00
Thom Wiggers
b263cd07d7
Speed up circleci tests 2020-03-31 14:03:02 +02:00
mergify[bot]
1b163987bd
Merge pull request #278 from PQClean/fix_ub
Clean up undefined behaviour
2020-03-28 15:47:03 +00:00
mergify[bot]
da46a96aca
Merge branch 'master' into fix_ub 2020-03-27 23:13:26 +00:00
Thom Wiggers
b380047d75
Merge pull request #282 from baentsch/Wshadow
Wshadow at Dilithium/avx2
2020-03-27 12:09:27 +01:00
Michael Baentsch
56d0f2df6e Wshadow at Dilithium/avx2 2020-03-27 07:24:29 +01:00
Douglas Stebila
ce4bd09860 Use the right AES CTX 2020-03-26 21:11:07 -04:00
Douglas Stebila
dc401c40d7 Don't return void 2020-03-26 20:18:02 -04:00
Douglas Stebila
585a001fda Split aes*_keyexp up into ecb and ctr variants 2020-03-26 20:18:02 -04:00
mergify[bot]
bfbf99eb76
Merge pull request #280 from PQClean/ds-falcon-type-punning
Avoid type-punning warning in Falcon when strict-aliasing turned on
2020-03-14 20:23:46 +00:00
mergify[bot]
57265306de
Merge branch 'master' into ds-falcon-type-punning 2020-03-14 09:51:06 +00:00
mergify[bot]
36283693d2
Merge pull request #270 from PQClean/fix_newhope
Fix NewHope CCA verify function
2020-03-14 04:52:05 +00:00
Douglas Stebila
b50dbbf544 Trigger build 2020-03-13 17:06:45 -04:00
Douglas Stebila
20aa6ea3dc Change formatting
[skip ci]
2020-03-13 17:05:29 -04:00
Douglas Stebila
d0d53ab52a Avoid type-punning error when strict-aliasing turned on 2020-03-13 17:00:32 -04:00
Thom Wiggers
35e4b0faa1
fixup! Fix uint8_t to uint16_t upcast in Frodo 2020-03-13 16:30:01 -04:00
mergify[bot]
dfb12bb3e3
Merge branch 'master' into fix_newhope 2020-03-13 20:16:35 +00:00
Thom Wiggers
d7b739af13
Clean up README and CONTRIBUTING (#273)
* Clean up the docs a bit

* Document that qemu-user-static needs Linux
2020-03-13 16:15:12 -04:00
Thom Wiggers
5436ec0476
Fix uint8_t to uint16_t upcast in Frodo 2020-03-13 15:58:15 -04:00
Thom Wiggers
74bc3e74e1
Fix UB in qTESLA
Lots of shifts left of signed integers
2020-03-13 15:02:24 -04:00
Thom Wiggers
f9c4c34a8f
fixup! Run sanitizers after running AMD64 tests 2020-03-13 13:30:50 -04:00
Thom Wiggers
85de23bdfe
Fix too-large shift in mceliece*f 2020-03-13 13:27:02 -04:00
Thom Wiggers
5aeccdb747
fixup! Run sanitizers after running AMD64 tests 2020-03-13 13:15:17 -04:00
Thom Wiggers
76bac3c2b2
Run sanitizers after running AMD64 tests 2020-03-13 13:10:36 -04:00
Thom Wiggers
ef38541c6e
Clean up SABER 2020-03-13 13:00:57 -04:00
Thom Wiggers
bc86182b93
Fix overflowing mults in NTRUHRSS701 2020-03-09 18:02:44 -04:00
Thom Wiggers
39fa1ccfc7
Fix reduce.c's overflowing multiplication 2020-03-09 17:57:43 -04:00
Thom Wiggers
9b06aedefe
Make sure tests respond to undefined behaviour 2020-03-09 17:54:33 -04:00
Matthias J. Kannwischer
85c6605bbf
fix MSVS warning 2020-03-09 15:45:20 -04:00
Matthias J. Kannwischer
de5cda4d7b
Fix NewHope verify
https://github.com/mupq/pqm4/issues/132 repoorted that the NewHope verify function does not actually return 0 or 1, but 0 or -1, which consequenctly breaks the cmov in the FO transform.
This bug was introduced when I integrated this into PQClean.
2020-03-09 15:45:19 -04:00
mergify[bot]
9023fef558
Merge pull request #275 from PQClean/fix-remaining-leaks
Fix remaining memory leaks
2020-03-04 03:11:09 +00:00
Thom Wiggers
8c2f5994b9
Fix duplicate consistency 2020-03-03 10:15:57 -05:00
Thom Wiggers
2b267defdb
Enable leak check in Valgrind 2020-03-03 10:15:56 -05:00
Thom Wiggers
fe4e12308b
Fix memory leaks in LEDAkem 2020-03-03 10:15:56 -05:00
Thom Wiggers
81caa58b57
Fix memory leaks in NewHope 2020-03-03 10:15:56 -05:00
Thom Wiggers
9a4e9da47e
Fix FIPS202 API memory leaks in Dilithium 2020-03-03 10:15:56 -05:00
Thom Wiggers
0564c906f7
Force running brew update
This will add ~5m to the build time, but Travis CI SUCK at keeping their tools up to date...
2020-03-03 10:07:38 -05:00
Thom Wiggers
9b41a86f8e
Update Travis CI to XCode 11.3 2020-03-03 10:06:21 -05:00
Thom Wiggers
07f96fa057
Merge pull request #274 from PQClean/fix_detecting_changes
Fix detecting of to-be-tested changes on Windows
2020-02-19 15:05:35 -05:00
Thom Wiggers
acf7760f4d
Fix detecting of to-be-tested changes on Windows 2020-02-19 11:53:14 -05:00
Thom Wiggers
f13961dbfc
Merge pull request #272 from PQClean/kyber-fix-leak
Fix memory leak in Kyber
2020-02-17 11:02:07 +01:00