We are looking for an HSM that protects a symmetric AES-128 key that will be used for several AES operations in ECB mode at an external party. Unfortunately, we have to import the key and we cannot use the internal key generation mechanisms.
- Is there a way to import a symmetric key (AES-128) into the HSM?
- Does the Nitrokey HSM support AES-ECB operations?
I have successfully compiled and used sc-hsm-embedded project from the project linked at How to use AES on NitroKey HSM2 but I cannot find a way how to import an AES key.