74 Commits

Author SHA1 Message Date
Xiao Wang
356cfd8247 Update CMakeLists.txt 2025-11-13 11:39:57 -06:00
Joe Rowell
19751229d7 Make ``amortized_2pc.h` match `2pc.h`` (#35)
* Add const, fix indexing bug.

This makes things consistent with 2pc.h.

* Update tests
2023-02-28 08:58:06 -06:00
lgtm-com[bot]
eddb6bf92f Add CodeQL workflow for GitHub code scanning (#34)
Co-authored-by: LGTM Migrator <lgtm-migrator@users.noreply.github.com>
2022-12-07 08:42:22 -06:00
Danny Lin
e07095cfcc Fix CMake find_package warning (#33)
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (EMP-AG2PC)
  does not match the name of the calling package (emp-ag2pc).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /home/dragon/code/crypto/prefix-emptool-host/cmake/emp-ag2pc-config.cmake:7 (find_package_handle_standard_args)
  CMakeLists.txt:11 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.
2022-12-03 18:34:45 -07:00
Joe Rowell
2f079f0419 Fix memory leak. (#32) 2022-11-14 11:20:23 -06:00
Joe Rowell
cac7236491 Remove check on nullptr before delete (#31) 2022-11-09 14:18:18 -06:00
Joe Rowell
5067ab1b0d Replace "1" with "ALICE". (#30) 2022-11-09 13:27:04 -06:00
Joe Rowell
b7981afbcd Make "input" const. (#29) 2022-09-29 14:57:40 -05:00
Sarah Scheffler
c40d5e5b10 Fixing input index bug in 2pc.h (#28)
* Fixing input index bug in 2pc.h

Previously, Bob's input was indices 0:n1, Alice's input was 0:n2.   This fix corrects Alice's input to be n1:(n1+n2).  This was not caught in tests because the tests used the same input (0) for Alice's and Bob's input.

* Adding test for AES with NIST test vector key and message.  Also modifying single_execution.h so that it has an input and an expected_output.

Co-authored-by: Sarah Scheffler <sscheff@princeton.edu>
2021-12-07 22:40:34 -06:00
Xiao Wang
a1cbca82d8 minor 2021-11-15 11:59:33 -06:00
themighty1
a1fa6a254a Fix Readme: use -- for arguments (#26) 2021-11-15 09:17:33 -06:00
Xiao Wang
b93a28aa84 fix mem leak (#22) 2021-07-20 01:18:51 -05:00
Xiao Wang
8922af5dc0 Create lgtm.yml 2021-07-20 01:02:06 -05:00
Xiao Wang
4d8d8a85c2 Update CMakeLists.txt 2021-07-04 22:03:24 -05:00
Xiao Wang
38b81e5b88 update tests 2021-05-18 09:48:31 -05:00
Xiao Wang
a050b97c77 fix action 2021-05-18 00:14:07 -05:00
Xiao Wang
0848cfb9a7 update cmakelist 2021-05-17 15:08:01 -05:00
Xiao Wang
28cc5ab21b fix interface 2021-04-23 19:12:02 -05:00
Xiao Wang
431e6c1181 Update triple.cpp 2021-04-23 18:59:18 -05:00
Xiao Wang
045a0ac957 Delete .travis.yml 2021-02-11 20:28:38 -06:00
Xiao Wang
84db8ea0bc Update x86.yml 2021-02-11 12:51:36 -06:00
Xiao Wang
d9eff61f53 Update README.md 2021-02-11 11:31:09 -06:00
Xiao Wang
c9772fde20 add GitHub Action
* Create x86.yml

* Create arm.yml

* Update README.md

* Update x86.yml

* Update abit.cpp

* Update x86.yml

* Update fpre.h
2021-02-11 11:30:45 -06:00
Xiao Wang
6df9485fc6 Update .travis.yml 2021-02-10 11:24:22 -06:00
Xiao Wang
59fa529043 fix amortized 2pc 2021-02-10 11:14:41 -06:00
Xiao Wang
11e51179a2 update travis with ARM< 2020-11-29 01:14:59 -06:00
Xiao Wang
c5c38f212c allow alice getting output (#17) 2020-09-20 16:33:24 -05:00
Xiao Wang
45396efe12 Update README.md 2020-09-12 11:49:27 -05:00
Xiao Wang
cb2f2df457 Update README.md 2020-09-12 11:48:42 -05:00
Xiao Wang
47b05cc5eb update circuit path 2020-09-12 10:26:09 -05:00
Xiao Wang
a7c30f1493 minor 2020-09-12 10:19:45 -05:00
Xiao Wang
d65549eeb7 add cmake file 2020-09-06 16:28:19 -05:00
Xiao Wang
3dc43f501b Update 2pc.h 2020-09-06 16:09:54 -05:00
Xiao Wang
fc82a4a0ee Update .travis.yml 2020-09-06 00:21:22 -05:00
Xiao Wang
8a264ebb91 Update .travis.yml 2020-09-05 17:42:01 -05:00
Xiao Wang
4676dd50c9 remove sse function calls v0.1-alpha 2020-05-13 23:13:30 -05:00
Xiao Wang
7926c8fa72 init release-2 2020-05-13 23:06:27 -05:00
Fan Zhang
163985c8a1 add install target (#7) 2019-05-30 22:33:39 -04:00
Xiao Wang
77210c46d0 minor 2019-04-11 13:14:27 -04:00
Xiao Wang
333c8810d2 update travis 2019-04-11 11:07:21 -04:00
Xiao Wang
ab6943b453 Merge branch 'master' of github.com:emp-toolkit/emp-ag2pc 2019-04-11 10:45:26 -04:00
Xiao Wang
3af062bc1b add new test for simple circuits 2019-04-11 10:44:57 -04:00
Xiao Wang
aef2467aef Update 2pc.h 2019-04-10 23:24:37 -04:00
Xiao Wang
d7bd47dfef Update README.md 2018-11-05 14:06:25 -05:00
Xiao Wang
d9d4622fe2 Update README.md 2018-11-05 14:06:14 -05:00
Xiao Wang
ca8232da44 fix FEQ 2018-09-24 17:03:18 -04:00
Zhicong Huang
8562a38de8 fix send_bool minor bug: null pointer (#5) 2018-09-18 06:26:29 -05:00
Xiao Wang
b46db47122 Create LICENSE 2018-07-26 11:14:07 -04:00
Xiao Wang
0e76401b9e use boost align 2018-05-14 23:27:08 -04:00
Xiao Wang
743d1b73aa Merge branch 'master' of github.com:emp-toolkit/emp-ag2pc 2018-05-14 20:55:33 -04:00