pub unsafe extern "C" fn otPlatCryptoHkdfInit(
aContext: *mut otCryptoContext,
) -> otErrorExpand description
Initialise the HKDF context.
@param[in] aContext Context for HKDF operation.
@retval OT_ERROR_NONE Successfully Initialised HKDF operation. @retval OT_ERROR_FAILED Failed to Initialise HKDF operation. @retval OT_ERROR_INVALID_ARGS @p aContext was NULL
@note If OPENTHREAD_CONFIG_CRYPTO_PLATFORM_ALLOCS_CONTEXT is enabled, @p aContext is populated by the platform.
Otherwise OpenThread core allocates and populates it.
@note The platform driver shall point the context to the correct object such as psa_key_derivation_operation_t or HmacSha256::Hash