Designing Novel Hardware Security Primitives For Smart Computing Devices