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 ?
No, you cannot run a EL3 in EL2. In a VM you only have EL0 and EL1. Though you may call the hypervisor to do a secure call on behalf of the VM.