aboutsummaryrefslogtreecommitdiff
path: root/pyecsca/ec/context.py
diff options
context:
space:
mode:
authorJ08nY2023-02-08 20:53:42 +0100
committerJ08nY2023-02-08 20:53:42 +0100
commit4de6608184594331d2860afa8f1f3626486ddce8 (patch)
tree72a079e7b70ca0d2cc3a83e835a63933ee7e08cd /pyecsca/ec/context.py
parenta796a68e02521a1db2ee309c021671a904fe14df (diff)
downloadpyecsca-4de6608184594331d2860afa8f1f3626486ddce8.tar.gz
pyecsca-4de6608184594331d2860afa8f1f3626486ddce8.tar.zst
pyecsca-4de6608184594331d2860afa8f1f3626486ddce8.zip
Diffstat (limited to 'pyecsca/ec/context.py')
-rw-r--r--pyecsca/ec/context.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyecsca/ec/context.py b/pyecsca/ec/context.py
index 5357907..a0fd3c2 100644
--- a/pyecsca/ec/context.py
+++ b/pyecsca/ec/context.py
@@ -1,5 +1,5 @@
"""
-This module provides classes for tracing the execution of operations.
+Provides classes for tracing the execution of operations.
The operations include key generation, scalar multiplication, formula execution and individual operation evaluation.
These operations are traced in `Context` classes using `Actions`. Different contexts trace actions differently.
@@ -170,10 +170,10 @@ class NullContext(Context):
"""Context that does not trace any actions."""
def enter_action(self, action: Action) -> None:
- pass
+ pass # Nothing to enter as no action is traced.
def exit_action(self, action: Action) -> None:
- pass
+ pass # Nothing to exit as no action is traced.
@public