def __init__(self, method_name="runTest"): super(SetIntersectionTestCase, self).__init__(method_name) self.protocol_dir = tasty_path("tests/demos/set_intersection")
def protocol_dir(self): return tasty_path( "tests/functional/protocols/add/garbled_client_client_client")
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")
def protocol_dir(self): return tasty_path("tests/functional/protocols/face_recognition")
def protocol_dir(self): return tasty_path( "tests/functional/protocols/mul/garbled_client_client_server")
def protocol_dir(self): return tasty_path( "tests/functional/protocols/mul/signedvec_server_server_server")
def protocol_dir(self): return tasty_path( "tests/functional/portocols/conversions/signedvec-homomorphicvec-garbledvec-unsignedvec" )
# -*- 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()
def protocol_dir(self): return tasty_path( "tests/functional/protocols/conversions/signed-garbled-signed-client" )
def protocol_dir(self): return tasty_path( "tests/functional/protocols/conversions/unsigned-homomorphic-garbled-unsigned" )
def protocol_dir(self): return tasty_path( "tests/functional/protocols/conversions/unsigned-garbled-unsigned-server" )
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
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" )
def protocol_dir(self): return tasty_path( "tests/functional/protocols/mul/unsigned_homomorphic")
def protocol_dir(self): return tasty_path("tests/functional/protocols/filecircuits/aescircuit")
def protocol_dir(self): return tasty_path( "tests/functional/protocols/mul/homomorphic_client_client_client")
def protocol_dir(self): return tasty_path("tests/functional/protocols/golden_example")
def protocol_dir(self): return tasty_path( "tests/functional/protocols/mul/signedvec_client_client_client")
def protocol_dir(self): return tasty_path("tests/functional/protocols/add/unsigned")
def protocol_dir(self): return tasty_path("tests/functional/protocols/garbled/not")
def protocol_dir(self): return tasty_path("tests/functional/protocols/add/homomorphic")
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
def protocol_dir(self): return tasty_path("tests/demos/fairplay_circuit")