mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-16 01:53:02 +08: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;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
||||
if (verbose) {
|
||||
printf("passed\n");
|
||||
printf(" ECDSA binary signature create/check test: ");
|
||||
}
|
||||
|
||||
// random ecdsa test
|
||||
|
||||
// random ecdsa test
|
||||
uint8_t key_d[32] = {0};
|
||||
uint8_t key_xy[32 * 2 + 2] = {0};
|
||||
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
|
||||
if (printAns)
|
||||
PrintAndLogEx(SUCCESS, "Auto-detected clock rate: %d", clock1);
|
||||
|
||||
|
||||
return clock1;
|
||||
}
|
||||
|
||||
|
@ -200,7 +200,7 @@ int GetNrzClock(const char *str, bool printAns) {
|
|||
// Only print this message if we're not looping something
|
||||
if (printAns)
|
||||
PrintAndLogEx(SUCCESS, "Auto-detected clock rate: %d", clock1);
|
||||
|
||||
|
||||
return clock1;
|
||||
}
|
||||
//by marshmellow
|
||||
|
|
|
@ -23,7 +23,7 @@ extern "C" {
|
|||
typedef unsigned char byte_t;
|
||||
|
||||
// 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_INFO 2 // errors + info messages
|
||||
#define MF_DBG_DEBUG 3 // errors + info + debug messages
|
||||
|
|
Loading…
Reference in a new issue