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

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