B_CreateAlgorithmObject

 

 

B_CreateAlgorithmObject

 

 

 

int B_CreateAlgorithmObject (

 

B_ALGORITHM_OBJ *algorithmObject

/* new algorithm object */

);

 

 

 

Description

B_CreateAlgorithmObject allocates and initializes a new algorithm object, storing the result in algorithmObject. If B_CreateAlgorithmObject is unsuccessful, no memory is allocated and algorithmObject is set to (B_ALGORITHM_OBJ)NULL_PTR.

Return value

Value

Description

0

Operation was successful.

non-zero

see Appendix A, “Crypto-C Error Types”

 

 

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

293

Page 303
Image 303
RSA Security 5 manual Int BCreateAlgorithmObject