TPM

The phyCORE-AM64x development kit provides a Trusted Platform Module (TPM) that provides hardware-based security functions. TPM technology is designed to provide hardware-based security functions. This guide will show you how to use the TPM to perform a hash on some data.

Confirming TPM Function

  • To perform the hash operation and get the resulting output run the following command:

Target (Linux)
 echo -n "test" | tpm2_hash -g sha256 | hexdump -C
Expected Output
 00000000 9f 86 d0 81 88 4c 7d 65 9a 2f ea a0 c5 5a d0 15 |.....L}e./...Z..|
 00000010 a3 bf 4f 1b 2b 0b 82 2c d1 5d 6c 15 b0 f0 0a 08 |..O.+..,.]l.....|
 00000020