1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 15:39:07 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
ced21a0c79 makes MSan happy 2021-06-21 09:20:48 +01:00
af2cee5b17 adds address and memory sanitizer 2021-06-20 21:34:58 +01:00
944543c9b9 fix bug in kyber
previous commit introduced a bug in Barrett reduction
2021-05-27 10:16:04 +01:00
c98780b4d5 adds McEliece 2021-05-26 13:39:05 +01:00
e9249a2bee remove duplication 2021-05-25 22:18:22 +01:00
1120727660 remove duplication 2021-05-25 22:16:57 +01:00
7ff8d8fcef Implelments Falcon 512/1024 Round3
* Enable KAT testing for Falcon
* Prefix all algorithms with PQC_ALG_SIG/KEM_
2021-05-25 12:29:54 +01:00
4e10c0925f prefix structs with pqc_ 2021-05-10 16:36:24 +01:00
d7ca0ddad6 fix memory overrun 2021-04-26 12:20:39 +01:00
744461b0ff add drone.yml 2021-04-26 12:20:39 +01:00
89a34ac04b SIKE: enable optimized version
Adds cpu_features library from Google to
recognize CPU capabilities on which implementation
is running.

Uses that library to run either generic-C
or assembly optimized implementation of
some field operations
2021-04-26 12:20:39 +01:00
9cb7e5a265 SIKE/p434
Pulls SIKE/p434 from CECPQ2 implementation
changed to use SHAKE instead of SHA2
2021-04-26 12:20:39 +01:00
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.
2021-03-30 01:12:51 +01:00
626032f425 remove nistseedexpander header from HQC KEM 2021-03-29 13:05:27 +01:00
fddd697fc4 adds HQC-RMS-128/192/256 2021-03-27 00:34:03 +00:00
029ec0c2cc update sphincs to r3 2021-03-26 19:50:46 +00:00
ec4f21b2de WIP 2021-03-26 10:05:25 +00:00
115a3f5faa reformatting 2021-03-25 18:47:56 +00:00
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
64dc00767e adds rust binding 2021-03-25 00:02:10 +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
9d3e07e8d8 Use CMake 2021-03-24 21:02:51 +00:00