mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
style
This commit is contained in:
parent
598d016477
commit
e703dcb8ad
3 changed files with 6 additions and 6 deletions
|
@ -382,13 +382,13 @@ int ecdsa_nist_test(bool verbose) {
|
||||||
res = 1;
|
res = 1;
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
printf("passed\n");
|
printf("passed\n");
|
||||||
printf(" ECDSA binary signature create/check test: ");
|
printf(" ECDSA binary signature create/check test: ");
|
||||||
}
|
}
|
||||||
|
|
||||||
// random ecdsa test
|
// random ecdsa test
|
||||||
uint8_t key_d[32] = {0};
|
uint8_t key_d[32] = {0};
|
||||||
uint8_t key_xy[32 * 2 + 2] = {0};
|
uint8_t key_xy[32 * 2 + 2] = {0};
|
||||||
memset(signature, 0x00, sizeof(signature));
|
memset(signature, 0x00, sizeof(signature));
|
||||||
|
|
|
@ -174,7 +174,7 @@ int GetPskClock(const char *str, bool printAns) {
|
||||||
// Only print this message if we're not looping something
|
// Only print this message if we're not looping something
|
||||||
if (printAns)
|
if (printAns)
|
||||||
PrintAndLogEx(SUCCESS, "Auto-detected clock rate: %d", clock1);
|
PrintAndLogEx(SUCCESS, "Auto-detected clock rate: %d", clock1);
|
||||||
|
|
||||||
return clock1;
|
return clock1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ int GetNrzClock(const char *str, bool printAns) {
|
||||||
// Only print this message if we're not looping something
|
// Only print this message if we're not looping something
|
||||||
if (printAns)
|
if (printAns)
|
||||||
PrintAndLogEx(SUCCESS, "Auto-detected clock rate: %d", clock1);
|
PrintAndLogEx(SUCCESS, "Auto-detected clock rate: %d", clock1);
|
||||||
|
|
||||||
return clock1;
|
return clock1;
|
||||||
}
|
}
|
||||||
//by marshmellow
|
//by marshmellow
|
||||||
|
|
|
@ -23,7 +23,7 @@ extern "C" {
|
||||||
typedef unsigned char byte_t;
|
typedef unsigned char byte_t;
|
||||||
|
|
||||||
// debug
|
// debug
|
||||||
#define MF_DBG_NONE 0 // no messages
|
#define MF_DBG_NONE 0 // no messages
|
||||||
#define MF_DBG_ERROR 1 // errors only
|
#define MF_DBG_ERROR 1 // errors only
|
||||||
#define MF_DBG_INFO 2 // errors + info messages
|
#define MF_DBG_INFO 2 // errors + info messages
|
||||||
#define MF_DBG_DEBUG 3 // errors + info + debug messages
|
#define MF_DBG_DEBUG 3 // errors + info + debug messages
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue