summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEtienne Carriere <[email protected]>2021-11-09 17:08:22 +0100
committerTom Rini <[email protected]>2021-11-23 13:53:03 -0500
commit1442e9f33070c962e91eafdc4b591331b17b5588 (patch)
tree9ff8851773e4771e6bd6dc74d378aae25a31084b /include
parent7c1a9b2eb92d8af0ff4d46fe4ee70c65f922121e (diff)
tee: optee: define TEE error code TEE_ERROR_SHORT_BUFFER
Adds TEE_ERROR_SHORT_BUFFER as TEE error code. This error code is commonly used by TEEs to inform caller that the buffer(s) it provided is too small for the desired operation. Cc: Jens Wiklander <[email protected]> Reviewed-by: Patrick Delaunay <[email protected]> Reviewed-by: Jens Wiklander <[email protected]> Signed-off-by: Etienne Carriere <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/tee.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tee.h b/include/tee.h
index 30ea2ee164e..50051496ae5 100644
--- a/include/tee.h
+++ b/include/tee.h
@@ -64,6 +64,7 @@
#define TEE_ERROR_NOT_SUPPORTED 0xffff000a
#define TEE_ERROR_COMMUNICATION 0xffff000e
#define TEE_ERROR_SECURITY 0xffff000f
+#define TEE_ERROR_SHORT_BUFFER 0xffff0010
#define TEE_ERROR_OUT_OF_MEMORY 0xffff000c
#define TEE_ERROR_OVERFLOW 0xffff300f
#define TEE_ERROR_TARGET_DEAD 0xffff3024