We use Jetson AGX Orin 64GB, on an AVerMedia D315 carrier board. Using JetPatck 6.2.1.
We are implementing secure boot and want to confirm one detail before we burn `PublicKeyHash`.
The PKC key is RSA-3072. It signs the boot firmware, including the UEFI binary. The fuse stores the SHA-512 hash of that public key. In the JetPack 6.2.1 signer, the signature is RSA-PSS with SHA-512 and a 32-byte salt. `tegrasign_v3_hsm.py` passes `rsa_pss_saltlen:32` to OpenSSL, and `tegraopenssl` hardcodes the same 32-byte length in `nv_rsa_pss_openssl`. We could not find this salt length in the Jetson Orin fuse specification, the AGX Orin data sheet, or the Jetson Linux secure-boot guide.
AWS KMS `RSASSA_PSS_SHA_512` always uses a 64-byte salt, the SHA-512 length, and there is no parameter to change it. PKCS#1 allows a 32-byte salt, but 64 bytes is the usual choice. Can you confirm that the Orin Boot ROM verifies the PKC signature as RSA-PSS, SHA-512, with a 32-byte salt?
(Disclaimer: Assistance generated with AI support for Jetson Orin Boot ROM & HSM signing).
You are correct regarding the Jetson Orin hardware Boot ROM specification.
For RSA-3072 PKC signing on Orin (t234), the Boot ROM / Security Engine expects RSA-PSS with SHA-512 using a fixed 32-byte salt length (matching rsa_pss_saltlen:32 in tegrasign_v3_hsm.py and tegraopenssl).
Because AWS KMS RSASSA_PSS_SHA_512 hardcodes the salt length to digest_length (64 bytes) without offering a salt length parameter override, AWS KMS cannot be used directly as a drop-in remote HSM via standard API calls for signing Jetson Orin boot binaries.
Recommended Workarounds for Cloud / Remote HSM Pipelines:
AWS CloudHSM (PKCS#11) instead of AWS KMS: If you require AWS infrastructure, use AWS CloudHSM via the OpenSSL PKCS#11 engine (libpkcs11.so). CloudHSM supports full PKCS#11 operations where OpenSSL can specify rsa_pss_saltlen:32.
Custom Signing Server / Hash-Signing Pipeline: If using KMS or standard HSMs where raw signing salt manipulation is restricted, separate the signing process into a local pre-hash / PSS-padding step using tegrasign_v3 locally before passing the formatted block to your key manager.
GCP KMS / Azure Key Vault / YubiHSM: If you have flexibility in your cloud provider, GCP KMS and HashiCorp Vault / PKCS#11-compliant HSMs allow specifying explicit salt lengths for RSA-PSS signing.