This function returns am_status_t with one of the following values:
If the initialization of the library is successful.
If unable to allocate memory during initialization.
If auth_init_params is NULL.
If the error was due to other causes. See am_types.h.