Bringing Post-Quantum TPM 2.0 to the NVIDIA Jetson Orin with wolfTPM

wolfTPM‘s own firmware TPM now runs as a trusted application inside OP-TEE on the NVIDIA Jetson Orin, with post-quantum ML-DSA and ML-KEM. The Jetson already ships a vendor firmware TPM, which wolfTPM also supports through the tpm_ftpm_tee driver as a standard /dev/tpmrm0, so the two now run side by side on the same Cortex-A78AE silicon as Linux. Neither needs a dedicated bus or any board real estate, and unmodified wolfTPM examples drive ours over libteec.

  • Identity: ours reports Mfg WOLF (0), Vendor wolfTPM at TPM 2.0 spec revision 1.85. The NVIDIA part reports Mfg MSFT (7), Vendor SSE fTPM, Fw 8216.1808, FIPS 140-2 at revision 1.62, where MSFT reflects its lineage (Microsoft’s TPM 2.0 reference implementation) rather than the silicon vendor.
  • Post-quantum: ML-DSA (FIPS 204) and ML-KEM (FIPS 203) arrive in TPM 2.0 spec v1.85, so ours has them and the vendor part cannot until NVIDIA ships new firmware. Check any part with tpm2_getcap properties-fixed.
  • Validated cryptography: the firmware TPM’s crypto is wolfCrypt, so it can be built against our FIPS 140-3 validated module, rather than being fixed to the FIPS 140-2 implementation inside the vendor part.
  • Security trade-offs: a firmware TPM is fast because it executes on an application core with no serial bus bottleneck. However, because it shares the SoC with the operating system it attests, a discrete TPM remains preferable when physical tampering is in scope.
  • Configuration: on Linux aarch64, running ./configure without flags defaults to the software TPM simulator over TCP port 2321. To target the vendor firmware TPM instead, pass –enable-autodetect or –enable-devtpm.

Measured with examples/bench/bench, the same tool and the same board for both:

TPM 2.0 command wolfTPM fwTPM in OP-TEE NVIDIA vendor fTPM
RSA-2048 private 617 ops/sec 84 ops/sec
RSA-2048 key generation 113 ms 736 ms
ECDSA P-256 sign 9434 ops/sec 22.2 ops/sec
AES-256-CBC 16.8 MB/s 2.9 MB/s
SHA-256 8.1 MB/s 1.57 MB/s
ML-DSA-65 sign 914 ops/sec not supported
ML-KEM-768 encapsulate 9387 ops/sec not supported

RSA and ECC run on wolfCrypt’s single-precision aarch64 assembly, which is most of the private-key cost in a TPM, and AES, SHA-2 and the ML-KEM number-theoretic transform use the ARMv8 crypto extensions. Private keys never leave the secure world. The trusted application ships a 512 KB heap and a 32 KB stack against roughly 47 MB available, and keeps its NV state in OP-TEE Secure Storage under a journal key derived from the hardware unique key. A post-quantum TPM is not what constrains a Jetson.

This is an early access preview, carried in the pull requests below rather than in a release and side loaded under its own UUID, so it does not replace /dev/tpm0. It loads from the Linux filesystem, which means it serves applications rather than the boot chain. Building it into the secure OS image as an early trusted application would extend it to measured boot and post-quantum attestation, and that is the next milestone. Let us know if you would like to collaborate or evaluate this stack.

The Jetson boot process does not provide for a discrete TPM, so a firmware TPM is the practical route to post-quantum on this platform. On hardware that can host a discrete part, wolfTPM also supports the post-quantum Infineon SLB9678 and SealSQ QVault TPM.

If you have questions about aby of the above, please contact us at facts@wolfssl.com or call us at +1 425 452 8247.

Download wolfSSL Now