Hardware security module (HSM) which provides cryptographic processing (encryption/decryption, signature generation/verification, message digest generation/verification, MAC generation/verification), key generation and key management services to connected host systems, which might be SSL/TLS web servers, application servers, authentication servers and other IT systems that need secure storage of cryptographic keys and secure use of cryptographic operations.