tee-supplicant: clear whole rsp_frm buffer

Fix rpmb_data_req() for message types RPMB_MSG_TYPE_REQ_AUTH_KEY_PROGRAM
and RPMB_MSG_TYPE_REQ_AUTH_DATA_WRITE: the response frame must be cleared
fully before being used.

Signed-off-by: Sunny Chen <sunny.chen@st.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
1 file changed
tree: db06bcc842ad51ab10744667542e2652ca3417ef
  1. .devcontainer/
  2. .github/
  3. .vscode/
  4. ci/
  5. libckteec/
  6. libseteec/
  7. libteeacl/
  8. libteec/
  9. scripts/
  10. tee-supplicant/
  11. .gitattributes
  12. .gitignore
  13. Android.bp
  14. CMakeLists.txt
  15. CMakeToolchain.txt
  16. config.mk
  17. flags.mk
  18. LICENSE
  19. Makefile
  20. optee_client.device.mk
  21. README.md
  22. 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