Currently Being ModeratedJan 22, 2013 9:06 PM (in response to etresoft)
I do have to status code check like this after every crypto call? and None of them are being executed.
if (status != kCCSuccess)
printf("CCCryptorStatus is not success %d\n", status);
Currently Being ModeratedJan 23, 2013 6:21 AM (in response to mops_v)
Are you sure you have allocated enough space? Encryption usually results in compression too. When you decrypt, your decrypted data buffer should be much larger than the encrypted data.
Also, what platform is this for? I see that these functions exist for iOS and OS X, but not this particular function.