aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/ec/efd/twisted/extended-1/addition/mmadd-2008-hwcd-3.op3
diff options
context:
space:
mode:
Diffstat (limited to 'pyecsca/ec/efd/twisted/extended-1/addition/mmadd-2008-hwcd-3.op3')
-rw-r--r--pyecsca/ec/efd/twisted/extended-1/addition/mmadd-2008-hwcd-3.op317
1 files changed, 17 insertions, 0 deletions
diff --git a/pyecsca/ec/efd/twisted/extended-1/addition/mmadd-2008-hwcd-3.op3 b/pyecsca/ec/efd/twisted/extended-1/addition/mmadd-2008-hwcd-3.op3
new file mode 100644
index 0000000..9818971
--- /dev/null
+++ b/pyecsca/ec/efd/twisted/extended-1/addition/mmadd-2008-hwcd-3.op3
@@ -0,0 +1,17 @@
+t0 = Y1-X1
+t1 = Y2-X2
+A = t0*t1
+t2 = Y1+X1
+t3 = Y2+X2
+B = t2*t3
+t4 = k*T2
+C = T1*t4
+E = B-A
+F = 2-C
+G = 2+C
+H = B+A
+X3 = E*F
+Y3 = G*H
+T3 = E*H
+t5 = C^2
+Z3 = 4-t5