Skip to content

General

The settings for controlling general aspects of the library are detailed below.

Variable Quick Description
HSM_DISABLE_LEGACY_OPERATIONS Disables the use of legacy operations.

Disable Legacy Operations

Environment variable to be defined: HSM_DISABLE_LEGACY_OPERATIONS

Value Legacy operations
Not defined enabled
0 enabled
1 disabled

When the flag is turned on, the use of the legacy signature implementation is disarmed. The newer implementation hashes signatures completely within the cryptographic boundary, including padding.

This environment variable is equivalent to using the DN_SIGN_DISABLE_LEGACY_OPERATION operations SignHash.