Open Enclave  0.16.1

◆ 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.

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