mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
textual
This commit is contained in:
parent
30ea910357
commit
50bf809a4b
1 changed files with 3 additions and 3 deletions
|
@ -812,7 +812,7 @@ int AutoCorrelate(const int *in, int *out, size_t len, size_t window, bool SaveG
|
||||||
// sanity check
|
// sanity check
|
||||||
if (window > len) window = len;
|
if (window > len) window = len;
|
||||||
|
|
||||||
if (verbose) PrintAndLogEx(INFO, "performing " _YELLOW_("%zu")" correlations", GraphTraceLen - window);
|
if (verbose) PrintAndLogEx(INFO, "performing " _YELLOW_("%zu") "correlations", GraphTraceLen - window);
|
||||||
|
|
||||||
//test
|
//test
|
||||||
double autocv = 0.0; // Autocovariance value
|
double autocv = 0.0; // Autocovariance value
|
||||||
|
@ -868,9 +868,9 @@ int AutoCorrelate(const int *in, int *out, size_t len, size_t window, bool SaveG
|
||||||
|
|
||||||
if (verbose && foo < bar) {
|
if (verbose && foo < bar) {
|
||||||
distance = idx_1 - idx;
|
distance = idx_1 - idx;
|
||||||
PrintAndLogEx(SUCCESS, "possible visible correlation %4d samples", distance);
|
PrintAndLogEx(SUCCESS, "possible visible correlation "_YELLOW_("%4d") "samples", distance);
|
||||||
} else if (verbose && (correlation > 1)) {
|
} else if (verbose && (correlation > 1)) {
|
||||||
PrintAndLogEx(SUCCESS, "possible correlation %4zu samples", correlation);
|
PrintAndLogEx(SUCCESS, "possible correlation " _YELLOW_("%4zu") "samples", correlation);
|
||||||
} else {
|
} else {
|
||||||
PrintAndLogEx(FAILED, "no repeating pattern found, try increasing window size");
|
PrintAndLogEx(FAILED, "no repeating pattern found, try increasing window size");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue