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
-
key_buffer | If not NULL, the key buffer to free. |
key_buffer_size | The size of key_buffer. |
key_info | If not NULL, the key info to free. |
key_info_size | The size of key_info. |