Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 21 Apr 2012 07:18:19 -0400
From: Erik Winkler <>
Subject: Re: JtR compilation warnings on OS X 10.7.3 with Xcode 4.3.2

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__)
	#include <CommonCrypto/CommonDigest.h>
	#define SHA1 CC_SHA1

	#include <CommonCrypto/CommonHMAC.h>
	#define HMAC CCHmac

	#include <openssl/hmac.h>
	#include <openssl/sha.h>
	// We don't use EVP. Bite me
	#include <openssl/rc4.h>
	#include <openssl/aes.h>


>> Hard Fix: Use Apple's recommended CommonCrypto API instead of OpenSSL.
>> This option will involve addition of lot of ifdefs in the existing
>> code.
>> -- 
>> Cheers,
>> Dhiru

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.