A dedicated hardware for fingerprint authentication