B_CreateAlgorithmObject

 

B_DestroyAlgorithmObject

 

 

B_DestroyAlgorithmObject

 

 

 

void B_DestroyAlgorithmObject (

 

B_ALGORITHM_OBJ *algorithmObject

/* pointer to algorithm object */

);

 

 

 

Description

B_DestroyAlgorithmObject destroys algorithmObject, zeroizing any sensitive information, freeing the memory the algorithm object occupied, and setting algorithmObject to (B_ALGORITHM_OBJ)NULL_PTR. If algorithmObject is already (B_ALGORITHM_OBJ)NULL_PTR or is not a valid algorithm object, no action is taken. See

.

After this routine is called, all the pointers to information blocks returned by calls to B_GetAlgorithmInfo will no longer be valid, since the memory associated with those blocks will have been zeroed and freed.

Return value

There is no return value.

C h a p t e r 4 D e t a i l s o f C r y p t o - C F u n c t i o n s

303

Page 313
Image 313
RSA Security 5 manual There is no return value, Void BDestroyAlgorithmObject