aboutsummaryrefslogtreecommitdiff
path: root/pyecsca/ec/formula.py
diff options
context:
space:
mode:
authorJ08nY2018-12-18 18:46:16 +0100
committerJ08nY2019-03-21 11:00:14 +0100
commit4a85ffa34d0f8ab8595c6b60f9248ed1b51bf62d (patch)
tree3d281e67ef64209a78cd1e17f66b818b7079bf33 /pyecsca/ec/formula.py
parent70636c48d6177b50cb6237c2649b3e36d04eaaf4 (diff)
downloadpyecsca-4a85ffa34d0f8ab8595c6b60f9248ed1b51bf62d.tar.gz
pyecsca-4a85ffa34d0f8ab8595c6b60f9248ed1b51bf62d.tar.zst
pyecsca-4a85ffa34d0f8ab8595c6b60f9248ed1b51bf62d.zip
Add negation formulas to EFD.
Diffstat (limited to 'pyecsca/ec/formula.py')
-rw-r--r--pyecsca/ec/formula.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyecsca/ec/formula.py b/pyecsca/ec/formula.py
index 897a44b..5b6f028 100644
--- a/pyecsca/ec/formula.py
+++ b/pyecsca/ec/formula.py
@@ -68,6 +68,11 @@ class TriplingFormula(Formula):
_outputs = 1
+class NegationFormula(Formula):
+ _inputs = 1
+ _outputs = 1
+
+
class ScalingFormula(Formula):
_inputs = 1
_outputs = 1