Efficient and secure system design in wireless communications