MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / set_bit_length

Method set_bit_length

Compiler/program.py:683–686  ·  view source on GitHub ↗

Change the integer bit length for non-linear functions.

(self, bit_length)

Source from the content-addressed store, hash-verified

681 return self.input_files[key]
682
683 def set_bit_length(self, bit_length):
684 """Change the integer bit length for non-linear functions."""
685 self.bit_length = bit_length
686 print("Changed bit length for comparisons etc. to", bit_length)
687
688 def set_security(self, security):
689 changed = self._security != security

Callers 2

path_oram.pyFile · 0.80
dijkstra.pyFile · 0.80

Calls 1

printFunction · 0.85

Tested by

no test coverage detected