This is an automated email from the ASF dual-hosted git repository.
sandreoli pushed a change to branch develop
in repository
https://gitbox.apache.org/repos/asf/incubator-milagro-crypto-c.git.
from 95cbea2 Merge pull request #55 from apache/review-bls
add d428cbe Add support for FF_8192 required for Paillier
add fd3c56e add c99 support to cmake
add 39c881a added paillier code
add 66f5994 add paillier to build
add 395e912 add paillier tests
add 6662a6f add benchmark and example
add a40adfc add missing import to paillier consistency test
add 22b7941 remove paillier from non 64 bit builds
add c4506dd use custom double exponentiation for paillier encryption
add 50fd677 improve ff conversions
add d49ed57 fix inconsistency in bpow2 documentation
add be9deb0 Merge branch 'develop' into issue51
add 6b56b35 remove DEBUG statements from Paillier code
add bfd2d29 Revert "remove DEBUG statements from Paillier code"
add 02699cc rework paillier so ff_8192 is not needed
add 52a2d98 fix bug where r was generated in Zn instead of Zn2
add 63785bb use side channel resistant functions when necessary
add afeb64e change paillier API to use private/public key
add aee0051 ff - allow specification of exponent size in skpow
add fc31c16 use inversion modulo 2^m trick for division
add 363552b remove unnecessary clause from rsa tests
add 294e3c0 add i/o functions for paillier public key
add b0fa54f improve decryption using CRT
add e1a2192 improve CRT
add 796fdb0 add big consistency tests for all paillier ff levels
add 2dff9ac use dscopy instead of zeroing
add 9705279 fix typo
add 17af085 fix typo
add 9c64ef0 remove debug statements from test
add dcaa299 add back ff pow2
new ae39f24 Merge pull request #56 from apache/issue51
The 1 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 | 68 +++-
Makefile | 11 +-
README.md | 6 +-
benchmark/CMakeLists.txt | 6 +
benchmark/benchtest_paillier.c.in | 313 +++++++++++++++++
config.mk | 5 +-
examples/CMakeLists.txt | 5 +
examples/example_paillier.c | 230 +++++++++++++
include/ff.h.in | 82 +++--
include/paillier.h | 175 ++++++++++
src/big.c.in | 84 +++++
src/ff.c.in | 162 ++++-----
src/paillier.c | 315 +++++++++++++++++
src/rsa.c.in | 4 +-
test/CMakeLists.txt | 25 ++
test/test_ff_consistency_WWW.c.in | 287 ++++++++++++++++
test/test_paillier_add.c | 155 +++++++++
test/test_paillier_consistency.c | 220 ++++++++++++
test/test_paillier_decrypt.c | 199 +++++++++++
test/test_paillier_encrypt.c | 167 +++++++++
test/test_paillier_keygen.c | 287 ++++++++++++++++
test/test_paillier_mult.c | 155 +++++++++
testVectors/paillier/add.txt | 700 ++++++++++++++++++++++++++++++++++++++
testVectors/paillier/decrypt.txt | 99 ++++++
testVectors/paillier/encrypt.txt | 87 +++++
testVectors/paillier/keygen.txt | 100 ++++++
testVectors/paillier/mult.txt | 76 +++++
27 files changed, 3896 insertions(+), 127 deletions(-)
create mode 100644 benchmark/benchtest_paillier.c.in
create mode 100644 examples/example_paillier.c
create mode 100644 include/paillier.h
create mode 100644 src/paillier.c
create mode 100644 test/test_ff_consistency_WWW.c.in
create mode 100644 test/test_paillier_add.c
create mode 100644 test/test_paillier_consistency.c
create mode 100644 test/test_paillier_decrypt.c
create mode 100644 test/test_paillier_encrypt.c
create mode 100644 test/test_paillier_keygen.c
create mode 100644 test/test_paillier_mult.c
create mode 100644 testVectors/paillier/add.txt
create mode 100644 testVectors/paillier/decrypt.txt
create mode 100644 testVectors/paillier/encrypt.txt
create mode 100644 testVectors/paillier/keygen.txt
create mode 100644 testVectors/paillier/mult.txt