This is an automated email from the ASF dual-hosted git repository.
sandreoli pushed a change to branch issue51
in repository
https://gitbox.apache.org/repos/asf/incubator-milagro-crypto-c.git.
from 6b56b35 remove DEBUG statements from Paillier code
new bfd2d29 Revert "remove DEBUG statements from Paillier code"
new 02699cc rework paillier so ff_8192 is not needed
new 52a2d98 fix bug where r was generated in Zn instead of Zn2
new 63785bb use side channel resistant functions when necessary
new afeb64e change paillier API to use private/public key
new aee0051 ff - allow specification of exponent size in skpow
new fc31c16 use inversion modulo 2^m trick for division
new 363552b remove unnecessary clause from rsa tests
new 294e3c0 add i/o functions for paillier public key
new b0fa54f improve decryption using CRT
The 10 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CMakeLists.txt | 2 +-
benchmark/benchtest_paillier.c.in | 91 +---
cmake/AMCLParameters.cmake | 1 -
config.mk | 4 +-
examples/example_paillier.c | 114 ++---
include/ff.h.in | 86 ++--
include/paillier.h | 102 ++--
src/ff.c.in | 154 +++---
src/paillier.c | 385 +++++++--------
src/rsa.c.in | 4 +-
test/CMakeLists.txt | 18 +-
test/test_ff_consistency_WWW.c.in | 287 ++++++++++++
test/test_paillier_add.c | 71 +--
test/test_paillier_consistency.c | 199 +++-----
test/test_paillier_decrypt.c | 187 +++++---
test/test_paillier_encrypt.c | 103 ++--
test/test_paillier_keygen.c | 432 ++++++++---------
test/test_paillier_mult.c | 71 +--
testVectors/paillier/decrypt.txt | 144 +++---
testVectors/paillier/encrypt.txt | 22 +-
testVectors/paillier/keygen.txt | 953 +++-----------------------------------
21 files changed, 1330 insertions(+), 2100 deletions(-)
create mode 100644 test/test_ff_consistency_WWW.c.in