Searched hist:"90827 a1e112ef016bee55d3115472423e941ba63" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/tee/ |
| H A D | tee_rpmb_fs.c | 90827a1e112ef016bee55d3115472423e941ba63 Tue Jun 28 06:23:58 UTC 2022 Judy Wang <wangjudy@microsoft.com> core: fix TA crash if RPMB key is not provisioned
If optee-os is set with CFG_RPMB_WRITE_KEY=n, returning TEE_ERROR_BAD_STATE will result in TA panic because of exit checks in /lib/libutee/tee_api_objects.c APIs. Returning TEE_ERROR_STORAGE_NOT_AVAILABLE to avoid TA panic and signal TA RPMB is not ready for use, therefore TA could perform error handling.
Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Judy Wang <wangjudy@microsoft.com>
|