Exploiting Power-Up State Of Latches As Hardware Security Primitives: Puf, Trng And Recycled Ic Detection