Message ID | 20231016165740.1374614-2-stefano.babic@swupdate.org |
---|---|
State | Accepted |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <swupdate+bncBAABBCOXWWUQMGQEQSUBK5Q@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=seXuw6bT; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::53b; helo=mail-ed1-x53b.google.com; envelope-from=swupdate+bncbaabbcoxwwuqmgqeqsubk5q@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-ed1-x53b.google.com (mail-ed1-x53b.google.com [IPv6:2a00:1450:4864:20::53b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4S8Nb43N7rz26jS for <incoming@patchwork.ozlabs.org>; Tue, 17 Oct 2023 03:57:51 +1100 (AEDT) Received: by mail-ed1-x53b.google.com with SMTP id 4fb4d7f45d1cf-51d981149b5sf3752935a12.3 for <incoming@patchwork.ozlabs.org>; Mon, 16 Oct 2023 09:57:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697475466; cv=pass; d=google.com; s=arc-20160816; b=g4ZfwYoTngP691ri6VMh9FPh3fL1BrfcRxsQMn8eUX2gPCRInyyEq3Pblr2kElESc7 v/rhd+zQibw9ezorg/tWVTdXFUNJwDjA11ZfkKpYnqPJTvH4FFwDSndOQqLoaNWrt39V u2a9mhq3NIG7j6yS68LuU/H1P4tqUbG4pJR/3QUafbGFmf4dM/3J3S6j9t8J0iKdTAeV 3u9Svh0o7G8IvhsyQSRjBcn6NWlkK6ViZtaNtYRbHlQe+mfjvUdHdsgCjILw9LRNHgEB OgrSAKhZ+kz7gGy9y8mMdLappJH+uw3m7PBidm9dpua2kLSlMYbBiIagVGo3GnMAwJ9B irRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:ui-outboundreport:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=R6+GapHcLIzLN64UiBFh12jXMF6++/IWylqzEglayeM=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=TwML1GrvzmP5nonytLH6O3qSOU/62PkuLh/XWPb0W6Nxqp51vESqQQDQJQfJkdfNP+ Ciq7EFQ8S39xsumtVre2Ucv3ji4Q+rLQIknoFGqN3N+voHibvAiIQ9zqCSV3OKYZxweC Lhcgg2TXGVnqGw3wee6SmrDxXQ8BsJhEtgy9xt+nJnszQsCiuKi/GkucjJedhPVVOvu1 9EMvXo/L/58ACyRued9zfD4R3zG38l5TnHJmaT0l+5aiqMmS5fQ961YiIErcV1RHEJkI pT2D9XKntUQvS6EPBz6vaCtO600Etwbscz0NPZqHvvCYu8SBG1t2kZs78m3U3q74t3Uh OFwA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.10 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1697475466; x=1698080266; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:ui-outboundreport:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=R6+GapHcLIzLN64UiBFh12jXMF6++/IWylqzEglayeM=; b=seXuw6bTXeUgefstCW7EtMJH8PI6IsUr3WAyCxE3y9gIxQ0Ry16XLRw4jCHz4QiEcW 3s+YBIVWBUtDQ/a7Pzox7IF5FMCmDlU6w1X/QrPFys6FTnHjF1JSVXFox7oN9YOVHmsY j+A1sIeHEei5XcBdbAuQWrXnrbkTELCfndUqncboPIc2pxixQqF3BUqY7+8DMoj5mOWP UOIiFUS0qA2t33JajjxcXQFl7VE+pjUL2sO2J7PuQBHe5tvH5rlsy2NM3/Dn2C+AWuRz Y49HR91S3Q3s542dwDG8yN/dcttDBZtV3/K+7WeXfUk1uxoDcLAsbBk7OyaJisMIXZkE CtOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697475466; x=1698080266; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :ui-outboundreport:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=R6+GapHcLIzLN64UiBFh12jXMF6++/IWylqzEglayeM=; b=XAzC3A4TwCu1aAG3Q2Wgr6EtfRzS+98Q1TSXlwSFx/twvgatLaQYpgJs9Loj2NYlVR bYHDzi+a1jR7hO5pRwxDx/44RKSfJSyqhYcSQinB0zAloqA1KnZTxl5PClgwSYWmf2mC pFzqpWbUNu+AhyRVZbciuKZKaBIO0867auMYulqnzgEb9exx9+bJnSNprNWrhqIy8pCY mdn1h3AKho9dwKFlSScD5hjxD8rOvks4/kvLqui/GtiJoDjl5Ew9ofB8xoTYkPxlw+Ll XPA/NerDl4F/eq5VLVLzZGi406VSUcayWrHOap7CJZiIyl8pE6/YGdWjIAZONXs/lUbr ac+g== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOJu0YzDcUvIRFejaOE8wwEPrX722ALs63nfKG3NeBQCrOoLM37JsFkx 0ORXZ/CNhzD/bG8OVKV+tSU= X-Google-Smtp-Source: AGHT+IE897SGgD/gmaoGBQbd8Tsinrofq9+l7wRVOr7zmwzMjWoGw4iWu9WuUiLfN7I6k/FuigtUYQ== X-Received: by 2002:a05:6402:26d1:b0:53d:ec2d:3ee5 with SMTP id x17-20020a05640226d100b0053dec2d3ee5mr13948445edd.32.1697475465600; Mon, 16 Oct 2023 09:57:45 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6402:321b:b0:53b:c1e8:958 with SMTP id g27-20020a056402321b00b0053bc1e80958ls84623eda.0.-pod-prod-09-eu; Mon, 16 Oct 2023 09:57:43 -0700 (PDT) X-Received: by 2002:a50:ef0b:0:b0:52f:b00a:99be with SMTP id m11-20020a50ef0b000000b0052fb00a99bemr30127817eds.33.1697475463852; Mon, 16 Oct 2023 09:57:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697475463; cv=none; d=google.com; s=arc-20160816; b=DBIoQp4iXgJiXHZHVDXm/LhH6+xIxiH3FuXLvS7WqCfgcrSt6qpkFtKEAO7xlVxkas xxr/XzmlorNpV+WKHepRip5Mbs4s0vDRW+ulQbdRURv2pmbO6DZXu7rOkWONpoJEzBCr 6+P34hbLQebyQggOvBg/BjTS34qHEOuvJNX45UmfsAVwonwUDIqXdPlJyU/RMOisHMh7 zPQT+3zdqJ4arh049Iw7l8RFZFsT7SfAjXW2mMK6r+C48GL7nICP7zVLMhCaEEv8sdE8 GKEK3WlmoUSXL/dhozgH6RzBHqCeutJOykmGc6mrsiu6kdqU8VxxjR3UxW8g3XeZ5jPR olGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=ssjGZuQBGPE1qoJ+iAstDazkzs2XWKXsPoyb1MFBUmk=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=wZy+NS5p0fvC3V/uy6OvFdUiQyPiQi7g9XolCxb1HWvyAVLzYhviutfPlYV8CXS5yF sYXHOxBzWE+1mylOvxKGciKut3+O/YcxGFFtboQVfhBL+PQ1p5W2MULneJ2WicOS2NED hx4Y+FR5+e2Bs+/AP7CfN1W4OzVppVA2fQcdUOEuNFkruc7ZmDG8nVH4AP4+NoS+jRSg mmMqxWFzABKbNh4su6MuEo1VoQjKyyOB+ZMedDPOhVs0wMOAiHTjyJ9K+c4+KvpFTuMW FC8tlcKZgoKiYXFPYk8vW7jaC/blf1DGJOQjvAvsPj6KNeTSrzrr6u7W4kjJ6UKnTBAv rFfA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.10 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Received: from mout.kundenserver.de (mout.kundenserver.de. [212.227.17.10]) by gmr-mx.google.com with ESMTPS id ba14-20020a0564021ace00b0053e26876354si17220edb.5.2023.10.16.09.57.43 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 09:57:43 -0700 (PDT) Received-SPF: pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.10 as permitted sender) client-ip=212.227.17.10; Received: from paperino.fritz.box ([88.217.136.221]) by mrelayeu.kundenserver.de (mreue109 [213.165.67.113]) with ESMTPSA (Nemesis) id 1Macay-1rQ6hh1OXq-00c8xI; Mon, 16 Oct 2023 18:57:43 +0200 From: Stefano Babic <stefano.babic@swupdate.org> To: swupdate@googlegroups.com Cc: Stefano Babic <stefano.babic@swupdate.org> Subject: [swupdate] [PATCH 02/12] Rename swupdate_decrypt to be consistent Date: Mon, 16 Oct 2023 18:57:30 +0200 Message-Id: <20231016165740.1374614-2-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231016165740.1374614-1-stefano.babic@swupdate.org> References: <20231016165740.1374614-1-stefano.babic@swupdate.org> MIME-Version: 1.0 X-Provags-ID: V03:K1:Iv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2E4FD AzbWqQgkuheV4ufm0HPjklO2ikZe6+ZWPqQlF67TxXzyCbyAo/YpenYdxD5VU1dPYr2O7wlAw NKoin5AEgSLDbNQ== X-Original-Sender: stefano.babic@swupdate.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.10 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
[01/12] Cleanup: use #pragma once in all headers
|
expand
|
diff --git a/corelib/Makefile b/corelib/Makefile index f5dda73b..0566f888 100644 --- a/corelib/Makefile +++ b/corelib/Makefile @@ -11,7 +11,7 @@ lib-$(CONFIG_HASH_VERIFY) += verify_signature.o ifeq ($(CONFIG_PKCS11),y) lib-$(CONFIG_ENCRYPTED_IMAGES) += swupdate_decrypt_pkcs11.o else -lib-$(CONFIG_ENCRYPTED_IMAGES) += swupdate_decrypt.o +lib-$(CONFIG_ENCRYPTED_IMAGES) += swupdate_decrypt_openssl.o endif lib-$(CONFIG_SIGALG_RAWRSA) += swupdate_rsa_verify.o lib-$(CONFIG_SIGALG_RSAPSS) += swupdate_rsa_verify.o diff --git a/corelib/swupdate_decrypt.c b/corelib/swupdate_decrypt_openssl.c similarity index 100% rename from corelib/swupdate_decrypt.c rename to corelib/swupdate_decrypt_openssl.c
Decrypt functions are in files with the name of the crypto engine (swupdate=decrypt_mbedtls, etc.). Rename swupdate_decrypt to swupdate_decrypt_openssl for consistency. Signed-off-by: Stefano Babic <stefano.babic@swupdate.org> --- corelib/Makefile | 2 +- corelib/{swupdate_decrypt.c => swupdate_decrypt_openssl.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename corelib/{swupdate_decrypt.c => swupdate_decrypt_openssl.c} (100%)