|
Description
|
Init operations, e.g. C_EncryptInit(), try to clean up from previous
incomplete operations such as one missing a final. In doing so, init
sets the mechanism's parameter to NULL even when one has been passed in
by an application. It should not do this.
My test program calls init/update/final in a loop. It calls final with
a NULL pointer to get the length of the final output, but it never trys
to get the final output, hence the operation is incomplete.
The next call to init fails.
|