File: lcp_mlehash.8

package info (click to toggle)
tboot 1.9.12%2Bhg20200718-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,528 kB
  • sloc: ansic: 50,896; python: 6,475; sh: 449; asm: 421; makefile: 373
file content (41 lines) | stat: -rw-r--r-- 1,298 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.\"
.TH LCP_MLEHASH 8 "2011-12-31" "tboot" "User Manuals"
.SH NAME
lcp_mlehash \- generate a SHA-1 hash of a TXT MLE binary file suitable for use in a TXT launch control policy
.SH SYNOPSIS
.B lcp_mlehash
.RB [\| \-v \|]
.RB [\| \-c
.IR cmdline \|]
.RB [\| \-h \|]
.I mle-file
.SH DESCRIPTION
.B lcp_mlehash
is used to generate a SHA-1 hash of the portion of an executable file that contains
the IntelĀ® 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
.B lcp_crtpol
and
.B lcp_crtpolelt
commands.
.SH OPTIONS
.TP
.I mle-file
File name of the MLE binary.  If it is a gzip file then it will be un-ziped before hashing.
.TP
.B \-v
Verbose mode, display progress indications.
.TP
.BI \-c\  cmdline
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.
.TP
.B \-h
Print out the help message.
.SH EXAMPLES
\fBlcp_mlehash \-c \fI"logging=memory,serial,vga" \fI/boot/tboot.gz \fB> \fImle-hash
.SH "SEE ALSO"
.BR lcp_readpol (8),
.BR lcp_writepol (8),
.BR lcp_crtpol (8),
.BR lcp_crtpolelt (8).