You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GMP and OpenSSL are only built, when corresponding options are activated (default: deactivated) and Boost libraries are only downloaded when corresponding variable is set.
Copy file name to clipboardExpand all lines: README.md
+29-3Lines changed: 29 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,13 +20,13 @@ By *Daniel Demmler, Thomas Schneider and Michael Zohner* ([ENCRYPTO](http://www.
20
20
-[Build Options](#build-options)
21
21
-[Cleaning the Build Directory](#cleaning-the-build-directory)
22
22
-[Installation](#installation)
23
-
-[Developer Guide and Documentation](#developer-guide-and-documentation)
23
+
-[Building for Android](#building-for-android)
24
+
-[Developer Guide and Documentation](#developer-guide-and-documentation)
24
25
-[ABY Applications](#aby-applications)
25
26
-[Included Example Applications](#included-example-applications)
26
27
-[Running Applications](#running-applications)
27
28
-[Creating and Building your own ABY Application](#creating-and-building-your-own-aby-application)
28
29
29
-
30
30
### Features
31
31
---
32
32
ABY efficiently combines secure computation schemes based on **Arithmetic sharing**, **Boolean sharing**, and **Yao’s garbled circuits** and makes available best-practice solutions in secure two-party computation.
@@ -182,12 +182,36 @@ make
182
182
make install
183
183
```
184
184
185
-
186
185
#### Developer Guide and Documentation
187
186
We provide an extensive [developer guide](https://www.informatik.tu-darmstadt.de/media/encrypto/encrypto_code/abydevguide.pdf) with many examples and explanations of how to use ABY.
188
187
189
188
Also, see the [online doxygen documentation of ABY](http://encryptogroup.github.io/ABY/docs/index.html) for further information and comments on the code.
where <TargetAPI> is a number between 16 and the latest Android API and <TargetABI> is the target platform (one of armeabi-v7a, arm64-v8a, x86 and x86_64 respectively).
206
+
207
+
Please note that when using ABY with Android Studio that <path/to/ndk> needs to be the path to the NDK used by Android Studio (often located at $HOME/Android/Sdk/ndk-bundle on Linux).
208
+
209
+
210
+
5. Call `make` in the build directory.
211
+
You can find the build executables and libraries in the directories `bin/`
212
+
and `lib/`, respectively.
213
+
214
+
6. Call 'make install' after the build has finished. This will install the libraries into the provided NDK.
191
215
192
216
### ABY Applications
193
217
---
@@ -234,6 +258,8 @@ Also, see the [online doxygen documentation of ABY](http://encryptogroup.github.
234
258
add_executable(my_application my_application.cpp)
235
259
target_link_libraries(my_application ABY::aby)
236
260
```
261
+
* If you are using ABY for Android in Android Studio and you encounter the "library libc++_shared.so not found" error, make sure to pass '-DANDROID_STL=c++_shared' as an argument to cmake within the gradle script. Setting ANDROID_STL within the cmake script won't work.
262
+
237
263
* Otherwise, setup the include path such that the headers of ABY and its
238
264
dependencies can be found and link your application to the `libaby.a`
0 commit comments