1LCP_MLEHASH(8)                   User Manuals                   LCP_MLEHASH(8)
2
3
4

NAME

6       lcp2_mlehash - generate a hash of a TXT MLE binary file and print it to
7       STDOUT as text.
8

SYNOPSIS

10       lcp2_mlehash [--create] [--cmdline cmdline]  [--alg  hashalg]  [--help]
11       [--verbose] mle-file
12

DESCRIPTION

14       lcp2_mlehash is used to generate a hash of the portion of an executable
15       file that contains  the  Intel(R)  TXT  measured  launched  environment
16       (MLE).   In  the MLE binary file, the portion of the file to be used as
17       the MLE is specified in the MLE header structure.  If verbose  mode  is
18       not  used,  the  output  is  suitable  for  use  as the mle-file to the
19       lcp2_crtpolelt command.
20

OPTIONS

22       mle-file
23              File name of the MLE binary.  If it is a gzip file then it  will
24              be un-ziped before hashing.
25
26       --create
27              Create a hash.
28
29       --cmdline cmdline
30              Specify quote-delimited command line. It is important to specify
31              the command line that is used when launching the MLE or the hash
32              will not match what is calculated by SINIT.
33
34       --alg hashalg
35              Specify  the  hash  algorithm to use. Supported values are sha1,
36              sha256, sha384 and sha512.
37
38       --help Print out the help message.
39
40       --verbose
41              Verbose mode, display progress indications.
42
43

EXAMPLES

45       lcp2_mlehash --create --cmdline "logging=memory,serial,vga" --alg sha1 /boot/tboot.gz > mle-hash
46

SEE ALSO

48       Full documentation of MLE, Intel(R) TXT and LCP  is  available  in  In‐
49       tel(R)  TXT  Measured Launch Environment Deleveloper's Guide, available
50       at:   http://www.intel.com/content/www/us/en/software-developers/intel-
51       txt-software-development-guide.html
52
53       lcp2_crtpol(8), lcp2_crtpolelt(8), lcp2_crtpollist(8).
54
55
56
57tboot                             2020-05-10                    LCP_MLEHASH(8)
Impressum