A SERVICE OF

logo

Chapter 4 Details of Crypto-C Functions 293
B_CreateAlgorithmObject
B_CreateAlgorithmObject
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
int B_CreateAlgorithmObject (
B_ALGORITHM_OBJ *algorithmObject /* new algorithm object */
);
Value Description
0 Operation was successful.
non-zero see Appendix A, “Crypto-C Error Types”