X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/bad2eb8587f2c611060d434251ec1e2cec96f65b..41f4bcabc6e44b9fb71414d4c5fb41fcd2dab7ea:/common/crapto1/crapto1.h?ds=sidebyside diff --git a/common/crapto1/crapto1.h b/common/crapto1/crapto1.h index e718b1f2..96ab96a2 100644 --- a/common/crapto1/crapto1.h +++ b/common/crapto1/crapto1.h @@ -25,7 +25,7 @@ extern "C" { #endif struct Crypto1State {uint32_t odd, even;}; -#if defined(__arm__) +#if defined(__arm__) && !defined(__linux__) && !defined(_WIN32) && !defined(__APPLE__) // bare metal ARM Proxmark lacks malloc()/free() void crypto1_create(struct Crypto1State *s, uint64_t key); #else struct Crypto1State *crypto1_create(uint64_t key);