Open Enclave  0.15.0

◆ oe_random()

oe_result_t oe_random ( void *  data,
size_t  size 
)

Generate a sequence of random bytes.

This function generates a sequence of random bytes.

Parameters
[out]datathe buffer that will be filled with random bytes
[in]sizethe size of the buffer
Returns
OE_OK on success