pub unsafe extern "C" fn otPlatCryptoHkdfExpand(
aContext: *mut otCryptoContext,
aInfo: *const u8,
aInfoLength: u16,
aOutputKey: *mut u8,
aOutputKeyLength: u16,
) -> otError
Expand description
Perform HKDF Expand step.
@param[in] aContext Operation context for HKDF operation. @param[in] aInfo Pointer to the Info sequence. @param[in] aInfoLength Length of the Info sequence. @param[out] aOutputKey Pointer to the output Key. @param[in] aOutputKeyLength Size of the output key buffer.
@retval OT_ERROR_NONE HKDF Expand was successful. @retval OT_ERROR_FAILED HKDF Expand failed. @retval OT_ERROR_INVALID_ARGS @p aContext was NULL