4-layered security to protect EVMs in TN