[edk2-devel] [PATCH V3 1/1] CryptoPkg: Remove deprecated code related to SHA-1

2024-05-16 Thread Qingyu
compatibility errors. Signed-off-by: Shang Qingyu Cc: Jiewen Yao Cc: Yi Li --- CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c| 8 CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c | 8 2 files changed, 16 deletions(-) diff --git a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRand.c

[edk2-devel] [PATCH V2 1/1] CryptoPkg: Remove outdated code related to deprecated SHA-1

2024-05-15 Thread Qingyu
compatibility errors. Signed-off-by: Shang Qingyu Cc: Jiewen Yao Cc: Yi Li --- CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c | 8 1 file changed, 8 deletions(-) diff --git a/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c b/CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c index

[edk2-devel] [PATCH 1/1] CryptoPkg: Add support for aes128-sha256 and aes256-sha256 cipher

2024-05-15 Thread Qingyu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4739 AES256-SHA256 is a Tls1.2 suite we need to support, add it to deflt_ciphers in OpensslStub. Signed-off-by: Shang Qingyu Cc: Jiewen Yao Cc: Yi Li --- CryptoPkg/Library/OpensslLib/OpensslStub/uefiprov.c | 11 +++ 1 file changed

[edk2-devel] [PATCH 1/1] CryptoPkg: Remove deprecated code related to SHA-1

2024-05-15 Thread Qingyu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4698 SHA-1 is deprecated by NIST for any cryptographic use. Remove related code which do SHA-1 support checking in CryptRandTsc.c Signed-off-by: Shang Qingyu Cc: Jiewen Yao Cc: Yi Li --- CryptoPkg/Library/BaseCryptLib/Rand/CryptRandTsc.c

[edk2-devel] [PATCH 1/1] CryptoPkg: Fix bug for correct return value checking when get X509Cert

2024-05-15 Thread Qingyu
From: Qingyu REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4509 CryptX509.c file has X509GetTBSCert() funtion and it is added Inf variable to collect the return value of ASN1_get_object(), which return 0x80 in error case. Supplement the return value check during the second function call

[edk2-devel] [PATCH 3/3] Silicon/Marvell: Update the comments of GetInformation function

2024-04-08 Thread Qingyu
Refer to Uefi spec 2.10 section 11.11.2, add a new retval EFI_NOT_FOUND to EFI_ADAPTER_INFORMATION_PROTOCOL.GetInformation(). Reference: [mantis #1866] - GetInfo() of Adapter Information Protocol should have a provision for IHV to return no data. Cc: Marcin Wojtas Signed-off-by: Qingyu Signed

[edk2-devel] [PATCH 2/3] MinPlatformPkg: Update the comments of GetInformation function

2024-04-08 Thread Qingyu
Cc: Eric Dong Signed-off-by: Qingyu Signed-off-by: Gahan Saraiya --- .../Test/Library/TestPointLib/DxeTestPointAip.c | 5 - .../Test/Library/TestPointLib/SmmTestPointAip.c | 5 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Platform/Intel

[edk2-devel] [PATCH 1/3] OptionRomPkg: Update the comments of GetInformation function

2024-04-08 Thread Qingyu
-by: Qingyu Signed-off-by: Gahan Saraiya --- Drivers/OptionRomPkg/UndiRuntimeDxe/Undi32.h | 5 - Drivers/OptionRomPkg/UndiRuntimeDxe/UndiAipImpl.c | 5 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Drivers/OptionRomPkg/UndiRuntimeDxe/Undi32.h b/Drivers/OptionRomPkg

[edk2-devel] [PATCH 0/3] Update the comments of GetInformation function

2024-04-08 Thread Qingyu
signature comments of EFI_ADAPTER_INFORMATION_PROTOCOL implementations in Edk2-platform. Qingyu (3): OptionRomPkg: Update the comments of GetInformation function MinPlatformPkg: Update the comments of GetInformation function Silicon/Marvell: Update the comments of GetInformation function

[edk2-devel] [PATCH] MdePkg: Update the comments of GetInformation function

2024-04-08 Thread Qingyu
Liu Signed-off-by: Qingyu Signed-off-by: Gahan Saraiya --- MdePkg/Include/Protocol/AdapterInformation.h | 5 - MdePkg/Library/DxeHstiLib/HstiAip.c | 5 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/Protocol/AdapterInformation.h b/MdePkg

[edk2-devel] [edk2-platforms][PATCH] VirtualKeyboardFeaturePkg: Update the comments of ReadKeyStroke and ReadKeyStrokeEx - mantis #2131

2024-04-01 Thread Qingyu
Refer to Uefi spec 2.10 section 12.3.3, Add a new retval EFI_UNSUPPORTED to EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.ReadKeyStrokeEx and EFI_SIMPLE_TEXT_INPUT_PROTOCOL.ReadKeyStroke(). Cc: Dandan Bi Cc: Liming Gao Signed-off-by: Qingyu --- .../VirtualKeyboardFeaturePkg/VirtualKeyboardDxe/Keyboard.c

[edk2-devel] [PATCH 1/4] MdeModulePkg: Update the comments of ReadKeyStroke and ReadKeyStrokeEx

2024-03-12 Thread Qingyu
Refer to Uefi spec 2.10 section 13.3.3, Add a new retval EFI_UNSUPPORTED to EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.ReadKeyStrokeEx and EFI_SIMPLE_TEXT_INPUT_PROTOCOL.ReadKeyStroke(). Cc: Liming Gao Cc: Michael D Kinney Signed-off-by: Qingyu --- MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c

[edk2-devel] [PATCH 2/4] ShellPkg: Update the comments of ReadKeyStroke and ReadKeyStrokeEx

2024-03-12 Thread Qingyu
Refer to Uefi spec 2.10 section 13.3.3, Add a new retval EFI_UNSUPPORTED to EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.ReadKeyStrokeEx and EFI_SIMPLE_TEXT_INPUT_PROTOCOL.ReadKeyStroke(). Cc: Liming Gao Cc: Zhichao Gao Cc: Chao Li Signed-off-by: Qingyu --- ShellPkg/Application/Shell/ConsoleWrappers.c

[edk2-devel] [PATCH 0/4] Update the comments of ReadKeyStroke and ReadKeyStrokeEx

2024-03-12 Thread Qingyu
Refer to Uefi spec 2.10 section 13.3.3, Add a new retval EFI_UNSUPPORTED to EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.ReadKeyStrokeEx and EFI_SIMPLE_TEXT_INPUT_PROTOCOL.ReadKeyStroke(). This patch series update ReadKeyStroke and ReadKeyStrokeEx implementation in Edk2. Qingyu (4): MdeModulePkg: Update

[edk2-devel] [PATCH 4/4] EmulatorPkg: Update the comments of ReadKeyStroke and ReadKeyStrokeEx

2024-03-12 Thread Qingyu
Refer to Uefi spec 2.10 section 13.3.3, Add a new retval EFI_UNSUPPORTED to EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.ReadKeyStrokeEx and EFI_SIMPLE_TEXT_INPUT_PROTOCOL.ReadKeyStroke(). Cc: Andrew Fish Cc: Ray Ni Cc: Michael D Kinney Signed-off-by: Qingyu --- EmulatorPkg/EmuGopDxe/GopInput.c | 2

[edk2-devel] [PATCH 3/4] EmbeddedPkg: Update the comments of ReadKeyStroke and ReadKeyStrokeEx

2024-03-12 Thread Qingyu
Refer to Uefi spec 2.10 section 13.3.3, Add a new retval EFI_UNSUPPORTED to EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.ReadKeyStrokeEx and EFI_SIMPLE_TEXT_INPUT_PROTOCOL.ReadKeyStroke(). Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Abner Chang Cc: Liming Gao Signed-off-by: Qingyu --- .../Drivers

[edk2-devel] [PATCH v4 3/3] SecurityPkg: Update ReceiveData and SendData function description

2024-02-26 Thread Qingyu
Refer to Uefi spec 2.10 section 13.14, update the parameter 'MediaId' description for EFI_STORAGE_SECURITY_COMMAND_PROTOCOL function ReceiveData and SendData. Cc: Jiewen Yao Signed-off-by: Qingyu --- SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c | 8 ++-- 1 file changed, 6 insertions

[edk2-devel] [PATCH v4 2/3] MdeModulePkg: Update ReceiveData and SendData function description

2024-02-26 Thread Qingyu
-by: Qingyu --- MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c | 8 ++-- MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h | 8 ++-- .../Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c| 8 ++-- .../Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.h| 8

[edk2-devel] [PATCH v4 0/3] Update ReceiveData and SendData function description

2024-02-26 Thread Qingyu
files in MdeModulePkg and SecurityPkg. V1: update the parameter description in MdePkg/Include/Protocol/StorageSecurityCommand.h. Qingyu (3): MdePkg: Update ReceiveData and SendData function description MdeModulePkg: Update ReceiveData and SendData function description SecurityPkg: Update

[edk2-devel] [PATCH v4 1/3] MdePkg: Update ReceiveData and SendData function description

2024-02-26 Thread Qingyu
Refer to Uefi spec 2.10 section 13.14, update the parameter 'MediaId' description for EFI_STORAGE_SECURITY_COMMAND_PROTOCOL function ReceiveData and SendData. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Qingyu --- MdePkg/Include/Protocol/StorageSecurityCommand.h | 8

回复: [edk2-devel] [PATCH] OvmfPkg/RiscVVirt: Fix issues in VarStore Blockmap config

2023-08-16 Thread Qingyu Shang
Hi Sunil, Happy you like that! I will CC all the related maintainers by that python script next time. Thanks! Qingyu -原始邮件- 发件人: "Sunil V L" 收件人: "Li, Yong" 抄送: devel@edk2.groups.io, 2931013...@sjtu.edu.cn, "Warkentin, Andrei" 已发送邮件: 星期三, 8

[edk2-devel] [PATCH] OvmfPkg/RiscVVirt: Fix issues in VarStore Blockmap config

2023-08-11 Thread Qingyu Shang
The block size configuration of Blockmap does not match that in Qemu VirtNorFlash, which causes variable data to be written into FtwWorkBlock by mistake, resulting in data loss during reboot. Fix it and update new checksum value. Signed-off-by: Qingyu Shang <2931013...@sjtu.edu.cn> --- O