From nobody Tue Feb 10 10:04:20 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+92345+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+92345+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1660200850; cv=none; d=zohomail.com; s=zohoarc; b=W4Y5WT2UpTh8gOAgM+aOChPMeryrZRik1HgESsJntR66tre7c3rYe3D6z/TlHGM2Q3v2ZjpqX6vNSs5nVNy83jRpzPeFOuGSsPUzv46iPH6l0QbPs3yAtJlggy/mX1VZetK5QV2lb6hlUDZhsmUef1rZWOuGPyjeN4hAU+g2dKQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1660200850; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=Ab/kMIYjJoYrfSvS/Ip9xCHJv13zgrzpMOoHmInNuX4=; b=I/Ptp7ZeZm8Qa4U8oSADBs0LhXTr+/d9LGLf6WMoPLA2HezUBdcpKVIwRD6M5c07iYJF0tMevcqZWWHSp4UcXATdEkax/RtJfkWdet64rBUKJTMEjZKC4Fx0yRD7ZfmfS0CF32yDqnue8cv6QZ4DMpisOyniLWLmpBwuJz3M86M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+92345+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1660200850006601.633169710393; Wed, 10 Aug 2022 23:54:10 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id WnoDYY1788612xpcggx4HyUo; Wed, 10 Aug 2022 23:54:09 -0700 X-Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web10.3577.1660200847636941348 for ; Wed, 10 Aug 2022 23:54:08 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10435"; a="377565715" X-IronPort-AV: E=Sophos;i="5.93,228,1654585200"; d="scan'208";a="377565715" X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2022 23:54:06 -0700 X-IronPort-AV: E=Sophos;i="5.93,228,1654585200"; d="scan'208";a="673586226" X-Received: from moisespe-mobl.amr.corp.intel.com (HELO jvang-mobl.amr.corp.intel.com) ([10.212.171.64]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2022 23:54:06 -0700 From: "Judah Vang" To: devel@edk2.groups.io Cc: Jian J Wang , Liming Gao , Nishant C Mistry Subject: [edk2-devel] [PATCH v4 01/28] MdeModulePkg: Update AUTH_VARIABLE_INFO struct Date: Wed, 10 Aug 2022 23:53:10 -0700 Message-Id: <20220811065337.2068-2-judah.vang@intel.com> In-Reply-To: <20220811065337.2068-1-judah.vang@intel.com> References: <20220811065337.2068-1-judah.vang@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,judah.vang@intel.com X-Gm-Message-State: 4RZL1qB9Rta6lG2JLvBjReIrx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1660200849; bh=lK3WVrwCVT2xg1awp80fqwQfbWGnx/PIaXFLg+z2nAc=; h=Cc:Date:From:Reply-To:Subject:To; b=NSchCcO5fpU3ar/C0AU9tg39Oav1VHG8U+B3DkuJfTxQPblRyZM2mYiEVL5wYBBLuxS 9XCqiV4bevIkaXl/8ViUy6CbAyARQmuYXtbAXxM3Tu6NMcTvWfhFVXn7bwrTL0IzZBmov e0vSORkK+g0wso85cMHZuegSQAzhLa1fEcs= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1660200851761100004 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2594 Added NameSize and State to AUTH_VARIABLE_INFO struct. The size of the name and state is needed when creating the variable digest. Cc: Jian J Wang Cc: Liming Gao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang Reviewed-by: Jian J Wang --- MdeModulePkg/Include/Library/AuthVariableLib.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Include/Library/AuthVariableLib.h b/MdeModulePkg/= Include/Library/AuthVariableLib.h index 37aceba699e6..32391bbf2b61 100644 --- a/MdeModulePkg/Include/Library/AuthVariableLib.h +++ b/MdeModulePkg/Include/Library/AuthVariableLib.h @@ -1,7 +1,7 @@ /** @file Provides services to initialize and process authenticated variables. =20 -Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.
+Copyright (c) 2015 - 2022, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -25,9 +25,11 @@ SPDX-License-Identifier: BSD-2-Clause-Patent (OFFSET_OF (WIN_CERTIFICATE_UEFI_GU= ID, CertData))) =20 typedef struct { + UINTN NameSize; CHAR16 *VariableName; EFI_GUID *VendorGuid; UINT32 Attributes; + UINT8 State; UINTN DataSize; VOID *Data; UINT32 PubKeyIndex; --=20 2.35.1.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#92345): https://edk2.groups.io/g/devel/message/92345 Mute This Topic: https://groups.io/mt/92953526/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-