1
1
ミラー元 https://github.com/henrydcase/pqc.git 前回の同期 2024-11-25 08:51:26 +00:00
コミットグラフ

1131 コミット

作成者 SHA1 メッセージ 日付
e7b5cfe9f8 jitterentropy 2023-01-27 22:49:29 +00:00
0a452b1220
Update README.md 2023-01-09 15:33:20 +00:00
fbd5687be2
Dilithium 3.1 (#25)
* Dilithium 3.1

* KAT testing
* Incluide AARCH64 implementation
* Add test for Z packing/unpacking
2023-01-09 12:30:12 +00:00
b4b91bd8fe [sike] Remove 2022-08-04 08:44:28 +01:00
75b651d04a
Update main.yml 2022-07-11 23:03:38 +01:00
bed758a905 [dilithium] more tests 2022-07-11 18:19:21 +01:00
ca857158ac update bindings 2022-07-11 18:04:51 +01:00
f7073f8afa
Update main.yml 2022-07-11 17:56:44 +01:00
a00ed72798
Update main.yml 2022-07-11 13:51:19 +01:00
183669bd36
Update README.md 2022-07-08 23:38:29 +01:00
75368fee9d Remove not needed code 2022-07-05 21:50:59 +01:00
18a0140f44 [cavptool] update 2022-03-09 21:27:46 +00:00
b01ea397e2 remove rainbow 2022-02-27 22:05:40 +00:00
c8207d2153 build bench in debug also 2022-02-10 11:20:34 -08:00
5911a1ee30 sphincs benches 2022-02-10 11:20:34 -08:00
8ef29b532e PrintSizes 2021-12-17 16:10:15 +00:00
649f32d1f4 add PQC_ASM in falcon 2021-09-21 11:36:08 +01:00
4048380e80 update 2021-09-20 21:42:04 +01:00
cc8aecb298 adds PQC_NO_ASM to rust build 2021-09-20 20:21:48 +01:00
388eaa5b76 PQC_NO_ASM: disable assembly optimized implementations 2021-09-20 17:25:58 +01:00
b542ed3079
Create CITATION.cff 2021-09-19 10:17:13 +01:00
e96e7aaea8 ct_expect/require_umr -> ct_expect/require_uum 2021-07-16 10:57:34 +01:00
5f5b48891c License 2021-07-11 16:09:25 +01:00
e72cc74f00 change names of some tests 2021-07-10 00:55:39 +01:00
997b7111ca backport some changes from ct study 2021-07-10 00:48:12 +01:00
4f25353aa9 Change names of the tests 2021-06-29 23:41:13 +01:00
55719e929c ct: use inline static instead of macros 2021-06-29 09:12:29 +01:00
caa97d8dfb Test CT sanitizer and CTGRIND functionality 2021-06-28 12:02:18 +01:00
e4eff10297 memsan: enable kyber in bench 2021-06-24 08:06:19 +01:00
ea54cd3ea9 use memory sanitizer in cpu_features build also 2021-06-24 07:48:25 +01:00
0bb09a6e22 prevent updating llvm-project during 'make' 2021-06-24 07:48:25 +01:00
175a5725b7 Enable all tests 2021-06-24 07:48:25 +01:00
7ba897ed4d ensure sike doest use uinitialized reads 2021-06-24 07:48:25 +01:00
c1283aa979
Update README.md 2021-06-23 14:14:25 +01:00
bb3fe16bd5 Memory Sanitizer build 2021-06-23 07:12:29 +01:00
2ce8a28e41 fix build 2021-06-22 01:14:17 +01:00
d9344d6956 improves makefile 2021-06-22 01:10:08 +01:00
6d3550454a msan: in msan mode disable bench for kyber INDCPA encryption 2021-06-21 09:55:39 +01:00
ced21a0c79 makes MSan happy 2021-06-21 09:20:48 +01:00
9b7b7277ce remove not needed flag 2021-06-20 21:36:11 +01:00
77ca982b4c Redesign CMakeLists.txt for MemorySanitizer
The test programs use googletest and google-benchmark
libraries in order to ensure right level of optimizations
and proper unit testing.
Those two libraries are written in C++ and they
use C++ standard library.

If you want MemorySanitizer to work properly and not
produce any false positives, you must ensure that all
the code in your program and in libraries it uses is
instrumented. That includes C++ standard library.

(see here: https://github.com/google/sanitizers/wiki/MemorySanitizerLibcxxHowTo)

With this change, the Memory Sanitizer build (enabled
by -DMEMSAN=1) will also build MSan-instrumented libc++
from LLVM and will use it as a standard C++ library
when building unit tests and benchmarks.

In particular what I do is this:
1. Clone LLVM project and build libcxx and libcxxabi with
   MSan enabled
2. Build GTEST and GBENCH with -fsanitize=memory and -stdlib=libc++.
   Additionally link against -lc++abi
3. Then use this special version of libc++ and GTEST/GBENCH
   in order to build final binaries containing unit/benchmark tests

The actuall tests with memory sanitizer are disabled, as
I'm getting some errors which need to be investigated first.

Additionally I've splitted single build into multiple, for
release,debug,clang,gcc and AddressSanitizer.

On unrelated note, I've also added flags to ignore some errors
which I'm getting when using newer GCC (see GH#10 GH#11).
2021-06-20 21:34:58 +01:00
7be2562de5 Build libcxx and libcxxabi with Memory Sanitizer 2021-06-20 21:34:58 +01:00
24881fade8 Run KAT in separated step 2021-06-20 21:34:58 +01:00
74e87f1ae2 remove MSan build for now 2021-06-20 21:34:58 +01:00
af2cee5b17 adds address and memory sanitizer 2021-06-20 21:34:58 +01:00
a0e38afc59 Adds flags for memory and address sanitizer 2021-06-20 21:34:58 +01:00
950479bdee adds fpic 2021-06-20 21:34:58 +01:00
6cef14338a updates gbench 2021-06-20 21:34:58 +01:00
5ce7524c1d multiple compilations 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