|
◆ CRYPT_EAL_Drbgbytes()
int32_t CRYPT_EAL_Drbgbytes |
( |
CRYPT_EAL_RndCtx * |
ctx, |
|
|
uint8_t * |
byte, |
|
|
uint32_t |
len |
|
) |
| |
Generate a random number, which is equivalent to CRYPT_EAL_RandbytesWithAdin(bytes, len, NULL, 0). This interface supports multi-thread access.
- Parameters
-
ctx | [IN] DRBG handle |
byte | [OUT] Used to store output random numbers. the memory is provided by the user. |
len | [IN] Required random number length. the range is (0, 65536]. |
- Return values
-
|