Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpm2_getrandom: update help and simplify interface
Make argument options optional for tpm2_getrandom. Size is a required argument, so make it a required positional arg. Now, the only option is -o or --output, which optionally specifies an output file. If an output file is specified, it writes all output to that file, else it prints hex values of the bytes to the terminal. Fixes 251 This patch requires a significant version bump as this version of tpm2_getrandom is not "api" compatable with older versions. Signed-off-by: William Roberts <william.c.roberts@intel.com>
- Loading branch information
William Roberts
committed
Mar 29, 2017
1 parent
0b744d1
commit 6dba52d
Showing
5 changed files
with
29 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters