You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by km...@apache.org on 2019/08/07 09:42:10 UTC

[incubator-milagro-crypto-c] branch master updated (34e32ec -> e3fc6b6)

This is an automated email from the ASF dual-hosted git repository.

kmccusker pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-crypto-c.git.


    from 34e32ec  Merge pull request #7 from apache/remove-cmocka
     add 517f4c3  add coveralls.io
     add a91990c  Merge pull request #8 from apache/check-coveralls
     add 71c2bed  add bls to library
     add aa31e19  Merge pull request #12 from apache/add-bls
     add 4ae35db  add point addition to BLS
     add 5ba3207  update bls129 and bls256
     add 1b0b1f6  updated bls smoke test
     add 6616068  updated seed value for bls
     add e65e167  Merge pull request #14 from apache/issue11
     add e6aeb5c  rename examples and use BLS381 for example_all
     add 5adccb6  sync code
     add 6c0f107  add BLS381 test vectors
     add ebfee8f  multi curve example
     add bbb4c7e  Merge pull request #17 from apache/issue16
     add da6e396  added Apache headers
     add fa0a45a  Merge pull request #20 from apache/issue18
     add 5bdeb9e  add NOTICE file
     add a9ff741  Merge pull request #27 from apache/add_notice
     add 1e89087  Add disclaimer to README
     add 604b098  add disclaimer file
     add ec1a772  Merge pull request #28 from apache/add-disclaimer
     add f440ada  updated windows instructions
     add 6cf4ecc  Merge pull request #30 from apache/windows-build
     add 1efd096  add bls wrapper
     add 64b02cc  update docker
     add da6ad02  Merge pull request #31 from apache/issue26
     add a98407b  fix Python bug
     add b9f69b8  Merge pull request #33 from apache/fix-python-bug
     add f364bd1  add ability to generate BLS public key from external private key
     add 376052b  update docs
     add a930a00  Merge pull request #35 from apache/issue34
     new e3fc6b6  Merge pull request #36 from apache/develop

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:
 .travis.yml                                        |    4 +-
 CMakeLists.txt                                     |   60 +-
 CPackConfig.cmake                                  |    2 +
 DISCLAIMER                                         |    1 +
 Dockerfile                                         |    2 +
 Makefile                                           |   21 +-
 NOTICE                                             |    5 +
 README.md                                          |   71 +-
 VERSION                                            |    2 +-
 cmake/PythonSiteDirs.cmake                         |   11 +
 cmake_uninstall.cmake.in                           |   17 +
 config.mk                                          |   11 +-
 doc/AMCL.dox                                       |    6 +-
 examples/CMakeLists.txt                            |   42 +-
 examples/{testall.c => example_all.c}              |   76 +-
 examples/example_bls_ZZZ.c.in                      |  283 ++
 .../{testdvs_ZZZ.c.in => example_dvs_ZZZ.c.in}     |   42 +-
 .../{testecdh_ZZZ.c.in => example_ecdh_ZZZ.c.in}   |    0
 .../{testmpin_ZZZ.c.in => example_mpin_ZZZ.c.in}   |   29 +-
 .../{testrsa_WWW.c.in => example_rsa_WWW.c.in}     |    0
 .../{testwcc_ZZZ.c.in => example_wcc_ZZZ.c.in}     |    5 +-
 ...stwcc_dta_ZZZ.c.in => example_wcc_dta_ZZZ.c.in} |    0
 examples/{testx509.c => example_x509.c}            |    0
 include/bls.h.in                                   |   95 +
 include/bls192.h.in                                |   95 +
 include/bls256.h.in                                |   95 +
 include/config_curve.h.in                          |   19 +
 include/config_test.h.in                           |   43 +-
 include/ecp4.h.in                                  |   41 +-
 include/ecp8.h.in                                  |   39 +-
 include/fp16.h.in                                  |   19 +
 include/fp24.h.in                                  |   21 +-
 include/fp48.h.in                                  |   21 +-
 include/fp8.h.in                                   |   19 +
 include/mpin192.h.in                               |   10 +-
 include/mpin256.h.in                               |   10 +-
 include/pair192.h.in                               |   19 +
 include/pair256.h.in                               |   19 +
 include/version.h.in                               |   42 +-
 scripts/buildMulti.sh                              |    2 +-
 src/bls.c.in                                       |  153 +
 src/bls192.c.in                                    |  153 +
 src/bls256.c.in                                    |  153 +
 src/pair.c.in                                      |   10 +-
 src/pair192.c.in                                   |   10 +-
 src/pair256.c.in                                   |   10 +-
 src/randapi.c                                      |   19 +
 src/rom_curve_ANSSI.c                              |   19 +
 src/rom_curve_BLS24.c                              |   21 +-
 src/rom_curve_BLS381.c                             |   19 +
 src/rom_curve_BLS383.c                             |   21 +-
 src/rom_curve_BLS461.c                             |   21 +-
 src/rom_curve_BLS48.c                              |   21 +-
 src/rom_curve_BN254.c                              |   19 +
 src/rom_curve_BN254CX.c                            |   19 +
 src/rom_curve_BRAINPOOL.c                          |   19 +
 src/rom_curve_C25519.c                             |   19 +
 src/rom_curve_C41417.c                             |   19 +
 src/rom_curve_ED25519.c                            |   19 +
 src/rom_curve_FP256BN.c                            |   19 +
 src/rom_curve_FP512BN.c                            |   19 +
 src/rom_curve_GOLDILOCKS.c                         |   19 +
 src/rom_curve_HIFIVE.c                             |   19 +
 src/rom_curve_NIST256.c                            |   19 +
 src/rom_curve_NIST384.c                            |   19 +
 src/rom_curve_NIST521.c                            |   19 +
 src/rom_curve_NUMS256E.c                           |   21 +-
 src/rom_curve_NUMS256W.c                           |   21 +-
 src/rom_curve_NUMS384E.c                           |   21 +-
 src/rom_curve_NUMS384W.c                           |   21 +-
 src/rom_curve_NUMS512E.c                           |   19 +
 src/rom_curve_NUMS512W.c                           |   19 +
 src/rom_curve_SECP256K1.c                          |   19 +
 src/rom_field_25519.c                              |   19 +
 src/rom_field_256PME.c                             |   21 +-
 src/rom_field_256PMW.c                             |   21 +-
 src/rom_field_384PM.c                              |   21 +-
 src/rom_field_512PM.c                              |   21 +-
 src/rom_field_ANSSI.c                              |   19 +
 src/rom_field_BLS24.c                              |   21 +-
 src/rom_field_BLS381.c                             |   19 +
 src/rom_field_BLS383.c                             |   21 +-
 src/rom_field_BLS461.c                             |   21 +-
 src/rom_field_BLS48.c                              |   21 +-
 src/rom_field_BN254.c                              |   19 +
 src/rom_field_BN254CX.c                            |   19 +
 src/rom_field_BRAINPOOL.c                          |   19 +
 src/rom_field_C41417.c                             |   19 +
 src/rom_field_FP256BN.c                            |   19 +
 src/rom_field_FP512BN.c                            |   19 +
 src/rom_field_GOLDILOCKS.c                         |   19 +
 src/rom_field_HIFIVE.c                             |   19 +
 src/rom_field_NIST256.c                            |   19 +
 src/rom_field_NIST384.c                            |   19 +
 src/rom_field_NIST521.c                            |   19 +
 src/rom_field_SECP256K1.c                          |   19 +
 src/rsa_support.c                                  |   19 +
 src/wcc.c.in                                       |   44 +-
 src/wcc192.c.in                                    |   44 +-
 src/wcc256.c.in                                    |   44 +-
 test/CMakeLists.txt                                |   11 +-
 test/test_aes_decrypt.c                            |   37 +-
 test/test_aes_encrypt.c                            |   37 +-
 test/test_big_arithmetics_XXX.c.in                 |   36 +-
 test/test_big_consistency_XXX.c.in                 |   36 +-
 test/test_bls_ZZZ.c.in                             |  294 ++
 test/test_ecc_ZZZ.c.in                             |   36 +-
 test/test_ecdh_ZZZ.c.in                            |   36 +-
 test/test_ecdsa_keypair_ZZZ.c.in                   |   36 +-
 test/test_ecdsa_sign_ZZZ.c.in                      |   36 +-
 test/test_ecdsa_verify_ZZZ.c.in                    |   36 +-
 test/test_ecp2_arithmetics_ZZZ.c.in                |   38 +-
 test/test_ecp4_arithmetics_ZZZ.c.in                |   38 +-
 test/test_ecp8_arithmetics_ZZZ.c.in                |   38 +-
 test/test_ecp_arithmetics_ZZZ.c.in                 |   36 +-
 test/test_fp12_arithmetics_YYY.c.in                |   94 +-
 test/test_fp16_arithmetics_YYY.c.in                |   36 +-
 test/test_fp24_arithmetics_YYY.c.in                |   86 +-
 test/test_fp2_arithmetics_YYY.c.in                 |   36 +-
 test/test_fp48_arithmetics_YYY.c.in                |   38 +-
 test/test_fp4_arithmetics_YYY.c.in                 |   36 +-
 test/test_fp8_arithmetics_YYY.c.in                 |   36 +-
 test/test_fp_arithmetics_YYY.c.in                  |   70 +-
 test/test_gcm_decrypt.c                            |   36 +-
 test/test_gcm_encrypt.c                            |   36 +-
 test/test_hash.c                                   |   36 +-
 test/test_mpin_ZZZ.c.in                            |   36 +-
 test/test_mpin_bad_pin_ZZZ.c.in                    |   36 +-
 test/test_mpin_bad_token_ZZZ.c.in                  |   36 +-
 test/test_mpin_dvs_ZZZ.c.in                        |   36 +-
 test/test_mpin_dvs_wrong_pk_ZZZ.c.in               |   36 +-
 test/test_mpin_expired_tp_ZZZ.c.in                 |   36 +-
 test/test_mpin_good_ZZZ.c.in                       |   36 +-
 test/test_mpin_random_ZZZ.c.in                     |   36 +-
 test/test_mpin_sign_ZZZ.c.in                       |   36 +-
 test/test_mpin_tp_ZZZ.c.in                         |   36 +-
 test/test_mpin_vectors_ZZZ.c.in                    |   38 +-
 test/test_mpin_vectors_dta_ZZZ.c.in                |   36 +-
 test/test_mpinfull_ZZZ.c.in                        |   38 +-
 test/test_mpinfull_onepass_ZZZ.c.in                |   36 +-
 test/test_mpinfull_random_ZZZ.c.in                 |   38 +-
 test/test_mpinfull_tp_ZZZ.c.in                     |   38 +-
 test/test_octet_consistency.c                      |   36 +-
 test/test_output_functions_ZZZ.c.in                |   36 +-
 test/test_pair_ZZZ.c.in                            |   36 +-
 test/test_rsa_WWW.c.in                             |   36 +-
 test/test_rsa_sign_WWW_ZZZ.c.in                    |   36 +-
 test/test_utils.c                                  |   36 +-
 test/test_version.c                                |   36 +-
 test/test_wcc_ZZZ.c.in                             |   36 +-
 test/test_wcc_bad_receiver_key_ZZZ.c.in            |   36 +-
 test/test_wcc_bad_sender_key_ZZZ.c.in              |   36 +-
 test/test_wcc_invalid_points_ZZZ.c.in              |   36 +-
 test/test_wcc_random_ZZZ.c.in                      |   36 +-
 test/test_x509_WWW_ZZZ.c.in                        |   36 +-
 testVectors/mpin/BLS381.json                       |    1 +
 testVectors/mpin/BLS381.txt                        | 3000 ++++++++++++++++++++
 wrappers/python/CMakeLists.txt                     |    5 +
 wrappers/python/README.md                          |    5 +-
 wrappers/python/TestMPINInstall_ZZZ.py.in          |   49 +-
 wrappers/python/TestMPIN_BN254CX.py                |  140 -
 wrappers/python/TimeMPIN_ZZZ.py.in                 |   61 +-
 wrappers/python/bls_ZZZ.py.in                      |  490 ++++
 wrappers/python/mpin_ZZZ.py.in                     |  101 +-
 wrappers/python/wcc_ZZZ.py.in                      |   88 +-
 165 files changed, 7580 insertions(+), 1654 deletions(-)
 create mode 100644 DISCLAIMER
 create mode 100644 NOTICE
 rename examples/{testall.c => example_all.c} (90%)
 create mode 100644 examples/example_bls_ZZZ.c.in
 rename examples/{testdvs_ZZZ.c.in => example_dvs_ZZZ.c.in} (88%)
 rename examples/{testecdh_ZZZ.c.in => example_ecdh_ZZZ.c.in} (100%)
 rename examples/{testmpin_ZZZ.c.in => example_mpin_ZZZ.c.in} (95%)
 rename examples/{testrsa_WWW.c.in => example_rsa_WWW.c.in} (100%)
 rename examples/{testwcc_ZZZ.c.in => example_wcc_ZZZ.c.in} (98%)
 rename examples/{testwcc_dta_ZZZ.c.in => example_wcc_dta_ZZZ.c.in} (100%)
 rename examples/{testx509.c => example_x509.c} (100%)
 create mode 100644 include/bls.h.in
 create mode 100644 include/bls192.h.in
 create mode 100644 include/bls256.h.in
 create mode 100644 src/bls.c.in
 create mode 100644 src/bls192.c.in
 create mode 100644 src/bls256.c.in
 create mode 100644 test/test_bls_ZZZ.c.in
 create mode 100644 testVectors/mpin/BLS381.json
 create mode 100644 testVectors/mpin/BLS381.txt
 delete mode 100644 wrappers/python/TestMPIN_BN254CX.py
 create mode 100755 wrappers/python/bls_ZZZ.py.in


[incubator-milagro-crypto-c] 01/01: Merge pull request #36 from apache/develop

Posted by km...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kmccusker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-crypto-c.git

commit e3fc6b669f3d420674c721bcc753e3af37061169
Merge: 34e32ec a930a00
Author: Kealan McCusker <ke...@gmail.com>
AuthorDate: Wed Aug 7 10:42:05 2019 +0100

    Merge pull request #36 from apache/develop
    
    Release 1.0.0

 .travis.yml                                        |    4 +-
 CMakeLists.txt                                     |   60 +-
 CPackConfig.cmake                                  |    2 +
 DISCLAIMER                                         |    1 +
 Dockerfile                                         |    2 +
 Makefile                                           |   21 +-
 NOTICE                                             |    5 +
 README.md                                          |   71 +-
 VERSION                                            |    2 +-
 cmake/PythonSiteDirs.cmake                         |   11 +
 cmake_uninstall.cmake.in                           |   17 +
 config.mk                                          |   11 +-
 doc/AMCL.dox                                       |    6 +-
 examples/CMakeLists.txt                            |   42 +-
 examples/{testall.c => example_all.c}              |   76 +-
 examples/example_bls_ZZZ.c.in                      |  283 ++
 .../{testdvs_ZZZ.c.in => example_dvs_ZZZ.c.in}     |   42 +-
 .../{testecdh_ZZZ.c.in => example_ecdh_ZZZ.c.in}   |    0
 .../{testmpin_ZZZ.c.in => example_mpin_ZZZ.c.in}   |   29 +-
 .../{testrsa_WWW.c.in => example_rsa_WWW.c.in}     |    0
 .../{testwcc_ZZZ.c.in => example_wcc_ZZZ.c.in}     |    5 +-
 ...stwcc_dta_ZZZ.c.in => example_wcc_dta_ZZZ.c.in} |    0
 examples/{testx509.c => example_x509.c}            |    0
 include/bls.h.in                                   |   95 +
 include/bls192.h.in                                |   95 +
 include/bls256.h.in                                |   95 +
 include/config_curve.h.in                          |   19 +
 include/config_test.h.in                           |   43 +-
 include/ecp4.h.in                                  |   41 +-
 include/ecp8.h.in                                  |   39 +-
 include/fp16.h.in                                  |   19 +
 include/fp24.h.in                                  |   21 +-
 include/fp48.h.in                                  |   21 +-
 include/fp8.h.in                                   |   19 +
 include/mpin192.h.in                               |   10 +-
 include/mpin256.h.in                               |   10 +-
 include/pair192.h.in                               |   19 +
 include/pair256.h.in                               |   19 +
 include/version.h.in                               |   42 +-
 scripts/buildMulti.sh                              |    2 +-
 src/bls.c.in                                       |  153 +
 src/bls192.c.in                                    |  153 +
 src/bls256.c.in                                    |  153 +
 src/pair.c.in                                      |   10 +-
 src/pair192.c.in                                   |   10 +-
 src/pair256.c.in                                   |   10 +-
 src/randapi.c                                      |   19 +
 src/rom_curve_ANSSI.c                              |   19 +
 src/rom_curve_BLS24.c                              |   21 +-
 src/rom_curve_BLS381.c                             |   19 +
 src/rom_curve_BLS383.c                             |   21 +-
 src/rom_curve_BLS461.c                             |   21 +-
 src/rom_curve_BLS48.c                              |   21 +-
 src/rom_curve_BN254.c                              |   19 +
 src/rom_curve_BN254CX.c                            |   19 +
 src/rom_curve_BRAINPOOL.c                          |   19 +
 src/rom_curve_C25519.c                             |   19 +
 src/rom_curve_C41417.c                             |   19 +
 src/rom_curve_ED25519.c                            |   19 +
 src/rom_curve_FP256BN.c                            |   19 +
 src/rom_curve_FP512BN.c                            |   19 +
 src/rom_curve_GOLDILOCKS.c                         |   19 +
 src/rom_curve_HIFIVE.c                             |   19 +
 src/rom_curve_NIST256.c                            |   19 +
 src/rom_curve_NIST384.c                            |   19 +
 src/rom_curve_NIST521.c                            |   19 +
 src/rom_curve_NUMS256E.c                           |   21 +-
 src/rom_curve_NUMS256W.c                           |   21 +-
 src/rom_curve_NUMS384E.c                           |   21 +-
 src/rom_curve_NUMS384W.c                           |   21 +-
 src/rom_curve_NUMS512E.c                           |   19 +
 src/rom_curve_NUMS512W.c                           |   19 +
 src/rom_curve_SECP256K1.c                          |   19 +
 src/rom_field_25519.c                              |   19 +
 src/rom_field_256PME.c                             |   21 +-
 src/rom_field_256PMW.c                             |   21 +-
 src/rom_field_384PM.c                              |   21 +-
 src/rom_field_512PM.c                              |   21 +-
 src/rom_field_ANSSI.c                              |   19 +
 src/rom_field_BLS24.c                              |   21 +-
 src/rom_field_BLS381.c                             |   19 +
 src/rom_field_BLS383.c                             |   21 +-
 src/rom_field_BLS461.c                             |   21 +-
 src/rom_field_BLS48.c                              |   21 +-
 src/rom_field_BN254.c                              |   19 +
 src/rom_field_BN254CX.c                            |   19 +
 src/rom_field_BRAINPOOL.c                          |   19 +
 src/rom_field_C41417.c                             |   19 +
 src/rom_field_FP256BN.c                            |   19 +
 src/rom_field_FP512BN.c                            |   19 +
 src/rom_field_GOLDILOCKS.c                         |   19 +
 src/rom_field_HIFIVE.c                             |   19 +
 src/rom_field_NIST256.c                            |   19 +
 src/rom_field_NIST384.c                            |   19 +
 src/rom_field_NIST521.c                            |   19 +
 src/rom_field_SECP256K1.c                          |   19 +
 src/rsa_support.c                                  |   19 +
 src/wcc.c.in                                       |   44 +-
 src/wcc192.c.in                                    |   44 +-
 src/wcc256.c.in                                    |   44 +-
 test/CMakeLists.txt                                |   11 +-
 test/test_aes_decrypt.c                            |   37 +-
 test/test_aes_encrypt.c                            |   37 +-
 test/test_big_arithmetics_XXX.c.in                 |   36 +-
 test/test_big_consistency_XXX.c.in                 |   36 +-
 test/test_bls_ZZZ.c.in                             |  294 ++
 test/test_ecc_ZZZ.c.in                             |   36 +-
 test/test_ecdh_ZZZ.c.in                            |   36 +-
 test/test_ecdsa_keypair_ZZZ.c.in                   |   36 +-
 test/test_ecdsa_sign_ZZZ.c.in                      |   36 +-
 test/test_ecdsa_verify_ZZZ.c.in                    |   36 +-
 test/test_ecp2_arithmetics_ZZZ.c.in                |   38 +-
 test/test_ecp4_arithmetics_ZZZ.c.in                |   38 +-
 test/test_ecp8_arithmetics_ZZZ.c.in                |   38 +-
 test/test_ecp_arithmetics_ZZZ.c.in                 |   36 +-
 test/test_fp12_arithmetics_YYY.c.in                |   94 +-
 test/test_fp16_arithmetics_YYY.c.in                |   36 +-
 test/test_fp24_arithmetics_YYY.c.in                |   86 +-
 test/test_fp2_arithmetics_YYY.c.in                 |   36 +-
 test/test_fp48_arithmetics_YYY.c.in                |   38 +-
 test/test_fp4_arithmetics_YYY.c.in                 |   36 +-
 test/test_fp8_arithmetics_YYY.c.in                 |   36 +-
 test/test_fp_arithmetics_YYY.c.in                  |   70 +-
 test/test_gcm_decrypt.c                            |   36 +-
 test/test_gcm_encrypt.c                            |   36 +-
 test/test_hash.c                                   |   36 +-
 test/test_mpin_ZZZ.c.in                            |   36 +-
 test/test_mpin_bad_pin_ZZZ.c.in                    |   36 +-
 test/test_mpin_bad_token_ZZZ.c.in                  |   36 +-
 test/test_mpin_dvs_ZZZ.c.in                        |   36 +-
 test/test_mpin_dvs_wrong_pk_ZZZ.c.in               |   36 +-
 test/test_mpin_expired_tp_ZZZ.c.in                 |   36 +-
 test/test_mpin_good_ZZZ.c.in                       |   36 +-
 test/test_mpin_random_ZZZ.c.in                     |   36 +-
 test/test_mpin_sign_ZZZ.c.in                       |   36 +-
 test/test_mpin_tp_ZZZ.c.in                         |   36 +-
 test/test_mpin_vectors_ZZZ.c.in                    |   38 +-
 test/test_mpin_vectors_dta_ZZZ.c.in                |   36 +-
 test/test_mpinfull_ZZZ.c.in                        |   38 +-
 test/test_mpinfull_onepass_ZZZ.c.in                |   36 +-
 test/test_mpinfull_random_ZZZ.c.in                 |   38 +-
 test/test_mpinfull_tp_ZZZ.c.in                     |   38 +-
 test/test_octet_consistency.c                      |   36 +-
 test/test_output_functions_ZZZ.c.in                |   36 +-
 test/test_pair_ZZZ.c.in                            |   36 +-
 test/test_rsa_WWW.c.in                             |   36 +-
 test/test_rsa_sign_WWW_ZZZ.c.in                    |   36 +-
 test/test_utils.c                                  |   36 +-
 test/test_version.c                                |   36 +-
 test/test_wcc_ZZZ.c.in                             |   36 +-
 test/test_wcc_bad_receiver_key_ZZZ.c.in            |   36 +-
 test/test_wcc_bad_sender_key_ZZZ.c.in              |   36 +-
 test/test_wcc_invalid_points_ZZZ.c.in              |   36 +-
 test/test_wcc_random_ZZZ.c.in                      |   36 +-
 test/test_x509_WWW_ZZZ.c.in                        |   36 +-
 testVectors/mpin/BLS381.json                       |    1 +
 testVectors/mpin/BLS381.txt                        | 3000 ++++++++++++++++++++
 wrappers/python/CMakeLists.txt                     |    5 +
 wrappers/python/README.md                          |    5 +-
 wrappers/python/TestMPINInstall_ZZZ.py.in          |   49 +-
 wrappers/python/TestMPIN_BN254CX.py                |  140 -
 wrappers/python/TimeMPIN_ZZZ.py.in                 |   61 +-
 wrappers/python/bls_ZZZ.py.in                      |  490 ++++
 wrappers/python/mpin_ZZZ.py.in                     |  101 +-
 wrappers/python/wcc_ZZZ.py.in                      |   88 +-
 165 files changed, 7580 insertions(+), 1654 deletions(-)