comparison simtool/dispatch.c @ 61:633033af6fb8

fc-simtool user-sum command implemented, a successor to telecom-sum
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Feb 2021 03:27:56 +0000
parents c56e63a8725d
children 4bb28235f08a
comparison
equal deleted inserted replaced
60:090704d1ddc1 61:633033af6fb8
58 extern int cmd_uicc_dir(); 58 extern int cmd_uicc_dir();
59 extern int cmd_unblock_chv(); 59 extern int cmd_unblock_chv();
60 extern int cmd_update_bin(); 60 extern int cmd_update_bin();
61 extern int cmd_update_bin_imm(); 61 extern int cmd_update_bin_imm();
62 extern int cmd_update_rec(); 62 extern int cmd_update_rec();
63 extern int cmd_user_sum();
63 extern int cmd_verify_chv(); 64 extern int cmd_verify_chv();
64 extern int cmd_verify_ext(); 65 extern int cmd_verify_ext();
65 extern int cmd_verify_hex(); 66 extern int cmd_verify_hex();
66 67
67 extern int display_sim_resp_in_hex(); 68 extern int display_sim_resp_in_hex();
140 {"unblock-pin1", 2, 2, cmd_unblock_chv}, 141 {"unblock-pin1", 2, 2, cmd_unblock_chv},
141 {"unblock-pin2", 2, 2, cmd_unblock_chv}, 142 {"unblock-pin2", 2, 2, cmd_unblock_chv},
142 {"update-bin", 2, 2, cmd_update_bin}, 143 {"update-bin", 2, 2, cmd_update_bin},
143 {"update-bin-imm", 2, 2, cmd_update_bin_imm}, 144 {"update-bin-imm", 2, 2, cmd_update_bin_imm},
144 {"update-rec", 2, 2, cmd_update_rec}, 145 {"update-rec", 2, 2, cmd_update_rec},
146 {"user-sum", 0, 0, cmd_user_sum},
145 {"verify-chv1", 1, 1, cmd_verify_chv}, 147 {"verify-chv1", 1, 1, cmd_verify_chv},
146 {"verify-chv2", 1, 1, cmd_verify_chv}, 148 {"verify-chv2", 1, 1, cmd_verify_chv},
147 {"verify-ext", 2, 2, cmd_verify_ext}, 149 {"verify-ext", 2, 2, cmd_verify_ext},
148 {"verify-hex", 2, 2, cmd_verify_hex}, 150 {"verify-hex", 2, 2, cmd_verify_hex},
149 {"verify-pin1", 1, 1, cmd_verify_chv}, 151 {"verify-pin1", 1, 1, cmd_verify_chv},