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

1123 Commits

Author SHA1 Message Date
27e987f28e update rust binding creation 2021-03-25 00:46:02 +00:00
5a3ea43c8f update cargo.toml 2021-03-25 00:12:56 +00:00
730b2c7d47 fix rust bindings 2021-03-25 00:08:14 +00:00
64dc00767e adds rust binding 2021-03-25 00:02:10 +00:00
8659d89bc4 fix path to gbench 2021-03-24 23:58:58 +00:00
88fb6821a9 fix test run 2021-03-24 23:55:30 +00:00
06d4e77b1b adds benchmark tool 2021-03-24 23:50:01 +00:00
81ccb71992 adds gtest 2021-03-24 23:48:29 +00:00
810f460a7e maybe add CI 2021-03-24 23:39:12 +00:00
f02248d478 pqapi.h -> pqc.h 2021-03-24 23:34:34 +00:00
b36a5ff8da adds support for most of the schemes 2021-03-24 23:22:44 +00:00
dbea135685 KEM and Sign C-API 2021-03-24 21:06:56 +00:00
09db976f4c Adds method registration 2021-03-24 21:02:52 +00:00
badd0c81a6 adds C-API 2021-03-24 21:02:51 +00:00
67ee416cb7 Remove not needed files 2021-03-24 21:02:51 +00:00
9d3e07e8d8 Use CMake 2021-03-24 21:02:51 +00:00
5af3048752 Remove META files 2021-03-24 21:02:51 +00:00
d01efc9f01 Reorg 2021-03-24 21:02:51 +00:00
d7ee70681a add sign back 2021-03-24 21:02:50 +00:00
d9a051d053 move to separated folders 2021-03-24 21:02:50 +00:00
bdcc631260 Removes some variations 2021-03-24 21:02:50 +00:00
94ec8d340e Fix 2021-03-24 21:02:50 +00:00
424bd89890 Add one AVX target 2021-03-24 21:02:50 +00:00
67f275c898 Defines structure of the CMake 2021-03-24 21:02:50 +00:00
0450bc3215 remove all Makefiles 2021-03-24 21:02:50 +00:00
9cc316c41f init: cmake 2021-03-24 21:02:50 +00:00
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
2021-03-24 21:02:50 +00:00
Matthias J. Kannwischer
1eb8fbe8d3 FrodoKEM: Fix bug in the output of the ct_verify function (#367)
* Fix bug in the output of the ct_verify function

A bug in the CCA transformation was reported on the pqc-forum on 2020-12-10
https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/kSUKzDNc5ME

It was fixed today in 669522db63.
This commit ports that fix to PQClean

* add note to SECURITY.md

* update upstream commit in META.yml
2021-03-24 21:02:50 +00:00
Matthias J. Kannwischer
f1c917abb8 fix #364 2021-03-24 21:02:50 +00:00
Thom Wiggers
87c40ab558 Disable SPHINCS+ test taking too much RAM in ASAN 2021-03-24 21:02:50 +00:00
Thom Wiggers
9b39cf950c Disable slowest tests on travis 2021-03-24 21:02:50 +00:00
Thom Wiggers
578a9d66ce Disable asan if clang is mentioned in CC (like in 'ccache clang') 2021-03-24 21:02:50 +00:00
Thom Wiggers
f5b1c258c4 Disable skipping slow tests 2021-03-24 21:02:50 +00:00
John M. Schanck
acbb632daf Use PQClean AES 2021-03-24 21:02:50 +00:00
John M. Schanck
e2f9b54f9a explicit casts 2021-03-24 21:02:50 +00:00
John M. Schanck
127e9ec326 Round 3 Kyber 2021-03-24 21:02:49 +00:00
John M. Schanck
60111b36b2 Prepare for round 3 update with packaging script 2021-03-24 21:02:49 +00:00
Thom Wiggers
7df37208d6 Fix boolean operation in assignment 2021-03-24 21:02:49 +00:00
Thom Wiggers
2dfa7ed48f Fix libname for kyber90s 2021-03-24 21:02:49 +00:00
Thom Wiggers
22cb59d083 Silence a bunch of Windows warnings 2021-03-24 21:02:49 +00:00
Thom Wiggers
c0f56ccdc2 Update Kyber from upstream
Makes Kyber-AVX run on MacOS (#251)
2021-03-24 21:02:49 +00:00
Matthias J. Kannwischer
7aef8a6f80 Update Rainbow to round 3 parameter sets (#361)
* rainbow update

* update workflows

* re-add /O2 in nmake Makefile
2021-03-24 21:02:49 +00:00
Thom Wiggers
560ac15334 Fix missed overflowing mul in FrodoKEM
It happened in another place
2021-03-24 21:02:49 +00:00
Matthias J. Kannwischer
6d6776f3fe skip new clang-tidy checks
my new clang-tidy version comes with some quite restrictive checks that fail on
current code in PQClean.

I have disabled the following three:
https://releases.llvm.org/11.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/llvmlibc-restrict-system-libc-headers.html
https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-init-variables.html
https://clang.llvm.org/extra/clang-tidy/checks/bugprone-reserved-identifier.html
2021-03-24 21:02:49 +00:00
Thom Wiggers
af9b25b8fa Fix more overflowing muls in Frodo 2021-03-24 21:02:49 +00:00
John M. Schanck
583423b2ee hqc-rmrs-256: remove unused static vars 2021-03-24 21:02:49 +00:00
Thom Wiggers
9a1319454f Also fix problem in FrodoKEM-SHAKE 2021-03-24 21:02:49 +00:00
Thom Wiggers
747908d35b Fix overflowing multiplication in FrodoKEM AES 2021-03-24 21:02:49 +00:00
John M. Schanck
7bac779bb5 ntru/poly_rq_mul: explicit casts to satisfy 32-bit clang sanitizer 2021-03-24 21:02:49 +00:00
Thom Wiggers
bc7bc515e9 Disable buggy clang-tidy valist linters 2021-03-24 21:02:49 +00:00