pyecsca.ec.formula.switch_sign module

pyecsca.ec.formula.switch_sign.generate_switched_formulas(formula, rename=True)[source]
Return type:

Iterator[CodeFormula]

pyecsca.ec.formula.switch_sign.subnode_lists(graph)[source]
pyecsca.ec.formula.switch_sign.switch_sign(graph, node_combination)[source]
Return type:

FormulaGraph

pyecsca.ec.formula.switch_sign.sign_test(output_signs, coordinate_model)[source]
exception pyecsca.ec.formula.switch_sign.BadSignSwitch[source]

Bases: Exception

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

pyecsca.ec.formula.switch_sign.switch_sign_propagate(node, variable, output_signs)[source]
pyecsca.ec.formula.switch_sign.change_operator(op, new_operator)[source]
pyecsca.ec.formula.switch_sign.change_sides(node)[source]
pyecsca.ec.formula.switch_sign.powerlist(iterable)[source]
Return type:

List