Function openthread_sys::otPlatCryptoHkdfInit

source ยท
pub unsafe extern "C" fn otPlatCryptoHkdfInit(
    aContext: *mut otCryptoContext,
) -> otError
Expand description

Initialise the HKDF context.

@param[in] aContext Context for HKDF operation.

@retval OT_ERROR_NONE Successfully Initialised AES operation. @retval OT_ERROR_FAILED Failed to Initialise AES operation. @retval OT_ERROR_INVALID_ARGS @p aContext was NULL

@note The platform driver shall point the context to the correct object such as psa_key_derivation_operation_t or HmacSha256::Hash