Ml-Assisted Side Channel Security Approaches For Hardware Trojan Detection And Puf Modeling Attacks