NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only
TEE Cryptographic Operations

Detailed Description

Describes TEE cryptographic operations.

Functions

void TEE_GenerateRandom (void *randomBuffer, size_t randomBufferLen)
 Generates random data into the supplied buffer. More...
 

Function Documentation

◆ TEE_GenerateRandom()

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.

Parameters
[out]randomBufferThe 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]randomBufferLenThe number of RNG bytes to generate. Unit: Byte.