added new functions to hf emv

This commit is contained in:
merlokk 2018-09-11 17:02:22 +03:00
commit 626e650fbf

View file

@ -158,22 +158,27 @@ int CmdHFEMVPPSE(const char *cmd) {
int CmdHFEMVGPO(const char *cmd) { int CmdHFEMVGPO(const char *cmd) {
return 0;
} }
int CmdHFEMVReadRecord(const char *cmd) { int CmdHFEMVReadRecord(const char *cmd) {
return 0;
} }
int CmdHFEMVAC(const char *cmd) { int CmdHFEMVAC(const char *cmd) {
return 0;
} }
int CmdHFEMVGenerateChallenge(const char *cmd) { int CmdHFEMVGenerateChallenge(const char *cmd) {
return 0;
} }
int CmdHFEMVInternalAuthenticate(const char *cmd) { int CmdHFEMVInternalAuthenticate(const char *cmd) {
return 0;
} }
int UsageCmdHFEMVExec(void) { int UsageCmdHFEMVExec(void) {
@ -738,6 +743,11 @@ static command_t CommandTable[] = {
{"pse", CmdHFEMVPPSE, 0, "Execute PPSE. It selects 2PAY.SYS.DDF01 or 1PAY.SYS.DDF01 directory."}, {"pse", CmdHFEMVPPSE, 0, "Execute PPSE. It selects 2PAY.SYS.DDF01 or 1PAY.SYS.DDF01 directory."},
{"search", CmdHFEMVSearch, 0, "Try to select all applets from applets list and print installed applets."}, {"search", CmdHFEMVSearch, 0, "Try to select all applets from applets list and print installed applets."},
{"select", CmdHFEMVSelect, 0, "Select applet."}, {"select", CmdHFEMVSelect, 0, "Select applet."},
{"gpo", CmdHFEMVGPO, 0, "Execute GetProcessingOptions."},
{"readrec", CmdHFEMVReadRecord, 0, "Read files from card."},
{"genac", CmdHFEMVAC, 0, "Generate ApplicationCryptogram."},
{"challenge", CmdHFEMVGenerateChallenge, 0, "Generate challenge."},
{"intauth", CmdHFEMVInternalAuthenticate, 0, "Internal authentication."},
{"test", CmdHFEMVTest, 0, "Crypto logic test."}, {"test", CmdHFEMVTest, 0, "Crypto logic test."},
{NULL, NULL, 0, NULL} {NULL, NULL, 0, NULL}
}; };