def __init__(self, method_name="runTest"):
        super(SetIntersectionTestCase, self).__init__(method_name)

        self.protocol_dir = tasty_path("tests/demos/set_intersection")
Esempio n. 2
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/add/garbled_client_client_client")
Esempio n. 3
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/add/garbled_server_server_server")
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/set_intersection")
Esempio n. 5
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/face_recognition")
Esempio n. 6
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/mul/garbled_client_client_server")
Esempio n. 7
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/mul/signedvec_server_server_server")
Esempio n. 8
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/portocols/conversions/signedvec-homomorphicvec-garbledvec-unsignedvec"
     )
Esempio n. 9
0
# -*- coding: utf-8 -*-

from tasty.types import *
from tasty import state
from tasty import utils
from tasty import config
from tasty.types.key import generate_keys
from tasty import cost_results

state.config = config.create_configuration(
    host="::1",
    port=8000,
    client=True,
    verbose=2,
    symmetric_security_parameter=80,
    asymmetric_security_parameter=1024,
    testing=True,
    protocol_dir=utils.tasty_path("debug/dummy_protocol"))
cost_results.CostSystem.create_costs()
p, state.key = generate_keys(1024)
utils.init_log()
config.validate_configuration()
Esempio n. 10
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/conversions/signed-garbled-signed-client"
     )
Esempio n. 11
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/conversions/unsigned-homomorphic-garbled-unsigned"
     )
Esempio n. 12
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/conversions/unsigned-garbled-unsigned-server"
     )
Esempio n. 13
0
    def __init__(self, method_name="runTest"):
        super(SetIntersectionTestCase, self).__init__(method_name)

        self.protocol_dir = tasty_path(
            "tests/functional/protocols/set_intersection")
        self.iterations = 10
Esempio n. 14
0
    def __init__(self, method_name="runTest"):
        test_utils.TastyRemoteCTRL.__init__(self, method_name)

        self.protocol_dir = tasty_path(
            "tests/demos/multiplication_comparision/multiplication_garbled_onesided"
        )
Esempio n. 15
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/mul/unsigned_homomorphic")
Esempio n. 16
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/filecircuits/aescircuit")
Esempio n. 17
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/mul/homomorphic_client_client_client")
Esempio n. 18
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/golden_example")
Esempio n. 19
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/mul/signedvec_client_client_client")
Esempio n. 20
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/add/unsigned")
Esempio n. 21
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/garbled/not")
Esempio n. 22
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/add/homomorphic")
Esempio n. 23
0
    def __init__(self, method_name="runTest"):
        super(HomomorphicUnsignedAddTestCase, self).__init__(method_name)

        self.protocol_dir = tasty_path(
            "tests/functional/protocols/homomorphic_unsigned_add")
        self.iterations = 10
Esempio n. 24
0
 def protocol_dir(self):
     return tasty_path("tests/demos/fairplay_circuit")