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/05/14 22:47:27 UTC
[incubator-milagro-MPC] 11/27: Update reference to milagro-crypto-c
This is an automated email from the ASF dual-hosted git repository.
sandreoli pushed a commit to branch update-model-no-replay
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-MPC.git
commit b9374f6265eabcf99551dd44f27a13b8c8d7ef7a
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 52d70bd..e664c79 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,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=Debug -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 ..