tss2_nvsetbits.1 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. .\" Automatically generated by Pandoc 1.19.2.4
  2. .\"
  3. .TH "tss2_nvsetbits" "1" "APRIL 2019" "tpm2\-tools" "General Commands Manual"
  4. .hy
  5. .SH NAME
  6. .PP
  7. \f[B]tss2_nvsetbits\f[](1) \-
  8. .SH SYNOPSIS
  9. .PP
  10. \f[B]tss2_nvsetbits\f[] [\f[I]OPTIONS\f[]]
  11. .SH SEE ALSO
  12. .PP
  13. \f[B]fapi\-config(5)\f[] to adjust Fapi parameters like the used
  14. cryptographic profile and TCTI or directories for the Fapi metadata
  15. storages.
  16. .PP
  17. \f[B]fapi\-profile(5)\f[] to determine the cryptographic algorithms and
  18. parameters for all keys and operations of a specific TPM interaction
  19. like the name hash algorithm, the asymmetric signature algorithm, scheme
  20. and parameters and PCR bank selection.
  21. .SH DESCRIPTION
  22. .PP
  23. \f[B]tss2_nvsetbits\f[](1) \- This command sets bits in an NV Index that
  24. was created as a bit field.
  25. Any number of bits from 0 to 64 may be set.
  26. The contents of bitmap are ORed with the current contents of the NV
  27. Index.
  28. .SH OPTIONS
  29. .PP
  30. These are the availabe options:
  31. .IP \[bu] 2
  32. \f[B]\-i\f[], \f[B]\-\-bitmap\f[]=\f[I]BITS\f[]:
  33. .RS 2
  34. .PP
  35. A mask indicating which bits to set in the NV space.
  36. .RE
  37. .IP \[bu] 2
  38. \f[B]\-p\f[], \f[B]\-\-nvPath\f[]=\f[I]STRING\f[]:
  39. .RS 2
  40. .PP
  41. Identifies the NV space to write.
  42. .RE
  43. .SH COMMON OPTIONS
  44. .PP
  45. This collection of options are common to all tss2 programs and provide
  46. information that many users may expect.
  47. .IP \[bu] 2
  48. \f[B]\-h\f[], \f[B]\-\-help [man|no\-man]\f[]: Display the tools
  49. manpage.
  50. By default, it attempts to invoke the manpager for the tool, however, on
  51. failure will output a short tool summary.
  52. This is the same behavior if the "man" option argument is specified,
  53. however if explicit "man" is requested, the tool will provide errors
  54. from man on stderr.
  55. If the "no\-man" option if specified, or the manpager fails, the short
  56. options will be output to stdout.
  57. .RS 2
  58. .PP
  59. To successfully use the manpages feature requires the manpages to be
  60. installed or on \f[I]MANPATH\f[], See \f[B]man\f[](1) for more details.
  61. .RE
  62. .IP \[bu] 2
  63. \f[B]\-v\f[], \f[B]\-\-version\f[]: Display version information for this
  64. tool, supported tctis and exit.
  65. .SH EXAMPLE
  66. .IP
  67. .nf
  68. \f[C]
  69. tss2_nvsetbits\ \-\-nvPath=/nv/Owner/NvBitmap\ \-\-bitmap=0x0102030405060608
  70. \f[]
  71. .fi
  72. .SH RETURNS
  73. .PP
  74. 0 on success or 1 on failure.
  75. .SH BUGS
  76. .PP
  77. Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
  78. .SH HELP
  79. .PP
  80. See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)