X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/d86ee73da53a701b3e47de9eb2a047c6bf0b0bd1..2ef3a5e99c8b27b06f860988783e1040a6dea705:/client/mifarehost.c diff --git a/client/mifarehost.c b/client/mifarehost.c index b6eb60f0..a01d3b5f 100644 --- a/client/mifarehost.c +++ b/client/mifarehost.c @@ -297,7 +297,13 @@ typedef // wrapper function for multi-threaded lfsr_recovery32 -void* nested_worker_thread(void *arg) +void +#ifdef __has_attribute +#if __has_attribute(force_align_arg_pointer) +__attribute__((force_align_arg_pointer)) +#endif +#endif +*nested_worker_thread(void *arg) { struct Crypto1State *p1; StateList_t *statelist = arg; @@ -311,6 +317,7 @@ void* nested_worker_thread(void *arg) return statelist->head.slhead; } + int mfnested(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_t trgBlockNo, uint8_t trgKeyType, uint8_t *resultKey, bool calibrate) { uint16_t i;