openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_RandSeedWithAdin()

int32_t CRYPT_EAL_RandSeedWithAdin ( uint8_t *  addin,
uint32_t  addinLen 
)

Regenerate the seed.

Attention
The addtional data can set be NULL, and this interface supports multi-thread access.
Parameters
addin[IN] Additional data, which can set be NULL.
addinLen[IN] Addtional data length, the range is [0,0x7FFFFFF0].
Return values
CRYPT_SUCCESS,ifsuccessful. For other error codes, see crypt_errno.h.