Message ID | 20211102005512.96019-2-takahiro.akashi@linaro.org |
---|---|
State | Accepted |
Commit | 50b05eb6060a67d2cdf9b5114c4575e3f803551e |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ad5:5208:0:0:0:0:0 with SMTP id p8csp3915847iml; Mon, 1 Nov 2021 17:56:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsL6KSYTlvZob/bJEpzWwiEt/ZXRSq9y/O26lPzg5OgaYh4py1/BfNQ07/7e5qjimSh2qI X-Received: by 2002:a17:906:3a0e:: with SMTP id z14mr42047575eje.55.1635814566808; Mon, 01 Nov 2021 17:56:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635814566; cv=none; d=google.com; s=arc-20160816; b=QBR2xAHaT6YtvVZ74RrGPPx7LQfWVee5Ekk1FFUgDDB/Sq94+N5Y+AppthXn+INd43 6fm5mTSe5jI08/n9qBXvKJeyMz2FpG0o09FPdZranjw8L8T6AeC85kdVWb6gJJ+EFGPd KK6r1pIfgFTcG/Li+jGerPVs7LLo5DnrzMbvwvABwdty64OKPYhav/NI+gSa4hObVBns d5mZdIxComG5+7uNMagBn4neQjTv3T+HMOpSewKWQmE+oemPRlxjfqrjPyBOPAxTbvjx 01aaGtbd98D/2X6bXzE+TsPnAs6XaIbkKlqRUpx+dEpm97nDMVK62HNoAhyRRryG/+nf 0Aag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=BaYBnmizFXbnl98mf2PDUeaqhgDxsP2XgpPWAaclhk0=; b=akUlGguS6oc8JvJN5w93J/eMIO3+P/WpZzNTSEmBGMMIXQhLdLOqzvUl30pY7purDo 8s9hU7GfYZ8SxBexPKkQrt4dfqKUnGpvK5GxpuvGsexvP9K0+vTtrvMi6w2yPbpP4hJa S0n3anlG9vtdRnboR3mjOTR/JZfs1cS7B6LZOMTb1UULouC9l/vqHy5guTkLbNyDfeiR 3l5QWlZvr/fhPf1y7wgDtNTECKQ8SDOAbmdKUpYuVwLIjOmje1PwYwO7LmtvtJveGxuy PpM8uYEyRe3MNnmcBTMjaKzZb1MGyQaPrw9bUIaFcCNuCxj/Pj3aF5vII9dm1KoRfeBR CRvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TyTWCGxq; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id n1si24403762edb.494.2021.11.01.17.56.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Nov 2021 17:56:06 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TyTWCGxq; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EC97B835E9; Tue, 2 Nov 2021 01:55:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="TyTWCGxq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1D53D835D6; Tue, 2 Nov 2021 01:55:56 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3BB1F83410 for <u-boot@lists.denx.de>; Tue, 2 Nov 2021 01:55:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pl1-x634.google.com with SMTP id f8so13345997plo.12 for <u-boot@lists.denx.de>; Mon, 01 Nov 2021 17:55:50 -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=BaYBnmizFXbnl98mf2PDUeaqhgDxsP2XgpPWAaclhk0=; b=TyTWCGxq8WV4/r94CmTXodqhTldDWCm8k7b19BjEXqrWaZhwRaedndMr0QZeJJGc4X jgjtuTJBQMIUYaoZRl8320cQXtZ/OZgdmLQZ0evyNJImgVfclyZlIDUedASsaxmx1JL+ jUEOhhNr84QmOaGyvTxA42cp5lYJPwfS0H++nUi7sFu57QKdt4c1agEdbXPFW/1o1Qqf J2eKJb7euRAgHmJ7rgr9tNLPNi9DE++WTplIFsaIeIOeT50OEMBwuDaLff4sRX83J7W0 Y+dJ4iC8iIspGoYzSQEEC5arOE8faJyKqhUCaZs7UGaEBHS3fQZGi+Uv9/065xdTKRRb Eusg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BaYBnmizFXbnl98mf2PDUeaqhgDxsP2XgpPWAaclhk0=; b=CRCH3hzlLFj0UEeX9M2lO3kG5j4nu9kx7T8860SnDzFzMZtasgYY/XB7Zv3ATnVBFM ktuwRDAB2adsbweRnYt1jhywNY/bYUlkVgPbnX+SfphwCc8t+eYWTsf3fFBs8nQBbq0M ixA+cbly38LOhXq57DgPskWNxnGUt59PAdFdaADsHb/pVZCkjB7hzUOhY6NLe8RadR3B thWh78QhdJpcJyr11AyC2UZH6NXLV/9dO+gdsYJ9Ta1erWp8AkrE7v2tUqRlxkLmbuXl 3uTtsdZTKc9rbpYg0Bs3Rtz0ra2NKkrxZgvsr0MIQbDQHRSRWvUgOjhBZ2aZX3M+X3wp 3StA== X-Gm-Message-State: AOAM531z63f+kNbcjatd6chP3XleUDvyHx/sYwAaRBBdpmC8oqgvMqw6 7wvQKBGmZ8u9h97iKf3NY6BwiA== X-Received: by 2002:a17:902:758c:b0:141:4c99:22b3 with SMTP id j12-20020a170902758c00b001414c9922b3mr28289000pll.40.1635814548623; Mon, 01 Nov 2021 17:55:48 -0700 (PDT) Received: from localhost.localdomain ([2400:4050:c3e1:100:a475:65cc:d4b7:aaf5]) by smtp.gmail.com with ESMTPSA id n29sm12305596pfv.29.2021.11.01.17.55.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Nov 2021 17:55:48 -0700 (PDT) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: xypron.glpk@gmx.de, agraf@csgraf.de, sjg@chromium.org Cc: ilias.apalodimas@linaro.org, sughosh.ganu@linaro.org, masami.hiramatsu@linaro.org, u-boot@lists.denx.de, AKASHI Takahiro <takahiro.akashi@linaro.org> Subject: [PATCH v6 01/12] efi_loader: capsule: drop __weak from efi_get_public_key_data() Date: Tue, 2 Nov 2021 09:55:01 +0900 Message-Id: <20211102005512.96019-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211102005512.96019-1-takahiro.akashi@linaro.org> References: <20211102005512.96019-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
efi_loader: capsule: improve capsule authentication support
|
expand
|
diff --git a/lib/efi_loader/efi_capsule.c b/lib/efi_loader/efi_capsule.c index 44f5da61a9be..850937fd120f 100644 --- a/lib/efi_loader/efi_capsule.c +++ b/lib/efi_loader/efi_capsule.c @@ -256,7 +256,7 @@ out: } #if defined(CONFIG_EFI_CAPSULE_AUTHENTICATE) -int __weak efi_get_public_key_data(void **pkey, efi_uintn_t *pkey_len) +int efi_get_public_key_data(void **pkey, efi_uintn_t *pkey_len) { const void *fdt_blob = gd->fdt_blob; const void *blob;