(self, ldt_params: LDTParameters)
| 261 | |
| 262 | class Protocol: |
| 263 | def __init__(self, ldt_params: LDTParameters): |
| 264 | self.params = ldt_params |
| 265 | #msg = Polynomial(ldt_params, ldt_params.degree, ldt_params.rho_bits) |
| 266 | #rnd_init = Round() |
| 267 | #rnd_init.addMessage(msg) |
| 268 | #self.rounds = [rnd_init] |
| 269 | self.stopped = False |
| 270 | #self.lastOracle = msg |
| 271 | self.rounds = [] |
| 272 | self.lastOracle = None |
| 273 | |
| 274 | def addRound(self, rnd : Round): |
| 275 | if self.stopped == False: |
nothing calls this directly
no outgoing calls
no test coverage detected