Re: Implementation of CommonCrypto?

2016-11-04 Thread Niels Grewe
Hi Amr! > Am 03.11.2016 um 00:57 schrieb Amr Aboelela : > > I tried IBM BlueCryptor which does what you said of using OpenSSL in Linux > and CommonCryptor in Apple OS, but the problem that it took 132 seconds to > run my unit test in Linux, while it took only 5 seconds

Re: Implementation of CommonCrypto?

2016-11-02 Thread Amr Aboelela
I tried IBM BlueCryptor which does what you said of using OpenSSL in Linux and CommonCryptor in Apple OS, but the problem that it took 132 seconds to run my unit test in Linux, while it took only 5 seconds in Mac OS. When I used your CommonCryptor version in Linux before it was taking almost

Re: Implementation of CommonCrypto?

2016-06-14 Thread Niels Grewe
Hi Amr, > Am 11.06.2016 um 07:46 schrieb Amr Aboelela : > > Hi Nik > Yes I should have used NSUTF8StringEncoding > I just found the root of the problem though: > > CommonCrypto_for_GNUstep/Source/AESedp$ vim AESAssembly.h > > Change: > > // Select which

Re: Implementation of CommonCrypto?

2016-06-10 Thread Amr Aboelela
Hi Nik Yes I should have used NSUTF8StringEncoding I just found the root of the problem though: CommonCrypto_for_GNUstep/Source/AESedp$ vim AESAssembly.h Change: // Select which implementation to use. #if 1 #define UseAESedp_IntelAssembly #else #define UseAESedp_GeneralC

Re: Implementation of CommonCrypto?

2016-06-10 Thread H. Nikolaus Schaller
> Am 10.06.2016 um 03:44 schrieb Amr Aboelela : > > NSString *encryptedString = [[NSString alloc] initWithData:encryptedData > encoding:NSASCIIStringEncoding]; > Are you sure that encryptedData contains ASCII characters only? --

Re: Implementation of CommonCrypto?

2016-06-09 Thread Amr Aboelela
Hi Neils, I tried your CommonCrypto in Ubuntu: - (void)testEncryptAndDecrypt { NSString *key = @"dict1"; NSString *dataString = @"data to encrypt"; NSData *data = [dataString dataUsingEncoding:NSASCIIStringEncoding]; NSString *plainText = [[NSString alloc] initWithData:data

Re: Implementation of CommonCrypto?

2012-03-07 Thread Niels Grewe
Hi Jon, On Sat, Jun 25, 2011 at 11:32:02PM -0500, Jonathan Bartlett wrote: Has anyone worked on getting an implementaiton of CommonCrypto for GNUstep? you've probably long forgotten about this, but in case you're still interested: I just got around cleaning up my work on making CommonCrypto

Implementation of CommonCrypto?

2011-06-26 Thread Jonathan Bartlett
Has anyone worked on getting an implementaiton of CommonCrypto for GNUstep? I am using it for my Newm project, and thought I might be able to add a few functions if needed - just wanted to make sure I wasn't missing anything. Jon ___ Discuss-gnustep

Re: Implementation of CommonCrypto?

2011-06-26 Thread David Chisnall
On 26 Jun 2011, at 05:32, Jonathan Bartlett wrote: Has anyone worked on getting an implementaiton of CommonCrypto for GNUstep? As far as I am aware, there is no need. Apple released CommonCrpyto under a BSD license[1]. Someone (Niels, I think) checked with them to confirm that the

Re: Implementation of CommonCrypto?

2011-06-26 Thread Niels Grewe
On Sun, Jun 26, 2011 at 04:23:01PM +0100, David Chisnall wrote: On 26 Jun 2011, at 05:32, Jonathan Bartlett wrote: Has anyone worked on getting an implementaiton of CommonCrypto for GNUstep? As far as I am aware, there is no need. Apple released CommonCrpyto under a BSD license[1].