|
◆ CRYPT_EAL_RandbytesWithAdin()
int32_t CRYPT_EAL_RandbytesWithAdin |
( |
uint8_t * |
byte, |
|
|
uint32_t |
len, |
|
|
uint8_t * |
addin, |
|
|
uint32_t |
addinLen |
|
) |
| |
Generate a random number.
The addtional data marked as "addin" can be NULL, and additional data specified by the user. This interface does not support multiple threads.
- Parameters
-
byte | [OUT] Output random numbers, the memory is provided by the user. |
len | [IN] Required random number length, the maximum length is (0, 65536]. |
addin | [IN] Addtional data, which can set be NULL. |
addinLen | [IN] Addtional data length, the maximum length is[0,0x7FFFFFF0]. |
- Return values
-
|