]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: Define one private variable for HTTPS to set Tls CipherList.
authorJiaxin Wu <jiaxin.wu@intel.com>
Fri, 9 Feb 2018 03:44:57 +0000 (11:44 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Tue, 13 Feb 2018 23:31:43 +0000 (07:31 +0800)
commite34914db193f058e7d3782f0d971d8c81108d059
tree81c42f9eadc5f19f147f462f231424d48387a2ad
parent7a141b1306f61c1cf92847d3d2743f4f57965227
NetworkPkg: Define one private variable for HTTPS to set Tls CipherList.

v2:
* Rename the file/variable name.

This variable (HttpTlsCipherList) can be set by any platform that want to
control its own preferred Tls CipherList for the later HTTPS session.

The valid contents of variable must follow the TLS CipherList format defined
in RFC 5246. The valid length of variable must be an integral multiple of 2.
For example, if below cipher suites are preferred:
    CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA256 = {0x00,0x3C}
    CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA256 = {0x00,0x3D}
Then, the contents of variable should be:
    {0x00,0x3C,0x00,0x3D}

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Kinney Michael D <michael.d.kinney@intel.com>
Cc: Zimmer Vincent <vincent.zimmer@intel.com>
Cc: Yao Jiewen <jiewen.yao@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
NetworkPkg/Include/Guid/HttpTlsCipherList.h [new file with mode: 0644]
NetworkPkg/NetworkPkg.dec