This commit is contained in:
osboxes.org 2019-04-10 09:49:42 +02:00
parent 598d016477
commit e703dcb8ad
3 changed files with 6 additions and 6 deletions

View file

@ -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));

View file

@ -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

View file

@ -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