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

        self.protocol_dir = tasty_path("tests/demos/set_intersection")
Exemple #2
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/add/garbled_client_client_client")
Exemple #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")
Exemple #5
0
 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"
     )
Exemple #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()
Exemple #10
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/conversions/signed-garbled-signed-client"
     )
Exemple #11
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/conversions/unsigned-homomorphic-garbled-unsigned"
     )
Exemple #12
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/conversions/unsigned-garbled-unsigned-server"
     )
Exemple #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
Exemple #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"
        )
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/mul/unsigned_homomorphic")
Exemple #16
0
 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")
Exemple #20
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/add/unsigned")
Exemple #21
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/garbled/not")
Exemple #22
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/add/homomorphic")
Exemple #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
Exemple #24
0
 def protocol_dir(self):
     return tasty_path("tests/demos/fairplay_circuit")