Research Article

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

Algorithm 1

DFA on RAIN.
1: Collect the normal ciphertext for an unknown key on .
2: Inject one-bit fault at a random position in the register of the state
3: Collect the faulty ciphertext for the same key and public parameters
4: fordo
5:  Construct a system of Boolean equations involving the key as unknown variables based on the normal ciphertext and the corresponding faulty ciphertexts
6:  Solve this system of equations for solution
7:  ifthen
8:   return;
9:  end if
10: end for