Add support for the HSMs in production

Add basic support for crypto operations in the HSM.

Sadly, I haven't been able to test this yet with a card due to dev HSM hardware availability but the logic for enabling and loading the key from the HSM is straight from a known working script(scripts/certify.py).