openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_Init()

int32_t CRYPT_EAL_Init ( uint64_t  opts,
void *  data,
uint32_t  datalen 
)

CRYPTO initialization

参数
opts[IN] Bit information to be initialized, the first three bits are used at present. The first bit is CRYPT_EAL_INIT_CPU marked as "CPU ", the second bit is BSL CRYPT_EAL_INIT_BSL marked as "BSL", and the third bit is CRYPT_EAL_INIT_RAND marked as "RAND".
返回值
CRYPT_SUCCESS,ifsuccessful. For other error codes, see the crypt_errno.h file.