From: Etienne Carriere Date: Tue, 9 Nov 2021 16:08:22 +0000 (+0100) Subject: tee: optee: define TEE error code TEE_ERROR_SHORT_BUFFER X-Git-Tag: v2022.07~227^2~26^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1442e9f33070c962e91eafdc4b591331b17b5588;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: Patrick Delaunay Reviewed-by: Jens Wiklander Signed-off-by: Etienne Carriere --- diff --git a/include/tee.h b/include/tee.h index 30ea2ee..5005149 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