You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by sa...@apache.org on 2020/02/07 12:57:29 UTC
[incubator-milagro-MPC] 09/11: Update reference to milagro-crypto-c
This is an automated email from the ASF dual-hosted git repository.
sandreoli pushed a commit to branch add-mta-zk-proofs
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git
commit 6f0d865b6eb6a7820260bc95cd7021f9860e6d01
Author: Samuele Andreoli <sa...@yahoo.it>
AuthorDate: Wed Feb 5 17:14:02 2020 +0000
Update reference to milagro-crypto-c
---
Dockerfile | 5 +++--
README.md | 1 +
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 0f247f2..fb02245 100755
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
# Dockerfile
#
-# Ubuntu 18.04 (Bionic)
+# Ubuntu 18.04 (Bionic)
#
# @author Kealan McCusker <ke...@gmail.com>
# ------------------------------------------------------------------------------
@@ -56,12 +56,13 @@ RUN mkdir -p /root/go/bin && \
# install AMCL
RUN git clone https://github.com/apache/incubator-milagro-crypto-c.git && \
cd incubator-milagro-crypto-c && \
+ git checkout 86c33c63d34fd3b9024a5e5c32934d4103805b9c && \
mkdir build && \
cd build && \
cmake -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=ON -D AMCL_CHUNK=64 -D AMCL_CURVE="BLS381,SECP256K1" -D AMCL_RSA="" -D BUILD_PAILLIER=ON -D BUILD_PYTHON=ON -D BUILD_BLS=ON -D BUILD_WCC=OFF -D BUILD_MPIN=OFF -D BUILD_X509=OFF -D CMAKE_INSTALL_PREFIX=/usr/local .. && \
make && \
make test && \
- make install
+ make install
ADD . /root
diff --git a/README.md b/README.md
index 7653a86..c1c9824 100644
--- a/README.md
+++ b/README.md
@@ -64,6 +64,7 @@ Build and install the AMCL library
```sh
git clone https://github.com/apache/incubator-milagro-crypto-c.git
cd incubator-milagro-crypto-c
+git checkout 86c33c63d34fd3b9024a5e5c32934d4103805b9c
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=ON -D AMCL_CHUNK=64 -D AMCL_CURVE="BLS381,SECP256K1" -D AMCL_RSA="" -D BUILD_PAILLIER=ON -D BUILD_PYTHON=ON -D BUILD_BLS=ON -D BUILD_WCC=OFF -D BUILD_MPIN=ON -D BUILD_X509=OFF -D CMAKE_INSTALL_PREFIX=/usr/local ..