Re: NSS nssCKFWSession_Final does not cancel operation if the data is bad

2015-01-17 Thread zhoujun06
Hi Kevin, Have you solved this problem? I'm seeing the same issue. Thanks. On Friday, August 8, 2014 at 9:37:53 AM UTC-7, Kevin Cleveland wrote: > Hello, > If an invalid length buffer is passed to nssCKFWSession_Final, it does not > reset the state of my operation, and all other attempts to d

NSS nssCKFWSession_Final does not cancel operation if the data is bad

2014-08-08 Thread Kevin Cleveland
Hello, If an invalid length buffer is passed to nssCKFWSession_Final, it does not reset the state of my operation, and all other attempts to decrypt fail with CKR_OPERATION_ACTIVE done: if (CKR_BUFFER_TOO_SMALL == error) { return error; } /* clean up our state */ nssCKFWCryptoOperati