hotp: use sess_ctx instead of global variables

Resolve the issue of global variables in TA, which currently do not have
isolation when accessed by multiple CAs. It is suggested to attach the
variables to session_ctx for easy access when needed.

Signed-off-by: Shiqi Liu <erha_email@163.com>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
2 files changed
tree: 0ed6a28439bd37f18efbbbf726e03fdd49f23010
  1. .github/
  2. acipher/
  3. aes/
  4. hello_world/
  5. hotp/
  6. plugins/
  7. random/
  8. secure_storage/
  9. .gitignore
  10. Android.mk
  11. CMakeLists.txt
  12. CMakeToolchain.txt
  13. LICENSE
  14. Makefile
  15. README.md
README.md

OP-TEE Sample Applications

This git contains source code for sample host and Trusted Application that can be used directly in the OP-TEE project.

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_examples.

// OP-TEE core maintainers