comparison simtool/dispatch.c @ 47:ae3342497fea

fc-simtool verify-hex command added
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 13 Feb 2021 00:57:57 +0000
parents 5bca197e7495
children 9a21f4353158
comparison
equal deleted inserted replaced
46:32d6186668cf 47:ae3342497fea
55 extern int cmd_update_bin(); 55 extern int cmd_update_bin();
56 extern int cmd_update_bin_imm(); 56 extern int cmd_update_bin_imm();
57 extern int cmd_update_rec(); 57 extern int cmd_update_rec();
58 extern int cmd_verify_chv(); 58 extern int cmd_verify_chv();
59 extern int cmd_verify_ext(); 59 extern int cmd_verify_ext();
60 extern int cmd_verify_hex();
60 61
61 extern int display_sim_resp_in_hex(); 62 extern int display_sim_resp_in_hex();
62 extern int good_exit(); 63 extern int good_exit();
63 extern int retrieve_atr(); 64 extern int retrieve_atr();
64 65
132 {"update-bin-imm", 2, 2, cmd_update_bin_imm}, 133 {"update-bin-imm", 2, 2, cmd_update_bin_imm},
133 {"update-rec", 2, 2, cmd_update_rec}, 134 {"update-rec", 2, 2, cmd_update_rec},
134 {"verify-chv1", 1, 1, cmd_verify_chv}, 135 {"verify-chv1", 1, 1, cmd_verify_chv},
135 {"verify-chv2", 1, 1, cmd_verify_chv}, 136 {"verify-chv2", 1, 1, cmd_verify_chv},
136 {"verify-ext", 2, 2, cmd_verify_ext}, 137 {"verify-ext", 2, 2, cmd_verify_ext},
138 {"verify-hex", 2, 2, cmd_verify_hex},
137 {"verify-pin1", 1, 1, cmd_verify_chv}, 139 {"verify-pin1", 1, 1, cmd_verify_chv},
138 {"verify-pin2", 1, 1, cmd_verify_chv}, 140 {"verify-pin2", 1, 1, cmd_verify_chv},
139 {0, 0, 0, 0} 141 {0, 0, 0, 0}
140 }; 142 };
141 143