summaryrefslogtreecommitdiff
path: root/core/tee/sub.mk
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2016-12-08 16:07:00 +0100
committerJens Wiklander <jens.wiklander@linaro.org>2016-12-09 09:32:15 +0100
commit9a8a19cdba48dbca89c2a35d7984e9ec28f97bda (patch)
tree14b25c0ba99ddb52931a2978e1c624e5f4e7b057 /core/tee/sub.mk
parent0638aa9f5b9f5bd2930c47e20cfff9638fb4d737 (diff)
core: encode UUID big endian
When encoding a UUID as a sequence of bytes, the spec (https://www.ietf.org/rfc/rfc4122.txt) says that the u32, and two u16s should be represented big endian. Before this patch OPTEE always treated them natively. With this patch UUIDs are always converted to/from big endian when communicating with normal world. Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Fixes: https://github.com/OP-TEE/optee_os/issues/858 Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core/tee/sub.mk')
-rw-r--r--core/tee/sub.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/tee/sub.mk b/core/tee/sub.mk
index f1acea81..32f0f981 100644
--- a/core/tee/sub.mk
+++ b/core/tee/sub.mk
@@ -41,4 +41,7 @@ srcs-y += tee_time_generic.c
endif #CFG_WITH_USER_TA,y
+srcs-y += uuid.c
+
subdirs-$(CFG_SE_API) += se
+