当前位置:网站首页>How to build an aby framework and run an instance
How to build an aby framework and run an instance
2022-06-13 09:11:00 【Qingmeng Chang'an】
How to build a ABY Framework and run the instance
ABY Frame content link : https://github.com/encryptogroup/ABY
<1> install Ubuntu( Install the latest version )
<2> install ABY The packages needed by the framework
- install g++( Version needs to be >=8, If you install the latest Ubuntu,g++ There is no need to worry about the version requirements during installation )
sudo apt-get install g++
- install make
sudo apt-get install make
- install cmake
sudo apt-get install cmake
- install libgmp-dev
sudo apt-get install libgmp-dev
- install libssl-dev
sudo apt-get install libssl-dev
- install libboost-all-dev( Version needs to be >=1.66, If you install the latest Ubuntu, There is no need to worry about the version requirements during installation )
sudo apt-get install libboost-all-dev
- install git
sudo apt-get install git
- install OTExtension
git clone https://github.com/encryptogroup/OTExtension.git
- install doxygen( Optional installation )
sudo apt-get install doxygen
- install graphviz( Optional installation )
sudo apt-get install graphviz
<3> Begin to build ABY frame
- Copy ABY git library
git clone https://github.com/encryptogroup/ABY.git
notes : In case of failure to copy , take https Change it to git that will do
git clone git://github.com/encryptogroup/ABY.git
- Get into ABY In the folder
cd ABY/
- stay ABY Create a build Catalog
mkdir build
- Get into ABY In the folder
cd build
- Use cmake To configure
cmake .. -DABY_BUILD_EXE=On
<4> stay ABY Implement the instances given in the Library under the framework :The Millionaire’s problem
- take ABY/src/examples Of millionaire_prob Copy folder to /ABY/build/bin in ( Just copy and paste )
- Enter into ABY/build/ Operating under the directory make
make
- stay ABY/build/ Enter... In the directory bin
cd bin
19. stay ABY/build/bin/ Open two terminals under the directory , Enter the following codes respectively , You can run the instance and get the result .
./millionaire_prob_test -r 0
./millionaire_prob_test -r 1
<5> I wish you a successful configuration !
边栏推荐
- Jfinal and swagger integration
- ""? "& in URL Role of "" sign
- JUC field Updater
- C/S模型与P2P模型
- 20211108 is transpose multiply a a a positive definite matrix? What are the necessary and sufficient conditions for a to be a positive definite matrix?
- How to become a white hat hacker? I suggest you start from these stages
- How to resolve "the operation cannot be completed successfully because the file contains viruses or potentially junk software
- Collection of garbled code problems in idea development environment
- Map 23 summary
- 20211115 any n-order square matrix is similar to triangular matrix (upper triangle or lower triangle)
猜你喜欢

Installation of sonarqube code quality management platform (to be continued)

Cmake Learning Series I

Cisco, Huawei network equipment

Routing - static routing
Drill down to protobuf - Introduction

【网络安全】SQL注入新思维之webshell提权

BGP 联邦+Community

Top+jstack to analyze the causes of excessive CPU

Tutorial (5.0) 02 Management * fortiedr * Fortinet network security expert NSE 5

Use of grep
随机推荐
Collection of garbled code problems in idea development environment
【QNX Hypervisor 2.2 用户手册】4.5 构建Guest
C language 7-13 day K candle chart (15 points)
Lecture par lots de tous les fichiers vocaux sous le dossier
Necessary and sufficient conditions for diagonalization of 20211115 matrix; The full rank matrix does not necessarily have n linearly independent eigenvectors; Symmetric matrices must be diagonalized
Use of grep
20211020 段院士全驱系统
[network security penetration] if you don't understand CSRF? This article gives you a thorough grasp
Map 23 summary
JUC原子引用与ABA问题
20211108 differential tracker
Subspace of 20211004 matrix
20211108 observable, controllable, stable and measurable
20220524 如何把CoppeliaSim安装到D盘
20211028 Stabilizability
The Jenkins console does not output custom shell execution logs
Routing - static routing
Some websites of QT (software download, help documents, etc.)
20211028 adjustment and tracking
Figure introduction to database neo4j