This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Secure world entry request by normal world application

For a TrustZone enabled processor, what if a normal world application (e.g. 3rd party application) directly uses SMC instruction to request a secure world entry? In a typical case, it it a responsibility of monitor SW or Secure OS kernel to authenticate the request? Thanks!

Parents
  • The SMC instruction isn't available in User space (EL0 in ARMv8 terminology, PL0 in ARMv7).  So the application would at least need to make a kernel call first.  But you could ask them question about a third party kernel module.

    In a typical case, it it a responsibility of monitor SW or Secure OS kernel to authenticate the request?

    Basically correct.  You can't stop malicious code from making, for example, a payment request call.  Which is why the Secure world would be responsible for the authentication.

Reply
  • The SMC instruction isn't available in User space (EL0 in ARMv8 terminology, PL0 in ARMv7).  So the application would at least need to make a kernel call first.  But you could ask them question about a third party kernel module.

    In a typical case, it it a responsibility of monitor SW or Secure OS kernel to authenticate the request?

    Basically correct.  You can't stop malicious code from making, for example, a payment request call.  Which is why the Secure world would be responsible for the authentication.

Children