AES Encryption and Decryption with Pico HSM
Generate an AES key with Pico HSM and encrypt or decrypt data with CBC using sc-hsm-embedded, since the standard driver does not expose AES here.
Generate an AES key with Pico HSM and encrypt or decrypt data with CBC using sc-hsm-embedded, since the standard driver does not expose AES here.
Back up exported Pico HSM keys protected by a DKEK, then restore them to a device configured with the same DKEK, including threshold-share options.
Use a Pico HSM key through PKCS#11 to create and sign a certificate request, then load the resulting certificate onto the device.
Use Pico HSM to sign data with an RSA key and verify the signature. The guide covers supported mechanisms and OpenSSL checks.
Sign data with an ECDSA key held by Pico HSM, then verify the result. The examples use the supported mechanism and OpenSSL checks.
Use the Pico HSM PKCS#11 interface to generate, inspect, and delete RSA or ECC key pairs with pkcs11-tool.
Use Pico HSM’s ECDH-DERIVE mechanism to derive a shared key, with the guide’s command sequence and supported workflow.
Encrypt with an RSA public key and decrypt with the private key stored in Pico HSM. The examples cover RSA-PKCS, RSA-X.509, and RSA-OAEP.
The firmware-editing method on this page is obsolete. Use Pico Patcher to update a UF2 file in your browser; this article explains the older approach.
Set up Pico HSM for the first time, initialize it, change default credentials, and choose between PIN authentication and PKA.