Open Enclave  0.6.x
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
datathe buffer that will be filled with random bytes
sizethe size of the buffer
Returns
OE_OK on success