SLIDE 20 | Secret Exponent Recovery
Unified formulas
Edwards Curves Formulas
P = (X1:Y1:Z1), Q = (X2:Y2:Z2), P + Q = (X3:Y3:Z3) c: a parameter of the curve
= Z1Z2(X1Y2 − Y1X2)(X1Y1Z2
2 + X2Y2Z2 1 )
Y3 = Z1Z2(X1X2 + Y1Y2)(X1Y1Z2
2 − X2Y2Z2 1 )
Z3 =
1 c Z2 1 Z2 2 (X1X2 + Y1Y2)(X1Y2 − Y1X2)
Field Operations Sequence
Addition
1. R1 ← X1Z2 2. R2 ← Y1Z2 3. R3 ← Z1X2 4. R4 ← Z1Y2 . . . Doubling
1. R1 ← X1Z1 2. R2 ← Y1Z1 3. R3 ← Z1X1 4. R4 ← Z1Y1 . . .
Characteristic Pair
Use the multiplication pair in the first undetermined EC operation +E +E +E +E +E +E +E +E +E P P P ... 1 1 1 ·Fp ·Fp ·Fp ·Fp ...
Bauer et al. | ANSSI | SAC 2013 14 / 20