<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.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-06-24T17:31:06+00:00</updated>
<entry>
<title>SecurityPkg/SecureBootConfigDxe: Remove unused variable mImageType</title>
<updated>2026-06-24T17:31:06+00:00</updated>
<author>
<name>Qihang Gao</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2026-06-22T08:21:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d984c9b63c46784485826a1d9636d46af019d22b'/>
<id>urn:sha1:d984c9b63c46784485826a1d9636d46af019d22b</id>
<content type='text'>
Remove mImageType as it is assigned but never used. The definition of
struct IMAGE_TYPE is also removed.

Signed-off-by: Qihang Gao &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<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/SecureBoot: Support RSA4096 and RSA3072</title>
<updated>2023-09-07T06:12:18+00:00</updated>
<author>
<name>Sheng Wei</name>
<email>w.sheng@intel.com</email>
</author>
<published>2023-09-07T01:57:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=bbf182229587958b17336c114e0a1525c4f90f3d'/>
<id>urn:sha1:bbf182229587958b17336c114e0a1525c4f90f3d</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3413

Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Cc: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Cc: Min Xu &lt;min.m.xu@intel.com&gt;
Cc: Zeyi Chen &lt;zeyi.chen@intel.com&gt;
Cc: Fiona Wang &lt;fiona.wang@intel.com&gt;
Signed-off-by: Sheng Wei &lt;w.sheng@intel.com&gt;
Reviewed-by: Jiewen Yao &lt;jiewen.yao@intel.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 constraints on PK strength</title>
<updated>2021-04-26T16:24:32+00:00</updated>
<author>
<name>Jiaqi Gao</name>
<email>jiaqi.gao@intel.com</email>
</author>
<published>2021-04-26T04:31:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=5396354b868bd6652600a654bba7df16701ac1cb'/>
<id>urn:sha1:5396354b868bd6652600a654bba7df16701ac1cb</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3293

Add constraints on the key strength of enrolled platform key(PK), which
must be greater than or equal to 2048 bit. PK key strength is required
by Intel SDL and MSFT, etc. This limitation prevents user from using
weak keys as PK.

The original code to check the certificate file type is placed in a new
function CheckX509Certificate(), which checks if the X.509 certificate
meets the requirements of encode type, RSA-Key strengh, etc.

Cc: Min Xu &lt;min.m.xu@intel.com&gt;
Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Signed-off-by: Jiaqi Gao &lt;jiaqi.gao@intel.com&gt;
Reviewed-by: Min Xu &lt;min.m.xu@intel.com&gt;
Acked-by: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
</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/SecureBootConfigDxe: Change the declaring of buffer.</title>
<updated>2017-10-17T14:03:42+00:00</updated>
<author>
<name>chenc2</name>
<email>chen.a.chen@intel.com</email>
</author>
<published>2017-10-17T08:45:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=65c77f02104cf0cf7bd224df3a5fc08795df9aad'/>
<id>urn:sha1:65c77f02104cf0cf7bd224df3a5fc08795df9aad</id>
<content type='text'>
The change doesn't impact the functionality.
To avoid magic code is helpful for maintaining the codes.
Use stack variable for known max length variable is more
clear and safe than heap buffer.

Cc: Zhang Chao B &lt;chao.b.zhang@intel.com&gt;
Cc: Wu Hao A &lt;hao.a.wu@intel.com&gt;
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: chenc2 &lt;chen.a.chen@intel.com&gt;
Reviewed-by: Chao Zhang &lt;chao.b.zhang@intel.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg/SecureBootConfigDxe: Fix coding style issue</title>
<updated>2017-10-17T08:47:45+00:00</updated>
<author>
<name>chenc2</name>
<email>chen.a.chen@intel.com</email>
</author>
<published>2017-10-17T07:14:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0085d619ddfb7ef6b702c721d7eb9d33b0ad45aa'/>
<id>urn:sha1:0085d619ddfb7ef6b702c721d7eb9d33b0ad45aa</id>
<content type='text'>
The change doesn't impact the functionality.

Cc: Bi Dandan &lt;dandan.bi@intel.com&gt;
Cc: Zhang Chao &lt;chao.b.zhang@intel.com&gt;
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: chenc2 &lt;chen.a.chen@intel.com&gt;
Reviewed-by: Bi Dandan &lt;dandan.bi@intel.com&gt;
Reviewed-by: Chao Zhang &lt;chao.b.zhang@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>
</feed>
