Is it possible to for a Virtual Machine to switch the processor to the secure state ?
I have a Linux virtual machine hosted by KVM hypervisor . I plan to run the WPA2 authentication and other crypto functions in the secure world. Is this possible in ARMv8A processor ? So the question boils down to can KVM virtualize the trustzone ?
The SW running in the VM cannot get out unless the hypervisor provides the possibility (hypervisor call). You cannot have a TZ in a VM unless you emulate a CPU.
Edit: As I understand ArmV8.4 (*beurk* I prefer ARMv8.4) allows to have a secure VM. Then you only need a communication channel between the NS-VM and the S-VM. (Sounds mindboggling).