Fortinet white logo
Fortinet white logo

CLI Reference

diagnose tpm

diagnose tpm

TPM chip diagnostic feature

This topic includes the following commands:

diagnose tpm SHA-1

HASH a sequence of num with SHA-1 algo

diagnose tpm SHA-1 <Byte Sequence>

Parameter

Description

Type

Size

<Byte Sequence>

Enter a byte sequence like '0F56FE...' for {0x0f, 0x56, 0xfe, ...}

string

diagnose tpm SHA-256

HASH a sequence of num with SHA-256 algo

diagnose tpm SHA-256 <Byte Sequence>

Parameter

Description

Type

Size

<Byte Sequence>

Enter a byte sequence like '0F56FE...' for {0x0f, 0x56, 0xfe, ...}

string

diagnose tpm generate-random-number

Generate a 4-byte random number

diagnose tpm generate-random-number

diagnose tpm get-property

Get TPM properties.

diagnose tpm get-property

diagnose tpm get-var-property

Get TPM var properties.

diagnose tpm get-var-property

diagnose tpm read-clock

Read TPM internal clock.

diagnose tpm read-clock

diagnose tpm selftest

Perform self tests.

diagnose tpm selftest

diagnose tpm shutdown-prepare

Prepare for TPM power cycle.

diagnose tpm shutdown-prepare

diagnose tpm

diagnose tpm

TPM chip diagnostic feature

This topic includes the following commands:

diagnose tpm SHA-1

HASH a sequence of num with SHA-1 algo

diagnose tpm SHA-1 <Byte Sequence>

Parameter

Description

Type

Size

<Byte Sequence>

Enter a byte sequence like '0F56FE...' for {0x0f, 0x56, 0xfe, ...}

string

diagnose tpm SHA-256

HASH a sequence of num with SHA-256 algo

diagnose tpm SHA-256 <Byte Sequence>

Parameter

Description

Type

Size

<Byte Sequence>

Enter a byte sequence like '0F56FE...' for {0x0f, 0x56, 0xfe, ...}

string

diagnose tpm generate-random-number

Generate a 4-byte random number

diagnose tpm generate-random-number

diagnose tpm get-property

Get TPM properties.

diagnose tpm get-property

diagnose tpm get-var-property

Get TPM var properties.

diagnose tpm get-var-property

diagnose tpm read-clock

Read TPM internal clock.

diagnose tpm read-clock

diagnose tpm selftest

Perform self tests.

diagnose tpm selftest

diagnose tpm shutdown-prepare

Prepare for TPM power cycle.

diagnose tpm shutdown-prepare