aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-09-05 13:35:20 +0800
committerGitHub <noreply@github.com>2018-09-05 13:35:20 +0800
commit2b5c97e53e9734dda971456ff483bf2b34f0f021 (patch)
tree38f85928ce552762de4243df5feb7757c2a75410 /bin
parent41641e10286dd7b1fdcced6a51157e061d545ef5 (diff)
downloadtangerine-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.tar
tangerine-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.tar.gz
tangerine-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.tar.bz2
tangerine-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.tar.lz
tangerine-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.tar.xz
tangerine-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.tar.zst
tangerine-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.zip
CRYPTO: dkg library (#95)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/install_dkg_dep.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/install_dkg_dep.sh b/bin/install_dkg_dep.sh
new file mode 100755
index 0000000..eb41460
--- /dev/null
+++ b/bin/install_dkg_dep.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+if [ -e .dep/dkg ]; then
+ exit 0
+fi
+
+rm -rf vendor/github.com/herumi/*
+if [ ! -d .dep/dkg ]; then
+ mkdir -p .dep/dkg
+ cd .dep/dkg
+ git clone --depth 1 git://github.com/herumi/xbyak.git &
+ git clone --depth 1 git://github.com/herumi/cybozulib.git &
+ git clone --depth 1 git://github.com/herumi/bls.git &
+ git clone --depth 1 git://github.com/herumi/mcl.git &
+ wait
+ cd bls
+ make test_go -j
+ cd ../../../
+fi
+cp -r .dep/dkg/* \
+ vendor/github.com/herumi