]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - common/crapto1/crapto1.h
Merge pull request #244 from marshmellow42/master
[proxmark3-svn] / common / crapto1 / crapto1.h
index e718b1f2f278d9f8cc7adfd7693021724524c6ac..96ab96a27ed662fd9d39ee8ec820ca98178547e3 100644 (file)
@@ -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);
Impressum, Datenschutz