logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

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

Examples

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

Name

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

Options

mle-file
              File name of the MLE binary.  If it is a gzip file then it will be un-ziped before hashing.

       --create
              Create a hash.

       --cmdlinecmdline
              Specify quote-delimited command line. It is important to specify the command  line  that  is  used
              when launching the MLE or the hash will not match what is calculated by SINIT.

       --alghashalg
              Specify the hash algorithm to use. Supported values are sha1, sha256, sha384 and sha512.

       --help Print out the help message.

       --verbose
              Verbose mode, display progress indications.

See Also

FulldocumentationofMLE,Intel(R)TXTandLCPisavailableinIntel(R)TXTMeasured Launch Environment
       Deleveloper's Guide, available at:  http://www.intel.com/content/www/us/en/software-developers/intel-txt-
       software-development-guide.html

       lcp2_crtpol(8), lcp2_crtpolelt(8), lcp2_crtpollist(8).

tboot                                              2020-05-10                                     LCP_MLEHASH(8)

Synopsis

lcp2_mlehash [--create] [--cmdlinecmdline] [--alghashalg] [--help] [--verbose] mle-file

See Also