Message ID | 20211102005512.96019-2-takahiro.akashi@linaro.org |
---|---|
State | Accepted, archived |
Commit | 50b05eb6060a67d2cdf9b5114c4575e3f803551e |
Delegated to: | Heinrich Schuchardt |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=TyTWCGxq; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Hjs0V5nG4z9sRK for <incoming@patchwork.ozlabs.org>; Tue, 2 Nov 2021 11:56:10 +1100 (AEDT) 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-Google-Smtp-Source: ABdhPJyjDbyKz1u9FwOBQ0pIKGbyXjJ/iV83xmJ/1IL3jaswdz36AmHZNyAlSbEcpKFVpGKDmOWiOQ== 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;