pub unsafe extern "C" fn otPlatCryptoHmacSha256Finish(
aContext: *mut otCryptoContext,
aBuf: *mut u8,
aBufLength: usize,
) -> otError
Expand description
Complete the HMAC operation.
@param[in] aContext Context for HMAC operation. @param[out] aBuf A pointer to the output buffer. @param[in] aBufLength The length of @p aBuf in bytes.
@retval OT_ERROR_NONE Successfully completed HMAC operation. @retval OT_ERROR_FAILED Failed to complete HMAC operation. @retval OT_ERROR_INVALID_ARGS @p aContext or @p aBuf was NULL