Lattice-Based Public-Key Cryptography in Hardware