openthread_sys

Function otPlatCryptoHasKey

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

Check if the key ref passed has an associated key in PSA ITS.

@param[in] aKeyRef The Key Ref to check.

@retval TRUE There is an associated key with @p aKeyRef. @retval FALSE There is no associated key with @p aKeyRef.

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