<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/CryptoPkg/Library/TlsLib/TlsConfig.c, 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-24T14:49:50+00:00</updated>
<entry>
<title>CryptoPkg: TlsLib: Fix uninitialized variable warnings</title>
<updated>2026-06-24T14:49:50+00:00</updated>
<author>
<name>Tuan Phan</name>
<email>tuan.phan@oss.qualcomm.com</email>
</author>
<published>2026-01-25T23:29:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=798a16c520da264a38e0e030a16ac052b6bd6463'/>
<id>urn:sha1:798a16c520da264a38e0e030a16ac052b6bd6463</id>
<content type='text'>
In TlsSetCipherList(), the OpensslCipher variable is initialized inside an
inner loop but accessed outside of that loop, which can lead to
uninitialized variable warnings.

Fix this issue by moving all accesses to OpensslCipher into the inner loop
where it is initialized.

Signed-off-by: Tuan Phan &lt;tuan.phan@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Fix coverity warnings in CryptoPkg.</title>
<updated>2025-10-27T03:14:56+00:00</updated>
<author>
<name>INDIA\kanagavels</name>
<email>kanagvaels@ami.com</email>
</author>
<published>2025-10-22T13:44:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=a074649c6096d6dd36d03db5a55316d129e776b5'/>
<id>urn:sha1:a074649c6096d6dd36d03db5a55316d129e776b5</id>
<content type='text'>
Fix the coverity warnings reported in the CryptoPkg.

Signed-off-by: Kanagavel S &lt;kanagavels@ami.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Add support to set TLS security level.</title>
<updated>2025-09-23T03:08:14+00:00</updated>
<author>
<name>INDIA\kanagavels</name>
<email>kanagvaels@ami.com</email>
</author>
<published>2025-09-19T14:41:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=fb43f0c085045771bc2dee2f867d87298de2facb'/>
<id>urn:sha1:fb43f0c085045771bc2dee2f867d87298de2facb</id>
<content type='text'>
Add Edkiicrypto protocol API to set TLS set security level.

Signed-off-by: Kanagavel S &lt;kanagavels@ami.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Add SNI support</title>
<updated>2025-09-04T08:32:34+00:00</updated>
<author>
<name>INDIA\kanagavels</name>
<email>kanagavels@ami.com</email>
</author>
<published>2025-07-09T11:04:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1dacf4c40825e184f08be4d3041dc9e2be4d3c5c'/>
<id>urn:sha1:1dacf4c40825e184f08be4d3041dc9e2be4d3c5c</id>
<content type='text'>
Add Server Name Indication support.

Signed-off-by: Kanagavel S &lt;Kanagavels@ami.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Add SNI extension to TLS ClientHello</title>
<updated>2024-06-25T21:46:50+00:00</updated>
<author>
<name>Sebastian Witt</name>
<email>sebastian.witt@siemens.com</email>
</author>
<published>2024-06-04T12:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=84d8eb08e15e455826ef66a4b1f1f61758cb9aba'/>
<id>urn:sha1:84d8eb08e15e455826ef66a4b1f1f61758cb9aba</id>
<content type='text'>
Webservers hosting multiple websites require the TLS SNI
(Server Name Indication) in the ClientHello to know which certificate
to return.
The current TLS code does not include the server name in the
ClientHello handshake, which leads to failed HTTPS boots when the
server does not return the correct certificate.

This sets the host name for SNI in TlsSetVerifyHost which receives the
host name also for verification against the certificates.

Signed-off-by: Sebastian Witt &lt;sebastian.witt@siemens.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/TlsLib: fix tls cipher configuration</title>
<updated>2023-10-08T10:46:45+00:00</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2023-10-04T09:20:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4ddd8ac3a29d9c5974a19f36c1dc5896d813dc6e'/>
<id>urn:sha1:4ddd8ac3a29d9c5974a19f36c1dc5896d813dc6e</id>
<content type='text'>
Trying to configure the TLS ciphers can lead to TLS handshake failures
because TlsCipherMappingTable is not in line with the ciphers actually
supported by OpensslLib.

Fix that by removing TlsCipherMappingTable altogether.  Use
SSL_get_ciphers() instead to get the stack of ciphers supported by
openssl.  Name and ID of the ciphers can be queried using the
SSL_CIPHER_get_name() and SSL_CIPHER_get_protocol_id() functions,
which allows us to map IDs to names without a hard-code table.

Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=2541
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Message-Id: &lt;20231004092003.3809321-1-kraxel@redhat.com&gt;
Reviewed-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Reviewed-by: Yi Li &lt;yi1.li@intel.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/TlsLib: use unsigned long for ErrorCode</title>
<updated>2023-08-09T07:10:31+00:00</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2023-08-03T04:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=bdf3142eb7825bda48ec515a9acc0a1eb6a88959'/>
<id>urn:sha1:bdf3142eb7825bda48ec515a9acc0a1eb6a88959</id>
<content type='text'>
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Cc: Xiaoyu Lu &lt;xiaoyu1.lu@intel.com&gt;
Cc: Guomin Jiang &lt;guomin.jiang@intel.com&gt;
Reviewed-by: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Acked-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Tested-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Tested-by: Brian J. Johnson &lt;brian.johnson@hpe.com&gt;
Tested-by: Kenneth Lautner &lt;klautner@microsoft.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/TlsLib: ERR_GET_FUNC is gone</title>
<updated>2023-08-09T07:10:31+00:00</updated>
<author>
<name>Gerd Hoffmann</name>
<email>kraxel@redhat.com</email>
</author>
<published>2023-08-03T04:37:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=eac38f74c4b05b5b42c5bdf2769838549026dafd'/>
<id>urn:sha1:eac38f74c4b05b5b42c5bdf2769838549026dafd</id>
<content type='text'>
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Cc: Xiaoyu Lu &lt;xiaoyu1.lu@intel.com&gt;
Cc: Guomin Jiang &lt;guomin.jiang@intel.com&gt;
Reviewed-by: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Acked-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Tested-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Tested-by: Brian J. Johnson &lt;brian.johnson@hpe.com&gt;
Tested-by: Kenneth Lautner &lt;klautner@microsoft.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Update code to be more C11 compliant by using __func__</title>
<updated>2023-04-10T14:19:57+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>rebecca@bsdio.com</email>
</author>
<published>2023-04-06T19:53:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=74ce342f1828469fce3221b0b917347cad71f665'/>
<id>urn:sha1:74ce342f1828469fce3221b0b917347cad71f665</id>
<content type='text'>
__FUNCTION__ is a pre-standard extension that gcc and Visual C++ among
others support, while __func__ was standardized in C99.

Since it's more standard, replace __FUNCTION__ with __func__ throughout
CryptoPkg.

Signed-off-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>CryptoPkg/Library: Cleanup BaseCryptLib and TlsLib</title>
<updated>2022-10-24T07:49:43+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2022-10-03T21:38:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=dd00f92b2ff8e9fcddb261b1ee45e237dfe0b71c'/>
<id>urn:sha1:dd00f92b2ff8e9fcddb261b1ee45e237dfe0b71c</id>
<content type='text'>
* Move SysCall/inet_pton.c from BaseCryptLib to TlsLib.  The functions
  in this file are only used by TlsLib instances and not any CryptLib
  instances.
* Fix type mismatch in call to FreePool() in TlsConfig.c
* Remove use of gEfiCryptoPkgTokenSpaceGuid.PcdOpensslEcEnabled from
  TslLib and CryptLib instances
* Add missing *Null.c files to SecCryptLib.inf and RuntimeCryptLib.inf.
* Remove ARM and AARCH64 sections from SmmCryptLib.inf that does not
  support those architectures.
* Add missing PrintLib dependencies to [LibraryClasses] sections of
  CryptLib INF files
* Remove extra library classes from [LibraryClasses] sections of
  CryptLib INF files
* Remove unnecessary warning disables from [BuildOptions] sections of
  TlsLib and CryptLib INF files
* Remove RVCT support from SecCryptLib.inf

Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Cc: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Cc: Xiaoyu Lu &lt;xiaoyu1.lu@intel.com&gt;
Cc: Guomin Jiang &lt;guomin.jiang@intel.com&gt;
Cc: Christopher Zurcher &lt;christopher.zurcher@microsoft.com&gt;
Cc: Rebecca Cran &lt;quic_rcran@quicinc.com&gt;
Cc: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
</content>
</entry>
</feed>
