openthread_sys

Function otPlatCryptoHkdfExtract

Source
pub unsafe extern "C" fn otPlatCryptoHkdfExtract(
    aContext: *mut otCryptoContext,
    aSalt: *const u8,
    aSaltLength: u16,
    aInputKey: *const otCryptoKey,
) -> otError
Expand description

Perform HKDF Extract step.

@param[in] aContext Operation context for HKDF operation. @param[in] aSalt Pointer to the Salt for HKDF. @param[in] aSaltLength Length of Salt. @param[in] aInputKey Pointer to the input key.

@retval OT_ERROR_NONE HKDF Extract was successful. @retval OT_ERROR_FAILED HKDF Extract failed.