make style

This commit is contained in:
Philippe Teuwen 2020-12-23 19:51:10 +01:00
commit 8d4acbe3a6
13 changed files with 78 additions and 79 deletions

View file

@ -1592,8 +1592,7 @@ int infoHF_EMRTD_offline(const char *path) {
strcpy(filepath, path); strcpy(filepath, path);
strncat(filepath, PATHSEP, 2); strncat(filepath, PATHSEP, 2);
strcat(filepath, dg->filename); strcat(filepath, dg->filename);
if (loadFile_safeEx(filepath, ".BIN", (void **)&data, (size_t *)&datalen, false) == PM3_SUCCESS) if (loadFile_safeEx(filepath, ".BIN", (void **)&data, (size_t *)&datalen, false) == PM3_SUCCESS) {
{
// we won't halt on parsing errors // we won't halt on parsing errors
if (dg->parser != NULL) if (dg->parser != NULL)
dg->parser(data, datalen); dg->parser(data, datalen);

View file

@ -198,8 +198,8 @@ Check column "offline" for their availability.
|command |offline |description |command |offline |description
|------- |------- |----------- |------- |------- |-----------
|`hf epa help `|Y |`This help` |`hf epa help `|Y |`This help`
|`hf epa cnonces `|N |`Acquire encrypted PACE nonces of specific size` |`hf epa cnonces `|N |`<m> <n> <d> Acquire n>0 encrypted PACE nonces of size m>0 with d sec pauses`
|`hf epa preplay `|N |`Perform PACE protocol by replaying given APDUs` |`hf epa preplay `|N |`<mse> <get> <map> <pka> <ma> Perform PACE protocol by replaying given APDUs`
### hf emrtd ### hf emrtd