Open Enclave  0.8.0

◆ oe_free_key()

void oe_free_key ( uint8_t *  key_buffer,
size_t  key_buffer_size,
uint8_t *  key_info,
size_t  key_info_size 

Frees the given key and/or key info.

Before freeing, this function will zero out the key buffers to avoid leaking any confidential data.

key_bufferIf not NULL, the key buffer to free.
key_buffer_sizeThe size of key_buffer.
key_infoIf not NULL, the key info to free.
key_info_sizeThe size of key_info.