From nobody Tue Feb 10 15:29:48 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+90354+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+90354+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1654754805; cv=none; d=zohomail.com; s=zohoarc; b=CmdJPod/M9ryJVlZLbwLihZMkANzSiJ1NLrB1EvbpAYgnloRQtHIzBRa/VQKyheiZWFXfwGG/a1HWNs9uDykLdkgIdLy+IY+4gVGFz38mxK+yWb9mNRqOyvBUICG7LULMwCrOhFnX+iL9LlpZ4gChVMYcW46sXkc3AvB/0dnXPw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1654754805; 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=jH0WJk7c9P1WoS3/KJXyLXWBFkU+aQ4BPiJe+4m5VQk=; b=NRyAnezAZ9GdLARrsK7NWdCqGayytftdkAtt15QUcIS5yTShE8weX92vcT18nRykdv3cKQSQLY0BcOJlBTAaHyKmX+6Tj+p2SIB7lbz05CxvYXvC/jrOywoTZHRr0PAA/ri2lKNXSDjki5X7N12r7JFTAbTkWEYCYejvbhYU2bY= 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+90354+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 1654754805794711.9945085573374; Wed, 8 Jun 2022 23:06:45 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 1dpsYY1788612xfjvmS2tVaq; Wed, 08 Jun 2022 23:06:45 -0700 X-Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web12.7141.1654754624109050740 for ; Wed, 08 Jun 2022 23:03:45 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10372"; a="363487902" X-IronPort-AV: E=Sophos;i="5.91,287,1647327600"; d="scan'208";a="363487902" X-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2022 23:03:43 -0700 X-IronPort-AV: E=Sophos;i="5.91,287,1647327600"; d="scan'208";a="566239801" X-Received: from jvang-mobl.amr.corp.intel.com ([10.209.91.16]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2022 23:03:43 -0700 From: "Judah Vang" To: devel@edk2.groups.io Cc: Jian J Wang , Liming Gao , Nishant C Mistry Subject: [edk2-devel] [PATCH v3 03/28] MdeModulePkg: Update AUTH_VARIABLE_INFO struct Date: Wed, 8 Jun 2022 23:02:57 -0700 Message-Id: <20220609060322.3491-4-judah.vang@intel.com> In-Reply-To: <20220609060322.3491-1-judah.vang@intel.com> References: <20220609060322.3491-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: BBUhnRw55TwlBsQOw0mR7xaox1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1654754805; bh=uYaewD3KL3cqkWZv/6smH3jL1u4wCnwjKXHrIvSF2M0=; h=Cc:Date:From:Reply-To:Subject:To; b=iSjfIGTS2hDHnmElFyW2tVbGg7YLryj1XsFsZe21A5YnveTuU/OAk//9GH2YNjxeMkK VFgPfGudDtalLHqRxNUyCtcwvUUi/slUxdKXkFRFR1sw4gJXh2mCOyYr8GweXKbDg4e2p EPyzH+brFvfPMYOJ90mBcUPta50s4VygN5o= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1654754806903100001 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 --- 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 (#90354): https://edk2.groups.io/g/devel/message/90354 Mute This Topic: https://groups.io/mt/91640183/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-