SECURE infrastructure for trusted IoT platform