<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigNvData.h, branch master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-02-23T21:01:28+00:00</updated>
<entry>
<title>SecurityPkg: Replace include guards with #pragma once</title>
<updated>2026-02-23T21:01:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-02-03T19:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9326c0eb0a9b5b82fef335e46fbd85868d318a7d'/>
<id>urn:sha1:9326c0eb0a9b5b82fef335e46fbd85868d318a7d</id>
<content type='text'>
Replace traditional `#ifndef`/`#define`/`#endif` include guards with
`#pragma` once.

`#pragma once` is a widely supported preprocessor directive that
prevents header files from being included multiple times. It is
supported by all toolchains used to build edk2: GCC, Clang/LLVM, and
MSVC.

Compared to macro-based include guards, `#pragma once`:

- Eliminates the risk of macro name collisions or copy/paste errors
  where two headers inadvertently use the same guard macro.
- Eliminate inconsistency in the way include guard macros are named
  (e.g., some files use `__FILE_H__`, others use `FILE_H_`, etc.).
- Reduces boilerplate (three lines replaced by one).
- Avoids polluting the macro namespace with guard symbols.
- Can improve build times as the preprocessor can skip re-opening the
  file entirely, rather than re-reading it to find the matching
  `#endif` ("multiple-include optimization").
  - Note that some compilers may already optimize traditional include
    guards, by recognzining the idiomatic pattern.

This change is made acknowledging that overall portability of the
code will technically be reduced, as `#pragma once` is not part of the
C/C++ standards.

However, this is considered acceptable given:

1. edk2 already defines a subset of supported compilers in
   BaseTools/Conf/tools_def.template, all of which have supported
   `#pragma once` for over two decades.
2. There have been concerns raised to the project about inconsistent
   include guard naming and potential macro collisions.

Approximate compiler support dates:

- MSVC: Supported since Visual C++ 4.2 (1996)
- GCC: Supported since 3.4 (2004)
  (http://gnu.ist.utl.pt/software/gcc/gcc-3.4/changes.html)
- Clang (LLVM based): Since initial release in 2007

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: Apply uncrustify changes</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2021-12-05T22:54:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c411b485b63a671a1e276700cff025c73997233c'/>
<id>urn:sha1:c411b485b63a671a1e276700cff025c73997233c</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the SecurityPkg package

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Jian J Wang &lt;jian.j.wang@intel.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: Add option to reset secure boot keys.</title>
<updated>2021-08-03T07:26:41+00:00</updated>
<author>
<name>Grzegorz Bernacki</name>
<email>gjb@semihalf.com</email>
</author>
<published>2021-08-02T10:46:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=55266a9b8ac71dace1109d61be549889cdd2f93f'/>
<id>urn:sha1:55266a9b8ac71dace1109d61be549889cdd2f93f</id>
<content type='text'>
This commit add option which allows reset content of Secure Boot
keys and databases to default variables.

Signed-off-by: Grzegorz Bernacki &lt;gjb@semihalf.com&gt;
Reviewed-by: Sunny Wang &lt;sunny.wang@arm.com&gt;
Reviewed-by: Jiewen Yao &lt;Jiewen.yao@intel.com&gt;
Reviewed-by: Pete Batard &lt;pete@akeo.ie&gt;
Tested-by: Pete Batard &lt;pete@akeo.ie&gt; # on Raspberry Pi 4
</content>
</entry>
<entry>
<title>SecurityPkg: Fix spelling errors</title>
<updated>2019-10-23T17:23:23+00:00</updated>
<author>
<name>Sean Brogan</name>
<email>sean.brogan@microsoft.com</email>
</author>
<published>2019-10-09T07:20:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d6b926e76e3d639ac37610e97d33ff9e3a6281eb'/>
<id>urn:sha1:d6b926e76e3d639ac37610e97d33ff9e3a6281eb</id>
<content type='text'>
https://bugzilla.tianocore.org/show_bug.cgi?id=2265

Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Cc: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Cc: Chao Zhang &lt;chao.b.zhang@intel.com&gt;
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Jiewen Yao &lt;Jiewen.yao@intel.com&gt;
Reviewed-by: Jian J Wang &lt;jian.j.wang@intel.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: Replace BSD License with BSD+Patent License</title>
<updated>2019-04-09T17:58:23+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2019-04-03T23:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=289b714b77008aa4200c0be25c4b4e25df04955a'/>
<id>urn:sha1:289b714b77008aa4200c0be25c4b4e25df04955a</id>
<content type='text'>
https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Jiewen Yao &lt;Jiewen.yao@intel.com&gt;
Reviewed-by: Jian J Wang &lt;jian.j.wang@intel.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg/SecureBootConfigImpl.c: Secure Boot DBX UI Enhancement</title>
<updated>2017-09-28T07:02:00+00:00</updated>
<author>
<name>chenc2</name>
<email>chen.a.chen@intel.com</email>
</author>
<published>2017-09-26T00:44:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=85974aef1332d2d8f480f121875dc57795220dd1'/>
<id>urn:sha1:85974aef1332d2d8f480f121875dc57795220dd1</id>
<content type='text'>
Use 2-level format to display signature list and signature data.
Support batch delete operation to delete signature list or signature data.
Display more useful information for each signature data.

Contributed-under: TianoCore Contribution Agreement 1.0
Cc: Zhang Chao B &lt;chao.b.zhang@intel.com&gt;
Cc: Long Qin &lt;qin.long@intel.com&gt;
Signed-off-by: Chen A Chen &lt;chen.a.chen@intel.com&gt;
Reviewed-by: Long Qin &lt;qin.long@intel.com&gt;
Reviewed-by: Zhang Chao B &lt;chao.b.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: SecureBootConfigDxe: Support AUTH_2 enrollment to DBX</title>
<updated>2017-04-06T02:50:43+00:00</updated>
<author>
<name>Zhang, Chao B</name>
<email>chao.b.zhang@intel.com</email>
</author>
<published>2017-02-28T02:23:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4de754e15fec9c94ce7677904efd0022c211721b'/>
<id>urn:sha1:4de754e15fec9c94ce7677904efd0022c211721b</id>
<content type='text'>
Update SecureBootConfigDxe to support AUTH_2 format data enrollment
to DBX.
Free opened file handle resource after exit PK/KEK/DB/DBX/DBT
enrollment page.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang &lt;chao.b.zhang@intel.com&gt;
Reviewed-by: Long Qin &lt;qin.long@intel.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: SecureBootConfigDxe: Remove SecureBoot UI change for Customized Secure Boot</title>
<updated>2016-05-04T01:13:51+00:00</updated>
<author>
<name>Zhang, Chao B</name>
<email>chao.b.zhang@intel.com</email>
</author>
<published>2016-04-28T07:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=12087ff6d63e50fb6c588caf33c9b2c4b31c2dbd'/>
<id>urn:sha1:12087ff6d63e50fb6c588caf33c9b2c4b31c2dbd</id>
<content type='text'>
  Remove SecureBoot UI support for Customized SecureBoot Mode transition according to Mantis 1263.
The feature has been moved to
  https://github.com/tianocore/edk2-staging/tree/Customized-Secure-Boot
Previous check-in hash is
  SHA-1: 96832eefea1025c130979dec9b7da069f77bcd96

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang &lt;chao.b.zhang@intel.com&gt;
Reviewed-by: El-Haj-Mahmoud Samer &lt;samer.el-haj-mahmoud@hpe.com&gt;
Reviewed-by: Fu Siyuan &lt;siyuan.fu@intel.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: Use FileExplorerLib in SecureBootConfigDxe</title>
<updated>2016-02-26T08:52:51+00:00</updated>
<author>
<name>Dandan Bi</name>
<email>dandan.bi@intel.com</email>
</author>
<published>2016-01-28T01:36:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=762d8ddb2877581eaf20e0f090692f06a83c7588'/>
<id>urn:sha1:762d8ddb2877581eaf20e0f090692f06a83c7588</id>
<content type='text'>
Using existing library FileExplorerLib to replace the same
logic in SecureBootConfigDxe to make the code clear. After using
FileExplorerLib, the UI behavior for enroll PK will change,
previously when select one PK file, commit/discard changes will
return to Device Manager,press ESC will return to FileExplorer.
Now using FileExplorerLib the behavior will keep same with
enroll KEK/DB/..., commit/discard changes will return to Custom
Secure Boot Options form and ESC will return to PK options form.

Cc: Chao Zhang &lt;chao.b.zhang@intel.com&gt;
Cc: Eric Dong &lt;eric.dong@intel.com&gt;
Cc: Laszlo Ersek &lt;lersek@redhat.com&gt;
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi &lt;dandan.bi@intel.com&gt;
Acked-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Reviewed-by: Eric Dong &lt;eric.dong@intel.com&gt;
Reviewed-by: Chao Zhang &lt;chao.b.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: SecureBootConfigDxe: Change KEY_TRANS_SECURE_BOOT_MODE value</title>
<updated>2016-01-15T00:58:37+00:00</updated>
<author>
<name>Chao Zhang</name>
<email>chao.b.zhang@intel.com</email>
</author>
<published>2016-01-15T00:58:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=668ceb0ea17b882bc7b28e8f25ea84ecbbe56c7d'/>
<id>urn:sha1:668ceb0ea17b882bc7b28e8f25ea84ecbbe56c7d</id>
<content type='text'>
Change KEY_TRANS_SECURE_BOOT_MODE value, as it conflicts with OPTION_DEL_KEK_QUESTION_ID.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang &lt;chao.b.zhang@intel.com&gt;
Reviewed-by: Fu Siyuan &lt;siyuan.fu@intel.com&gt;
Reviewed-by: Qin Long &lt;qin.long@intel.com&gt;

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19644 6f19259b-4bc3-4df7-8a09-765794883524
</content>
</entry>
</feed>
