A Novel Trust Evaluation Method for Logic Circuits in IoT Applications Based on the E-PTM Model