From nobody Tue Feb 10 19:49:10 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1597289428; cv=none; d=zohomail.com; s=zohoarc; b=ndVhUr/krUmOTtPnPb+86X6fYiVmoYE5sPQ6mUXp4WIO7PDd23QkzYtvfNVCwzFRmF8Ux+5CxQRcBwUnm1bafQmIYB0P+BlzRc5VpRN1/coD3TkyR5Siq3xY9P9CW0rCIl9yJJGI25hM4+r0IJoh7lgSXuVR+HeJFBGVabHEwkc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597289428; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=P2SPKTHOjMFQdCqB2vtTra0ygHn5FhW2ETtwYwPvoTs=; b=DXTtPae49l7ZNlardYSJPI5XegAXUiXbtbesbFn9uGOTsLwgM+tqpSrbdyeLk1Y6KY4Qq16o6vMTA8+nfF77yHk3xGf83o0Eb/2gzwodZlkZOwWuqe+h0oLpbzA4aQmlLPg0TH9JfQdIr0P+xYaNML61dKhPTTZlIZHKR89hy0M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1597289428360653.888353608364; Wed, 12 Aug 2020 20:30:28 -0700 (PDT) Received: from localhost ([::1]:33530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k63wh-0003U5-5F for importer@patchew.org; Wed, 12 Aug 2020 23:30:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k63sC-0004nu-Lh for qemu-devel@nongnu.org; Wed, 12 Aug 2020 23:25:48 -0400 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:55952) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k63sA-0008Vy-Vz for qemu-devel@nongnu.org; Wed, 12 Aug 2020 23:25:48 -0400 Received: by mail-pj1-x102a.google.com with SMTP id 2so2105330pjx.5 for ; Wed, 12 Aug 2020 20:25:46 -0700 (PDT) Received: from localhost.localdomain ([71.212.141.89]) by smtp.gmail.com with ESMTPSA id m19sm3633164pgd.21.2020.08.12.20.25.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Aug 2020 20:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=P2SPKTHOjMFQdCqB2vtTra0ygHn5FhW2ETtwYwPvoTs=; b=fQZaLeAn4s323lW+P0S9LxRYeHFUfLXgtPg3qlHyHBQhbY5uC8TJSb3/cuFzgrMV3X BkV2FpdQtfcPW5+5v8SavMtFIbQ4ViQ7OobgNV3xf9LXXG6tvdxf3p+18MS76C87yOxh nDA23txSM0XaZJivpkQAk1WJ7+tI0siNJLLJIpXianuDTvFB8JVhVxH39YE+uNJQEuqW ukoH+DEG01eZyqN+1PuAzOZLl/WVBEsVfkuaiSRo2RPcxfTDnQCT/jk9jDynD9/KWOwU N9mBHSZekRjCChHTcgJ/jQZy8UjpjpEUY9Gk5mDdZc1fya5AtJUnYi1lrL7Xquyzvgna 7jMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=P2SPKTHOjMFQdCqB2vtTra0ygHn5FhW2ETtwYwPvoTs=; b=aO8sFfDIFuo2pmDpZgFleK4qSusPCPetSkfYh6fNXj34cqTmutnsNquWLA4VS1HSZB /aAIDTpcE+P86Ny+n8x64GlgAYFve5+fC7l1B6bN8bXHdcNM5axiy37TjhbDRpjHCZuX A4nKWBS6vK7Z1TQNBe7cNScWdEDsO1r4nxPXQGUFBc7IbT6OiEH3s6R4ghZttiObT6ys sI9+hQ8vbDBV7xWDn20Wcws+0nD0vqC/YU1SxMtKXwQoDrcupX3Ocim5AYwrz+i32XWu gk9IYlLL82xQ8j3SIO128Uf2CWpH6WknwMr3/PiqAIAw8yow3zr1HevvpJ9PsSaNN4ZD cYvw== X-Gm-Message-State: AOAM532kuKEiBssLhzRwo/MFNSrsYTVPGO0yh3OHBfJVO094ki6QRp5u SNow8EcQOfLxi5KPFTj2vNClI7M7tJw= X-Google-Smtp-Source: ABdhPJysmZ59JehnO4QDXa+EvZVpCELkWLPapgrKfrzdRO1yI4ufOZ0kLp1jdLKYwgXJe6Bh5uj0Ug== X-Received: by 2002:a17:90a:6807:: with SMTP id p7mr3090799pjj.42.1597289145330; Wed, 12 Aug 2020 20:25:45 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 04/17] crypto: Rename cipher include files to .inc.c Date: Wed, 12 Aug 2020 20:25:24 -0700 Message-Id: <20200813032537.2888593-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200813032537.2888593-1-richard.henderson@linaro.org> References: <20200813032537.2888593-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: berrange@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) Content-Type: text/plain; charset="utf-8" QEMU standard procedure for included c files is to use *.inc.c. E.g. there are a different set of checks that are applied. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- crypto/{cipher-builtin.c =3D> cipher-builtin.inc.c} | 0 crypto/{cipher-gcrypt.c =3D> cipher-gcrypt.inc.c} | 0 crypto/{cipher-nettle.c =3D> cipher-nettle.inc.c} | 0 crypto/cipher.c | 6 +++--- 4 files changed, 3 insertions(+), 3 deletions(-) rename crypto/{cipher-builtin.c =3D> cipher-builtin.inc.c} (100%) rename crypto/{cipher-gcrypt.c =3D> cipher-gcrypt.inc.c} (100%) rename crypto/{cipher-nettle.c =3D> cipher-nettle.inc.c} (100%) diff --git a/crypto/cipher-builtin.c b/crypto/cipher-builtin.inc.c similarity index 100% rename from crypto/cipher-builtin.c rename to crypto/cipher-builtin.inc.c diff --git a/crypto/cipher-gcrypt.c b/crypto/cipher-gcrypt.inc.c similarity index 100% rename from crypto/cipher-gcrypt.c rename to crypto/cipher-gcrypt.inc.c diff --git a/crypto/cipher-nettle.c b/crypto/cipher-nettle.inc.c similarity index 100% rename from crypto/cipher-nettle.c rename to crypto/cipher-nettle.inc.c diff --git a/crypto/cipher.c b/crypto/cipher.c index 2722dc7d87..deae82c264 100644 --- a/crypto/cipher.c +++ b/crypto/cipher.c @@ -151,11 +151,11 @@ qcrypto_cipher_munge_des_rfb_key(const uint8_t *key, #endif /* CONFIG_GCRYPT || CONFIG_NETTLE */ =20 #ifdef CONFIG_GCRYPT -#include "cipher-gcrypt.c" +#include "cipher-gcrypt.inc.c" #elif defined CONFIG_NETTLE -#include "cipher-nettle.c" +#include "cipher-nettle.inc.c" #else -#include "cipher-builtin.c" +#include "cipher-builtin.inc.c" #endif =20 QCryptoCipher *qcrypto_cipher_new(QCryptoCipherAlgorithm alg, --=20 2.25.1