1
0
Fork 0
mirror of https://github.com/samsapti/bachelor-project.git synced 2024-11-25 14:27:54 +00:00

Remove unused ORAM request_therapist

This commit is contained in:
Sam A. 2023-05-08 22:34:04 +02:00
parent 35540af207
commit d970b4c35c
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -63,9 +63,6 @@ class Matchmaker:
self.paired_patients = \
self.oram_type(self.N, entry_size=log2(self.N),
init_rounds=0, value_type=self.basic_type)
request_therapist = \
self.oram_type(self.N, entry_size=log2(self.N),
init_rounds=0, value_type=self.basic_type)
self.unpaired = OStack(self.N, oram_type=self.oram_type,
int_type=self.int_type)
@ -96,7 +93,6 @@ class Matchmaker:
print_ln('run out of acceptable therapists')
crash()
request_therapist[patient] = therapist.read()
self.request_therapist(patient, therapist.read(), True)
print_ln('patient: %s, pref: %s, left: %s',
*(x.reveal() for x in (patient, pref, self.unpaired.size)))