mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2025-12-31 18:03:43 +00:00
Per UEFI spec, FibreEx.WWN, FibreEx.Lun, SasEx.Address, SasEx.Lun
and iSCSI.Lun are all 8-byte array with byte #0 in the left.
It means "0102030405060708" should be converted to:
UINT8[8] = {01, 02, 03, 04, 05, 06, 07, 08}
or UINT64 = {0807060504030201}
Today's implementation wrongly uses the reversed order.
The patch fixes this issue by using StrHexToBytes().
Copy this solution from MdePkg Hash version
|
||
|---|---|---|
| .. | ||
| C | ||
| Python | ||
| BinaryFiles.txt | ||