projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changes to mifare plus code (#706)
[proxmark3-svn]
/
client
/
hardnested
/
hardnested_bruteforce.c
diff --git
a/client/hardnested/hardnested_bruteforce.c
b/client/hardnested/hardnested_bruteforce.c
index 3218c1aa41a62260dfaee5abdcaa350cf73b2d94..deea69d8479f0b9fbff56811ba619ab24a22ce87 100644
(file)
--- a/
client/hardnested/hardnested_bruteforce.c
+++ b/
client/hardnested/hardnested_bruteforce.c
@@
-54,12
+54,13
@@
THE SOFTWARE.
#include <stdio.h>
#include <pthread.h>
#include <string.h>
#include <stdio.h>
#include <pthread.h>
#include <string.h>
-#include <
malloc
.h>
+#include <
stdlib
.h>
#include "proxmark3.h"
#include "cmdhfmfhard.h"
#include "hardnested_bf_core.h"
#include "ui.h"
#include "util.h"
#include "proxmark3.h"
#include "cmdhfmfhard.h"
#include "hardnested_bf_core.h"
#include "ui.h"
#include "util.h"
+#include "util_posix.h"
#include "crapto1/crapto1.h"
#include "parity.h"
#include "crapto1/crapto1.h"
#include "parity.h"
@@
-138,8
+139,13
@@
bool verify_key(uint32_t cuid, noncelist_t *nonces, uint8_t *best_first_bytes, u
return true;
}
return true;
}
-
-static void* crack_states_thread(void* x){
+static void*
+#ifdef __has_attribute
+#if __has_attribute(force_align_arg_pointer)
+__attribute__((force_align_arg_pointer))
+#endif
+#endif
+crack_states_thread(void* x){
struct arg {
bool silent;
struct arg {
bool silent;
Impressum
,
Datenschutz