Efficient Post-Quantum and Compact Cryptographic Constructions for the Internet of Things