-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TPM2: Added CertifyEx and encodeCertifyEx (#211)
* TPM2: Added CertifyEx and encodeCertifyEx which differ from Certify and encodeCertify in that they take the scheme to be used as an additional argument. Signed-off-by: El Mostafa IDRASSI <[email protected]> * Fixed typo * Rename parentAuth and ownerAuth to objectAuth and signerAuth respectively. Signed-off-by: El Mostafa IDRASSI <[email protected]> * Update Certify documentation to explain it makes use of the hardcoded signing scheme {AlgRSASSA, AlgSHA256}. * Pack AlgNull with no following hash alg in case of AlgNull scheme, and add TODO comment. * Comment formatting and other requested changes. Signed-off-by: El Mostafa IDRASSI <[email protected]> * Replace all occurrences of tpmtSigScheme with SigScheme. Add CertifyEx tests for both RSASSA/SHA256 and ALG_NULL cases. * Better implementation of TestCertifyEx with all cases. Signed-off-by: El Mostafa IDRASSI <[email protected]> * Requested changes implemented.
- Loading branch information
1 parent
ad82e86
commit 6aef8a0
Showing
3 changed files
with
110 additions
and
15 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