Figure 1:
Block diagram of registration and authentication phase.