From 191de0d88f68a91b9658adacd20d0e0c01b9c9b8 Mon Sep 17 00:00:00 2001 From: J08nY Date: Thu, 19 Jun 2025 15:55:27 +0200 Subject: Remove prints and fix API change in action tree. --- pyecsca/sca/re/rpa.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pyecsca/sca') diff --git a/pyecsca/sca/re/rpa.py b/pyecsca/sca/re/rpa.py index 3fa1e5b..c7f2f1e 100644 --- a/pyecsca/sca/re/rpa.py +++ b/pyecsca/sca/re/rpa.py @@ -81,8 +81,6 @@ class MultipleContext(Context): def enter_action(self, action: Action) -> None: if isinstance(action, (ScalarMultiplicationAction, PrecomputationAction)): self.inside.append(action) - print("Entering action:", action) - print("base", self.base) if self.base: # If we already did some computation with this context try to see if we are building on top of it. if self.base != action.point: @@ -106,7 +104,6 @@ class MultipleContext(Context): self.parents = {self.base: [], self.neutral: []} self.formulas = {self.base: "", self.neutral: ""} self.precomp = {} - print("after", self.base) def exit_action(self, action: Action) -> None: if isinstance(action, (ScalarMultiplicationAction, PrecomputationAction)): @@ -116,8 +113,6 @@ class MultipleContext(Context): if isinstance(action, FormulaAction) and self.inside: action = cast(FormulaAction, action) shortname = action.formula.shortname - print(action.input_points, action.output_points) - print(self.points) if shortname == "dbl": inp = action.input_points[0] out = action.output_points[0] -- cgit v1.2.3-70-g09d2