Exemplo n.º 1
0
    def __init__(self, method_name="runTest"):
        super(SetIntersectionTestCase, self).__init__(method_name)

        self.protocol_dir = tasty_path("tests/demos/set_intersection")
Exemplo n.º 2
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/add/garbled_client_client_client")
Exemplo n.º 3
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/add/garbled_server_server_server")
Exemplo n.º 4
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/set_intersection")
Exemplo n.º 5
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/face_recognition")
Exemplo n.º 6
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/mul/garbled_client_client_server")
Exemplo n.º 7
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/mul/signedvec_server_server_server")
Exemplo n.º 8
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/portocols/conversions/signedvec-homomorphicvec-garbledvec-unsignedvec"
     )
Exemplo 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()
Exemplo n.º 10
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/conversions/signed-garbled-signed-client"
     )
Exemplo n.º 11
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/conversions/unsigned-homomorphic-garbled-unsigned"
     )
Exemplo n.º 12
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/conversions/unsigned-garbled-unsigned-server"
     )
Exemplo 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
Exemplo 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"
        )
Exemplo n.º 15
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/mul/unsigned_homomorphic")
Exemplo n.º 16
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/filecircuits/aescircuit")
Exemplo n.º 17
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/mul/homomorphic_client_client_client")
Exemplo n.º 18
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/golden_example")
Exemplo n.º 19
0
 def protocol_dir(self):
     return tasty_path(
         "tests/functional/protocols/mul/signedvec_client_client_client")
Exemplo n.º 20
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/add/unsigned")
Exemplo n.º 21
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/garbled/not")
Exemplo n.º 22
0
 def protocol_dir(self):
     return tasty_path("tests/functional/protocols/add/homomorphic")
Exemplo 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
Exemplo n.º 24
0
 def protocol_dir(self):
     return tasty_path("tests/demos/fairplay_circuit")