Commit Graph

11 Commits

Author SHA1 Message Date
944543c9b9 fix bug in kyber
previous commit introduced a bug in Barrett reduction
2021-05-27 10:16:04 +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
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
fddd697fc4 adds HQC-RMS-128/192/256 2021-03-27 00:34:03 +00:00
ec4f21b2de WIP 2021-03-26 10:05:25 +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