Make TF UUID RFC 4122 compliant
authorRoberto Vargas <roberto.vargas@arm.com>
Thu, 26 Apr 2018 12:36:53 +0000 (13:36 +0100)
committerRoberto Vargas <roberto.vargas@arm.com>
Thu, 14 Jun 2018 13:41:00 +0000 (14:41 +0100)
commit033648652f2d66abe2454a75ded891a47cb13446
tree44f1cf0dbdc9601e539393015091c59027de8be3
parent74a44dca29be3e780ea50cf7a595883a399e7cfb
Make TF UUID RFC 4122 compliant

RFC4122 defines that fields are stored in network order (big endian),
but TF-A stores them in machine order (little endian by default in TF-A).
We cannot change the future UUIDs that are already generated, but we can store
all the bytes using arrays and modify fiptool to generate the UUIDs with
the correct byte order.

Change-Id: I97be2d3168d91f4dee7ccfafc533ea55ff33e46f
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
16 files changed:
bl1/bl1_main.c
drivers/io/io_fip.c
include/lib/smccc.h
include/tools_share/firmware_image_package.h
include/tools_share/uuid.h
plat/arm/common/arm_sip_svc.c
plat/hisilicon/hikey/hisi_sip_svc.c
plat/mediatek/common/custom/oem_svc.c
plat/mediatek/common/mtk_sip_svc.c
plat/rockchip/common/rockchip_sip_svc.c
plat/xilinx/zynqmp/sip_svc_setup.c
services/spd/tlkd/tlkd_main.c
services/spd/tspd/tspd_main.c
services/std_svc/std_svc_setup.c
tools/fiptool/fiptool.c
tools/fiptool/tbbr_config.c