|
Message-ID: <c282a54b8eab3cc17c057441cdc753c4@smtp.hushmail.com> Date: Thu, 30 Aug 2012 02:39:37 +0200 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: CommonCrypto for wpapsk (was: JtR compilation warnings on OS X 10.7.3 with Xcode 4.3.2) On 21 Apr, 2012, at 13:18 , Erik Winkler <ewinkler@...ls.com> wrote: > Here is a solution I have seen in the aircrack-ng code. Might be interesting to see if there is any performance benefit over OpenSSL at this point. > > #if defined(__APPLE__) && defined(__MACH__) > #define COMMON_DIGEST_FOR_OPENSSL > #include <CommonCrypto/CommonDigest.h> > #define SHA1 CC_SHA1 > > #include <CommonCrypto/CommonHMAC.h> > #define HMAC CCHmac > > #else > #include <openssl/hmac.h> > #include <openssl/sha.h> > // We don't use EVP. Bite me > #include <openssl/rc4.h> > #include <openssl/aes.h> > #endif Erik, Dhiru, I tried something similar to the above for wpapsk.h and wpapsk_fmt.c but that did not work. Do you know of a fix? magnum
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.