Research Article

Differential Fault Attacks on Privacy Protocols Friendly Symmetric-Key Primitives: RAIN and HERA

Algorithm 2

DFA on HERA.
1: Collect the normal ciphertext for an unknown key on .
2: Inject only one word fault at a random position in the register of the state
3: Collect the faulty ciphertext for the same key and same
4: for each word position do
5:  for each value of the faulty word do
6:  Construct 16 quadratic equations over involving the normal input of the nonlinear map as unknown from the normal ciphertexts and the corresponding faulty ciphertexts
7:  Solve the equations for
8:  Solve for the key according to
9:  ifthen
10:    return;
11:   end if
12:  end for
13: end for