Describes TEE cryptographic operations.
Functions | |
void | TEE_GenerateRandom (void *randomBuffer, size_t randomBufferLen) |
Generates random data into the supplied buffer. More... | |
void TEE_GenerateRandom | ( | void * | randomBuffer, |
size_t | randomBufferLen | ||
) |
Generates random data into the supplied buffer.
(QNX PDK Only) Error behavior: if there is any error, halts the system.
(QNX PDK Only) Side effects: session will be opened towards TOS Crypto Service TA. If the function returns normally, the opened session will be closed. Otherwise, the opened session will not be closed and become an orphan.
[out] | randomBuffer | The buffer which the API will populate with random data. (QNX PDK Only) Valid Range: The address must be an address allocated with TEE_Malloc() |
[in] | randomBufferLen | The number of RNG bytes to generate. Unit: Byte. |