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.
When custom code is justified
A Signature Activation Module checks the signer's authorization inside the secure boundary before using the key.
Algorithms or protocols the vendor does not ship.
Early testing of new algorithms before vendor firmware is available.
Rules that must not be visible or changeable on the host.
How to do it safely
Use PKCS #11 or vendor features first.
Keep custom modules small and independently reviewed.
Agree with your auditor how the custom code affects the certified configuration.
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.Let’s talk about your project
Tell us what you need — our experts reply with a demo slot, a datasheet pack or a quote.