Skip to content
Who are you?InvestorsPartner PortalCareersTrust Center
Contact us
Insight · 22 November 2026

Custom cryptography inside an HSM: when you need it and how to deploy it safely

Most projects use an HSM through standard APIs. Some, such as remote signing activation, national schemes and early post-quantum work, need code running inside the HSM's protected boundary. Here is when that makes sense.

In brief. Running custom code inside an HSM keeps sensitive logic, not only keys, within the certified boundary. It is powerful but costly: every vendor has its own SDK, certification scope changes, and upgrades need care.

When custom code is justified

Signature activation

A Signature Activation Module checks the signer's authorization inside the secure boundary before using the key.

National or sector algorithms

Algorithms or protocols the vendor does not ship.

Post-quantum pilots

Early testing of new algorithms before vendor firmware is available.

Sensitive business logic

Rules that must not be visible or changeable on the host.

How to do it safely

1Prefer standard APIs

Use PKCS #11 or vendor features first.

2Isolate the code

Keep custom modules small and independently reviewed.

3Plan certification

Agree with your auditor how the custom code affects the certified configuration.

4Design for upgrades

Version, sign and test modules against each firmware release.

How SAVIS helps

SAVIS builds and deploys custom modules, including the signature activation logic behind SAM Auth Server and SAM Appliance, across major HSM platforms.
custom HSM firmwareHSM SDKsignature activation moduleSAMpost-quantum HSMsecure execution
Next step

Let’s talk about your project

Tell us what you need — our experts reply with a demo slot, a datasheet pack or a quote.