Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpm2_getpubak: add support for friendly algorithm names
Allow -g sha1 instead of -g 0x4. Update some of the tests to use the new method. Update the man page for the tool. Signed-off-by: William Roberts <william.c.roberts@intel.com>
- Loading branch information
William Roberts
committed
Jul 27, 2017
1 parent
3aa51e9
commit ed1e66e
Showing
5 changed files
with
36 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Supported algorithms are: | ||
'0x5' or 'hmac' for TPM_ALG_HMAC (default) | ||
'0x14' or 'rsassa' for TPM_ALG_RSASSA | ||
'0x16' or 'rsapss' for TPM_ALG_RSAPSS | ||
'0x18' or 'ecdsa' for TPM_ALG_ECDSA | ||
'0x1A' or 'ecdaa' for TPM_ALG_ECDAA | ||
'0x1B' or 'sm2' for TPM_ALG_SM2 | ||
'0x1C' or 'ecschnorr' for TPM_ALG_ECSCHNORR | ||
.br | ||
\fBNOTE\fR: Your TPM may not support all algorithms. |
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