openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_GLOBAL_Init()

int32_t BSL_GLOBAL_Init ( void  )

Initialize the BSL module.

The user must call this interface to initialize.

Attention
None.
Return values
BSL_SUCCESS,errorcode module is successfully initialized.
BSL_MALLOC_FAIL,memoryspace is insufficient and thread lock space cannot be applied for.
BSL_SAL_ERR_UNKNOWN,threadlock initialization failed.