tee_client_api: define additional return codes

The precision from [1] defines 9 additional return codes. One of them,
TEEC_ERROR_TARGET_DEAD was already added in [2]. Apply the 8 other
ones and reorder them by values.

The added documentation is a verbatim copy of the description from
[1]. Overwrite the existing documentation of TEEC_ERROR_TARGET_DEAD
with the one from the specification.

[1] TEE Client API Specification v1.0 Errata and Precisions
    Version 2.0, §P.4 Define Additional Return Codes

[2] commit f2b0ed41c8c7 ("Updated related Linux Driver Refactoring")
Link: https://github.com/OP-TEE/optee_client/commit/f2b0ed41c8c7b3

Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
1 file changed
tree: 92ab411814948582c73acfb7ea91366919de6ad6
  1. .github/
  2. ci/
  3. libckteec/
  4. libseteec/
  5. libteeacl/
  6. libteec/
  7. scripts/
  8. tee-supplicant/
  9. .gitattributes
  10. .gitignore
  11. Android.mk
  12. android_flags.mk
  13. CMakeLists.txt
  14. CMakeToolchain.txt
  15. config.mk
  16. flags.mk
  17. LICENSE
  18. Makefile
  19. README.md
  20. typedefs.checkpatch
README.md

OP-TEE Client API

This git contains source code for the non-secure side implementation of the OP-TEE project making up the client library and tee-supplicant.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_client.

// OP-TEE core maintainers