openthread_sys

Function otPlatCryptoDestroyKey

Source
pub unsafe extern "C" fn otPlatCryptoDestroyKey(
    aKeyRef: otCryptoKeyRef,
) -> otError
Expand description

Destroy a key stored in PSA ITS.

@param[in] aKeyRef The key ref to be destroyed

@retval OT_ERROR_NONE Successfully destroyed the key. @retval OT_ERROR_FAILED Failed to destroy the key.

@note This API is only used by OT core when OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE is enabled.