libckteec: check for ckteec_alloc_shm rval

ckteec_alloc_shm() can return NULL; handle it properly in ck_digest_update().

Signed-off-by: Elvira Khabirova <e.khabirova@omp.ru>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
1 file changed
tree: 29780467798752cd8d84581710dd7cd75a6e6283
  1. libckteec/
  2. libteec/
  3. public/
  4. scripts/
  5. tee-supplicant/
  6. .gitattributes
  7. .gitignore
  8. .travis.yml
  9. Android.mk
  10. android_flags.mk
  11. CMakeLists.txt
  12. CMakeToolchain.txt
  13. config.mk
  14. flags.mk
  15. LICENSE
  16. Makefile
  17. README.md
  18. 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