77 Commits

Author SHA1 Message Date
Marcel Keller
145d600d94 Bugs in binary circuit compilation. 2020-10-02 13:02:49 +10:00
Marcel Keller
3834d73b5f Merge pull request #122 from sbellem/merge_options
Remove duplicate merge_opens arg
2020-09-30 00:03:40 +10:00
Sylvain Bellemare
22cfc4183d Remove duplicate merge_opens option in compile.py
The merge_opens option is available in the options received from the
command line and will apply to a Program instance and its tapes.

The merge_opens attribute is preserved on the Tape class as this allows
turning off merging (setting merge_opens to False) for specific tapes.

See #121 for more details.
2020-09-29 12:31:07 +01:00
Marcel Keller
b1554bd241 Fix high-precision bit-(de)composition in binary circuits. 2020-09-29 13:39:54 +10:00
Marcel Keller
20ca2c97f5 Fix printing of full-precision fixed-point numbers in binary circuits. 2020-09-29 13:22:13 +10:00
Sylvain Bellemare
22ec98a10d Replace CompilerException with CompilerError 2020-09-28 12:58:47 +01:00
Marcel Keller
ad583afb7e Various improvements. 2020-08-24 23:29:03 +10:00
Marcel Keller
cf1719b83a Bug in multiplication with compile-time float. 2020-08-08 14:47:44 +10:00
Marcel Keller
ffa149ba2d Overwrite public input file only if necessary. 2020-07-13 18:30:22 +10:00
Marcel Keller
78a0da8aab Fix bugs in floating-point division. 2020-07-01 21:11:51 +10:00
Marcel Keller
7817a06f49 Bug when reading clear fixed-point number from memory. 2020-07-01 21:11:26 +10:00
Marcel Keller
22a343e8cf Limit vector size in MultiArray input. 2020-06-30 19:46:16 +10:00
Marcel Keller
8fece4ad72 Limit vector size in MultiArray input. 2020-06-29 21:59:50 +10:00
Marcel Keller
26444368db Allow scalar-vector product of fixed-point values. 2020-06-28 16:48:31 +10:00
Marcel Keller
d803e53e2b Missing arithmetic functionality in binary computation. 2020-06-27 19:02:16 +10:00
Marcel Keller
4d27825483 Arrays for revealed fixed-point numbers in binary circuits. 2020-06-24 18:59:44 +10:00
Marcel Keller
898b87a78a Vectorized fixed-point multiplication in binary circuits. 2020-06-24 18:59:38 +10:00
Marcel Keller
20f84de3b9 Memory-safe transpose. 2020-06-20 20:28:25 +10:00
Marcel Keller
3f9f3be575 Half-gate garbling, native 2D convolution, TensorFlow inference. 2020-06-15 15:23:05 +10:00
Marcel Keller
4ef6b6d873 Maintenance. 2020-05-08 21:43:05 +10:00
Marcel Keller
24926df83b Bristol Fashion. 2020-04-02 09:09:45 +02:00
Marcel Keller
92a3fb0184 edaBits, ChaiGear, TopGear, CCD. 2020-03-20 20:31:25 +11:00
Mazelt
3f0c76e7eb Fix out of range bug in optimizer.run
indices has the shape of n * n_per_epoch in line 681. 
i + j * n_per_epoch did cause an out of range error when n_per_epoch was greater than n.
2020-02-25 23:21:28 +01:00
Marcel Keller
b17d4b6254 Input by run-time player id. 2020-02-11 21:11:40 +11:00
Marcel Keller
e6cc02040e More documentation. 2020-01-21 17:01:09 +11:00
Marcel Keller
1fdd70cb42 Enable computation of requirements. 2020-01-20 15:26:53 +11:00
Marcel Keller
b6714352ab Python 3.8 warnings. 2020-01-17 13:32:57 +11:00
Mark Abspoel
fc6acb77d6 Add __floordiv__ to _mem 2020-01-14 10:00:52 +01:00
Marcel Keller
6fa65c3141 Mixed computation, binary computation with XOR-based MACs. 2019-12-23 18:44:22 +01:00
Marcel Keller
470b075803 Python 3, semi-honest computation using semi-homomorphic encryption. 2019-11-21 17:23:51 +11:00
Marcel Keller
7a5195d83c Machine learning functionality, dishonest-majority binary secret sharing. 2019-10-11 15:48:58 +11:00
Marcel Keller
3faa8a0d4a Fix reverse permutation. 2019-09-10 18:13:55 +10:00
Marcel Keller
ed32af4fc6 Bugs in oblivious shuffling. 2019-08-19 18:05:39 +10:00
Marcel Keller
bd60197886 ECDSA, more replicated secret sharing. 2019-08-06 16:56:42 +10:00
Marcel Keller
5ef70589cb Fixed- and floating-point inputs. 2019-07-11 14:59:18 +10:00
Marcel Keller
715f67f4c5 CowGear, more protocols with replicated secret sharing. 2019-06-07 15:26:28 +10:00
Marcel Keller
b5d8123ae0 BMR, Use your Brain, Semi/Semi2k. 2019-04-30 17:25:02 +10:00
Marcel Keller
59e1581421 SPDZ2k online phase; preprocessing integration for MASCOT and SPDZ2k; integer division. 2019-03-28 17:23:20 +11:00
Marcel Keller
b6a18675e8 Optimized matrix multiplication; data type for quantization. 2019-02-14 15:15:37 +11:00
Marcel Keller
216fbdf1e1 Shamir secret sharing. 2019-01-05 15:10:01 +01:00
Marcel Keller
343f484c38 Variable precision for floating-point outputs. 2019-01-04 17:36:27 +01:00
Marcel Keller
136a0d1255 Merge pull request #5 from lance6716/patch-2
Add Matrix * Matrix support
2018-12-30 09:46:24 +01:00
Marcel Keller
212f90b1a7 Clean up data structures. 2018-12-30 09:14:13 +01:00
Marcel Keller
bbdf14216d Bug in sfix initialization. 2018-12-28 14:10:06 +01:00
Marcel Keller
58f4bde3f2 Bug in conversion to sfix. 2018-12-28 09:47:10 +01:00
lance6716
fc04d59409 Add Matrix * Matrix support 2018-12-27 11:40:00 +08:00
Marcel Keller
ad694abfd5 cfix arrays. 2018-12-26 22:46:08 +01:00
Marcel Keller
db8f78ab51 Bugs in sfix matrix. 2018-12-26 07:11:03 +01:00
Marcel Keller
ea59419de2 More honest-majority three-party computation (modulo prime and malicious binary). 2018-11-30 15:14:43 +11:00
Marcel Keller
69ffa077f2 Fix printing for fixed-point numbers. 2018-11-26 17:47:20 +11:00