Tpm_nvwrite
tpm_nvwrite [\s-1OPTIONS\s0]
tpm_nvwrite writes data to an \s-1NVRAM\s0 area. The user must provide the index of the \s-1NVRAM\s0 area as well as the data to write into the \s-1NVRAM\s0 area. Optionally an offset into the \s-1NVRAM\s0 area can be given where the writing of the data is to start. Similarly the use may provide the number of bytes to write into the \s-1NVRAM\s0 area. Some \s-1NVRAM\s0 areas only allow write sizes of zero, i.e., \s-1NVRAM\s0 area index 0. If the \s-1NVRAM\s0 area has permission bits set that require owner or \s-1NVRAM\s0 area authentication, then the password must be provided via the password option.
The following options are supported:
Display command usage info.
Display command version info.
Set logging level.
Use \s-1TSS\s0 \s-1UNICODE\s0 encoding for passwords to comply with applications using \s-1TSS\s0 popup boxes
Use a secret of all zeros (20 bytes of zeros) as either the \s-1NVRAM\s0 area or owner secret.
Depending on what type of authentication is required for the \s-1NVRAM\s0 area, this must either be the \s-1NVRAM\s0 area or owner password. A password may be directly provided for example by using '--password=password' or -ppassword. If no password is provided then the program will prompt the user for the password.
The index of the \s-1NVRAM\s0 area. The parameter may either be a decimal number or a hexadecimal number starting with '0x'.
The number of bytes to write to the \s-1NVRAM\s0 area. This parameter may be used to truncating the data that are for example read from a file. The parameter may either be a decimal number or a hexadecimal number starting with '0x'.
The offset into the \s-1NVRAM\s0 area where to start writing. The parameter may either be a decimal number or a hexadecimal number starting with '0x'.
The name of a file from which to read data and copy them into the \s-1NVRAM\s0 area.
The data to write into the \s-1NVRAM\s0 area passed in the command line.
The byte to fill the \s-1NVRAM\s0 area with.
Report bugs to <[email protected]>