Hi Ken, You are right this is not NSOp issues as it seems to have finished.
[queue waitUntilAllOperationsAreFinished]; [op isCancelled] replied with NO [op isFinished] with YES So this has to be some QCCAESPadCryptor internal error. Ill investigate this further. Thank you. Regards, Varun On 22/04/2014 9:10 am, "Ken Thomases" <k...@codeweavers.com> wrote: >On Apr 21, 2014, at 5:47 PM, Varun Chandramohan wrote: > >> op = [[QCCAESPadCryptor alloc] initToDecryptInputData:[NSData >> dataWithBytes:cyphertext_dat length:sizeof(cyphertext_dat)] >> keyData:[NSData >> dataWithBytes:key_dat length:sizeof(key_dat)] >> ]; >> op.ivData = [NSData dataWithBytes:iv_dat length:sizeof(iv_dat)]; >> queue = [[NSOperationQueue alloc] init]; >> [queue addOperation:op]; >> [queue waitUntilAllOperationsAreFinished]; > >> After [queue waitUntilAllOperationsAreFinished]; > >> op.outputData is nil. This was not the case before. I donĀ¹t know how to >> debug this. > >It sounds like the operation's internal code failed or, possibly, that >the operation was cancelled. > >Check the value of [op isCancelled] and [op isFinished]. If it's >finished and not cancelled, then it ran to completion and the problem has >nothing to do with the operation queue. I don't have any idea why it >might have failed. That would be a matter of the implementation of >QCCAESPadCryptor and/or the specific cypher text, key, and input data >you're passing it. > >Regards, >Ken > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com