Skip to main content
Wjian.1
Associate III
November 5, 2025
Question

optee-examples fail to run properly & generate errors When the SAES (Secure AES) enabled

  • November 5, 2025
  • 0 replies
  • 173 views

Hello, I'm currently testing the security features of OP-TEE and need to use the HUK function of SAES(CFG_STM32_SAES ?= y). However, I've found that after enabling OP-TEE, the optee-examples cannot run. May I ask what could be the reason for this?

 optee_example_secure_storage 
Prepare session with the TA
E/LD: copy_section_headers:1124 sys_copy_from_ta_bin
E/TC:? 1 ldelf_init_with_ldelf:152 ldelf failed with res: 0xffff0008
optee_example_secure_storage: TEEC_Opensession failed with code 0xffff0008 origin 0x3

ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 5.0.3-snapshot   linux6.6.48